Source

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:

Create a Source Resource

new Source(name: string, args: SourceArgs, opts?: CustomResourceOptions);
def Source(resource_name, opts=None, description=None, display_name=None, organization=None, __props__=None);
func NewSource(ctx *Context, name string, args SourceArgs, opts ...ResourceOption) (*Source, error)
public Source(string name, SourceArgs args, CustomResourceOptions? opts = null)
name string
The unique name of the resource.
args SourceArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name str
The unique name of the resource.
opts ResourceOptions
A bag of options that control this resource's behavior.
ctx Context
Context object for the current deployment.
name string
The unique name of the resource.
args SourceArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name string
The unique name of the resource.
args SourceArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.

Source Resource Properties

To learn more about resource properties and how to use them, see Inputs and Outputs in the Programming Model docs.

Inputs

The Source resource accepts the following input properties:

DisplayName 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.

Organization string

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

Description string

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

DisplayName 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.

Organization string

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

Description string

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

displayName 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.

organization string

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

description string

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

display_name str

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 str

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

description str

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

Outputs

All input properties are implicitly available as output properties. Additionally, the Source resource produces the following output properties:

Id string
The provider-assigned unique ID for this managed resource.
Name string

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

Id string
The provider-assigned unique ID for this managed resource.
Name string

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

id string
The provider-assigned unique ID for this managed resource.
name string

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

id str
The provider-assigned unique ID for this managed resource.
name str

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

Look up an Existing Source Resource

Get an existing Source resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

public static get(name: string, id: Input<ID>, state?: SourceState, opts?: CustomResourceOptions): Source
static get(resource_name, id, opts=None, description=None, display_name=None, name=None, organization=None, __props__=None);
func GetSource(ctx *Context, name string, id IDInput, state *SourceState, opts ...ResourceOption) (*Source, error)
public static Source Get(string name, Input<string> id, SourceState? state, CustomResourceOptions? opts = null)
name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
resource_name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.

The following state arguments are supported:

Description string

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

DisplayName 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.

Name string

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

Organization string

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

Description string

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

DisplayName 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.

Name string

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

Organization string

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

description string

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

displayName 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.

name string

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

organization string

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

description str

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

display_name str

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.

name str

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

organization str

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

Package Details

Repository
https://github.com/pulumi/pulumi-gcp
License
Apache-2.0
Notes
This Pulumi package is based on the google-beta Terraform Provider.