Skip to content

Commit

Permalink
Ignore gitleaks false positives
Browse files Browse the repository at this point in the history
  • Loading branch information
michaeljcollinsuk committed Apr 22, 2024
1 parent 61e48c6 commit d7ef9f9
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion controlpanel/api/cluster.py
Original file line number Diff line number Diff line change
Expand Up @@ -383,7 +383,7 @@ class App(EntityResource):
AUTH0_DOMAIN = "AUTH0_DOMAIN"
AUTH0_CONNECTIONS = "AUTH0_CONNECTIONS"
AUTHENTICATION_REQUIRED = "AUTHENTICATION_REQUIRED"
AUTH0_PASSWORDLESS = "AUTH0_PASSWORDLESS"
AUTH0_PASSWORDLESS = "AUTH0_PASSWORDLESS" # gitleaks:allow
APP_ROLE_ARN = "APP_ROLE_ARN"

def __init__(self, app, github_api_token=None, auth0_instance=None):
Expand Down
6 changes: 3 additions & 3 deletions tests/api/test_auth0.py
Original file line number Diff line number Diff line change
Expand Up @@ -545,7 +545,7 @@ def _clean_string(content):
input_values={
"name": "test_nomis_connection",
"client_id": "test_nomis_connection_id",
"client_secret": "WNXFkM3FCTXJhUWs0Q1NwcKFu",
"client_secret": "WNXFkM3FCTXJhUWs0Q1NwcKFu", # gitleaks:allow
},
)
fixture_connection_create.assert_called_once_with(ANY)
Expand Down Expand Up @@ -576,7 +576,7 @@ def test_create_custom_connection_with_allowed_error(ExtendedAuth0):
input_values={
"name": "test_nomis_connection",
"client_id": "test_nomis_connection_id",
"client_secret": "WNXFkM3FCTXJhUWs0Q1NwcKFu",
"client_secret": "WNXFkM3FCTXJhUWs0Q1NwcKFu", # gitleaks:allow
},
)
connection_create.assert_called_once_with(ANY)
Expand All @@ -591,7 +591,7 @@ def test_create_custom_connection_with_notallowed_error(ExtendedAuth0):
input_values={
"name": "test_nomis_connection",
"client_id": "test_nomis_connection_id",
"client_secret": "WNXFkM3FCTXJhUWs0Q1NwcKFu",
"client_secret": "WNXFkM3FCTXJhUWs0Q1NwcKFu", # gitleaks:allow
},
)
connection_create.assert_called_once_with(ANY)
2 changes: 1 addition & 1 deletion tests/api/test_authentication.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
tkupJd4VQMbmPBVw5P1tYNtNSWu0edQSjC2JgYXI3So1NyAR+okkWtKdm777Aj78
P0tb3rTcNtcdF65w7QJBAIlfLWXrnjuJP4xdsJpubct+VoPZpEkojXp16zdEPSni
Tk1/Hf+kxTTBR5xfmgtLCPmOU8d+qodjxI6JmZtfvVU=
-----END RSA PRIVATE KEY-----"""
-----END RSA PRIVATE KEY-----""" # gitleaks:allow

TEST_PUBLIC_KEY = """-----BEGIN PUBLIC KEY-----
MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQCo/FYLtMEuzwVf5n0ml+znmXF3
Expand Down

0 comments on commit d7ef9f9

Please sign in to comment.