list_active_violations
async
¶
list_active_violations(
*,
config_overrides: Optional[AsyncIoTClientConfig] = 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/async_io_t.py
9631 9632 9633 9634 9635 9636 9637 9638 9639 9640 9641 9642 9643 9644 9645 9646 9647 9648 9649 9650 9651 9652 9653 9654 9655 9656 9657 9658 9659 9660 9661 9662 9663 9664 9665 9666 9667 9668 9669 9670 9671 9672 9673 9674 9675 9676 9677 9678 9679 9680 9681 9682 9683 9684 9685 9686 9687 9688 9689 9690 9691 9692 9693 9694 9695 9696 9697 9698 9699 9700 9701 9702 9703 9704 9705 9706 9707 9708 9709 9710 9711 9712 | |