Skip to content

Commit

Permalink
Merge pull request #4598 from OrionNebula/otrewin/CUSTESC-46783
Browse files Browse the repository at this point in the history
CUSTESC-46783: Add dlp_forensic_copies to allowed logpush dataset values
  • Loading branch information
jacobbednarz authored Nov 19, 2024
2 parents 05b618e + 2207b23 commit 48db4f3
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 1 deletion.
3 changes: 3 additions & 0 deletions .changelog/4598.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
```release-note:bug
resource/cloudflare_logpush_job: add dlp_forensic_copies to allowed dataset values
```
2 changes: 1 addition & 1 deletion docs/resources/logpush_job.md
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ resource "cloudflare_logpush_job" "example_job" {

### Required

- `dataset` (String) The kind of the dataset to use with the logpush job. Available values: `access_requests`, `casb_findings`, `firewall_events`, `http_requests`, `spectrum_events`, `nel_reports`, `audit_logs`, `gateway_dns`, `gateway_http`, `gateway_network`, `dns_logs`, `network_analytics_logs`, `workers_trace_events`, `device_posture_results`, `zero_trust_network_sessions`, `magic_ids_detections`, `page_shield_events`.
- `dataset` (String) The kind of the dataset to use with the logpush job. Available values: `access_requests`, `casb_findings`, `firewall_events`, `http_requests`, `spectrum_events`, `nel_reports`, `audit_logs`, `gateway_dns`, `gateway_http`, `gateway_network`, `dns_logs`, `network_analytics_logs`, `workers_trace_events`, `device_posture_results`, `zero_trust_network_sessions`, `magic_ids_detections`, `page_shield_events`, `dlp_forensic_copies`.
- `destination_conf` (String) Uniquely identifies a resource (such as an s3 bucket) where data will be pushed. Additional configuration parameters supported by the destination may be included. See [Logpush destination documentation](https://developers.cloudflare.com/logs/reference/logpush-api-configuration#destination).

### Optional
Expand Down
1 change: 1 addition & 0 deletions internal/sdkv2provider/schema_cloudflare_logpush_job.go
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ func resourceCloudflareLogpushJobSchema() map[string]*schema.Schema {
"zero_trust_network_sessions",
"magic_ids_detections",
"page_shield_events",
"dlp_forensic_copies",
}
frequencyAllowedValues := []string{"high", "low"}
outputTypeAllowedValues := []string{"ndjson", "csv"}
Expand Down

0 comments on commit 48db4f3

Please sign in to comment.