-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
platform(general): Add no upload flag and report contributors for all API key runs #5052
Merged
Merged
Changes from 15 commits
Commits
Show all changes
21 commits
Select commit
Hold shift + click to select a range
73d51fc
add skip results upload flag
mikeurbanski1 6a79f97
Merge branch 'main' into add-no-upload-flag
mikeurbanski1 f658862
skip results upload with flag
mikeurbanski1 a90d4fa
add integration tests for skip upload
mikeurbanski1 15b6eca
fix intg test
mikeurbanski1 8088946
update CLI command docs
mikeurbanski1 94174ed
add default for .get(url)
mikeurbanski1 e02f212
add positive use of report_has_url for validation
mikeurbanski1 f26a0ad
remove source-based contributor metrics and use API key instead
mikeurbanski1 db9ba97
move integration test to proper place
mikeurbanski1 b8cb141
expect report path to not exist
mikeurbanski1 75d36fb
move integration test to proper place
mikeurbanski1 998efb0
--amend
mikeurbanski1 39cc2b7
remove unused test function
mikeurbanski1 0cfeec7
Merge branch 'main' into add-no-upload-flag
mikeurbanski1 3521fa8
merge main, resolve conflicts
mikeurbanski1 cee6070
Merge branch 'add-no-upload-flag' of github.com:bridgecrewio/checkov …
mikeurbanski1 2c606a3
Merge branch 'main' into add-no-upload-flag
mikeurbanski1 bbefad2
upload contributors after saving results
mikeurbanski1 16abc74
remove commented test code
mikeurbanski1 f487082
Merge branch 'main' into add-no-upload-flag
mikeurbanski1 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -34,6 +34,7 @@ nav_order: 2 | |
| `--hard-fail-on HARD_FAIL_ON` | Exits with a non-zero exit code for specified checks. Enter one or more items separated by commas. Each item may be either a Checkov check ID (CKV_AWS_123), a BCcheck ID (BC_AWS_GENERAL_123), or a severity (LOW, MEDIUM, HIGH, CRITICAL). If you use a severity, then any severity equal to or greater than the lowest severity in the list will result in a hard fail. This option can be used with --soft-fail-on, using the same priority logic described in --check and --skip-check options above, with --hard-fail-on taking precedence in a tie. | | ||
| `--bc-api-key BC_API_KEY` | Bridgecrew API key or Prisma Cloud Access Key (see--prisma-api-url) [env var: BC_API_KEY] | | ||
| `--prisma-api-url PRISMA_API_URL` | The Prisma Cloud API URL (see:https://prisma.pan.dev/api/cloud/api-urls). Requires --bc-api-key to be a Prisma Cloud Access Key in the following format: <access_key_id>::<secret_key> [env var: PRISMA_API_URL] | | ||
| `--skip-results-upload` | Do not upload scan results to the platform. Use this to download configs, but only view results in the local output. | | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 👍 |
||
| `--image, --docker-image DOCKER_IMAGE` | Scan docker images by name or ID. Only works with --bc-api-key flag | | ||
| `--dockerfile-path DOCKERFILE_PATH` | Path to the Dockerfile of the scanned docker image | | ||
| `--repo-id REPO_ID` | Identity string of the repository, with form <repo_owner>/<repo_name> | | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
👍