For the complete documentation index, see llms.txt. This page is also available as Markdown.

Leverage Terraform data sources

Look up Application Security configuration with Terraform data sources.

Data sources allow you to dynamically look up existing Application Security configurations and reference their IDs or attributes in your new deployments, eliminating the need to copy and paste hardcoded values.

Supported Application Security data sources

Policies and rules

Action
Terraform data source

Retrieve the configuration details (such as conditions and triggers) of a specific AppSec policy

cortexcloud_appsec_policy

Fetch a filtered list of AppSec policies (such as all policies currently set to enabled)

cortexcloud_appsec_policies

Retrieve the YAML definition and severity details of a specific custom rule

cortexcloud_appsec_rule

Get a filtered list of rules based on scanner type (IaC/Secrets) or category

cortexcloud_appsec_rules

List the available rule labels currently active in the tenant

cortexcloud_appsec_rule_labels

Compliance

Action
Terraform data source

Retrieve details for specific compliance frameworks (such as OWASP Top 10) to fetch a Standard ID

cortexcloud_compliance_standard or cortexcloud_compliance_standards

Look up the scheduling and reporting targets for existing automated compliance audits

cortexcloud_compliance_assessment_profile or cortexcloud_compliance_assessment_profiles

Retrieve configuration details for individual compliance controls

cortexcloud_compliance_control or cortexcloud_compliance_controls

Last updated

Was this helpful?