Source

class Source : KotlinCustomResource

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:

Example Usage

Scc Source Basic

package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.gcp.securitycenter.Source;
import com.pulumi.gcp.securitycenter.SourceArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var customSource = new Source("customSource", SourceArgs.builder()
.description("My custom Cloud Security Command Center Finding Source")
.displayName("My Source")
.organization("123456789")
.build());
}
}

Import

Source can be imported using any of these accepted formats

$ pulumi import gcp:securitycenter/source:Source default organizations/{{organization}}/sources/{{name}}
$ pulumi import gcp:securitycenter/source:Source default {{organization}}/{{name}}

Properties

Link copied to clipboard
val description: Output<String>?

The description of the source (max of 1024 characters).

Link copied to clipboard
val displayName: Output<String>

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.

Link copied to clipboard
val id: Output<String>
Link copied to clipboard
val name: Output<String>

The resource name of this source, in the format organizations/{{organization}}/sources/{{source}}.

Link copied to clipboard
val organization: Output<String>

The organization whose Cloud Security Command Center the Source lives in.

Link copied to clipboard
val pulumiChildResources: Set<KotlinResource>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val urn: Output<String>