Skip to content

Commit f03c6ca

Browse files
pranav-oktaclaude
andcommitted
docs: add and update threat_insight_settings documentation
- Update resource doc: rename network_excludes to exclude_zones, add created/last_updated read-only attrs, fix example - Add missing data source doc for okta_threat_insight_settings 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
1 parent 80a63d4 commit f03c6ca

2 files changed

Lines changed: 43 additions & 4 deletions

File tree

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
---
2+
page_title: "Data Source: okta_threat_insight_settings"
3+
description: |-
4+
Retrieves Okta ThreatInsight Settings.
5+
---
6+
7+
# Data Source: okta_threat_insight_settings
8+
9+
Retrieves Okta ThreatInsight Settings.
10+
11+
## Example Usage
12+
13+
```terraform
14+
data "okta_threat_insight_settings" "example" {}
15+
```
16+
17+
<!-- schema generated by tfplugindocs -->
18+
## Schema
19+
20+
### Optional
21+
22+
- `id` (String) Unique identifier of the threat_insight_settings.
23+
24+
### Read-Only
25+
26+
- `items` (List of Object) List of ThreatInsight settings. (see [below for nested schema](#nestedatt--items))
27+
28+
<a id="nestedatt--items"></a>
29+
### Nested Schema for `items`
30+
31+
Read-Only:
32+
33+
- `action` (String) Specifies how Okta responds to authentication requests from suspicious IPs.
34+
- `created` (String) Timestamp when the ThreatInsight Configuration object was created.
35+
- `exclude_zones` (List of String) List of Network Zone IDs excluded from ThreatInsight evaluation.
36+
- `id` (String) The unique identifier for the item.
37+
- `last_updated` (String) Timestamp when the ThreatInsight Configuration object was last updated.

docs/resources/threat_insight_settings.md

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,8 @@ resource "okta_network_zone" "ip_network_zone_example" {
1919
}
2020
2121
resource "okta_threat_insight_settings" "example" {
22-
action = "block"
23-
network_excludes = [okta_network_zone.ip_network_zone_example.id]
22+
action = "block"
23+
exclude_zones = [okta_network_zone.ip_network_zone_example.id]
2424
}
2525
```
2626

@@ -33,11 +33,13 @@ resource "okta_threat_insight_settings" "example" {
3333

3434
### Optional
3535

36-
- `network_excludes` (List of String) Accepts a list of Network Zone IDs. Can only accept zones of `IP` type. IPs in the excluded Network Zones aren't logged or blocked by Okta ThreatInsight and proceed to Sign On rules evaluation. This ensures that traffic from known, trusted IPs isn't accidentally logged or blocked. The ordering of the network zone is not guarantee from the API sides
36+
- `exclude_zones` (List of String) Accepts a list of Network Zone IDs. Can only accept zones of `IP` type. IPs in the excluded Network Zones aren't logged or blocked by Okta ThreatInsight and proceed to Sign On rules evaluation. This ensures that traffic from known, trusted IPs isn't accidentally logged or blocked. The ordering of the network zone is not guaranteed from the API side.
3737

3838
### Read-Only
3939

40-
- `id` (String) The ID of this resource.
40+
- `created` (String) Timestamp when the ThreatInsight Configuration object was created.
41+
- `id` (String) The unique identifier for the resource.
42+
- `last_updated` (String) Timestamp when the ThreatInsight Configuration object was last updated.
4143

4244
## Import
4345

0 commit comments

Comments
 (0)