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
CloseCase
API 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.ServiceQuotaExceededException
SecurityIncidentResponse.Client.exceptions.AccessDeniedException
SecurityIncidentResponse.Client.exceptions.ValidationException
SecurityIncidentResponse.Client.exceptions.SecurityIncidentResponseNotActiveException
SecurityIncidentResponse.Client.exceptions.InternalServerException
SecurityIncidentResponse.Client.exceptions.ThrottlingException
SecurityIncidentResponse.Client.exceptions.ConflictException
SecurityIncidentResponse.Client.exceptions.ResourceNotFoundException
SecurityIncidentResponse.Client.exceptions.InvalidTokenException