list_active_violations
¶
list_active_violations(
*,
config_overrides: Optional[IoTClientConfig] = None,
thing_name: Optional[DeviceDefenderThingName] = None,
security_profile_name: Optional[SecurityProfileName] = None,
behavior_criteria_type: Optional[BehaviorCriteriaType] = None,
list_suppressed_alerts: Optional[ListSuppressedAlerts] = None,
verification_state: Optional[VerificationState] = None,
next_token: Optional[NextToken] = None,
max_results: Optional[MaxResults] = None,
) -> ListActiveViolationsResponse
The IoT Device Defender detect feature will no longer be available to new customers starting August 31, 2026. If you would like to use the detect feature, sign up prior to August 31, 2026. To learn about alternatives to IoT Device Defender detect, see IoT Device Defender detect feature availability change in the IoT Device Defender Developer Guide. There is no change to IoT Device Defender audit availability.
Lists the active violations for a given Device Defender security profile.
Requires permission to access the ListActiveViolations action.
Parameters:
-
thing_name(Optional[DeviceDefenderThingName], default:None) –The name of the thing whose active violations are listed.
-
security_profile_name(Optional[SecurityProfileName], default:None) –The name of the Device Defender security profile for which violations are listed.
-
behavior_criteria_type(Optional[BehaviorCriteriaType], default:None) –The criteria for a behavior.
-
list_suppressed_alerts(Optional[ListSuppressedAlerts], default:None) –A list of all suppressed alerts.
-
verification_state(Optional[VerificationState], default:None) –The verification state of the violation (detect alarm).
-
next_token(Optional[NextToken], default:None) –The token for the next set of results.
-
max_results(Optional[MaxResults], default:None) –The maximum number of results to return at one time.
Raises:
-
InternalFailureException–An unexpected error has occurred.
-
InvalidRequestException–The request is not valid.
-
ResourceNotFoundException–The specified resource does not exist.
-
ThrottlingException–The rate exceeds the limit.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_iot/_services/io_t.py
9475 9476 9477 9478 9479 9480 9481 9482 9483 9484 9485 9486 9487 9488 9489 9490 9491 9492 9493 9494 9495 9496 9497 9498 9499 9500 9501 9502 9503 9504 9505 9506 9507 9508 9509 9510 9511 9512 9513 9514 9515 9516 9517 9518 9519 9520 9521 9522 9523 9524 9525 9526 9527 9528 9529 9530 9531 9532 9533 9534 9535 9536 9537 9538 9539 9540 9541 9542 9543 9544 9545 9546 9547 9548 9549 9550 9551 9552 9553 9554 9555 | |