A Cloud Security Command Center's (Cloud SCC) finding source. A finding source is an entity or a mechanism that can produce a finding. A source is like a container of findings that come from the same scanner, logger, monitor, etc.
To get more information about Source, see:
resource "google_scc_source" "custom_source" {
display_name = "My Source"
organization = "123456789"
description = "My custom Cloud Security Command Center Finding Source"
}
The following arguments are supported:
display_name
-
(Required)
The source’s display name. A source’s display name must be unique
amongst its siblings, for example, two sources with the same parent
can't share the same display name. The display name must start and end
with a letter or digit, may contain letters, digits, spaces, hyphens,
and underscores, and can be no longer than 32 characters.
organization
-
(Required)
The organization whose Cloud Security Command Center the Source
lives in.
description
-
(Optional)
The description of the source (max of 1024 characters).In addition to the arguments listed above, the following computed attributes are exported:
id
- an identifier for the resource with format {{name}}
name
-
The resource name of this source, in the format
organizations/{{organization}}/sources/{{source}}
.
This resource provides the following Timeouts configuration options:
create
- Default is 20 minutes.update
- Default is 20 minutes.delete
- Default is 20 minutes.Source can be imported using any of these accepted formats:
organizations/{{organization}}/sources/{{name}}
{{organization}}/{{name}}
In Terraform v1.5.0 and later, use an import
block to import Source using one of the formats above. For example:
import {
id = "organizations/{{organization}}/sources/{{name}}"
to = google_scc_source.default
}
When using the terraform import
command, Source can be imported using one of the formats above. For example:
$ terraform import google_scc_source.default organizations/{{organization}}/sources/{{name}}
$ terraform import google_scc_source.default {{organization}}/{{name}}