-
Notifications
You must be signed in to change notification settings - Fork 1
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
chore: Introduce Option to specify repository URL #42
Conversation
to make repository URL configurable
@@ -76,7 +76,7 @@ | |||
"providerState": "Scan ID", | |||
"request": { | |||
"method": "GET", | |||
"path": "/orgs/e7ea34c9-de0f-422c-bf2c-4654c2e2da90/scans/d164a5fa-444e-4ed6-a08f-c4e08a9f20a2", | |||
"path": "/orgs/e7ea34c9-de0f-422c-bf2c-4654c2e2da90/scans/748d5bd0-9ce5-4cb9-876a-24c5601036ea", |
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.
Do you have any idea why this changed?
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.
Nevermind, I know. I'll fix it, I implemented these tests in a non-determinstic way 🙊
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.
Looks good, thanks!
This PR adds the option to specify the repository associated with a given path. This can be used if the automatic detection of a repository URL doesn't work.
Therefore it introduces a data structure (scan.Target) to specify what is being scanned, which can in addition to the path hold a repository URL. The automatic URL determination is moved from the analysis logic to the new data structure.