Skip to content

Commit a682773

Browse files
[pre-commit] Bumped:
- `lyz-code/yamlfix` to `1.19.1` - `IBM/detect-secrets` to `0.13.1+ibm.64.dss` - `pre-commit/pre-commit-hooks` to `v6.0.0` - `gruntwork-io/pre-commit` to `v0.1.30` - `igorshubovych/markdownlint-cli` to `v0.47.0` - `rhysd/actionlint` to `v1.7.11` - `JohnnyMorganz/StyLua` to `v2.3.1`
1 parent b0173fb commit a682773

3 files changed

Lines changed: 33 additions & 60 deletions

File tree

.pre-commit-config.yaml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,18 @@
11
---
22
repos:
33
- repo: https://github.com/lyz-code/yamlfix/
4-
rev: 1.17.0
4+
rev: 1.19.1
55
hooks:
66
- id: yamlfix
7-
- repo: https://github.com/Yelp/detect-secrets
8-
rev: v1.5.0
7+
- repo: https://github.com/IBM/detect-secrets
8+
rev: 0.13.1+ibm.64.dss
99
hooks:
1010
- id: detect-secrets
1111
args:
1212
- --baseline
1313
- .secrets.baseline
1414
- repo: https://github.com/pre-commit/pre-commit-hooks
15-
rev: v5.0.0
15+
rev: v6.0.0
1616
hooks:
1717
- id: trailing-whitespace
1818
- id: check-added-large-files
@@ -35,19 +35,19 @@ repos:
3535
- id: requirements-txt-fixer
3636
- id: mixed-line-ending
3737
- repo: https://github.com/gruntwork-io/pre-commit
38-
rev: v0.1.26
38+
rev: v0.1.30
3939
hooks:
4040
- id: shellcheck
4141
exclude: '.*\.sh\.j2'
4242
- repo: https://github.com/igorshubovych/markdownlint-cli
43-
rev: v0.44.0
43+
rev: v0.47.0
4444
hooks:
4545
- id: markdownlint-fix
4646
- repo: https://github.com/rhysd/actionlint
47-
rev: v1.7.7
47+
rev: v1.7.11
4848
hooks:
4949
- id: actionlint-system
5050
- repo: https://github.com/JohnnyMorganz/StyLua
51-
rev: v2.0.2
51+
rev: v2.3.1
5252
hooks:
5353
- id: stylua-system

.secrets.baseline

Lines changed: 23 additions & 50 deletions
Original file line numberDiff line numberDiff line change
@@ -1,34 +1,42 @@
11
{
2-
"version": "1.4.0",
2+
"exclude": {
3+
"files": "^.secrets.baseline$",
4+
"lines": null
5+
},
6+
"generated_at": "2026-02-25T21:40:20Z",
37
"plugins_used": [
48
{
5-
"name": "ArtifactoryDetector"
9+
"name": "AWSKeyDetector"
610
},
711
{
8-
"name": "AWSKeyDetector"
12+
"name": "ArtifactoryDetector"
913
},
1014
{
1115
"name": "AzureStorageKeyDetector"
1216
},
1317
{
14-
"name": "Base64HighEntropyString",
15-
"limit": 4.5
18+
"base64_limit": 4.5,
19+
"name": "Base64HighEntropyString"
1620
},
1721
{
1822
"name": "BasicAuthDetector"
1923
},
24+
{
25+
"name": "BoxDetector"
26+
},
2027
{
2128
"name": "CloudantDetector"
2229
},
2330
{
24-
"name": "DiscordBotTokenDetector"
31+
"ghe_instance": "github.ibm.com",
32+
"name": "GheDetector"
2533
},
2634
{
2735
"name": "GitHubTokenDetector"
2836
},
2937
{
30-
"name": "HexHighEntropyString",
31-
"limit": 3.0
38+
"hex_limit": 3,
39+
"name": "HexHighEntropyString"
3240
},
3341
{
3442
"name": "IbmCloudIamDetector"
@@ -40,8 +48,8 @@
4048
"name": "JwtTokenDetector"
4149
},
4250
{
43-
"name": "KeywordDetector",
44-
"keyword_exclude": ""
51+
"keyword_exclude": null,
52+
"name": "KeywordDetector"
4553
},
4654
{
4755
"name": "MailchimpDetector"
@@ -52,9 +60,6 @@
5260
{
5361
"name": "PrivateKeyDetector"
5462
},
55-
{
56-
"name": "SendGridDetector"
57-
},
5863
{
5964
"name": "SlackDetector"
6065
},
@@ -71,42 +76,10 @@
7176
"name": "TwilioKeyDetector"
7277
}
7378
],
74-
"filters_used": [
75-
{
76-
"path": "detect_secrets.filters.allowlist.is_line_allowlisted"
77-
},
78-
{
79-
"path": "detect_secrets.filters.common.is_ignored_due_to_verification_policies",
80-
"min_level": 2
81-
},
82-
{
83-
"path": "detect_secrets.filters.heuristic.is_indirect_reference"
84-
},
85-
{
86-
"path": "detect_secrets.filters.heuristic.is_likely_id_string"
87-
},
88-
{
89-
"path": "detect_secrets.filters.heuristic.is_lock_file"
90-
},
91-
{
92-
"path": "detect_secrets.filters.heuristic.is_not_alphanumeric_string"
93-
},
94-
{
95-
"path": "detect_secrets.filters.heuristic.is_potential_uuid"
96-
},
97-
{
98-
"path": "detect_secrets.filters.heuristic.is_prefixed_with_dollar_sign"
99-
},
100-
{
101-
"path": "detect_secrets.filters.heuristic.is_sequential_string"
102-
},
103-
{
104-
"path": "detect_secrets.filters.heuristic.is_swagger_file"
105-
},
106-
{
107-
"path": "detect_secrets.filters.heuristic.is_templated_secret"
108-
}
109-
],
11079
"results": {},
111-
"generated_at": "2023-03-05T20:47:08Z"
80+
"version": "0.13.1+ibm.64.dss",
81+
"word_list": {
82+
"file": null,
83+
"hash": null
84+
}
11285
}

bash_aliases

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ alias findterragruntcache='find . -type d -name ".terragrunt-cache"'
2222
alias findterraformcache='find . -type d -name ".terraform"'
2323
alias clearterragruntcache='find . -type d -name ".terragrunt-cache" -prune -exec rm -rf {} \;'
2424
alias clearterraformcache='find . -type d -name ".terraform" -prune -exec rm -rf {} \;'
25-
alias clearawscreds='truncate -s 0 ~/.aws/credentials'
25+
alias clearawscreds='truncate -s 0 ~/.aws/credentials' # pragma: allowlist secret
2626
alias getkubeconfig="pulumi stack output -j k8s-controllers | jq -r '.[].iam_kubeconfig'"
2727
alias kdump='kubectl get all --all-namespaces'
2828
alias kips='kubectl get nodes -o jsonpath={.items[*].status.addresses[?\(@.type==\"InternalIP\"\)].address}'
@@ -78,7 +78,7 @@ function get_secret() {
7878
local service_name="${1}"
7979
local username="${2}"
8080
local password
81-
password="$(keyring get "${service_name}" "${username}")"
81+
password="$(keyring get "${service_name}" "${username}")" # pragma: allowlist secret
8282
if [[ "${#password}" -eq 0 ]]; then
8383
msg_error "You may need to run: keyring set ${service_name} ${username}" >&2
8484
return 1

0 commit comments

Comments
 (0)