SecurityHub / Client / create_ticket_v2
create_ticket_v2¶
- SecurityHub.Client.create_ticket_v2(**kwargs)¶
Grants permission to create a ticket in the chosen ITSM based on finding information for the provided finding metadata UID. This API is in preview release and subject to change.
See also: AWS API Documentation
Request Syntax
response = client.create_ticket_v2( ConnectorId='string', FindingMetadataUid='string', ClientToken='string' )
- Parameters:
ConnectorId (string) –
[REQUIRED]
The UUID of the connectorV2 to identify connectorV2 resource.
FindingMetadataUid (string) –
[REQUIRED]
The the unique ID for the finding.
ClientToken (string) –
The client idempotency token.
This field is autopopulated if not provided.
- Return type:
dict
- Returns:
Response Syntax
{ 'TicketId': 'string', 'TicketSrcUrl': 'string' }
Response Structure
(dict) –
TicketId (string) –
The ID for the ticketv2.
TicketSrcUrl (string) –
The url to the created ticket.
Exceptions