1. Packages
  2. Google Cloud (GCP) Classic
  3. API Docs
  4. securitycenter
  5. ManagementOrganizationEventThreatDetectionCustomModule
Google Cloud Classic v7.29.0 published on Wednesday, Jun 26, 2024 by Pulumi

gcp.securitycenter.ManagementOrganizationEventThreatDetectionCustomModule

Explore with Pulumi AI

gcp logo
Google Cloud Classic v7.29.0 published on Wednesday, Jun 26, 2024 by Pulumi

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

    To get more information about OrganizationEventThreatDetectionCustomModule, see:

    Example Usage

    Scc Management Organization Event Threat Detection Custom Module

    Coming soon!
    
    Coming soon!
    
    Coming soon!
    
    Coming soon!
    
    Coming soon!
    
    resources:
      example:
        type: gcp:securitycenter:ManagementOrganizationEventThreatDetectionCustomModule
        properties:
          organization: '123456789'
          location: global
          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 ManagementOrganizationEventThreatDetectionCustomModule Resource

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

    Constructor syntax

    new ManagementOrganizationEventThreatDetectionCustomModule(name: string, args: ManagementOrganizationEventThreatDetectionCustomModuleArgs, opts?: CustomResourceOptions);
    @overload
    def ManagementOrganizationEventThreatDetectionCustomModule(resource_name: str,
                                                               args: ManagementOrganizationEventThreatDetectionCustomModuleArgs,
                                                               opts: Optional[ResourceOptions] = None)
    
    @overload
    def ManagementOrganizationEventThreatDetectionCustomModule(resource_name: str,
                                                               opts: Optional[ResourceOptions] = None,
                                                               organization: Optional[str] = None,
                                                               config: Optional[str] = None,
                                                               display_name: Optional[str] = None,
                                                               enablement_state: Optional[str] = None,
                                                               location: Optional[str] = None,
                                                               type: Optional[str] = None)
    func NewManagementOrganizationEventThreatDetectionCustomModule(ctx *Context, name string, args ManagementOrganizationEventThreatDetectionCustomModuleArgs, opts ...ResourceOption) (*ManagementOrganizationEventThreatDetectionCustomModule, error)
    public ManagementOrganizationEventThreatDetectionCustomModule(string name, ManagementOrganizationEventThreatDetectionCustomModuleArgs args, CustomResourceOptions? opts = null)
    public ManagementOrganizationEventThreatDetectionCustomModule(String name, ManagementOrganizationEventThreatDetectionCustomModuleArgs args)
    public ManagementOrganizationEventThreatDetectionCustomModule(String name, ManagementOrganizationEventThreatDetectionCustomModuleArgs args, CustomResourceOptions options)
    
    type: gcp:securitycenter:ManagementOrganizationEventThreatDetectionCustomModule
    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 ManagementOrganizationEventThreatDetectionCustomModuleArgs
    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 ManagementOrganizationEventThreatDetectionCustomModuleArgs
    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 ManagementOrganizationEventThreatDetectionCustomModuleArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args ManagementOrganizationEventThreatDetectionCustomModuleArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args ManagementOrganizationEventThreatDetectionCustomModuleArgs
    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 managementOrganizationEventThreatDetectionCustomModuleResource = new Gcp.SecurityCenter.ManagementOrganizationEventThreatDetectionCustomModule("managementOrganizationEventThreatDetectionCustomModuleResource", new()
    {
        Organization = "string",
        Config = "string",
        DisplayName = "string",
        EnablementState = "string",
        Location = "string",
        Type = "string",
    });
    
    example, err := securitycenter.NewManagementOrganizationEventThreatDetectionCustomModule(ctx, "managementOrganizationEventThreatDetectionCustomModuleResource", &securitycenter.ManagementOrganizationEventThreatDetectionCustomModuleArgs{
    	Organization:    pulumi.String("string"),
    	Config:          pulumi.String("string"),
    	DisplayName:     pulumi.String("string"),
    	EnablementState: pulumi.String("string"),
    	Location:        pulumi.String("string"),
    	Type:            pulumi.String("string"),
    })
    
    var managementOrganizationEventThreatDetectionCustomModuleResource = new ManagementOrganizationEventThreatDetectionCustomModule("managementOrganizationEventThreatDetectionCustomModuleResource", ManagementOrganizationEventThreatDetectionCustomModuleArgs.builder()
        .organization("string")
        .config("string")
        .displayName("string")
        .enablementState("string")
        .location("string")
        .type("string")
        .build());
    
    management_organization_event_threat_detection_custom_module_resource = gcp.securitycenter.ManagementOrganizationEventThreatDetectionCustomModule("managementOrganizationEventThreatDetectionCustomModuleResource",
        organization="string",
        config="string",
        display_name="string",
        enablement_state="string",
        location="string",
        type="string")
    
    const managementOrganizationEventThreatDetectionCustomModuleResource = new gcp.securitycenter.ManagementOrganizationEventThreatDetectionCustomModule("managementOrganizationEventThreatDetectionCustomModuleResource", {
        organization: "string",
        config: "string",
        displayName: "string",
        enablementState: "string",
        location: "string",
        type: "string",
    });
    
    type: gcp:securitycenter:ManagementOrganizationEventThreatDetectionCustomModule
    properties:
        config: string
        displayName: string
        enablementState: string
        location: string
        organization: string
        type: string
    

    ManagementOrganizationEventThreatDetectionCustomModule Resource Properties

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

    Inputs

    The ManagementOrganizationEventThreatDetectionCustomModule resource accepts the following input properties:

    Organization string
    Numerical ID of the parent organization.


    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.
    Location string
    Location ID of the parent organization. Only global is supported at the moment.
    Type string
    Immutable. Type for the module. e.g. CONFIGURABLE_BAD_IP.
    Organization string
    Numerical ID of the parent organization.


    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.
    Location string
    Location ID of the parent organization. Only global is supported at the moment.
    Type string
    Immutable. Type for the module. e.g. CONFIGURABLE_BAD_IP.
    organization String
    Numerical ID of the parent organization.


    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.
    location String
    Location ID of the parent organization. Only global is supported at the moment.
    type String
    Immutable. Type for the module. e.g. CONFIGURABLE_BAD_IP.
    organization string
    Numerical ID of the parent organization.


    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.
    location string
    Location ID of the parent organization. Only global is supported at the moment.
    type string
    Immutable. Type for the module. e.g. CONFIGURABLE_BAD_IP.
    organization str
    Numerical ID of the parent organization.


    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.
    location str
    Location ID of the parent organization. Only global is supported at the moment.
    type str
    Immutable. Type for the module. e.g. CONFIGURABLE_BAD_IP.
    organization String
    Numerical ID of the parent organization.


    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.
    location String
    Location ID of the parent organization. Only global is supported at the moment.
    type String
    Immutable. Type for the module. e.g. CONFIGURABLE_BAD_IP.

    Outputs

    All input properties are implicitly available as output properties. Additionally, the ManagementOrganizationEventThreatDetectionCustomModule 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}/locations/{location}/eventThreatDetectionCustomModules/{eventThreatDetectionCustomModule}".
    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}/locations/{location}/eventThreatDetectionCustomModules/{eventThreatDetectionCustomModule}".
    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}/locations/{location}/eventThreatDetectionCustomModules/{eventThreatDetectionCustomModule}".
    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}/locations/{location}/eventThreatDetectionCustomModules/{eventThreatDetectionCustomModule}".
    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}/locations/{location}/eventThreatDetectionCustomModules/{eventThreatDetectionCustomModule}".
    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}/locations/{location}/eventThreatDetectionCustomModules/{eventThreatDetectionCustomModule}".
    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 ManagementOrganizationEventThreatDetectionCustomModule Resource

    Get an existing ManagementOrganizationEventThreatDetectionCustomModule 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?: ManagementOrganizationEventThreatDetectionCustomModuleState, opts?: CustomResourceOptions): ManagementOrganizationEventThreatDetectionCustomModule
    @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,
            location: Optional[str] = None,
            name: Optional[str] = None,
            organization: Optional[str] = None,
            type: Optional[str] = None,
            update_time: Optional[str] = None) -> ManagementOrganizationEventThreatDetectionCustomModule
    func GetManagementOrganizationEventThreatDetectionCustomModule(ctx *Context, name string, id IDInput, state *ManagementOrganizationEventThreatDetectionCustomModuleState, opts ...ResourceOption) (*ManagementOrganizationEventThreatDetectionCustomModule, error)
    public static ManagementOrganizationEventThreatDetectionCustomModule Get(string name, Input<string> id, ManagementOrganizationEventThreatDetectionCustomModuleState? state, CustomResourceOptions? opts = null)
    public static ManagementOrganizationEventThreatDetectionCustomModule get(String name, Output<String> id, ManagementOrganizationEventThreatDetectionCustomModuleState 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
    Location string
    Location ID of the parent organization. Only global is supported at the moment.
    Name string
    The resource name of the Event Threat Detection custom module. Its format is "organizations/{organization}/locations/{location}/eventThreatDetectionCustomModules/{eventThreatDetectionCustomModule}".
    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
    Location string
    Location ID of the parent organization. Only global is supported at the moment.
    Name string
    The resource name of the Event Threat Detection custom module. Its format is "organizations/{organization}/locations/{location}/eventThreatDetectionCustomModules/{eventThreatDetectionCustomModule}".
    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
    location String
    Location ID of the parent organization. Only global is supported at the moment.
    name String
    The resource name of the Event Threat Detection custom module. Its format is "organizations/{organization}/locations/{location}/eventThreatDetectionCustomModules/{eventThreatDetectionCustomModule}".
    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
    location string
    Location ID of the parent organization. Only global is supported at the moment.
    name string
    The resource name of the Event Threat Detection custom module. Its format is "organizations/{organization}/locations/{location}/eventThreatDetectionCustomModules/{eventThreatDetectionCustomModule}".
    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
    location str
    Location ID of the parent organization. Only global is supported at the moment.
    name str
    The resource name of the Event Threat Detection custom module. Its format is "organizations/{organization}/locations/{location}/eventThreatDetectionCustomModules/{eventThreatDetectionCustomModule}".
    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
    location String
    Location ID of the parent organization. Only global is supported at the moment.
    name String
    The resource name of the Event Threat Detection custom module. Its format is "organizations/{organization}/locations/{location}/eventThreatDetectionCustomModules/{eventThreatDetectionCustomModule}".
    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

    OrganizationEventThreatDetectionCustomModule can be imported using any of these accepted formats:

    • organizations/{{organization}}/locations/{{location}}/eventThreatDetectionCustomModules/{{name}}

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

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

    $ pulumi import gcp:securitycenter/managementOrganizationEventThreatDetectionCustomModule:ManagementOrganizationEventThreatDetectionCustomModule default organizations/{{organization}}/locations/{{location}}/eventThreatDetectionCustomModules/{{name}}
    
    $ pulumi import gcp:securitycenter/managementOrganizationEventThreatDetectionCustomModule:ManagementOrganizationEventThreatDetectionCustomModule default {{organization}}/{{location}}/{{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 v7.29.0 published on Wednesday, Jun 26, 2024 by Pulumi