Skip to content

Commit 1a9f891

Browse files
committed
docs: rename opt args to context args and clarify they are not fully optional
1 parent ec1eac0 commit 1a9f891

File tree

2 files changed

+7
-6
lines changed

2 files changed

+7
-6
lines changed

GNUmakefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,7 @@ init-provider-to-test:
8484
.PHONY: terraform-providers-schema
8585
terraform-providers-schema:
8686
rm -rf terraform-providers-schema
87+
rm .terraform.lock.hcl
8788
mkdir -p terraform-providers-schema
8889

8990
doccheck: terraform-providers-schema init-provider-to-test

website/docs/r/secure_vulnerability_accept_risk.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -235,18 +235,14 @@ resource "sysdig_secure_vulnerability_accept_risk" "accept_resource_cve_package_
235235
- **Type**: `string`
236236
- **Example**: `"RiskMitigated"`
237237

238-
### Optional Arguments
238+
### Context Arguments
239239

240-
-> **Note:** Not all optional arguments can be combined freely. Some combinations are valid while others are not. For more information on valid combinations, please refer to the examples provided above.
240+
-> **Note:** Not all context arguments can be combined freely. Some combinations are valid while others are not. For more information on valid combinations, please refer to the examples provided above. You need to specify at least some context arguments, so they are not completely optional.
241241

242242
- `cve` - The CVE (Common Vulnerabilities and Exposures) identifier for the vulnerability being accepted.
243243
- **Type**: `string`
244244
- **Example**: `"CVE-2021-44228"`
245245

246-
- `expiration_date` - The date when the risk acceptance expires. The date must be in `YYYY-MM-DD` format.
247-
- **Type**: `string`
248-
- **Example**: `"2025-01-02"`
249-
250246
- `hostname` - The exact hostname for which the vulnerability risk is being accepted.
251247
- **Type**: `string`
252248
- **Example**: `"webserver-prod-01.mydomain.com"`
@@ -275,6 +271,10 @@ resource "sysdig_secure_vulnerability_accept_risk" "accept_resource_cve_package_
275271
- **Type**: `list of strings`
276272
- **Example**: `["pipeline", "runtime"]`
277273

274+
- `expiration_date` - The date when the risk acceptance expires. The date must be in `YYYY-MM-DD` format.
275+
- **Type**: `string`
276+
- **Example**: `"2025-01-02"`
277+
278278
## Attributes Reference
279279

280280
In addition to all arguments above, the following attributes are exported:

0 commit comments

Comments
 (0)