gcp.securitycenter.V2OrganizationNotificationConfig
Explore with Pulumi AI
A Cloud Security Command Center (Cloud SCC) notification configs. A notification config is a Cloud SCC resource that contains the configuration to send notifications for create/update events of findings, assets and etc.
Note: In order to use Cloud SCC resources, your organization must be enrolled in SCC Standard/Premium. Without doing so, you may run into errors during resource creation.
To get more information about OrganizationNotificationConfig, see:
- API documentation
- How-to Guides
Example Usage
Scc V2 Organization Notification Config Basic
import * as pulumi from "@pulumi/pulumi";
import * as gcp from "@pulumi/gcp";
const sccV2OrganizationNotificationConfig = new gcp.pubsub.Topic("scc_v2_organization_notification_config", {name: "my-topic"});
const customOrganizationNotificationConfig = new gcp.securitycenter.V2OrganizationNotificationConfig("custom_organization_notification_config", {
configId: "my-config",
organization: "123456789",
location: "global",
description: "My custom Cloud Security Command Center Finding Organization Notification Configuration",
pubsubTopic: sccV2OrganizationNotificationConfig.id,
streamingConfig: {
filter: "category = \"OPEN_FIREWALL\" AND state = \"ACTIVE\"",
},
});
import pulumi
import pulumi_gcp as gcp
scc_v2_organization_notification_config = gcp.pubsub.Topic("scc_v2_organization_notification_config", name="my-topic")
custom_organization_notification_config = gcp.securitycenter.V2OrganizationNotificationConfig("custom_organization_notification_config",
config_id="my-config",
organization="123456789",
location="global",
description="My custom Cloud Security Command Center Finding Organization Notification Configuration",
pubsub_topic=scc_v2_organization_notification_config.id,
streaming_config={
"filter": "category = \"OPEN_FIREWALL\" AND state = \"ACTIVE\"",
})
package main
import (
"github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/pubsub"
"github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/securitycenter"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
sccV2OrganizationNotificationConfig, err := pubsub.NewTopic(ctx, "scc_v2_organization_notification_config", &pubsub.TopicArgs{
Name: pulumi.String("my-topic"),
})
if err != nil {
return err
}
_, err = securitycenter.NewV2OrganizationNotificationConfig(ctx, "custom_organization_notification_config", &securitycenter.V2OrganizationNotificationConfigArgs{
ConfigId: pulumi.String("my-config"),
Organization: pulumi.String("123456789"),
Location: pulumi.String("global"),
Description: pulumi.String("My custom Cloud Security Command Center Finding Organization Notification Configuration"),
PubsubTopic: sccV2OrganizationNotificationConfig.ID(),
StreamingConfig: &securitycenter.V2OrganizationNotificationConfigStreamingConfigArgs{
Filter: pulumi.String("category = \"OPEN_FIREWALL\" AND state = \"ACTIVE\""),
},
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Gcp = Pulumi.Gcp;
return await Deployment.RunAsync(() =>
{
var sccV2OrganizationNotificationConfig = new Gcp.PubSub.Topic("scc_v2_organization_notification_config", new()
{
Name = "my-topic",
});
var customOrganizationNotificationConfig = new Gcp.SecurityCenter.V2OrganizationNotificationConfig("custom_organization_notification_config", new()
{
ConfigId = "my-config",
Organization = "123456789",
Location = "global",
Description = "My custom Cloud Security Command Center Finding Organization Notification Configuration",
PubsubTopic = sccV2OrganizationNotificationConfig.Id,
StreamingConfig = new Gcp.SecurityCenter.Inputs.V2OrganizationNotificationConfigStreamingConfigArgs
{
Filter = "category = \"OPEN_FIREWALL\" AND state = \"ACTIVE\"",
},
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.gcp.pubsub.Topic;
import com.pulumi.gcp.pubsub.TopicArgs;
import com.pulumi.gcp.securitycenter.V2OrganizationNotificationConfig;
import com.pulumi.gcp.securitycenter.V2OrganizationNotificationConfigArgs;
import com.pulumi.gcp.securitycenter.inputs.V2OrganizationNotificationConfigStreamingConfigArgs;
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 sccV2OrganizationNotificationConfig = new Topic("sccV2OrganizationNotificationConfig", TopicArgs.builder()
.name("my-topic")
.build());
var customOrganizationNotificationConfig = new V2OrganizationNotificationConfig("customOrganizationNotificationConfig", V2OrganizationNotificationConfigArgs.builder()
.configId("my-config")
.organization("123456789")
.location("global")
.description("My custom Cloud Security Command Center Finding Organization Notification Configuration")
.pubsubTopic(sccV2OrganizationNotificationConfig.id())
.streamingConfig(V2OrganizationNotificationConfigStreamingConfigArgs.builder()
.filter("category = \"OPEN_FIREWALL\" AND state = \"ACTIVE\"")
.build())
.build());
}
}
resources:
sccV2OrganizationNotificationConfig:
type: gcp:pubsub:Topic
name: scc_v2_organization_notification_config
properties:
name: my-topic
customOrganizationNotificationConfig:
type: gcp:securitycenter:V2OrganizationNotificationConfig
name: custom_organization_notification_config
properties:
configId: my-config
organization: '123456789'
location: global
description: My custom Cloud Security Command Center Finding Organization Notification Configuration
pubsubTopic: ${sccV2OrganizationNotificationConfig.id}
streamingConfig:
filter: category = "OPEN_FIREWALL" AND state = "ACTIVE"
Create V2OrganizationNotificationConfig Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new V2OrganizationNotificationConfig(name: string, args: V2OrganizationNotificationConfigArgs, opts?: CustomResourceOptions);
@overload
def V2OrganizationNotificationConfig(resource_name: str,
args: V2OrganizationNotificationConfigArgs,
opts: Optional[ResourceOptions] = None)
@overload
def V2OrganizationNotificationConfig(resource_name: str,
opts: Optional[ResourceOptions] = None,
config_id: Optional[str] = None,
organization: Optional[str] = None,
pubsub_topic: Optional[str] = None,
streaming_config: Optional[V2OrganizationNotificationConfigStreamingConfigArgs] = None,
description: Optional[str] = None,
location: Optional[str] = None)
func NewV2OrganizationNotificationConfig(ctx *Context, name string, args V2OrganizationNotificationConfigArgs, opts ...ResourceOption) (*V2OrganizationNotificationConfig, error)
public V2OrganizationNotificationConfig(string name, V2OrganizationNotificationConfigArgs args, CustomResourceOptions? opts = null)
public V2OrganizationNotificationConfig(String name, V2OrganizationNotificationConfigArgs args)
public V2OrganizationNotificationConfig(String name, V2OrganizationNotificationConfigArgs args, CustomResourceOptions options)
type: gcp:securitycenter:V2OrganizationNotificationConfig
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 V2OrganizationNotificationConfigArgs
- 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 V2OrganizationNotificationConfigArgs
- 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 V2OrganizationNotificationConfigArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args V2OrganizationNotificationConfigArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args V2OrganizationNotificationConfigArgs
- 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 v2organizationNotificationConfigResource = new Gcp.SecurityCenter.V2OrganizationNotificationConfig("v2organizationNotificationConfigResource", new()
{
ConfigId = "string",
Organization = "string",
PubsubTopic = "string",
StreamingConfig = new Gcp.SecurityCenter.Inputs.V2OrganizationNotificationConfigStreamingConfigArgs
{
Filter = "string",
},
Description = "string",
Location = "string",
});
example, err := securitycenter.NewV2OrganizationNotificationConfig(ctx, "v2organizationNotificationConfigResource", &securitycenter.V2OrganizationNotificationConfigArgs{
ConfigId: pulumi.String("string"),
Organization: pulumi.String("string"),
PubsubTopic: pulumi.String("string"),
StreamingConfig: &securitycenter.V2OrganizationNotificationConfigStreamingConfigArgs{
Filter: pulumi.String("string"),
},
Description: pulumi.String("string"),
Location: pulumi.String("string"),
})
var v2organizationNotificationConfigResource = new V2OrganizationNotificationConfig("v2organizationNotificationConfigResource", V2OrganizationNotificationConfigArgs.builder()
.configId("string")
.organization("string")
.pubsubTopic("string")
.streamingConfig(V2OrganizationNotificationConfigStreamingConfigArgs.builder()
.filter("string")
.build())
.description("string")
.location("string")
.build());
v2organization_notification_config_resource = gcp.securitycenter.V2OrganizationNotificationConfig("v2organizationNotificationConfigResource",
config_id="string",
organization="string",
pubsub_topic="string",
streaming_config={
"filter": "string",
},
description="string",
location="string")
const v2organizationNotificationConfigResource = new gcp.securitycenter.V2OrganizationNotificationConfig("v2organizationNotificationConfigResource", {
configId: "string",
organization: "string",
pubsubTopic: "string",
streamingConfig: {
filter: "string",
},
description: "string",
location: "string",
});
type: gcp:securitycenter:V2OrganizationNotificationConfig
properties:
configId: string
description: string
location: string
organization: string
pubsubTopic: string
streamingConfig:
filter: string
V2OrganizationNotificationConfig 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 V2OrganizationNotificationConfig resource accepts the following input properties:
- Config
Id string - This must be unique within the organization.
- Organization string
- The organization whose Cloud Security Command Center the Notification Config lives in.
- Pubsub
Topic string - The Pub/Sub topic to send notifications to. Its format is "projects/[project_id]/topics/[topic]".
- Streaming
Config V2OrganizationNotification Config Streaming Config - The config for triggering streaming-based notifications. Structure is documented below.
- Description string
- The description of the notification config (max of 1024 characters).
- Location string
- location Id is provided by organization. If not provided, Use global as default.
- Config
Id string - This must be unique within the organization.
- Organization string
- The organization whose Cloud Security Command Center the Notification Config lives in.
- Pubsub
Topic string - The Pub/Sub topic to send notifications to. Its format is "projects/[project_id]/topics/[topic]".
- Streaming
Config V2OrganizationNotification Config Streaming Config Args - The config for triggering streaming-based notifications. Structure is documented below.
- Description string
- The description of the notification config (max of 1024 characters).
- Location string
- location Id is provided by organization. If not provided, Use global as default.
- config
Id String - This must be unique within the organization.
- organization String
- The organization whose Cloud Security Command Center the Notification Config lives in.
- pubsub
Topic String - The Pub/Sub topic to send notifications to. Its format is "projects/[project_id]/topics/[topic]".
- streaming
Config V2OrganizationNotification Config Streaming Config - The config for triggering streaming-based notifications. Structure is documented below.
- description String
- The description of the notification config (max of 1024 characters).
- location String
- location Id is provided by organization. If not provided, Use global as default.
- config
Id string - This must be unique within the organization.
- organization string
- The organization whose Cloud Security Command Center the Notification Config lives in.
- pubsub
Topic string - The Pub/Sub topic to send notifications to. Its format is "projects/[project_id]/topics/[topic]".
- streaming
Config V2OrganizationNotification Config Streaming Config - The config for triggering streaming-based notifications. Structure is documented below.
- description string
- The description of the notification config (max of 1024 characters).
- location string
- location Id is provided by organization. If not provided, Use global as default.
- config_
id str - This must be unique within the organization.
- organization str
- The organization whose Cloud Security Command Center the Notification Config lives in.
- pubsub_
topic str - The Pub/Sub topic to send notifications to. Its format is "projects/[project_id]/topics/[topic]".
- streaming_
config V2OrganizationNotification Config Streaming Config Args - The config for triggering streaming-based notifications. Structure is documented below.
- description str
- The description of the notification config (max of 1024 characters).
- location str
- location Id is provided by organization. If not provided, Use global as default.
- config
Id String - This must be unique within the organization.
- organization String
- The organization whose Cloud Security Command Center the Notification Config lives in.
- pubsub
Topic String - The Pub/Sub topic to send notifications to. Its format is "projects/[project_id]/topics/[topic]".
- streaming
Config Property Map - The config for triggering streaming-based notifications. Structure is documented below.
- description String
- The description of the notification config (max of 1024 characters).
- location String
- location Id is provided by organization. If not provided, Use global as default.
Outputs
All input properties are implicitly available as output properties. Additionally, the V2OrganizationNotificationConfig resource produces the following output properties:
- Id string
- The provider-assigned unique ID for this managed resource.
- Name string
- The resource name of this notification config, in the format
organizations/{{organization}}/notificationConfigs/{{config_id}}
. - Service
Account string - The service account that needs "pubsub.topics.publish" permission to publish to the Pub/Sub topic.
- Id string
- The provider-assigned unique ID for this managed resource.
- Name string
- The resource name of this notification config, in the format
organizations/{{organization}}/notificationConfigs/{{config_id}}
. - Service
Account string - The service account that needs "pubsub.topics.publish" permission to publish to the Pub/Sub topic.
- id String
- The provider-assigned unique ID for this managed resource.
- name String
- The resource name of this notification config, in the format
organizations/{{organization}}/notificationConfigs/{{config_id}}
. - service
Account String - The service account that needs "pubsub.topics.publish" permission to publish to the Pub/Sub topic.
- id string
- The provider-assigned unique ID for this managed resource.
- name string
- The resource name of this notification config, in the format
organizations/{{organization}}/notificationConfigs/{{config_id}}
. - service
Account string - The service account that needs "pubsub.topics.publish" permission to publish to the Pub/Sub topic.
- id str
- The provider-assigned unique ID for this managed resource.
- name str
- The resource name of this notification config, in the format
organizations/{{organization}}/notificationConfigs/{{config_id}}
. - service_
account str - The service account that needs "pubsub.topics.publish" permission to publish to the Pub/Sub topic.
- id String
- The provider-assigned unique ID for this managed resource.
- name String
- The resource name of this notification config, in the format
organizations/{{organization}}/notificationConfigs/{{config_id}}
. - service
Account String - The service account that needs "pubsub.topics.publish" permission to publish to the Pub/Sub topic.
Look up Existing V2OrganizationNotificationConfig Resource
Get an existing V2OrganizationNotificationConfig 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?: V2OrganizationNotificationConfigState, opts?: CustomResourceOptions): V2OrganizationNotificationConfig
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
config_id: Optional[str] = None,
description: Optional[str] = None,
location: Optional[str] = None,
name: Optional[str] = None,
organization: Optional[str] = None,
pubsub_topic: Optional[str] = None,
service_account: Optional[str] = None,
streaming_config: Optional[V2OrganizationNotificationConfigStreamingConfigArgs] = None) -> V2OrganizationNotificationConfig
func GetV2OrganizationNotificationConfig(ctx *Context, name string, id IDInput, state *V2OrganizationNotificationConfigState, opts ...ResourceOption) (*V2OrganizationNotificationConfig, error)
public static V2OrganizationNotificationConfig Get(string name, Input<string> id, V2OrganizationNotificationConfigState? state, CustomResourceOptions? opts = null)
public static V2OrganizationNotificationConfig get(String name, Output<String> id, V2OrganizationNotificationConfigState 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.
- Config
Id string - This must be unique within the organization.
- Description string
- The description of the notification config (max of 1024 characters).
- Location string
- location Id is provided by organization. If not provided, Use global as default.
- Name string
- The resource name of this notification config, in the format
organizations/{{organization}}/notificationConfigs/{{config_id}}
. - Organization string
- The organization whose Cloud Security Command Center the Notification Config lives in.
- Pubsub
Topic string - The Pub/Sub topic to send notifications to. Its format is "projects/[project_id]/topics/[topic]".
- Service
Account string - The service account that needs "pubsub.topics.publish" permission to publish to the Pub/Sub topic.
- Streaming
Config V2OrganizationNotification Config Streaming Config - The config for triggering streaming-based notifications. Structure is documented below.
- Config
Id string - This must be unique within the organization.
- Description string
- The description of the notification config (max of 1024 characters).
- Location string
- location Id is provided by organization. If not provided, Use global as default.
- Name string
- The resource name of this notification config, in the format
organizations/{{organization}}/notificationConfigs/{{config_id}}
. - Organization string
- The organization whose Cloud Security Command Center the Notification Config lives in.
- Pubsub
Topic string - The Pub/Sub topic to send notifications to. Its format is "projects/[project_id]/topics/[topic]".
- Service
Account string - The service account that needs "pubsub.topics.publish" permission to publish to the Pub/Sub topic.
- Streaming
Config V2OrganizationNotification Config Streaming Config Args - The config for triggering streaming-based notifications. Structure is documented below.
- config
Id String - This must be unique within the organization.
- description String
- The description of the notification config (max of 1024 characters).
- location String
- location Id is provided by organization. If not provided, Use global as default.
- name String
- The resource name of this notification config, in the format
organizations/{{organization}}/notificationConfigs/{{config_id}}
. - organization String
- The organization whose Cloud Security Command Center the Notification Config lives in.
- pubsub
Topic String - The Pub/Sub topic to send notifications to. Its format is "projects/[project_id]/topics/[topic]".
- service
Account String - The service account that needs "pubsub.topics.publish" permission to publish to the Pub/Sub topic.
- streaming
Config V2OrganizationNotification Config Streaming Config - The config for triggering streaming-based notifications. Structure is documented below.
- config
Id string - This must be unique within the organization.
- description string
- The description of the notification config (max of 1024 characters).
- location string
- location Id is provided by organization. If not provided, Use global as default.
- name string
- The resource name of this notification config, in the format
organizations/{{organization}}/notificationConfigs/{{config_id}}
. - organization string
- The organization whose Cloud Security Command Center the Notification Config lives in.
- pubsub
Topic string - The Pub/Sub topic to send notifications to. Its format is "projects/[project_id]/topics/[topic]".
- service
Account string - The service account that needs "pubsub.topics.publish" permission to publish to the Pub/Sub topic.
- streaming
Config V2OrganizationNotification Config Streaming Config - The config for triggering streaming-based notifications. Structure is documented below.
- config_
id str - This must be unique within the organization.
- description str
- The description of the notification config (max of 1024 characters).
- location str
- location Id is provided by organization. If not provided, Use global as default.
- name str
- The resource name of this notification config, in the format
organizations/{{organization}}/notificationConfigs/{{config_id}}
. - organization str
- The organization whose Cloud Security Command Center the Notification Config lives in.
- pubsub_
topic str - The Pub/Sub topic to send notifications to. Its format is "projects/[project_id]/topics/[topic]".
- service_
account str - The service account that needs "pubsub.topics.publish" permission to publish to the Pub/Sub topic.
- streaming_
config V2OrganizationNotification Config Streaming Config Args - The config for triggering streaming-based notifications. Structure is documented below.
- config
Id String - This must be unique within the organization.
- description String
- The description of the notification config (max of 1024 characters).
- location String
- location Id is provided by organization. If not provided, Use global as default.
- name String
- The resource name of this notification config, in the format
organizations/{{organization}}/notificationConfigs/{{config_id}}
. - organization String
- The organization whose Cloud Security Command Center the Notification Config lives in.
- pubsub
Topic String - The Pub/Sub topic to send notifications to. Its format is "projects/[project_id]/topics/[topic]".
- service
Account String - The service account that needs "pubsub.topics.publish" permission to publish to the Pub/Sub topic.
- streaming
Config Property Map - The config for triggering streaming-based notifications. Structure is documented below.
Supporting Types
V2OrganizationNotificationConfigStreamingConfig, V2OrganizationNotificationConfigStreamingConfigArgs
- Filter string
Expression that defines the filter to apply across create/update events of assets or findings as specified by the event type. The expression is a list of zero or more restrictions combined via logical operators AND and OR. Parentheses are supported, and OR has higher precedence than AND. Restrictions have the form and may have a - character in front of them to indicate negation. The fields map to those defined in the corresponding resource. The supported operators are:
- = for all value types.
, <, >=, <= for integer values.
- :, meaning substring matching, for strings. The supported value types are:
- string literals in quotes.
- integer literals without quotes.
- boolean literals true and false without quotes. See Filtering notifications for information on how to write a filter.
- Filter string
Expression that defines the filter to apply across create/update events of assets or findings as specified by the event type. The expression is a list of zero or more restrictions combined via logical operators AND and OR. Parentheses are supported, and OR has higher precedence than AND. Restrictions have the form and may have a - character in front of them to indicate negation. The fields map to those defined in the corresponding resource. The supported operators are:
- = for all value types.
, <, >=, <= for integer values.
- :, meaning substring matching, for strings. The supported value types are:
- string literals in quotes.
- integer literals without quotes.
- boolean literals true and false without quotes. See Filtering notifications for information on how to write a filter.
- filter String
Expression that defines the filter to apply across create/update events of assets or findings as specified by the event type. The expression is a list of zero or more restrictions combined via logical operators AND and OR. Parentheses are supported, and OR has higher precedence than AND. Restrictions have the form and may have a - character in front of them to indicate negation. The fields map to those defined in the corresponding resource. The supported operators are:
- = for all value types.
, <, >=, <= for integer values.
- :, meaning substring matching, for strings. The supported value types are:
- string literals in quotes.
- integer literals without quotes.
- boolean literals true and false without quotes. See Filtering notifications for information on how to write a filter.
- filter string
Expression that defines the filter to apply across create/update events of assets or findings as specified by the event type. The expression is a list of zero or more restrictions combined via logical operators AND and OR. Parentheses are supported, and OR has higher precedence than AND. Restrictions have the form and may have a - character in front of them to indicate negation. The fields map to those defined in the corresponding resource. The supported operators are:
- = for all value types.
, <, >=, <= for integer values.
- :, meaning substring matching, for strings. The supported value types are:
- string literals in quotes.
- integer literals without quotes.
- boolean literals true and false without quotes. See Filtering notifications for information on how to write a filter.
- filter str
Expression that defines the filter to apply across create/update events of assets or findings as specified by the event type. The expression is a list of zero or more restrictions combined via logical operators AND and OR. Parentheses are supported, and OR has higher precedence than AND. Restrictions have the form and may have a - character in front of them to indicate negation. The fields map to those defined in the corresponding resource. The supported operators are:
- = for all value types.
, <, >=, <= for integer values.
- :, meaning substring matching, for strings. The supported value types are:
- string literals in quotes.
- integer literals without quotes.
- boolean literals true and false without quotes. See Filtering notifications for information on how to write a filter.
- filter String
Expression that defines the filter to apply across create/update events of assets or findings as specified by the event type. The expression is a list of zero or more restrictions combined via logical operators AND and OR. Parentheses are supported, and OR has higher precedence than AND. Restrictions have the form and may have a - character in front of them to indicate negation. The fields map to those defined in the corresponding resource. The supported operators are:
- = for all value types.
, <, >=, <= for integer values.
- :, meaning substring matching, for strings. The supported value types are:
- string literals in quotes.
- integer literals without quotes.
- boolean literals true and false without quotes. See Filtering notifications for information on how to write a filter.
Import
OrganizationNotificationConfig can be imported using any of these accepted formats:
{{name}}
When using the pulumi import
command, OrganizationNotificationConfig can be imported using one of the formats above. For example:
$ pulumi import gcp:securitycenter/v2OrganizationNotificationConfig:V2OrganizationNotificationConfig default {{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.