-
Notifications
You must be signed in to change notification settings - Fork 509
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
Add support for repo-url and branch name in CLI flags and scan output #1059
Conversation
Codecov Report
@@ Coverage Diff @@
## master #1059 +/- ##
==========================================
+ Coverage 78.56% 78.62% +0.05%
==========================================
Files 238 238
Lines 6476 6494 +18
==========================================
+ Hits 5088 5106 +18
Misses 1075 1075
Partials 313 313
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please add some unit, e2e and integration tests (whatever applicable)
@@ -108,6 +108,9 @@ type ScanOptions struct { | |||
|
|||
// notificationWebhookToken is the auth token to call the notification webhook URL | |||
notificationWebhookToken string | |||
|
|||
// repoURL lets us specify URL of the repository being scanned (targetted for pipeline scanning) | |||
repoURL string |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please evaluate how the branch information can be captured along with repo url
@cesar-rodriguez , should we also capture branch info to uniquely identify the repository branch? |
Yes |
57c59ec
to
776a1ab
Compare
776a1ab
to
b22af5d
Compare
Kudos, SonarCloud Quality Gate passed! 0 Bugs No Coverage information |
these changes enable terrascan to accept the url of repository being scanned and reflects the url in the scan summary.