SecurityIncidentResponse / Client / update_case_status
update_case_status¶
- SecurityIncidentResponse.Client.update_case_status(**kwargs)¶
Updates the state transitions for a designated cases.
Self-managed: the following states are available for self-managed cases.
Submitted → Detection and Analysis
Detection and Analysis → Containment, Eradication, and Recovery
Detection and Analysis → Post-incident Activities
Containment, Eradication, and Recovery → Detection and Analysis
Containment, Eradication, and Recovery → Post-incident Activities
Post-incident Activities → Containment, Eradication, and Recovery
Post-incident Activities → Detection and Analysis
Any → Closed
AWS supported: You must use the
CloseCaseAPI to close.See also: AWS API Documentation
Request Syntax
response = client.update_case_status( caseId='string', caseStatus='Submitted'|'Detection and Analysis'|'Containment, Eradication and Recovery'|'Post-incident Activities' )
- Parameters:
caseId (string) –
[REQUIRED]
Required element for UpdateCaseStatus to identify the case to update.
caseStatus (string) –
[REQUIRED]
Required element for UpdateCaseStatus to identify the status for a case. Options include
Submitted | Detection and Analysis | Containment, Eradication and Recovery | Post-incident Activities.
- Return type:
dict
- Returns:
Response Syntax
{ 'caseStatus': 'Submitted'|'Detection and Analysis'|'Containment, Eradication and Recovery'|'Post-incident Activities' }
Response Structure
(dict) –
caseStatus (string) –
Response element for UpdateCaseStatus showing the newly configured status.
Exceptions
SecurityIncidentResponse.Client.exceptions.ServiceQuotaExceededExceptionSecurityIncidentResponse.Client.exceptions.AccessDeniedExceptionSecurityIncidentResponse.Client.exceptions.ValidationExceptionSecurityIncidentResponse.Client.exceptions.SecurityIncidentResponseNotActiveExceptionSecurityIncidentResponse.Client.exceptions.InternalServerExceptionSecurityIncidentResponse.Client.exceptions.ThrottlingExceptionSecurityIncidentResponse.Client.exceptions.ConflictExceptionSecurityIncidentResponse.Client.exceptions.ResourceNotFoundExceptionSecurityIncidentResponse.Client.exceptions.InvalidTokenException