1. Packages
  2. Gcore Provider
  3. API Docs
  4. WaapSecurityInsightSilence
gcore 0.24.1 published on Wednesday, Jun 4, 2025 by g-core

gcore.WaapSecurityInsightSilence

Explore with Pulumi AI

gcore logo
gcore 0.24.1 published on Wednesday, Jun 4, 2025 by g-core

    Represent Security Insight Silence for a specific WAAP domain

    Create WaapSecurityInsightSilence Resource

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

    Constructor syntax

    new WaapSecurityInsightSilence(name: string, args: WaapSecurityInsightSilenceArgs, opts?: CustomResourceOptions);
    @overload
    def WaapSecurityInsightSilence(resource_name: str,
                                   args: WaapSecurityInsightSilenceArgs,
                                   opts: Optional[ResourceOptions] = None)
    
    @overload
    def WaapSecurityInsightSilence(resource_name: str,
                                   opts: Optional[ResourceOptions] = None,
                                   author: Optional[str] = None,
                                   comment: Optional[str] = None,
                                   domain_id: Optional[float] = None,
                                   insight_type: Optional[str] = None,
                                   labels: Optional[Mapping[str, str]] = None,
                                   expire_at: Optional[str] = None,
                                   waap_security_insight_silence_id: Optional[str] = None)
    func NewWaapSecurityInsightSilence(ctx *Context, name string, args WaapSecurityInsightSilenceArgs, opts ...ResourceOption) (*WaapSecurityInsightSilence, error)
    public WaapSecurityInsightSilence(string name, WaapSecurityInsightSilenceArgs args, CustomResourceOptions? opts = null)
    public WaapSecurityInsightSilence(String name, WaapSecurityInsightSilenceArgs args)
    public WaapSecurityInsightSilence(String name, WaapSecurityInsightSilenceArgs args, CustomResourceOptions options)
    
    type: gcore:WaapSecurityInsightSilence
    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 WaapSecurityInsightSilenceArgs
    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 WaapSecurityInsightSilenceArgs
    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 WaapSecurityInsightSilenceArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args WaapSecurityInsightSilenceArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args WaapSecurityInsightSilenceArgs
    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 waapSecurityInsightSilenceResource = new Gcore.WaapSecurityInsightSilence("waapSecurityInsightSilenceResource", new()
    {
        Author = "string",
        Comment = "string",
        DomainId = 0,
        InsightType = "string",
        Labels = 
        {
            { "string", "string" },
        },
        ExpireAt = "string",
        WaapSecurityInsightSilenceId = "string",
    });
    
    example, err := gcore.NewWaapSecurityInsightSilence(ctx, "waapSecurityInsightSilenceResource", &gcore.WaapSecurityInsightSilenceArgs{
    	Author:      pulumi.String("string"),
    	Comment:     pulumi.String("string"),
    	DomainId:    pulumi.Float64(0),
    	InsightType: pulumi.String("string"),
    	Labels: pulumi.StringMap{
    		"string": pulumi.String("string"),
    	},
    	ExpireAt:                     pulumi.String("string"),
    	WaapSecurityInsightSilenceId: pulumi.String("string"),
    })
    
    var waapSecurityInsightSilenceResource = new WaapSecurityInsightSilence("waapSecurityInsightSilenceResource", WaapSecurityInsightSilenceArgs.builder()
        .author("string")
        .comment("string")
        .domainId(0.0)
        .insightType("string")
        .labels(Map.of("string", "string"))
        .expireAt("string")
        .waapSecurityInsightSilenceId("string")
        .build());
    
    waap_security_insight_silence_resource = gcore.WaapSecurityInsightSilence("waapSecurityInsightSilenceResource",
        author="string",
        comment="string",
        domain_id=0,
        insight_type="string",
        labels={
            "string": "string",
        },
        expire_at="string",
        waap_security_insight_silence_id="string")
    
    const waapSecurityInsightSilenceResource = new gcore.WaapSecurityInsightSilence("waapSecurityInsightSilenceResource", {
        author: "string",
        comment: "string",
        domainId: 0,
        insightType: "string",
        labels: {
            string: "string",
        },
        expireAt: "string",
        waapSecurityInsightSilenceId: "string",
    });
    
    type: gcore:WaapSecurityInsightSilence
    properties:
        author: string
        comment: string
        domainId: 0
        expireAt: string
        insightType: string
        labels:
            string: string
        waapSecurityInsightSilenceId: string
    

    WaapSecurityInsightSilence 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 WaapSecurityInsightSilence resource accepts the following input properties:

    Author string
    The author of the silence.
    Comment string
    A comment explaining the reason for the silence.
    DomainId double
    The WAAP domain ID for which the insight silence is configured.
    InsightType string
    The slug of the insight type. The insight type can be obtained from the API endpoint /v1/security-insights/types or you can use the gcorewaapsecurityinsighttype data source.
    Labels Dictionary<string, string>
    A hash table of label names and values that apply to the insight silence.
    ExpireAt string
    The date and time the silence expires in ISO 8601 format.
    WaapSecurityInsightSilenceId string
    The ID of this resource.
    Author string
    The author of the silence.
    Comment string
    A comment explaining the reason for the silence.
    DomainId float64
    The WAAP domain ID for which the insight silence is configured.
    InsightType string
    The slug of the insight type. The insight type can be obtained from the API endpoint /v1/security-insights/types or you can use the gcorewaapsecurityinsighttype data source.
    Labels map[string]string
    A hash table of label names and values that apply to the insight silence.
    ExpireAt string
    The date and time the silence expires in ISO 8601 format.
    WaapSecurityInsightSilenceId string
    The ID of this resource.
    author String
    The author of the silence.
    comment String
    A comment explaining the reason for the silence.
    domainId Double
    The WAAP domain ID for which the insight silence is configured.
    insightType String
    The slug of the insight type. The insight type can be obtained from the API endpoint /v1/security-insights/types or you can use the gcorewaapsecurityinsighttype data source.
    labels Map<String,String>
    A hash table of label names and values that apply to the insight silence.
    expireAt String
    The date and time the silence expires in ISO 8601 format.
    waapSecurityInsightSilenceId String
    The ID of this resource.
    author string
    The author of the silence.
    comment string
    A comment explaining the reason for the silence.
    domainId number
    The WAAP domain ID for which the insight silence is configured.
    insightType string
    The slug of the insight type. The insight type can be obtained from the API endpoint /v1/security-insights/types or you can use the gcorewaapsecurityinsighttype data source.
    labels {[key: string]: string}
    A hash table of label names and values that apply to the insight silence.
    expireAt string
    The date and time the silence expires in ISO 8601 format.
    waapSecurityInsightSilenceId string
    The ID of this resource.
    author str
    The author of the silence.
    comment str
    A comment explaining the reason for the silence.
    domain_id float
    The WAAP domain ID for which the insight silence is configured.
    insight_type str
    The slug of the insight type. The insight type can be obtained from the API endpoint /v1/security-insights/types or you can use the gcorewaapsecurityinsighttype data source.
    labels Mapping[str, str]
    A hash table of label names and values that apply to the insight silence.
    expire_at str
    The date and time the silence expires in ISO 8601 format.
    waap_security_insight_silence_id str
    The ID of this resource.
    author String
    The author of the silence.
    comment String
    A comment explaining the reason for the silence.
    domainId Number
    The WAAP domain ID for which the insight silence is configured.
    insightType String
    The slug of the insight type. The insight type can be obtained from the API endpoint /v1/security-insights/types or you can use the gcorewaapsecurityinsighttype data source.
    labels Map<String>
    A hash table of label names and values that apply to the insight silence.
    expireAt String
    The date and time the silence expires in ISO 8601 format.
    waapSecurityInsightSilenceId String
    The ID of this resource.

    Outputs

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

    Id string
    The provider-assigned unique ID for this managed resource.
    Id string
    The provider-assigned unique ID for this managed resource.
    id String
    The provider-assigned unique ID for this managed resource.
    id string
    The provider-assigned unique ID for this managed resource.
    id str
    The provider-assigned unique ID for this managed resource.
    id String
    The provider-assigned unique ID for this managed resource.

    Look up Existing WaapSecurityInsightSilence Resource

    Get an existing WaapSecurityInsightSilence 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?: WaapSecurityInsightSilenceState, opts?: CustomResourceOptions): WaapSecurityInsightSilence
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            author: Optional[str] = None,
            comment: Optional[str] = None,
            domain_id: Optional[float] = None,
            expire_at: Optional[str] = None,
            insight_type: Optional[str] = None,
            labels: Optional[Mapping[str, str]] = None,
            waap_security_insight_silence_id: Optional[str] = None) -> WaapSecurityInsightSilence
    func GetWaapSecurityInsightSilence(ctx *Context, name string, id IDInput, state *WaapSecurityInsightSilenceState, opts ...ResourceOption) (*WaapSecurityInsightSilence, error)
    public static WaapSecurityInsightSilence Get(string name, Input<string> id, WaapSecurityInsightSilenceState? state, CustomResourceOptions? opts = null)
    public static WaapSecurityInsightSilence get(String name, Output<String> id, WaapSecurityInsightSilenceState state, CustomResourceOptions options)
    resources:  _:    type: gcore:WaapSecurityInsightSilence    get:      id: ${id}
    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:
    Author string
    The author of the silence.
    Comment string
    A comment explaining the reason for the silence.
    DomainId double
    The WAAP domain ID for which the insight silence is configured.
    ExpireAt string
    The date and time the silence expires in ISO 8601 format.
    InsightType string
    The slug of the insight type. The insight type can be obtained from the API endpoint /v1/security-insights/types or you can use the gcorewaapsecurityinsighttype data source.
    Labels Dictionary<string, string>
    A hash table of label names and values that apply to the insight silence.
    WaapSecurityInsightSilenceId string
    The ID of this resource.
    Author string
    The author of the silence.
    Comment string
    A comment explaining the reason for the silence.
    DomainId float64
    The WAAP domain ID for which the insight silence is configured.
    ExpireAt string
    The date and time the silence expires in ISO 8601 format.
    InsightType string
    The slug of the insight type. The insight type can be obtained from the API endpoint /v1/security-insights/types or you can use the gcorewaapsecurityinsighttype data source.
    Labels map[string]string
    A hash table of label names and values that apply to the insight silence.
    WaapSecurityInsightSilenceId string
    The ID of this resource.
    author String
    The author of the silence.
    comment String
    A comment explaining the reason for the silence.
    domainId Double
    The WAAP domain ID for which the insight silence is configured.
    expireAt String
    The date and time the silence expires in ISO 8601 format.
    insightType String
    The slug of the insight type. The insight type can be obtained from the API endpoint /v1/security-insights/types or you can use the gcorewaapsecurityinsighttype data source.
    labels Map<String,String>
    A hash table of label names and values that apply to the insight silence.
    waapSecurityInsightSilenceId String
    The ID of this resource.
    author string
    The author of the silence.
    comment string
    A comment explaining the reason for the silence.
    domainId number
    The WAAP domain ID for which the insight silence is configured.
    expireAt string
    The date and time the silence expires in ISO 8601 format.
    insightType string
    The slug of the insight type. The insight type can be obtained from the API endpoint /v1/security-insights/types or you can use the gcorewaapsecurityinsighttype data source.
    labels {[key: string]: string}
    A hash table of label names and values that apply to the insight silence.
    waapSecurityInsightSilenceId string
    The ID of this resource.
    author str
    The author of the silence.
    comment str
    A comment explaining the reason for the silence.
    domain_id float
    The WAAP domain ID for which the insight silence is configured.
    expire_at str
    The date and time the silence expires in ISO 8601 format.
    insight_type str
    The slug of the insight type. The insight type can be obtained from the API endpoint /v1/security-insights/types or you can use the gcorewaapsecurityinsighttype data source.
    labels Mapping[str, str]
    A hash table of label names and values that apply to the insight silence.
    waap_security_insight_silence_id str
    The ID of this resource.
    author String
    The author of the silence.
    comment String
    A comment explaining the reason for the silence.
    domainId Number
    The WAAP domain ID for which the insight silence is configured.
    expireAt String
    The date and time the silence expires in ISO 8601 format.
    insightType String
    The slug of the insight type. The insight type can be obtained from the API endpoint /v1/security-insights/types or you can use the gcorewaapsecurityinsighttype data source.
    labels Map<String>
    A hash table of label names and values that apply to the insight silence.
    waapSecurityInsightSilenceId String
    The ID of this resource.

    Package Details

    Repository
    gcore g-core/terraform-provider-gcore
    License
    Notes
    This Pulumi package is based on the gcore Terraform Provider.
    gcore logo
    gcore 0.24.1 published on Wednesday, Jun 4, 2025 by g-core