-
Notifications
You must be signed in to change notification settings - Fork 60
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' into gosecMapperRework
- Loading branch information
Showing
24 changed files
with
6,002 additions
and
28 deletions.
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
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
32 changes: 32 additions & 0 deletions
32
...verters/sample_jsons/trufflehog_mapper/sample_input_report/trufflehog-report-example.json
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 |
---|---|---|
@@ -0,0 +1,32 @@ | ||
{ | ||
"SourceMetadata": { | ||
"Data": { | ||
"Git": { | ||
"commit": "0416560b1330d8ac42045813251d85c688717eaf", | ||
"file": "new_key", | ||
"email": "counter \u003c[email protected]\u003e", | ||
"repository": "https://github.com/trufflesecurity/test_keys", | ||
"timestamp": "2023-10-19 02:56:37 +0000", | ||
"line": 2 | ||
} | ||
} | ||
}, | ||
"SourceID": 1, | ||
"SourceType": 16, | ||
"SourceName": "trufflehog - git", | ||
"DetectorType": 2, | ||
"DetectorName": "AWS", | ||
"DecoderName": "PLAIN", | ||
"Verified": true, | ||
"Raw": "AKIAQYLPMN5HHHFPZAM2", | ||
"RawV2": "AKIAQYLPMN5HHHFPZAM21tUm636uS1yOEcfP5pvfqJ/ml36mF7AkyHsEU0IU", | ||
"Redacted": "AKIAQYLPMN5HHHFPZAM2", | ||
"ExtraData": { | ||
"account": "052310077262", | ||
"arn": "arn:aws:iam::052310077262:user/canarytokens.com@@c20nnjzlioibnaxvt392i9ope", | ||
"is_canary": "true", | ||
"message": "This is an AWS canary token generated at canarytokens.org, and was not set off; learn more here: https://trufflesecurity.com/canaries", | ||
"resource_type": "Access key" | ||
}, | ||
"StructuredData": null | ||
} |
92 changes: 92 additions & 0 deletions
92
libs/hdf-converters/sample_jsons/trufflehog_mapper/sample_input_report/trufflehog.json
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 |
---|---|---|
@@ -0,0 +1,92 @@ | ||
[ | ||
{ | ||
"SourceMetadata": { | ||
"Data": { | ||
"Git": { | ||
"commit": "0416560b1330d8ac42045813251d85c688717eaf", | ||
"file": "new_key", | ||
"email": "counter \u003c[email protected]\u003e", | ||
"repository": "https://github.com/trufflesecurity/test_keys", | ||
"timestamp": "2023-10-19 02:56:37 +0000", | ||
"line": 2 | ||
} | ||
} | ||
}, | ||
"SourceID": 1, | ||
"SourceType": 16, | ||
"SourceName": "trufflehog - git", | ||
"DetectorType": 2, | ||
"DetectorName": "AWS", | ||
"DecoderName": "PLAIN", | ||
"Verified": true, | ||
"Raw": "AKIAQYLPMN5HHHFPZAM2", | ||
"RawV2": "AKIAQYLPMN5HHHFPZAM21tUm636uS1yOEcfP5pvfqJ/ml36mF7AkyHsEU0IU", | ||
"Redacted": "AKIAQYLPMN5HHHFPZAM2", | ||
"ExtraData": { | ||
"account": "052310077262", | ||
"arn": "arn:aws:iam::052310077262:user/canarytokens.com@@c20nnjzlioibnaxvt392i9ope", | ||
"is_canary": "true", | ||
"message": "This is an AWS canary token generated at canarytokens.org, and was not set off; learn more here: https://trufflesecurity.com/canaries", | ||
"resource_type": "Access key" | ||
}, | ||
"StructuredData": null | ||
}, | ||
{ | ||
"SourceMetadata": { | ||
"Data": { | ||
"Git": { | ||
"commit": "fbc14303ffbf8fb1c2c1914e8dda7d0121633aca", | ||
"file": "keys", | ||
"email": "counter \u003c[email protected]\u003e", | ||
"repository": "https://github.com/trufflesecurity/test_keys", | ||
"timestamp": "2022-06-16 17:17:40 +0000", | ||
"line": 4 | ||
} | ||
} | ||
}, | ||
"SourceID": 1, | ||
"SourceType": 16, | ||
"SourceName": "trufflehog - git", | ||
"DetectorType": 2, | ||
"DetectorName": "AWS", | ||
"DecoderName": "PLAIN", | ||
"Verified": true, | ||
"Raw": "AKIAYVP4CIPPERUVIFXG", | ||
"RawV2": "AKIAYVP4CIPPERUVIFXGZt2U1h267eViPnuSA+JO5ABhiu4T7XUMSZ+Y2Oth", | ||
"Redacted": "AKIAYVP4CIPPERUVIFXG", | ||
"ExtraData": { | ||
"account": "595918472158", | ||
"arn": "arn:aws:iam::595918472158:user/canarytokens.com@@mirux23ppyky6hx3l6vclmhnj", | ||
"is_canary": "true", | ||
"message": "This is an AWS canary token generated at canarytokens.org, and was not set off; learn more here: https://trufflesecurity.com/canaries", | ||
"resource_type": "Access key" | ||
}, | ||
"StructuredData": null | ||
}, | ||
{ | ||
"SourceMetadata": { | ||
"Data": { | ||
"Git": { | ||
"commit": "77b2a3e56973785a52ba4ae4b8dac61d4bac016f", | ||
"file": "keys", | ||
"email": "counter \u003c[email protected]\u003e", | ||
"repository": "https://github.com/trufflesecurity/test_keys", | ||
"timestamp": "2022-06-16 17:27:56 +0000", | ||
"line": 3 | ||
} | ||
} | ||
}, | ||
"SourceID": 1, | ||
"SourceType": 16, | ||
"SourceName": "trufflehog - git", | ||
"DetectorType": 17, | ||
"DetectorName": "URI", | ||
"DecoderName": "PLAIN", | ||
"Verified": true, | ||
"Raw": "https://admin:[email protected]", | ||
"RawV2": "https://admin:[email protected]/basic_auth", | ||
"Redacted": "https://admin:********@the-internet.herokuapp.com", | ||
"ExtraData": null, | ||
"StructuredData": null | ||
} | ||
] |
Oops, something went wrong.