azure-native.security.getSecurityContact
Explore with Pulumi AI
Get Default Security contact configurations for the subscription
Uses Azure REST API version 2023-12-01-preview.
Other available API versions: 2017-08-01-preview, 2020-01-01-preview. These can be accessed by generating a local SDK package using the CLI command pulumi package add azure-native security [ApiVersion]
. See the version guide for details.
Using getSecurityContact
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getSecurityContact(args: GetSecurityContactArgs, opts?: InvokeOptions): Promise<GetSecurityContactResult>
function getSecurityContactOutput(args: GetSecurityContactOutputArgs, opts?: InvokeOptions): Output<GetSecurityContactResult>
def get_security_contact(security_contact_name: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetSecurityContactResult
def get_security_contact_output(security_contact_name: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetSecurityContactResult]
func LookupSecurityContact(ctx *Context, args *LookupSecurityContactArgs, opts ...InvokeOption) (*LookupSecurityContactResult, error)
func LookupSecurityContactOutput(ctx *Context, args *LookupSecurityContactOutputArgs, opts ...InvokeOption) LookupSecurityContactResultOutput
> Note: This function is named LookupSecurityContact
in the Go SDK.
public static class GetSecurityContact
{
public static Task<GetSecurityContactResult> InvokeAsync(GetSecurityContactArgs args, InvokeOptions? opts = null)
public static Output<GetSecurityContactResult> Invoke(GetSecurityContactInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetSecurityContactResult> getSecurityContact(GetSecurityContactArgs args, InvokeOptions options)
public static Output<GetSecurityContactResult> getSecurityContact(GetSecurityContactArgs args, InvokeOptions options)
fn::invoke:
function: azure-native:security:getSecurityContact
arguments:
# arguments dictionary
The following arguments are supported:
- Security
Contact stringName - Name of the security contact object
- Security
Contact stringName - Name of the security contact object
- security
Contact StringName - Name of the security contact object
- security
Contact stringName - Name of the security contact object
- security_
contact_ strname - Name of the security contact object
- security
Contact StringName - Name of the security contact object
getSecurityContact Result
The following output properties are available:
- Azure
Api stringVersion - The Azure API version of the resource.
- Id string
- Resource Id
- Name string
- Resource name
- Type string
- Resource type
- Emails string
- List of email addresses which will get notifications from Microsoft Defender for Cloud by the configurations defined in this security contact.
- Is
Enabled bool - Indicates whether the security contact is enabled.
- Notifications
By Pulumi.Role Azure Native. Security. Outputs. Security Contact Properties Response Notifications By Role - Defines whether to send email notifications from Microsoft Defender for Cloud to persons with specific RBAC roles on the subscription.
- Notifications
Sources List<Union<Pulumi.Azure Native. Security. Outputs. Notifications Source Alert Response, Pulumi. Azure Native. Security. Outputs. Notifications Source Attack Path Response>> - A collection of sources types which evaluate the email notification.
- Phone string
- The security contact's phone number
- Azure
Api stringVersion - The Azure API version of the resource.
- Id string
- Resource Id
- Name string
- Resource name
- Type string
- Resource type
- Emails string
- List of email addresses which will get notifications from Microsoft Defender for Cloud by the configurations defined in this security contact.
- Is
Enabled bool - Indicates whether the security contact is enabled.
- Notifications
By SecurityRole Contact Properties Response Notifications By Role - Defines whether to send email notifications from Microsoft Defender for Cloud to persons with specific RBAC roles on the subscription.
- Notifications
Sources []interface{} - A collection of sources types which evaluate the email notification.
- Phone string
- The security contact's phone number
- azure
Api StringVersion - The Azure API version of the resource.
- id String
- Resource Id
- name String
- Resource name
- type String
- Resource type
- emails String
- List of email addresses which will get notifications from Microsoft Defender for Cloud by the configurations defined in this security contact.
- is
Enabled Boolean - Indicates whether the security contact is enabled.
- notifications
By SecurityRole Contact Properties Response Notifications By Role - Defines whether to send email notifications from Microsoft Defender for Cloud to persons with specific RBAC roles on the subscription.
- notifications
Sources List<Either<NotificationsSource Alert Response,Notifications Source Attack Path Response>> - A collection of sources types which evaluate the email notification.
- phone String
- The security contact's phone number
- azure
Api stringVersion - The Azure API version of the resource.
- id string
- Resource Id
- name string
- Resource name
- type string
- Resource type
- emails string
- List of email addresses which will get notifications from Microsoft Defender for Cloud by the configurations defined in this security contact.
- is
Enabled boolean - Indicates whether the security contact is enabled.
- notifications
By SecurityRole Contact Properties Response Notifications By Role - Defines whether to send email notifications from Microsoft Defender for Cloud to persons with specific RBAC roles on the subscription.
- notifications
Sources (NotificationsSource Alert Response | Notifications Source Attack Path Response)[] - A collection of sources types which evaluate the email notification.
- phone string
- The security contact's phone number
- azure_
api_ strversion - The Azure API version of the resource.
- id str
- Resource Id
- name str
- Resource name
- type str
- Resource type
- emails str
- List of email addresses which will get notifications from Microsoft Defender for Cloud by the configurations defined in this security contact.
- is_
enabled bool - Indicates whether the security contact is enabled.
- notifications_
by_ Securityrole Contact Properties Response Notifications By Role - Defines whether to send email notifications from Microsoft Defender for Cloud to persons with specific RBAC roles on the subscription.
- notifications_
sources Sequence[Any] - A collection of sources types which evaluate the email notification.
- phone str
- The security contact's phone number
- azure
Api StringVersion - The Azure API version of the resource.
- id String
- Resource Id
- name String
- Resource name
- type String
- Resource type
- emails String
- List of email addresses which will get notifications from Microsoft Defender for Cloud by the configurations defined in this security contact.
- is
Enabled Boolean - Indicates whether the security contact is enabled.
- notifications
By Property MapRole - Defines whether to send email notifications from Microsoft Defender for Cloud to persons with specific RBAC roles on the subscription.
- notifications
Sources List<Property Map | Property Map> - A collection of sources types which evaluate the email notification.
- phone String
- The security contact's phone number
Supporting Types
NotificationsSourceAlertResponse
- Minimal
Severity string - Defines the minimal alert severity which will be sent as email notifications
- Minimal
Severity string - Defines the minimal alert severity which will be sent as email notifications
- minimal
Severity String - Defines the minimal alert severity which will be sent as email notifications
- minimal
Severity string - Defines the minimal alert severity which will be sent as email notifications
- minimal_
severity str - Defines the minimal alert severity which will be sent as email notifications
- minimal
Severity String - Defines the minimal alert severity which will be sent as email notifications
NotificationsSourceAttackPathResponse
- Minimal
Risk stringLevel - Defines the minimal attach path risk level which will be sent as email notifications
- Minimal
Risk stringLevel - Defines the minimal attach path risk level which will be sent as email notifications
- minimal
Risk StringLevel - Defines the minimal attach path risk level which will be sent as email notifications
- minimal
Risk stringLevel - Defines the minimal attach path risk level which will be sent as email notifications
- minimal_
risk_ strlevel - Defines the minimal attach path risk level which will be sent as email notifications
- minimal
Risk StringLevel - Defines the minimal attach path risk level which will be sent as email notifications
SecurityContactPropertiesResponseNotificationsByRole
Package Details
- Repository
- Azure Native pulumi/pulumi-azure-native
- License
- Apache-2.0