diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 8dbb36353..6b7e37c20 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -1,6 +1,12 @@ +--- repos: -- repo: git@github.com:Yelp/detect-secrets - rev: v0.13.1 + - repo: git@github.com:Yelp/detect-secrets + rev: v1.4.0 hooks: - - id: detect-secrets - args: ['--baseline', '.secrets.baseline'] \ No newline at end of file + - id: detect-secrets + args: [--baseline, .secrets.baseline] + - repo: https://github.com/jumanjihouse/pre-commit-hook-yamlfmt + rev: 0.2.1 + hooks: + - id: yamlfmt + args: [--mapping, '2', --sequence, '4', --offset, '2', --width, '80'] diff --git a/.secrets.baseline b/.secrets.baseline index a22082a8b..8a85b1619 100644 --- a/.secrets.baseline +++ b/.secrets.baseline @@ -1,8 +1,4 @@ { - "exclude": { - "files": null, - "lines": null - }, "generated_at": "2023-11-30T17:33:04Z", "plugins_used": [ { @@ -12,8 +8,8 @@ "name": "ArtifactoryDetector" }, { - "base64_limit": 4.5, - "name": "Base64HighEntropyString" + "name": "Base64HighEntropyString", + "limit": 4.5 }, { "name": "BasicAuthDetector" @@ -22,8 +18,8 @@ "name": "CloudantDetector" }, { - "hex_limit": 3, - "name": "HexHighEntropyString" + "name": "HexHighEntropyString", + "limit": 3 }, { "name": "IbmCloudIamDetector" @@ -60,161 +56,212 @@ "results": { "docs/API/Users_Guide/Additional_Examples.md": [ { + "type": "Hex High Entropy String", + "filename": "docs/API/Users_Guide/Additional_Examples.md", "hashed_secret": "d9bbc424159a2c5ef89902e02caa2be6cff1817c", - "is_secret": false, "is_verified": false, "line_number": 89, - "type": "Hex High Entropy String" + "is_secret": false }, { + "type": "Hex High Entropy String", + "filename": "docs/API/Users_Guide/Additional_Examples.md", "hashed_secret": "34d2afab6dc6f76855d5f83cc2dbed2efd99ddfb", - "is_secret": false, "is_verified": false, "line_number": 110, - "type": "Hex High Entropy String" + "is_secret": false } ], "docs/API/Users_Guide/Getting_Started.md": [ { + "type": "Hex High Entropy String", + "filename": "docs/API/Users_Guide/Getting_Started.md", "hashed_secret": "05b339a29ce9a548e1efbe032131cfcdde6727d8", - "is_secret": false, "is_verified": false, "line_number": 91, - "type": "Hex High Entropy String" + "is_secret": false } ], "docs/API/Users_Guide/Search_and_Retrieval.md": [ { + "type": "Hex High Entropy String", + "filename": "docs/API/Users_Guide/Search_and_Retrieval.md", "hashed_secret": "8b0471397a6dec83405ee2ae28edde87d02271a0", - "is_secret": false, "is_verified": false, "line_number": 386, - "type": "Hex High Entropy String" + "is_secret": false }, { + "type": "Hex High Entropy String", + "filename": "docs/API/Users_Guide/Search_and_Retrieval.md", "hashed_secret": "14f469780554b9dd75a3d03a267b3be725582499", - "is_secret": false, "is_verified": false, "line_number": 409, - "type": "Hex High Entropy String" + "is_secret": false }, { + "type": "Hex High Entropy String", + "filename": "docs/API/Users_Guide/Search_and_Retrieval.md", "hashed_secret": "6b505580b5bc4fab5bd4b2e0e10d621fea0614ee", - "is_secret": false, "is_verified": false, "line_number": 447, - "type": "Hex High Entropy String" + "is_secret": false }, { + "type": "Hex High Entropy String", + "filename": "docs/API/Users_Guide/Search_and_Retrieval.md", "hashed_secret": "98895ba87fa2e568b0f48b1afbddb9b45d8c8ec3", - "is_secret": false, "is_verified": false, "line_number": 491, - "type": "Hex High Entropy String" + "is_secret": false }, { + "type": "Hex High Entropy String", + "filename": "docs/API/Users_Guide/Search_and_Retrieval.md", "hashed_secret": "20b3183bf913ad4ef0d5ecd59c1de5437a7e8a04", - "is_secret": false, "is_verified": false, "line_number": 528, - "type": "Hex High Entropy String" + "is_secret": false } ], "docs/API/Users_Guide/Submission.md": [ { + "type": "Hex High Entropy String", + "filename": "docs/API/Users_Guide/Submission.md", "hashed_secret": "93f5b94e262e685fee4a419438d60e82fafaf491", - "is_secret": false, "is_verified": false, "line_number": 2468, - "type": "Hex High Entropy String" + "is_secret": false }, { + "type": "Hex High Entropy String", + "filename": "docs/API/Users_Guide/Submission.md", "hashed_secret": "313355a8530a54c23567f7bbedd9f804bb269820", - "is_secret": false, "is_verified": false, "line_number": 2561, - "type": "Hex High Entropy String" + "is_secret": false }, { + "type": "Hex High Entropy String", + "filename": "docs/API/Users_Guide/Submission.md", "hashed_secret": "b47ceb76f45ab4e8b52da270875d85fdd9b7fc33", - "is_secret": false, "is_verified": false, "line_number": 2623, - "type": "Hex High Entropy String" + "is_secret": false } ], "docs/API/Users_Guide/System_Information.md": [ { + "type": "Hex High Entropy String", + "filename": "docs/API/Users_Guide/System_Information.md", "hashed_secret": "ecb0642a6305ce066c2675dac1562535b530e5b0", - "is_secret": false, "is_verified": false, "line_number": 70, - "type": "Hex High Entropy String" + "is_secret": false } ], "docs/Data_Submission_Portal/Users_Guide/Best_Practices.md": [ { + "type": "Hex High Entropy String", + "filename": "docs/Data_Submission_Portal/Users_Guide/Best_Practices.md", "hashed_secret": "87d7b59b5af7c86ea71b60ed042d1e62175136fb", - "is_secret": false, "is_verified": false, "line_number": 86, - "type": "Hex High Entropy String" + "is_secret": false } ], "docs/Data_Submission_Portal/Users_Guide/Data_Submission_Walkthrough.md": [ { + "type": "Hex High Entropy String", + "filename": "docs/Data_Submission_Portal/Users_Guide/Data_Submission_Walkthrough.md", "hashed_secret": "87d7b59b5af7c86ea71b60ed042d1e62175136fb", - "is_secret": false, "is_verified": false, "line_number": 651, - "type": "Hex High Entropy String" + "is_secret": false } ], "docs/Data_Submission_Portal/Users_Guide/Data_Upload_UG.md": [ { + "type": "Hex High Entropy String", + "filename": "docs/Data_Submission_Portal/Users_Guide/Data_Upload_UG.md", "hashed_secret": "dbaf99f4789432509c1313aba5256a6ea4ddb986", - "is_secret": false, "is_verified": false, "line_number": 482, - "type": "Hex High Entropy String" + "is_secret": false }, { + "type": "Hex High Entropy String", + "filename": "docs/Data_Submission_Portal/Users_Guide/Data_Upload_UG.md", "hashed_secret": "471568dffba5b4873ca000b88049046d5aa687d4", - "is_secret": false, "is_verified": false, "line_number": 553, - "type": "Hex High Entropy String" + "is_secret": false }, { + "type": "Hex High Entropy String", + "filename": "docs/Data_Submission_Portal/Users_Guide/Data_Upload_UG.md", "hashed_secret": "87d7b59b5af7c86ea71b60ed042d1e62175136fb", - "is_secret": false, "is_verified": false, "line_number": 765, - "type": "Hex High Entropy String" + "is_secret": false } ], "theme/css/font-awesome-4.5.css": [ { + "type": "Secret Keyword", + "filename": "theme/css/font-awesome-4.5.css", "hashed_secret": "51de2b835bd35a67eb32dbcd3d77d4b96e5aa39d", - "is_secret": false, "is_verified": false, "line_number": 1734, - "type": "Secret Keyword" + "is_secret": false } ], "theme/css/font-awesome.min-4.5.css": [ { + "type": "Secret Keyword", + "filename": "theme/css/font-awesome.min-4.5.css", "hashed_secret": "3e4128ccd5d7d597667230af6326b3387fd18545", - "is_secret": false, "is_verified": false, "line_number": 4, - "type": "Secret Keyword" + "is_secret": false } ] }, - "version": "0.13.1", - "word_list": { - "file": null, - "hash": null - } + "version": "1.4.0", + "filters_used": [ + { + "path": "detect_secrets.filters.allowlist.is_line_allowlisted" + }, + { + "path": "detect_secrets.filters.heuristic.is_sequential_string" + }, + { + "path": "detect_secrets.filters.heuristic.is_potential_uuid" + }, + { + "path": "detect_secrets.filters.heuristic.is_likely_id_string" + }, + { + "path": "detect_secrets.filters.heuristic.is_templated_secret" + }, + { + "path": "detect_secrets.filters.heuristic.is_prefixed_with_dollar_sign" + }, + { + "path": "detect_secrets.filters.heuristic.is_indirect_reference" + }, + { + "path": "detect_secrets.filters.common.is_ignored_due_to_verification_policies", + "min_level": 2 + }, + { + "path": "detect_secrets.filters.heuristic.is_lock_file" + }, + { + "path": "detect_secrets.filters.heuristic.is_not_alphanumeric_string" + }, + { + "path": "detect_secrets.filters.heuristic.is_swagger_file" + } + ] }