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

PA-12765 Add excludeUrlsFile param #97

Merged
merged 2 commits into from
Jan 29, 2024
Merged

PA-12765 Add excludeUrlsFile param #97

merged 2 commits into from
Jan 29, 2024

Conversation

SOOS-JAlvarez
Copy link
Contributor

@SOOS-JAlvarez SOOS-JAlvarez commented Jan 25, 2024

Changes:

  • Added excludeUrlsFile param

Ticket: https://soos.atlassian.net/browse/PA-12765

Usage will be like this, where the user should put a regex where he matches everything but the generic page he want's to scan.

docker run -it soosio/dast ... --excludeUrlsFile="exclude_urls.txt"

Where exclude_urls.txt contents are:

^https://app\.soos\.io/research/vulnerabilities/(?!CVE-2015-8048/|CVE-2015-8047/).+$
^https://app\.soos\.io/research/repositories/(?!github/soos-io/soos-ci-analysis-python/).+$
^https://app\.soos\.io/research/licenses/(?!0BSD/|AAL/).+$
^https://app\.soos\.io/research/packages/[^/]+/(?!@soos-io/soos-sbom/|@soos-io/soos-sca/).+$
^https://app\.soos\.io/research/license-exceptions/(?!vsftpd-openssl-exception).+$

@SOOS-JAlvarez SOOS-JAlvarez changed the title PA-12765 Add excludeUrls param PA-12765 Add excludeUrlsFile param Jan 26, 2024
@SOOS-JAlvarez SOOS-JAlvarez merged commit 9ce8a6c into main Jan 29, 2024
4 checks passed
@SOOS-JAlvarez SOOS-JAlvarez deleted the feature/PA-12765 branch January 29, 2024 12:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants