SecurityHub / Client / update_connector_v2
update_connector_v2¶
- SecurityHub.Client.update_connector_v2(**kwargs)¶
Grants permission to update a connectorV2 based on its id and input parameters.
See also: AWS API Documentation
Request Syntax
response = client.update_connector_v2( ConnectorId='string', Description='string', Provider={ 'JiraCloud': { 'ProjectKey': 'string' }, 'ServiceNow': { 'SecretArn': 'string' }, 'Azure': { 'ScopeConfiguration': { 'ScopeType': 'TENANT'|'SUBSCRIPTION', 'ScopeValues': [ 'string', ] }, 'AzureRegions': [ 'string', ] } } )
- Parameters:
ConnectorId (string) –
[REQUIRED]
The UUID of the connectorV2 to identify connectorV2 resource.
Description (string) – The description of the connectorV2.
Provider (dict) –
The third-party provider’s service configuration.
Note
This is a Tagged Union structure. Only one of the following top level keys can be set:
JiraCloud,ServiceNow,Azure.JiraCloud (dict) –
The parameters required to update the configuration for a Jira Cloud integration.
ProjectKey (string) –
The project key for a JiraCloud instance.
ServiceNow (dict) –
The parameters required to update the configuration for a ServiceNow integration.
SecretArn (string) –
The Amazon Resource Name (ARN) of the Amazon Web Services Secrets Manager secret that contains the ServiceNow credentials.
Azure (dict) –
The parameters required to update the configuration for a Microsoft Azure CSPM integration.
ScopeConfiguration (dict) – [REQUIRED]
The updated scope configuration.
ScopeType (string) – [REQUIRED]
The type of scope. Valid values are
tenantandsubscription.ScopeValues (list) –
The list of scope values, such as subscription IDs, when the scope type is
subscription.(string) –
AzureRegions (list) – [REQUIRED]
The updated list of Azure regions to monitor.
(string) –
- Return type:
dict
- Returns:
Response Syntax
{ 'ConnectorStatus': 'CONNECTED'|'DEGRADED'|'FAILED_TO_CONNECT'|'PENDING_AUTHORIZATION'|'PENDING_CONFIGURATION'|'UNKNOWN', 'EnablementStatus': 'ENABLED'|'PENDING_ENABLEMENT'|'FAILED_TO_ENABLE'|'PENDING_UPDATE'|'FAILED_TO_UPDATE'|'PENDING_DELETION'|'FAILED_TO_DELETE' }
Response Structure
(dict) –
ConnectorStatus (string) –
The status of the connector after the update.
EnablementStatus (string) –
The enablement status of the connector after the update.
Exceptions
SecurityHub.Client.exceptions.AccessDeniedExceptionSecurityHub.Client.exceptions.InternalServerExceptionSecurityHub.Client.exceptions.ValidationExceptionSecurityHub.Client.exceptions.ThrottlingExceptionSecurityHub.Client.exceptions.ConflictExceptionSecurityHub.Client.exceptions.ResourceNotFoundException