diff --git a/linters/trufflehog/test_data/trufflehog_git_v3.40.0_CUSTOM.check.shot b/linters/trufflehog/test_data/trufflehog_git_v3.40.0_CUSTOM.check.shot index f250358d7..58b9a36af 100644 --- a/linters/trufflehog/test_data/trufflehog_git_v3.40.0_CUSTOM.check.shot +++ b/linters/trufflehog/test_data/trufflehog_git_v3.40.0_CUSTOM.check.shot @@ -3,17 +3,6 @@ exports[`Testing linter trufflehog-git test CUSTOM 1`] = ` { "issues": [ - { - "code": "PrivateKey", - "file": ".", - "isSecurity": true, - "issueClass": "ISSUE_CLASS_NEW", - "level": "LEVEL_HIGH", - "linter": "trufflehog-git", - "message": "secrets.in.py:1: Secret detected: -----BEGIN OPENSSH PRIVATE KEY----- -b3BlbnNzaC1rZXktdjEAAAAACmFl on commit (file since deleted)", - "targetType": "ALL", - }, { "code": "URI", "file": ".", @@ -24,18 +13,6 @@ b3BlbnNzaC1rZXktdjEAAAAACmFl on commit (file since deleted)", "message": "secrets.in.py:8: Secret detected: https://admin:********@the-internet.herokuapp.com on commit (file since deleted)", "targetType": "ALL", }, - { - "code": "PrivateKey", - "file": "secrets2.in.py", - "isSecurity": true, - "issueClass": "ISSUE_CLASS_NEW", - "level": "LEVEL_HIGH", - "line": "1", - "linter": "trufflehog-git", - "message": "Secret detected: -----BEGIN OPENSSH PRIVATE KEY----- -b3BlbnNzaC1rZXktdjEAAAAACmFl on commit ", - "targetType": "ALL", - }, { "code": "URI", "file": "secrets2.in.py", diff --git a/linters/trufflehog/test_data/trufflehog_git_v3.49.0_CUSTOM.check.shot b/linters/trufflehog/test_data/trufflehog_git_v3.49.0_CUSTOM.check.shot index 202679920..58b9a36af 100644 --- a/linters/trufflehog/test_data/trufflehog_git_v3.49.0_CUSTOM.check.shot +++ b/linters/trufflehog/test_data/trufflehog_git_v3.49.0_CUSTOM.check.shot @@ -3,17 +3,6 @@ exports[`Testing linter trufflehog-git test CUSTOM 1`] = ` { "issues": [ - { - "code": "PrivateKey", - "file": ".", - "isSecurity": true, - "issueClass": "ISSUE_CLASS_NEW", - "level": "LEVEL_HIGH", - "linter": "trufflehog-git", - "message": "secrets.in.py:11: Secret detected: -----BEGIN OPENSSH PRIVATE KEY----- -b3BlbnNzaC1rZXktdjEAAAAACmFl on commit (file since deleted)", - "targetType": "ALL", - }, { "code": "URI", "file": ".", @@ -24,18 +13,6 @@ b3BlbnNzaC1rZXktdjEAAAAACmFl on commit (file since deleted)", "message": "secrets.in.py:8: Secret detected: https://admin:********@the-internet.herokuapp.com on commit (file since deleted)", "targetType": "ALL", }, - { - "code": "PrivateKey", - "file": "secrets2.in.py", - "isSecurity": true, - "issueClass": "ISSUE_CLASS_NEW", - "level": "LEVEL_HIGH", - "line": "11", - "linter": "trufflehog-git", - "message": "Secret detected: -----BEGIN OPENSSH PRIVATE KEY----- -b3BlbnNzaC1rZXktdjEAAAAACmFl on commit ", - "targetType": "ALL", - }, { "code": "URI", "file": "secrets2.in.py", diff --git a/linters/trufflehog/test_data/trufflehog_v3.31.3_secrets.check.shot b/linters/trufflehog/test_data/trufflehog_v3.31.3_secrets.check.shot index 0f1bb363e..e798aa71d 100644 --- a/linters/trufflehog/test_data/trufflehog_v3.31.3_secrets.check.shot +++ b/linters/trufflehog/test_data/trufflehog_v3.31.3_secrets.check.shot @@ -3,17 +3,6 @@ exports[`Testing linter trufflehog test secrets 1`] = ` { "issues": [ - { - "code": "PrivateKey", - "file": "test_data/secrets.in.py", - "isSecurity": true, - "level": "LEVEL_HIGH", - "line": "1", - "linter": "trufflehog", - "message": "Secret detected: -----BEGIN OPENSSH PRIVATE KEY----- -b3BlbnNzaC1rZXktdjEAAAAACmFl", - "targetType": "ALL", - }, { "code": "URI", "file": "test_data/secrets.in.py", diff --git a/linters/trufflehog/test_data/trufflehog_v3.40.0_secrets.check.shot b/linters/trufflehog/test_data/trufflehog_v3.40.0_secrets.check.shot index aaa432ca6..bce997576 100644 --- a/linters/trufflehog/test_data/trufflehog_v3.40.0_secrets.check.shot +++ b/linters/trufflehog/test_data/trufflehog_v3.40.0_secrets.check.shot @@ -3,17 +3,6 @@ exports[`Testing linter trufflehog test secrets 1`] = ` { "issues": [ - { - "code": "PrivateKey", - "file": "test_data/secrets.in.py", - "isSecurity": true, - "level": "LEVEL_HIGH", - "line": "1", - "linter": "trufflehog", - "message": "Secret detected: -----BEGIN OPENSSH PRIVATE KEY----- -b3BlbnNzaC1rZXktdjEAAAAACmFl", - "targetType": "ALL", - }, { "code": "URI", "file": "test_data/secrets.in.py", diff --git a/linters/trufflehog/test_data/trufflehog_v3.49.0_secrets.check.shot b/linters/trufflehog/test_data/trufflehog_v3.49.0_secrets.check.shot index 235256219..bce997576 100644 --- a/linters/trufflehog/test_data/trufflehog_v3.49.0_secrets.check.shot +++ b/linters/trufflehog/test_data/trufflehog_v3.49.0_secrets.check.shot @@ -3,17 +3,6 @@ exports[`Testing linter trufflehog test secrets 1`] = ` { "issues": [ - { - "code": "PrivateKey", - "file": "test_data/secrets.in.py", - "isSecurity": true, - "level": "LEVEL_HIGH", - "line": "11", - "linter": "trufflehog", - "message": "Secret detected: -----BEGIN OPENSSH PRIVATE KEY----- -b3BlbnNzaC1rZXktdjEAAAAACmFl", - "targetType": "ALL", - }, { "code": "URI", "file": "test_data/secrets.in.py",