Skip to content
Open
Show file tree
Hide file tree
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
data "okta_threats_configuration" "test" {}
3 changes: 3 additions & 0 deletions examples/resources/okta_threats_configuration/basic.tf
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
resource "okta_threats_configuration" "test" {

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't see a Go resource file for okta_threats_configuration defined anywhere in this PR. The name of the resource seems to be okta_threat_insight_settings or is that not the same as okta_threats_configuration ?

action = "none"
}
144 changes: 144 additions & 0 deletions okta/services/idaas/data_source_okta_threats_configuration.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

32 changes: 32 additions & 0 deletions okta/services/idaas/data_source_okta_threats_configuration_test.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions okta/services/idaas/idaas.go
Original file line number Diff line number Diff line change
Expand Up @@ -136,6 +136,7 @@ func FWProviderResources() []func() resource.Resource {
newIdentitySourceUserResource,
newCaptchaResource,
newOrgCaptchaResource,
newThreatsConfigurationResource,
}
// Wrap all resources with SafeResource for panic recovery
return resources.WrapResources(rawResources)
Expand Down Expand Up @@ -189,6 +190,7 @@ func FWProviderDataSources() []func() datasource.DataSource {
newIamResourceSetDataSource,
newCaptchaDataSource,
newOrgCaptchaDataSource,
newThreatsConfigurationDataSource,
}
}

Expand Down
Loading