Enhance secret scanning API calls to return more data #87
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.
Newly Added Fields (All Scopes)
updated_at
- Timestamp when alert was last updatedresolution_comment
- Comment provided when resolving the alertvalidity
- Validation status of the secret (active, inactive, unknown)publicly_leaked
- Whether the secret was publicly leaked (boolean)multi_repo
- Whether the secret appears in multiple repositories (boolean)is_base64_encoded
- Whether the secret is base64 encoded (boolean)first_location_path
- File path where secret was detected (with fallbacks to PR/issue/discussion URLs)first_location_start_line
- Line number where secret startsfirst_location_commit_sha
- Commit SHA where secret was first detectedpush_protection_bypassed
- Whether push protection was bypassed (boolean)push_protection_bypassed_by
- Username who bypassed push protectionpush_protection_bypassed_at
- Timestamp when push protection was bypassedpush_protection_bypass_request_reviewer
- Reviewer of the bypass requestpush_protection_bypass_request_reviewer_comment
- Reviewer's comment on bypass requestpush_protection_bypass_request_comment
- Comment on the bypass requestpush_protection_bypass_request_html_url
- URL to the bypass requestassigned_to
- Username of person assigned to the alertTechnical Enhancements
hide_secret=true
parameter - Added to all API calls to prevent exposure of secret values in responses (pulled from Remove secrets in secret scanning API calls #85 )alert_number
(repo_full_name, alert_number)
(org_login, repo_name, alert_number)
first_location_path
now cascades through:path
→pull_request_body_url
→issue_body_url
→discussion_body_url