diff --git a/.changelog/3237.txt b/.changelog/3237.txt new file mode 100644 index 0000000000..c4d828c538 --- /dev/null +++ b/.changelog/3237.txt @@ -0,0 +1,3 @@ +```release-note:enhancement +cloudflare/resource_logpush_job: Add support for `page_shield_events` +``` diff --git a/docs/resources/logpush_job.md b/docs/resources/logpush_job.md index fe42c60787..386f231ef5 100644 --- a/docs/resources/logpush_job.md +++ b/docs/resources/logpush_job.md @@ -110,7 +110,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`. +- `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`. - `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 diff --git a/internal/sdkv2provider/schema_cloudflare_logpush_job.go b/internal/sdkv2provider/schema_cloudflare_logpush_job.go index 288fcec0e8..c0ff60b8a8 100644 --- a/internal/sdkv2provider/schema_cloudflare_logpush_job.go +++ b/internal/sdkv2provider/schema_cloudflare_logpush_job.go @@ -28,6 +28,7 @@ func resourceCloudflareLogpushJobSchema() map[string]*schema.Schema { "device_posture_results", "zero_trust_network_sessions", "magic_ids_detections", + "page_shield_events", } frequencyAllowedValues := []string{"high", "low"} outputTypeAllowedValues := []string{"ndjson", "csv"}