container_registry
Retrieves information about a container registry connection in CrowdStrike Falcon Container Security.
API Scopes
Section titled “API Scopes”The following API scopes are required:
- Falcon Container Image: READ
Example Usage
Section titled “Example Usage”terraform { required_providers { crowdstrike = { source = "registry.terraform.io/crowdstrike/crowdstrike" } }}
provider "crowdstrike" { cloud = "us-2"}
# Look up a container registry by its UUID.data "crowdstrike_container_registry" "by_id" { id = "f0bb103e-f9ae-4d88-8fb3-c61caf1f3b89"}
# Or look it up by its user-defined alias (must match exactly one registry).data "crowdstrike_container_registry" "by_alias" { user_defined_alias = "My Docker Hub"}
output "container_registry" { value = data.crowdstrike_container_registry.by_id}Schema
Section titled “Schema”Required
Section titled “Required”id(String) The UUID of the registry entity.
Read-Only
Section titled “Read-Only”created_at(String) Timestamp when the registry was created.credential_created_at(String) Timestamp when the credential was created.credential_expired(Boolean) Whether the credential has expired.credential_expired_at(String) Timestamp when the credential expired.credential_id(String) The ID of the credential.credential_updated_at(String) Timestamp when the credential was last updated.last_refreshed_at(String) Timestamp when the registry was last refreshed.next_refresh_at(String) Timestamp when the registry will be refreshed next.refresh_interval(Number) The refresh interval in seconds.state(String) The current state of the registry entity.state_changed_at(String) Timestamp when the state last changed.type(String) The type of container registry.updated_at(String) Timestamp when the registry was last updated.url(String) The URL of the container registry.url_uniqueness_alias(String) System-generated URL uniqueness alias.user_defined_alias(String) A user-defined friendly name for the registry.