1. Packages
  2. Google Cloud (GCP) Classic
  3. API Docs
  4. securitycenter
  5. EventThreatDetectionCustomModule
Google Cloud Classic v8.8.0 published on Thursday, Nov 7, 2024 by Pulumi

gcp.securitycenter.EventThreatDetectionCustomModule

Explore with Pulumi AI

gcp logo
Google Cloud Classic v8.8.0 published on Thursday, Nov 7, 2024 by Pulumi

    Represents an instance of an Event Threat Detection custom module, including its full module name, display name, enablement state, andlast updated time. You can create a custom module at the organization level only.

    To get more information about EventThreatDetectionCustomModule, see:

    Example Usage

    Scc Event Threat Detection Custom Module

    Coming soon!
    
    Coming soon!
    
    Coming soon!
    
    Coming soon!
    
    Coming soon!
    
    resources:
      example:
        type: gcp:securitycenter:EventThreatDetectionCustomModule
        properties:
          organization: '123456789'
          displayName: basic_custom_module
          enablementState: ENABLED
          type: CONFIGURABLE_BAD_IP
          description: My Event Threat Detection Custom Module
          config:
            fn::toJSON:
              metadata:
                severity: LOW
                description: Flagged by Forcepoint as malicious
                recommendation: Contact the owner of the relevant project.
              ips:
                - 192.0.2.1
                - 192.0.2.0/24
    

    Create EventThreatDetectionCustomModule Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new EventThreatDetectionCustomModule(name: string, args: EventThreatDetectionCustomModuleArgs, opts?: CustomResourceOptions);
    @overload
    def EventThreatDetectionCustomModule(resource_name: str,
                                         args: EventThreatDetectionCustomModuleArgs,
                                         opts: Optional[ResourceOptions] = None)
    
    @overload
    def EventThreatDetectionCustomModule(resource_name: str,
                                         opts: Optional[ResourceOptions] = None,
                                         config: Optional[str] = None,
                                         enablement_state: Optional[str] = None,
                                         organization: Optional[str] = None,
                                         type: Optional[str] = None,
                                         display_name: Optional[str] = None)
    func NewEventThreatDetectionCustomModule(ctx *Context, name string, args EventThreatDetectionCustomModuleArgs, opts ...ResourceOption) (*EventThreatDetectionCustomModule, error)
    public EventThreatDetectionCustomModule(string name, EventThreatDetectionCustomModuleArgs args, CustomResourceOptions? opts = null)
    public EventThreatDetectionCustomModule(String name, EventThreatDetectionCustomModuleArgs args)
    public EventThreatDetectionCustomModule(String name, EventThreatDetectionCustomModuleArgs args, CustomResourceOptions options)
    
    type: gcp:securitycenter:EventThreatDetectionCustomModule
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    

    Parameters

    name string
    The unique name of the resource.
    args EventThreatDetectionCustomModuleArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args EventThreatDetectionCustomModuleArgs
    The arguments to resource properties.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resource.
    args EventThreatDetectionCustomModuleArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args EventThreatDetectionCustomModuleArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args EventThreatDetectionCustomModuleArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Constructor example

    The following reference example uses placeholder values for all input properties.

    var eventThreatDetectionCustomModuleResource = new Gcp.SecurityCenter.EventThreatDetectionCustomModule("eventThreatDetectionCustomModuleResource", new()
    {
        Config = "string",
        EnablementState = "string",
        Organization = "string",
        Type = "string",
        DisplayName = "string",
    });
    
    example, err := securitycenter.NewEventThreatDetectionCustomModule(ctx, "eventThreatDetectionCustomModuleResource", &securitycenter.EventThreatDetectionCustomModuleArgs{
    	Config:          pulumi.String("string"),
    	EnablementState: pulumi.String("string"),
    	Organization:    pulumi.String("string"),
    	Type:            pulumi.String("string"),
    	DisplayName:     pulumi.String("string"),
    })
    
    var eventThreatDetectionCustomModuleResource = new EventThreatDetectionCustomModule("eventThreatDetectionCustomModuleResource", EventThreatDetectionCustomModuleArgs.builder()
        .config("string")
        .enablementState("string")
        .organization("string")
        .type("string")
        .displayName("string")
        .build());
    
    event_threat_detection_custom_module_resource = gcp.securitycenter.EventThreatDetectionCustomModule("eventThreatDetectionCustomModuleResource",
        config="string",
        enablement_state="string",
        organization="string",
        type="string",
        display_name="string")
    
    const eventThreatDetectionCustomModuleResource = new gcp.securitycenter.EventThreatDetectionCustomModule("eventThreatDetectionCustomModuleResource", {
        config: "string",
        enablementState: "string",
        organization: "string",
        type: "string",
        displayName: "string",
    });
    
    type: gcp:securitycenter:EventThreatDetectionCustomModule
    properties:
        config: string
        displayName: string
        enablementState: string
        organization: string
        type: string
    

    EventThreatDetectionCustomModule Resource Properties

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

    Inputs

    In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

    The EventThreatDetectionCustomModule resource accepts the following input properties:

    Config string
    Config for the module. For the resident module, its config value is defined at this level. For the inherited module, its config value is inherited from the ancestor module.
    EnablementState string
    The state of enablement for the module at the given level of the hierarchy. Possible values are: ENABLED, DISABLED.
    Organization string
    Numerical ID of the parent organization.


    Type string
    Immutable. Type for the module. e.g. CONFIGURABLE_BAD_IP.
    DisplayName string
    The human readable name to be displayed for the module.
    Config string
    Config for the module. For the resident module, its config value is defined at this level. For the inherited module, its config value is inherited from the ancestor module.
    EnablementState string
    The state of enablement for the module at the given level of the hierarchy. Possible values are: ENABLED, DISABLED.
    Organization string
    Numerical ID of the parent organization.


    Type string
    Immutable. Type for the module. e.g. CONFIGURABLE_BAD_IP.
    DisplayName string
    The human readable name to be displayed for the module.
    config String
    Config for the module. For the resident module, its config value is defined at this level. For the inherited module, its config value is inherited from the ancestor module.
    enablementState String
    The state of enablement for the module at the given level of the hierarchy. Possible values are: ENABLED, DISABLED.
    organization String
    Numerical ID of the parent organization.


    type String
    Immutable. Type for the module. e.g. CONFIGURABLE_BAD_IP.
    displayName String
    The human readable name to be displayed for the module.
    config string
    Config for the module. For the resident module, its config value is defined at this level. For the inherited module, its config value is inherited from the ancestor module.
    enablementState string
    The state of enablement for the module at the given level of the hierarchy. Possible values are: ENABLED, DISABLED.
    organization string
    Numerical ID of the parent organization.


    type string
    Immutable. Type for the module. e.g. CONFIGURABLE_BAD_IP.
    displayName string
    The human readable name to be displayed for the module.
    config str
    Config for the module. For the resident module, its config value is defined at this level. For the inherited module, its config value is inherited from the ancestor module.
    enablement_state str
    The state of enablement for the module at the given level of the hierarchy. Possible values are: ENABLED, DISABLED.
    organization str
    Numerical ID of the parent organization.


    type str
    Immutable. Type for the module. e.g. CONFIGURABLE_BAD_IP.
    display_name str
    The human readable name to be displayed for the module.
    config String
    Config for the module. For the resident module, its config value is defined at this level. For the inherited module, its config value is inherited from the ancestor module.
    enablementState String
    The state of enablement for the module at the given level of the hierarchy. Possible values are: ENABLED, DISABLED.
    organization String
    Numerical ID of the parent organization.


    type String
    Immutable. Type for the module. e.g. CONFIGURABLE_BAD_IP.
    displayName String
    The human readable name to be displayed for the module.

    Outputs

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

    Id string
    The provider-assigned unique ID for this managed resource.
    LastEditor string
    The editor that last updated the custom module
    Name string
    The resource name of the Event Threat Detection custom module. Its format is "organizations/{organization}/eventThreatDetectionSettings/customModules/{module}".
    UpdateTime string
    The time at which the custom module was last updated. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".
    Id string
    The provider-assigned unique ID for this managed resource.
    LastEditor string
    The editor that last updated the custom module
    Name string
    The resource name of the Event Threat Detection custom module. Its format is "organizations/{organization}/eventThreatDetectionSettings/customModules/{module}".
    UpdateTime string
    The time at which the custom module was last updated. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".
    id String
    The provider-assigned unique ID for this managed resource.
    lastEditor String
    The editor that last updated the custom module
    name String
    The resource name of the Event Threat Detection custom module. Its format is "organizations/{organization}/eventThreatDetectionSettings/customModules/{module}".
    updateTime String
    The time at which the custom module was last updated. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".
    id string
    The provider-assigned unique ID for this managed resource.
    lastEditor string
    The editor that last updated the custom module
    name string
    The resource name of the Event Threat Detection custom module. Its format is "organizations/{organization}/eventThreatDetectionSettings/customModules/{module}".
    updateTime string
    The time at which the custom module was last updated. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".
    id str
    The provider-assigned unique ID for this managed resource.
    last_editor str
    The editor that last updated the custom module
    name str
    The resource name of the Event Threat Detection custom module. Its format is "organizations/{organization}/eventThreatDetectionSettings/customModules/{module}".
    update_time str
    The time at which the custom module was last updated. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".
    id String
    The provider-assigned unique ID for this managed resource.
    lastEditor String
    The editor that last updated the custom module
    name String
    The resource name of the Event Threat Detection custom module. Its format is "organizations/{organization}/eventThreatDetectionSettings/customModules/{module}".
    updateTime String
    The time at which the custom module was last updated. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".

    Look up Existing EventThreatDetectionCustomModule Resource

    Get an existing EventThreatDetectionCustomModule 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?: EventThreatDetectionCustomModuleState, opts?: CustomResourceOptions): EventThreatDetectionCustomModule
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            config: Optional[str] = None,
            display_name: Optional[str] = None,
            enablement_state: Optional[str] = None,
            last_editor: Optional[str] = None,
            name: Optional[str] = None,
            organization: Optional[str] = None,
            type: Optional[str] = None,
            update_time: Optional[str] = None) -> EventThreatDetectionCustomModule
    func GetEventThreatDetectionCustomModule(ctx *Context, name string, id IDInput, state *EventThreatDetectionCustomModuleState, opts ...ResourceOption) (*EventThreatDetectionCustomModule, error)
    public static EventThreatDetectionCustomModule Get(string name, Input<string> id, EventThreatDetectionCustomModuleState? state, CustomResourceOptions? opts = null)
    public static EventThreatDetectionCustomModule get(String name, Output<String> id, EventThreatDetectionCustomModuleState state, CustomResourceOptions options)
    Resource lookup is not supported in YAML
    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.
    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:
    Config string
    Config for the module. For the resident module, its config value is defined at this level. For the inherited module, its config value is inherited from the ancestor module.
    DisplayName string
    The human readable name to be displayed for the module.
    EnablementState string
    The state of enablement for the module at the given level of the hierarchy. Possible values are: ENABLED, DISABLED.
    LastEditor string
    The editor that last updated the custom module
    Name string
    The resource name of the Event Threat Detection custom module. Its format is "organizations/{organization}/eventThreatDetectionSettings/customModules/{module}".
    Organization string
    Numerical ID of the parent organization.


    Type string
    Immutable. Type for the module. e.g. CONFIGURABLE_BAD_IP.
    UpdateTime string
    The time at which the custom module was last updated. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".
    Config string
    Config for the module. For the resident module, its config value is defined at this level. For the inherited module, its config value is inherited from the ancestor module.
    DisplayName string
    The human readable name to be displayed for the module.
    EnablementState string
    The state of enablement for the module at the given level of the hierarchy. Possible values are: ENABLED, DISABLED.
    LastEditor string
    The editor that last updated the custom module
    Name string
    The resource name of the Event Threat Detection custom module. Its format is "organizations/{organization}/eventThreatDetectionSettings/customModules/{module}".
    Organization string
    Numerical ID of the parent organization.


    Type string
    Immutable. Type for the module. e.g. CONFIGURABLE_BAD_IP.
    UpdateTime string
    The time at which the custom module was last updated. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".
    config String
    Config for the module. For the resident module, its config value is defined at this level. For the inherited module, its config value is inherited from the ancestor module.
    displayName String
    The human readable name to be displayed for the module.
    enablementState String
    The state of enablement for the module at the given level of the hierarchy. Possible values are: ENABLED, DISABLED.
    lastEditor String
    The editor that last updated the custom module
    name String
    The resource name of the Event Threat Detection custom module. Its format is "organizations/{organization}/eventThreatDetectionSettings/customModules/{module}".
    organization String
    Numerical ID of the parent organization.


    type String
    Immutable. Type for the module. e.g. CONFIGURABLE_BAD_IP.
    updateTime String
    The time at which the custom module was last updated. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".
    config string
    Config for the module. For the resident module, its config value is defined at this level. For the inherited module, its config value is inherited from the ancestor module.
    displayName string
    The human readable name to be displayed for the module.
    enablementState string
    The state of enablement for the module at the given level of the hierarchy. Possible values are: ENABLED, DISABLED.
    lastEditor string
    The editor that last updated the custom module
    name string
    The resource name of the Event Threat Detection custom module. Its format is "organizations/{organization}/eventThreatDetectionSettings/customModules/{module}".
    organization string
    Numerical ID of the parent organization.


    type string
    Immutable. Type for the module. e.g. CONFIGURABLE_BAD_IP.
    updateTime string
    The time at which the custom module was last updated. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".
    config str
    Config for the module. For the resident module, its config value is defined at this level. For the inherited module, its config value is inherited from the ancestor module.
    display_name str
    The human readable name to be displayed for the module.
    enablement_state str
    The state of enablement for the module at the given level of the hierarchy. Possible values are: ENABLED, DISABLED.
    last_editor str
    The editor that last updated the custom module
    name str
    The resource name of the Event Threat Detection custom module. Its format is "organizations/{organization}/eventThreatDetectionSettings/customModules/{module}".
    organization str
    Numerical ID of the parent organization.


    type str
    Immutable. Type for the module. e.g. CONFIGURABLE_BAD_IP.
    update_time str
    The time at which the custom module was last updated. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".
    config String
    Config for the module. For the resident module, its config value is defined at this level. For the inherited module, its config value is inherited from the ancestor module.
    displayName String
    The human readable name to be displayed for the module.
    enablementState String
    The state of enablement for the module at the given level of the hierarchy. Possible values are: ENABLED, DISABLED.
    lastEditor String
    The editor that last updated the custom module
    name String
    The resource name of the Event Threat Detection custom module. Its format is "organizations/{organization}/eventThreatDetectionSettings/customModules/{module}".
    organization String
    Numerical ID of the parent organization.


    type String
    Immutable. Type for the module. e.g. CONFIGURABLE_BAD_IP.
    updateTime String
    The time at which the custom module was last updated. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".

    Import

    EventThreatDetectionCustomModule can be imported using any of these accepted formats:

    • organizations/{{organization}}/eventThreatDetectionSettings/customModules/{{name}}

    • {{organization}}/{{name}}

    When using the pulumi import command, EventThreatDetectionCustomModule can be imported using one of the formats above. For example:

    $ pulumi import gcp:securitycenter/eventThreatDetectionCustomModule:EventThreatDetectionCustomModule default organizations/{{organization}}/eventThreatDetectionSettings/customModules/{{name}}
    
    $ pulumi import gcp:securitycenter/eventThreatDetectionCustomModule:EventThreatDetectionCustomModule default {{organization}}/{{name}}
    

    To learn more about importing existing cloud resources, see Importing resources.

    Package Details

    Repository
    Google Cloud (GCP) Classic pulumi/pulumi-gcp
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the google-beta Terraform Provider.
    gcp logo
    Google Cloud Classic v8.8.0 published on Thursday, Nov 7, 2024 by Pulumi