70 lines
1.3 KiB
JSON
70 lines
1.3 KiB
JSON
{
|
|
"$schema": "https://json.schemastore.org/sarif-2.1.0.json",
|
|
"version": "2.1.0",
|
|
"runs": [
|
|
{
|
|
"tool": {
|
|
"driver": {
|
|
"name": "gitleaks",
|
|
"semanticVersion": "v8.0.0",
|
|
"informationUri": "https://github.com/gitleaks/gitleaks",
|
|
"rules": [
|
|
{
|
|
"id": "aws-access-key",
|
|
"shortDescription": {
|
|
"text": "AWS Access Key"
|
|
}
|
|
},
|
|
{
|
|
"id": "pypi",
|
|
"shortDescription": {
|
|
"text": "PyPI upload token"
|
|
}
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"results": [
|
|
{
|
|
"message": {
|
|
"text": "test-rule has detected secret for file auth.py at commit 0000000000000000."
|
|
},
|
|
"ruleId": "test-rule",
|
|
"locations": [
|
|
{
|
|
"physicalLocation": {
|
|
"artifactLocation": {
|
|
"uri": "auth.py"
|
|
},
|
|
"region": {
|
|
"startLine": 1,
|
|
"startColumn": 1,
|
|
"endLine": 2,
|
|
"endColumn": 2,
|
|
"snippet": {
|
|
"text": "a secret"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"partialFingerprints": {
|
|
"commitSha": "0000000000000000",
|
|
"email": "johndoe@gmail.com",
|
|
"author": "John Doe",
|
|
"date": "10-19-2003",
|
|
"commitMessage": "opps"
|
|
},
|
|
"properties": {
|
|
"tags": [
|
|
"tag1",
|
|
"tag2",
|
|
"tag3"
|
|
]
|
|
}
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|