Skip to content

Commit ef00820

Browse files
authored
Merge pull request #2748 from OWASP/fix-pre-commit
Fix precommit items
2 parents ee90860 + da061b9 commit ef00820

7 files changed

Lines changed: 14 additions & 15 deletions

File tree

‎aws/README.md‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ The documentation below is auto-generated to give insight on what's created via
120120
## Resources
121121

122122
| Name | Type |
123-
|------|------|
123+
| ---- | ---- |
124124
| [aws_iam_policy.secret_deny](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/iam_policy) | resource |
125125
| [aws_iam_policy.secret_manager](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/iam_policy) | resource |
126126
| [aws_iam_role.irsa_role](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/iam_role) | resource |
@@ -146,7 +146,7 @@ The documentation below is auto-generated to give insight on what's created via
146146
## Inputs
147147

148148
| Name | Description | Type | Default | Required |
149-
|------|-------------|------|---------|:--------:|
149+
| ---- | ----------- | ---- | ------- | :------: |
150150
| <a name="input_cluster_name"></a> [cluster\_name](#input\_cluster\_name) | The EKS cluster name | `string` | `"wrongsecrets"` | no |
151151
| <a name="input_cluster_version"></a> [cluster\_version](#input\_cluster\_version) | The EKS cluster version to use | `string` | `"1.36"` | no |
152152
| <a name="input_region"></a> [region](#input\_region) | The AWS region to use | `string` | `"eu-west-1"` | no |
@@ -155,7 +155,7 @@ The documentation below is auto-generated to give insight on what's created via
155155
## Outputs
156156

157157
| Name | Description |
158-
|------|-------------|
158+
| ---- | ----------- |
159159
| <a name="output_cluster_endpoint"></a> [cluster\_endpoint](#output\_cluster\_endpoint) | Endpoint for EKS control plane. |
160160
| <a name="output_cluster_id"></a> [cluster\_id](#output\_cluster\_id) | The id of the cluster |
161161
| <a name="output_cluster_security_group_id"></a> [cluster\_security\_group\_id](#output\_cluster\_security\_group\_id) | Security group ids attached to the cluster control plane. |

‎azure/README.md‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ The documentation below is auto-generated to give insight on what's created via
116116
## Resources
117117

118118
| Name | Type |
119-
|------|------|
119+
| ---- | ---- |
120120
| [azurerm_key_vault.vault](https://registry.terraform.io/providers/hashicorp/azurerm/latest/docs/resources/key_vault) | resource |
121121
| [azurerm_key_vault_access_policy.extra_identity_access](https://registry.terraform.io/providers/hashicorp/azurerm/latest/docs/resources/key_vault_access_policy) | resource |
122122
| [azurerm_key_vault_access_policy.identity_access](https://registry.terraform.io/providers/hashicorp/azurerm/latest/docs/resources/key_vault_access_policy) | resource |
@@ -140,15 +140,15 @@ The documentation below is auto-generated to give insight on what's created via
140140
## Inputs
141141

142142
| Name | Description | Type | Default | Required |
143-
|------|-------------|------|---------|:--------:|
143+
| ---- | ----------- | ---- | ------- | :------: |
144144
| <a name="input_cluster_name"></a> [cluster\_name](#input\_cluster\_name) | The AKS cluster name | `string` | `"wrongsecrets-exercise-cluster"` | no |
145145
| <a name="input_cluster_version"></a> [cluster\_version](#input\_cluster\_version) | The AKS cluster version to use | `string` | `"1.36"` | no |
146146
| <a name="input_region"></a> [region](#input\_region) | The Azure region to use | `string` | `"East US"` | no |
147147

148148
## Outputs
149149

150150
| Name | Description |
151-
|------|-------------|
151+
| ---- | ----------- |
152152
| <a name="output_aad_extra_pod_identity_client_id"></a> [aad\_extra\_pod\_identity\_client\_id](#output\_aad\_extra\_pod\_identity\_client\_id) | Client ID for the Managed Identity for AAD Pod Identity |
153153
| <a name="output_aad_extra_pod_identity_resource_id"></a> [aad\_extra\_pod\_identity\_resource\_id](#output\_aad\_extra\_pod\_identity\_resource\_id) | Resource ID for the Managed Identity for AAD Pod Identity |
154154
| <a name="output_aad_pod_identity_client_id"></a> [aad\_pod\_identity\_client\_id](#output\_aad\_pod\_identity\_client\_id) | Client ID for the Managed Identity for AAD Pod Identity |

‎gcp/README.md‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ The documentation below is auto-generated to give insight on what's created via
112112
## Resources
113113

114114
| Name | Type |
115-
|------|------|
115+
| ---- | ---- |
116116
| [google-beta_google_iam_workload_identity_pool.pool](https://registry.terraform.io/providers/hashicorp/google-beta/latest/docs/resources/google_iam_workload_identity_pool) | resource |
117117
| [google_compute_network.vpc](https://registry.terraform.io/providers/hashicorp/google/latest/docs/resources/compute_network) | resource |
118118
| [google_compute_subnetwork.master_subnet](https://registry.terraform.io/providers/hashicorp/google/latest/docs/resources/compute_subnetwork) | resource |
@@ -137,7 +137,7 @@ The documentation below is auto-generated to give insight on what's created via
137137
## Inputs
138138

139139
| Name | Description | Type | Default | Required |
140-
|------|-------------|------|---------|:--------:|
140+
| ---- | ----------- | ---- | ------- | :------: |
141141
| <a name="input_cluster_name"></a> [cluster\_name](#input\_cluster\_name) | The GKE cluster name | `string` | `"wrongsecrets-exercise-cluster"` | no |
142142
| <a name="input_cluster_version"></a> [cluster\_version](#input\_cluster\_version) | The GKE cluster version to use | `string` | `"1.36"` | no |
143143
| <a name="input_project_id"></a> [project\_id](#input\_project\_id) | project id | `string` | n/a | yes |
@@ -146,7 +146,7 @@ The documentation below is auto-generated to give insight on what's created via
146146
## Outputs
147147

148148
| Name | Description |
149-
|------|-------------|
149+
| ---- | ----------- |
150150
| <a name="output_gke_config"></a> [gke\_config](#output\_gke\_config) | config string for the cluster credentials |
151151
| <a name="output_kubernetes_cluster_host"></a> [kubernetes\_cluster\_host](#output\_kubernetes\_cluster\_host) | GKE Cluster Host |
152152
| <a name="output_kubernetes_cluster_name"></a> [kubernetes\_cluster\_name](#output\_kubernetes\_cluster\_name) | GKE Cluster Name |

‎js/index.js‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
// eslint-disable-next-line no-unused-vars
2-
function secret() {
1+
2+
function secret() {
33
var password = "aCb4Ne4=" + 9 + "zjSj" + 6 + "6ts=" + 2 + "BHi1" + 7;
44
return password;
55
}

‎scripts/do_translate/README.md‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ Step 5: open https://translate.google.com/?sl=en&tl=nl&op=docs select a target l
3333

3434
Step 6: open the translated doc and copy the contents to a txt file. e.g. `explanations_bundle_nl.txt` and make sure the `@@@@ FILE:` part is not translated (if it is, reconstruct it to FILE again).
3535

36-
step 7: now deconstruct the new file (e.g. `explanations_bundle_nl`) with
36+
step 7: now deconstruct the new file (e.g. `explanations_bundle_nl`) with
3737

3838
` ./bin/translate -bundle explanations_bundle_nl.txt -destruct -language nl`
3939

@@ -117,4 +117,4 @@ Examples:
117117
- it: Italian
118118
- pt: Portuguese
119119
- ja: Japanese
120-
- zh: Chinese
120+
- zh: Chinese

‎scripts/do_translate/explanations_bundle.txt‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4051,4 +4051,3 @@ We are running outside a K8s cluster with Vault. Please run this in the K8s clus
40514051
https://github.com/OWASP/wrongsecrets#vault-exercises-with-minikube[README.md]
40524052

40534053
There might still be supported challenges after this one. Please try another challenge instead!
4054-

‎scripts/do_translate/internal/translator/translator.go‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,4 +126,4 @@ func splitText(input string, limit int) []string {
126126
}
127127

128128
return chunks
129-
}
129+
}

0 commit comments

Comments
 (0)