mirror of
https://github.com/aquasecurity/trivy-action.git
synced 2026-05-14 03:02:40 +00:00
bf330b1153
Signed-off-by: Nikita Pivkin <nikita.pivkin@smartforce.io>
65 lines
1.9 KiB
JSON
65 lines
1.9 KiB
JSON
{
|
|
"SchemaVersion": 2,
|
|
"ArtifactName": "https://github.com/krol3/demo-trivy/",
|
|
"ArtifactType": "repository",
|
|
"Results": [
|
|
{
|
|
"Target": "env",
|
|
"Class": "secret",
|
|
"Secrets": [
|
|
{
|
|
"RuleID": "github-pat",
|
|
"Category": "GitHub",
|
|
"Severity": "CRITICAL",
|
|
"Title": "GitHub Personal Access Token",
|
|
"StartLine": 5,
|
|
"EndLine": 5,
|
|
"Code": {
|
|
"Lines": [
|
|
{
|
|
"Number": 3,
|
|
"Content": "export AWS_ACCESS_KEY_ID=1234567",
|
|
"IsCause": false,
|
|
"Annotation": "",
|
|
"Truncated": false,
|
|
"Highlighted": "export AWS_ACCESS_KEY_ID=1234567",
|
|
"FirstCause": false,
|
|
"LastCause": false
|
|
},
|
|
{
|
|
"Number": 4,
|
|
"Content": "",
|
|
"IsCause": false,
|
|
"Annotation": "",
|
|
"Truncated": false,
|
|
"FirstCause": false,
|
|
"LastCause": false
|
|
},
|
|
{
|
|
"Number": 5,
|
|
"Content": "export GITHUB_PAT=****************************************",
|
|
"IsCause": true,
|
|
"Annotation": "",
|
|
"Truncated": false,
|
|
"Highlighted": "export GITHUB_PAT=****************************************",
|
|
"FirstCause": true,
|
|
"LastCause": true
|
|
},
|
|
{
|
|
"Number": 6,
|
|
"Content": "",
|
|
"IsCause": false,
|
|
"Annotation": "",
|
|
"Truncated": false,
|
|
"FirstCause": false,
|
|
"LastCause": false
|
|
}
|
|
]
|
|
},
|
|
"Match": "export GITHUB_PAT=****************************************"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|