diff --git a/docs/resources/rule.md b/docs/resources/rule.md index abd4cdcd..b787f75a 100644 --- a/docs/resources/rule.md +++ b/docs/resources/rule.md @@ -114,10 +114,10 @@ resource "jupiterone_rule" "users_without_mfa" { - `polling_interval` (String) Frequency of automated rule evaluation. Defaults to ONE_DAY. - `question` (Block List) Contains properties related to queries used in the rule evaluation. (see [below for nested schema](#nestedblock--question)) - `question_id` (String) Specifies the ID of a question to be used in rule evaluation. -- `question_name` (String, Deprecated) Specifies the name of a question to be used in rule evaluation. - `spec_version` (Number) Rule evaluation specification version in the case of breaking changes. - `tags` (List of String) Comma separated list of tags to apply to the rule. - `templates` (Map of String) Optional key/value pairs of template name to template +- `trigger_on_new_only` (Boolean) ### Read-Only diff --git a/jupiterone/internal/client/generated.go b/jupiterone/internal/client/generated.go index d428000d..e7d6b776 100644 --- a/jupiterone/internal/client/generated.go +++ b/jupiterone/internal/client/generated.go @@ -1184,14 +1184,15 @@ func (v *RuleStateInput) GetActions() map[string]interface{} { return v.Actions type SchedulerPollingInterval string const ( - SchedulerPollingIntervalDisabled SchedulerPollingInterval = "DISABLED" - SchedulerPollingIntervalThirtyMinutes SchedulerPollingInterval = "THIRTY_MINUTES" - SchedulerPollingIntervalOneHour SchedulerPollingInterval = "ONE_HOUR" - SchedulerPollingIntervalFourHours SchedulerPollingInterval = "FOUR_HOURS" - SchedulerPollingIntervalEightHours SchedulerPollingInterval = "EIGHT_HOURS" - SchedulerPollingIntervalTwelveHours SchedulerPollingInterval = "TWELVE_HOURS" - SchedulerPollingIntervalOneDay SchedulerPollingInterval = "ONE_DAY" - SchedulerPollingIntervalOneWeek SchedulerPollingInterval = "ONE_WEEK" + SchedulerPollingIntervalDisabled SchedulerPollingInterval = "DISABLED" + SchedulerPollingIntervalFifteenMinutes SchedulerPollingInterval = "FIFTEEN_MINUTES" + SchedulerPollingIntervalThirtyMinutes SchedulerPollingInterval = "THIRTY_MINUTES" + SchedulerPollingIntervalOneHour SchedulerPollingInterval = "ONE_HOUR" + SchedulerPollingIntervalFourHours SchedulerPollingInterval = "FOUR_HOURS" + SchedulerPollingIntervalEightHours SchedulerPollingInterval = "EIGHT_HOURS" + SchedulerPollingIntervalTwelveHours SchedulerPollingInterval = "TWELVE_HOURS" + SchedulerPollingIntervalOneDay SchedulerPollingInterval = "ONE_DAY" + SchedulerPollingIntervalOneWeek SchedulerPollingInterval = "ONE_WEEK" ) type UpdateComplianceFrameworkFields struct {