CARVIEW |
Select Language
HTTP/2 200
date: Tue, 22 Jul 2025 23:52:34 GMT
content-type: text/html; charset=utf-8
vary: X-PJAX, X-PJAX-Container, Turbo-Visit, Turbo-Frame, X-Requested-With,Accept-Encoding, Accept, X-Requested-With
x-robots-tag: none
etag: W/"ea6aada745bbcdfc829333f2f29eaacd"
cache-control: max-age=0, private, must-revalidate
strict-transport-security: max-age=31536000; includeSubdomains; preload
x-frame-options: deny
x-content-type-options: nosniff
x-xss-protection: 0
referrer-policy: no-referrer-when-downgrade
content-security-policy: default-src 'none'; base-uri 'self'; child-src github.githubassets.com github.com/assets-cdn/worker/ github.com/assets/ gist.github.com/assets-cdn/worker/; connect-src 'self' uploads.github.com www.githubstatus.com collector.github.com raw.githubusercontent.com api.github.com github-cloud.s3.amazonaws.com github-production-repository-file-5c1aeb.s3.amazonaws.com github-production-upload-manifest-file-7fdce7.s3.amazonaws.com github-production-user-asset-6210df.s3.amazonaws.com *.rel.tunnels.api.visualstudio.com wss://*.rel.tunnels.api.visualstudio.com objects-origin.githubusercontent.com copilot-proxy.githubusercontent.com proxy.individual.githubcopilot.com proxy.business.githubcopilot.com proxy.enterprise.githubcopilot.com *.actions.githubusercontent.com wss://*.actions.githubusercontent.com productionresultssa0.blob.core.windows.net/ productionresultssa1.blob.core.windows.net/ productionresultssa2.blob.core.windows.net/ productionresultssa3.blob.core.windows.net/ productionresultssa4.blob.core.windows.net/ productionresultssa5.blob.core.windows.net/ productionresultssa6.blob.core.windows.net/ productionresultssa7.blob.core.windows.net/ productionresultssa8.blob.core.windows.net/ productionresultssa9.blob.core.windows.net/ productionresultssa10.blob.core.windows.net/ productionresultssa11.blob.core.windows.net/ productionresultssa12.blob.core.windows.net/ productionresultssa13.blob.core.windows.net/ productionresultssa14.blob.core.windows.net/ productionresultssa15.blob.core.windows.net/ productionresultssa16.blob.core.windows.net/ productionresultssa17.blob.core.windows.net/ productionresultssa18.blob.core.windows.net/ productionresultssa19.blob.core.windows.net/ github-production-repository-image-32fea6.s3.amazonaws.com github-production-release-asset-2e65be.s3.amazonaws.com insights.github.com wss://alive.github.com api.githubcopilot.com api.individual.githubcopilot.com api.business.githubcopilot.com api.enterprise.githubcopilot.com; font-src github.githubassets.com; form-action 'self' github.com gist.github.com copilot-workspace.githubnext.com objects-origin.githubusercontent.com; frame-ancestors 'none'; frame-src viewscreen.githubusercontent.com notebooks.githubusercontent.com; img-src 'self' data: blob: github.githubassets.com media.githubusercontent.com camo.githubusercontent.com identicons.github.com avatars.githubusercontent.com private-avatars.githubusercontent.com github-cloud.s3.amazonaws.com objects.githubusercontent.com release-assets.githubusercontent.com secured-user-images.githubusercontent.com/ user-images.githubusercontent.com/ private-user-images.githubusercontent.com opengraph.githubassets.com copilotprodattachments.blob.core.windows.net/github-production-copilot-attachments/ github-production-user-asset-6210df.s3.amazonaws.com customer-stories-feed.github.com spotlights-feed.github.com objects-origin.githubusercontent.com *.githubusercontent.com; manifest-src 'self'; media-src github.com user-images.githubusercontent.com/ secured-user-images.githubusercontent.com/ private-user-images.githubusercontent.com github-production-user-asset-6210df.s3.amazonaws.com gist.github.com; script-src github.githubassets.com; style-src 'unsafe-inline' github.githubassets.com; upgrade-insecure-requests; worker-src github.githubassets.com github.com/assets-cdn/worker/ github.com/assets/ gist.github.com/assets-cdn/worker/
server: github.com
content-encoding: gzip
accept-ranges: bytes
set-cookie: _gh_sess=WP3E2UzKHyyNFW9RzJiTj5AayGXMf%2F7WS%2BE6PYVoCO8BcDmRjtx4jYNKoilIvIlpS1NcxZ8UQ9S2WB8s%2BkbSgcMh6Q4NR5aWxyKgH54wFZ3t2SSk7c2R88iTMA4LQLMKhYCbr%2B6kJCZwgfgN%2BLH8gzd9R79zi3MfnCFbB2LlJFOP%2FQGRrQoqtEPt%2Fgxbntpx1F42qqSmkWSZAvOVcos%2F4UliaGgXdTyo1GZuw1UW4gUfS%2FZEMC2EXVxFY26q0bn%2Bg002BmpN2KtKn3yD964l2Q%3D%3D--JwQ%2F8m10OYvgJJqG--MYHH%2F962jzzUeohJpmyiiQ%3D%3D; Path=/; HttpOnly; Secure; SameSite=Lax
set-cookie: _octo=GH1.1.597839240.1753228354; Path=/; Domain=github.com; Expires=Wed, 22 Jul 2026 23:52:34 GMT; Secure; SameSite=Lax
set-cookie: logged_in=no; Path=/; Domain=github.com; Expires=Wed, 22 Jul 2026 23:52:34 GMT; HttpOnly; Secure; SameSite=Lax
x-github-request-id: 9536:35EBF4:1D7297:28B487:68802442
Sample configuration · GoogleCloudPlatform/security-response-automation Wiki · GitHub
Skip to content
Navigation Menu
{{ message }}
This repository was archived by the owner on Nov 19, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 53
Sample configuration
Tom Fitzgerald edited this page Oct 21, 2020
·
4 revisions
# Config file example.
# All automations are currently in monitor mode by default (dry_run: true), change to "dry_run: false" to enable the action.
# Replace YOUR-ORGANIZATION-ID and YOUR-FOLDER-ID with the values used in the Terraform initialization script.
apiVersion: security-response-automation.cloud.google.com/v1alpha1
kind: Remediation
metadata:
name: router
spec:
parameters:
# Event Threat Detection findings.
# https://cloud.google.com/security-command-center/docs/how-to-use-event-threat-detection
etd:
bad_ip:
# Create a snapshot of all the disks in a GCE instance.
- action: gce_create_disk_snapshot
# The `target` and `exclude` arrays accepts an ancestry pattern that is compared against the incoming project.
# The target and exclude patterns are both considered however the excludes takes precedence.
# The ancestry pattern allows you to specify granularity at the organization, folder and project levels.
target:
- organizations/YOUR-ORGANIZATION-ID/folders/YOUR-FOLDER-ID/*
excludes:
- organizations/YOUR-ORGANIZATION-ID/folders/YOUR-FOLDER-ID/projects/YOUR-PROJECT-TO-EXCLUDE
properties:
# If dry_run: true, runs in monitor mode where changes are only logged and not performed.
dry_run: true
# Bad IP specific configuration.
# THIS PART IS OPTIONAL
gce_create_snapshot:
target_snapshot_project_id: target-projectid
target_snapshot_zone: us-central1-a
anomalous_iam:
- action: iam_revoke
target:
- organizations/YOUR-ORGANIZATION-ID/folders/YOUR-FOLDER-ID/*
excludes:
- organizations/YOUR-ORGANIZATION-ID/folders/YOUR-FOLDER-ID/projects/YOUR-PROJECT-TO-EXCLUDE
properties:
dry_run: true
anomalous_iam:
allow_domains:
- google.com
ssh_brute_force:
- action: remediate_firewall
target:
- organizations/YOUR-ORGANIZATION-ID/folders/YOUR-FOLDER-ID/*
excludes:
- organizations/YOUR-ORGANIZATION-ID/folders/YOUR-FOLDER-ID/projects/YOUR-PROJECT-TO-EXCLUDE
properties:
dry_run: true
action:
- disable
# Security Health Analytics
sha:
public_bucket_acl:
- action: close_bucket
target:
- organizations/YOUR-ORGANIZATION-ID/folders/YOUR-FOLDER-ID/*
excludes:
- organizations/YOUR-ORGANIZATION-ID/folders/YOUR-FOLDER-ID/projects/YOUR-PROJECT-TO-EXCLUDE
properties:
dry_run: true
bucket_policy_only_disabled:
- action: enable_bucket_only_policy
target:
- organizations/YOUR-ORGANIZATION-ID/folders/YOUR-FOLDER-ID/*
excludes:
- organizations/YOUR-ORGANIZATION-ID/folders/YOUR-FOLDER-ID/projects/YOUR-PROJECT-TO-EXCLUDE
properties:
dry_run: true
public_sql_instance:
- action: close_cloud_sql
target:
- organizations/YOUR-ORGANIZATION-ID/folders/YOUR-FOLDER-ID/*
excludes:
- organizations/YOUR-ORGANIZATION-ID/folders/YOUR-FOLDER-ID/projects/YOUR-PROJECT-TO-EXCLUDE
properties:
dry_run: true
ssl_not_enforced:
- action: cloud_sql_require_ssl
target:
- organizations/YOUR-ORGANIZATION-ID/folders/YOUR-FOLDER-ID/*
excludes:
- organizations/YOUR-ORGANIZATION-ID/folders/YOUR-FOLDER-ID/projects/YOUR-PROJECT-TO-EXCLUDE
properties:
dry_run: true
sql_no_root_password:
- action: cloud_sql_update_password
target:
- organizations/YOUR-ORGANIZATION-ID/folders/YOUR-FOLDER-ID/*
excludes:
- organizations/YOUR-ORGANIZATION-ID/folders/YOUR-FOLDER-ID/projects/YOUR-PROJECT-TO-EXCLUDE
properties:
dry_run: true
public_ip_address:
- action: remove_public_ip
target:
- organizations/YOUR-ORGANIZATION-ID/folders/YOUR-FOLDER-ID/*
excludes:
- organizations/YOUR-ORGANIZATION-ID/folders/YOUR-FOLDER-ID/projects/YOUR-PROJECT-TO-EXCLUDE
properties:
dry_run: true
open_firewall:
- action: remediate_firewall
target:
- organizations/YOUR-ORGANIZATION-ID/folders/YOUR-FOLDER-ID/*
excludes:
- organizations/YOUR-ORGANIZATION-ID/folders/YOUR-FOLDER-ID/projects/YOUR-PROJECT-TO-EXCLUDE
properties:
dry_run: true
open_firewall:
remediation_action: disable
bigquery_public_dataset:
- action: close_public_dataset
target:
- organizations/YOUR-ORGANIZATION-ID/folders/YOUR-FOLDER-ID/*
excludes:
- organizations/YOUR-ORGANIZATION-ID/folders/YOUR-FOLDER-ID/projects/YOUR-PROJECT-TO-EXCLUDE
properties:
dry_run: true
audit_logging_disabled:
- action: enable_audit_logs
target:
- organizations/YOUR-ORGANIZATION-ID/folders/YOUR-FOLDER-ID/*
excludes:
- organizations/YOUR-ORGANIZATION-ID/folders/YOUR-FOLDER-ID/projects/YOUR-PROJECT-TO-EXCLUDE
properties:
dry_run: true
web_ui_enabled:
- action: disable_dashboard
target:
- organizations/YOUR-ORGANIZATION-ID/folders/YOUR-FOLDER-ID/*
excludes:
- organizations/YOUR-ORGANIZATION-ID/folders/YOUR-FOLDER-ID/projects/YOUR-PROJECT-TO-EXCLUDE
properties:
dry_run: true
Clone this wiki locally
You can’t perform that action at this time.