send_feedback
¶
send_feedback(
case_id: CaseId,
result_id: ResultId,
usefulness: UsefulnessRating,
*,
config_overrides: Optional[SecurityIRClientConfig] = None,
comment: Optional[FeedbackComment] = None,
) -> SendFeedbackResponse
Send feedback based on response investigation action
Parameters:
-
case_id(CaseId) –Send feedback based on request caseID
-
result_id(ResultId) –Send feedback based on request result ID
-
usefulness(UsefulnessRating) –Required enum value indicating user assessment of result q.....
-
comment(Optional[FeedbackComment], default:None) –Send feedback based on request comments
Raises:
-
AccessDeniedException– -
ConflictException– -
InternalServerException– -
InvalidTokenException– -
ResourceNotFoundException– -
SecurityIncidentResponseNotActiveException– -
ServiceQuotaExceededException– -
ThrottlingException– -
ValidationException– -
UnknownServiceError–The service returned an error code this client does not model.
Examples:
Send positive feedback for investigation result
>>> client.send_feedback(case_id='8403556009', result_id='inv-polkjhyuty', usefulness='USEFUL', comment='The CloudTrail analysis was very helpful in identifying the root cause of the security incident.')
Send negative feedback with detailed comment
>>> client.send_feedback(case_id='8403556009', result_id='inv-irutjfhgjk', usefulness='NOT_USEFUL', comment="The investigation results were too generic and didn't provide actionable insights for our specific incident.")
Source code in docs_src/capo_security_ir/_services/security_ir.py
1413 1414 1415 1416 1417 1418 1419 1420 1421 1422 1423 1424 1425 1426 1427 1428 1429 1430 1431 1432 1433 1434 1435 1436 1437 1438 1439 1440 1441 1442 1443 1444 1445 1446 1447 1448 1449 1450 1451 1452 1453 1454 1455 1456 1457 1458 1459 1460 1461 1462 1463 1464 1465 1466 1467 1468 1469 1470 1471 1472 1473 1474 1475 1476 1477 1478 1479 1480 1481 1482 1483 1484 | |