Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adding Xray Source Control Service #896

Closed
wants to merge 99 commits into from
Closed

Conversation

EyalDelarea
Copy link
Contributor

@EyalDelarea EyalDelarea commented Aug 17, 2023

  • All tests passed. If this feature is not already covered by the tests, I added new tests.
  • All static analysis checks passed.
  • This pull request is on the dev branch.
  • I used gofmt for formatting the code before submitting the pull request.

Supports changes from:
jfrog/jfrog-client-go#811

And refactor RunAudit command.

  • All tests passed. If this feature is not already covered by the tests, I added new tests.
  • All static analysis checks passed.
  • This pull request is on the dev branch.
  • I used gofmt for formatting the code before submitting the pull request.

Supports changes from:
jfrog/jfrog-client-go#811

How to use

In order to use the new functionality of linking scan information to repository, need to set the XscGitinfoContext object when calling audit command:

auditParams.xrayGraphScanParams.XscGitInfoContext = &scan.XscGitInfoContext{
		GitRepoUrl:    "https://github.com/EyalDelarea/npmexample",
		GitRepoName:   "npmexample",
		GitProject:    "myproject",
		GitProvider:   "github",
		BranchName:    "main",
		LastCommit:    "https://github.com/EyalDelarea/npmexample/commit/02c4eb4065e293d96fdfc70e64a58244eabed399",
		CommitHash:    "02c4eb4065e293d96fdfc70e64a58244eabed399",
		CommitMessage: "test dev deps",
		CommitAuthor:  "eyaldelarea",
		Date:         "2006-01-02T15:04:05Z07:00",
	}

EyalDelarea and others added 30 commits February 23, 2023 16:30
* Improve UI for scan command (jfrog#706)

* Upgrade go version in go.mod to 1.20 (jfrog#732)

* Fix lint issues found (jfrog#733)

* Config transfer - ensure target not older than source (jfrog#721)

* Update tests environment - nuget and dotnet to version 6  (jfrog#734)

* Flatten audit graph (jfrog#736)

* Use gradle-dep-tree with Audit (jfrog#719)

---------

Co-authored-by: Sara Omari <[email protected]>
Co-authored-by: Eyal Ben Moshe <[email protected]>
Co-authored-by: Michael Sverdlov <[email protected]>
Co-authored-by: Yahav Itzhak <[email protected]>
# Conflicts:
#	.github/workflows/analysis.yml
#	go.mod
#	go.sum
#	xray/audit/java/gradle.go
#	xray/commands/audit/generic/auditmanager.go
@EyalDelarea EyalDelarea temporarily deployed to frogbot September 7, 2023 09:24 — with GitHub Actions Inactive
@EyalDelarea EyalDelarea temporarily deployed to frogbot September 10, 2023 07:42 — with GitHub Actions Inactive
@github-actions
Copy link
Contributor

@EyalDelarea
Copy link
Contributor Author

opened a new pull request #940

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
improvement Automatically generated release notes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants