Skip to content

Commit

Permalink
Fix trufflehog snapshots (#549)
Browse files Browse the repository at this point in the history
Makes main green again. Not sure how these were landed as is. This
should cover until #531 lands.
  • Loading branch information
TylerJang27 authored Nov 6, 2023
1 parent a3f13fd commit eb7d34a
Show file tree
Hide file tree
Showing 5 changed files with 0 additions and 79 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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 <hash> (file since deleted)",
"targetType": "ALL",
},
{
"code": "URI",
"file": ".",
Expand All @@ -24,18 +13,6 @@ b3BlbnNzaC1rZXktdjEAAAAACmFl on commit <hash> (file since deleted)",
"message": "secrets.in.py:8: Secret detected: https://admin:********@the-internet.herokuapp.com on commit <hash> (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 <hash>",
"targetType": "ALL",
},
{
"code": "URI",
"file": "secrets2.in.py",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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 <hash> (file since deleted)",
"targetType": "ALL",
},
{
"code": "URI",
"file": ".",
Expand All @@ -24,18 +13,6 @@ b3BlbnNzaC1rZXktdjEAAAAACmFl on commit <hash> (file since deleted)",
"message": "secrets.in.py:8: Secret detected: https://admin:********@the-internet.herokuapp.com on commit <hash> (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 <hash>",
"targetType": "ALL",
},
{
"code": "URI",
"file": "secrets2.in.py",
Expand Down
11 changes: 0 additions & 11 deletions linters/trufflehog/test_data/trufflehog_v3.31.3_secrets.check.shot
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
11 changes: 0 additions & 11 deletions linters/trufflehog/test_data/trufflehog_v3.40.0_secrets.check.shot
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
11 changes: 0 additions & 11 deletions linters/trufflehog/test_data/trufflehog_v3.49.0_secrets.check.shot
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down

0 comments on commit eb7d34a

Please sign in to comment.