detector#

Exec module for managing Guardduty detectors.

async idem_aws.exec.aws.guardduty.detector.get(hub, ctx, resource_id: str, name: str = None) Dict[source]#

Get info about AWS Guardduty detector based on the detector_id passed.

Parameters:
  • resource_id (str) – AWS Guardduty Detector id

  • name (str, Optional) – Name of the Idem state

async idem_aws.exec.aws.guardduty.detector.list_(hub, ctx, name: str = None) Dict[source]#

List AWS guard duty detectors.

Parameters:

name (str, Optional) – Name of the Idem state for logging purposes.

Returns:

Return detectors.

Return type:

Dict[str, Any]