Skip to content

Commit a46e1e1

Browse files
committed
feat: add threats_configuration resource and datasource
1 parent 3e47611 commit a46e1e1

7 files changed

Lines changed: 517 additions & 0 deletions

File tree

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
resource "okta_threats_configuration" "test" {
2+
action = "none"
3+
}

okta/services/idaas/data_source_okta_threats_configuration.go

Lines changed: 131 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

okta/services/idaas/data_source_okta_threats_configuration_test.go

Lines changed: 32 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

okta/services/idaas/idaas.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -133,6 +133,7 @@ func FWProviderResources() []func() resource.Resource {
133133
newIdentitySourceGroupMembershipResource,
134134
newIdentitySourceImportResource,
135135
newIdentitySourceUserResource,
136+
newThreatsConfigurationResource,
136137
}
137138
// Wrap all resources with SafeResource for panic recovery
138139
return resources.WrapResources(rawResources)
@@ -184,6 +185,7 @@ func FWProviderDataSources() []func() datasource.DataSource {
184185
newAuthorizationServersPoliciesRuleDataSource,
185186
newIamAssigneesUserDataSource,
186187
newIamResourceSetDataSource,
188+
newThreatsConfigurationDataSource,
187189
}
188190
}
189191

0 commit comments

Comments
 (0)