From 7051d8e01396444553b926deee3ec24571c8349d Mon Sep 17 00:00:00 2001 From: Olivia Trewin Date: Mon, 18 Nov 2024 11:23:29 -0800 Subject: [PATCH 1/2] CUSTESC-46783: Add dlp_forensic_copies to allowed logpush dataset values --- .changelog/4598.txt | 3 +++ internal/sdkv2provider/schema_cloudflare_logpush_job.go | 1 + 2 files changed, 4 insertions(+) create mode 100644 .changelog/4598.txt diff --git a/.changelog/4598.txt b/.changelog/4598.txt new file mode 100644 index 0000000000..f4c4fbb7bd --- /dev/null +++ b/.changelog/4598.txt @@ -0,0 +1,3 @@ +```release-note:bug +resource/cloudflare_logpush_job: add dlp_forensic_copies to allowed dataset values +``` diff --git a/internal/sdkv2provider/schema_cloudflare_logpush_job.go b/internal/sdkv2provider/schema_cloudflare_logpush_job.go index aa006f1f0d..48b07b1f4f 100644 --- a/internal/sdkv2provider/schema_cloudflare_logpush_job.go +++ b/internal/sdkv2provider/schema_cloudflare_logpush_job.go @@ -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"} From 2207b23f6bed5b91288720b158e2bda8554e5829 Mon Sep 17 00:00:00 2001 From: Jacob Bednarz Date: Tue, 19 Nov 2024 13:50:26 +1100 Subject: [PATCH 2/2] `make docs` --- docs/resources/logpush_job.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/resources/logpush_job.md b/docs/resources/logpush_job.md index b62d7a4bec..50d8256bab 100644 --- a/docs/resources/logpush_job.md +++ b/docs/resources/logpush_job.md @@ -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