Skip to content

Commit 62d7809

Browse files
Updated documentations
1 parent c509dba commit 62d7809

File tree

6 files changed

+6
-21
lines changed

6 files changed

+6
-21
lines changed

.vscode/launch.json

Lines changed: 0 additions & 15 deletions
This file was deleted.

sysdig/tfresource.go

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -708,8 +708,6 @@ func setPolicyRulesOktaML(policy *v2.PolicyRulesComposite, d *schema.ResourceDat
708708
policy.Policy.Rules = []*v2.PolicyRule{}
709709
policy.Rules = []*v2.RuntimePolicyRule{}
710710
if _, ok := d.GetOk("rule"); ok {
711-
// TODO: Iterate over a list of rules instead of hard-coding the index values
712-
// TODO: Should we assume that only a single Malware rule can be attached to a policy?
713711

714712
anomalousLogin := &v2.MLRuleThresholdAndSeverity{}
715713
if _, ok := d.GetOk("rule.0.anomalous_console_login"); ok { // TODO: Do not hardcode the indexes

website/docs/d/secure_aws_ml_policy.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,5 +50,5 @@ The rule block is required and supports:
5050

5151
* `description` - (Required) Rule description.
5252
* `anomalous_console_login` - (Required) This attribute allows you to activate anomaly detection for console logins and adjust its settings.
53-
* `threshold` - (Required) Trigger at or above confidence level.
53+
* `threshold` - (Required) Trigger at or above confidence level. Valid values are: 1 (High), 2 (Medium), 3 (Low).
5454

website/docs/d/secure_okta_ml_policy.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,4 +62,4 @@ The rule block contains:
6262

6363
* `anomalous_console_login` - Anomaly detection settings for logins.
6464
* `enabled` - Whether anomaly detection is enabled.
65-
* `threshold` - Confidence level threshold for triggering alerts.
65+
* `threshold` - Confidence level threshold for triggering alerts. Valid values are: 1 (High), 2 (Medium), 3 (Low).

website/docs/r/secure_aws_ml_policy.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,5 +61,6 @@ The rule block is required and supports:
6161

6262
* `description` - (Required) Rule description.
6363
* `anomalous_console_login` - (Required) This attribute allows you to activate anomaly detection for console logins and adjust its settings.
64-
* `threshold` - (Required) Trigger at or above confidence level.
64+
* `enabled` - (Optional) Whether anomaly detection is enabled. Defaults to `true`.
65+
* `threshold` - (Required) Trigger at or above confidence level. Valid values are: 1 (High), 2 (Medium), 3 (Low).
6566

website/docs/r/secure_okta_ml_policy.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,4 +61,5 @@ The rule block is required and supports:
6161

6262
* `description` - (Required) Rule description.
6363
* `anomalous_console_login` - (Required) This attribute allows you to activate anomaly detection for logins and adjust its settings.
64-
* `threshold` - (Required) Trigger at or above confidence level.
64+
* `enabled` - (Optional) Whether anomaly detection is enabled. Defaults to `true`.
65+
* `threshold` - (Required) Trigger at or above confidence level. Valid values are: 1 (High), 2 (Medium), 3 (Low).

0 commit comments

Comments
 (0)