amazon-ecs-exec-checker icon indicating copy to clipboard operation
amazon-ecs-exec-checker copied to clipboard

#84 Fix issue with checking ecs exec when aws guardduty is enabled, when it is enabled by default there is no managedAgents key, so array is null, and it results in jq: error (at <stdin>:175): Cannot iterate over null (null)

Open tskorupka opened this issue 1 month ago • 0 comments

Issue #84, if available:

Description of changes: Added default empty array return for managedAgents when checking for agensStatus array, since error occurs when you have enabled AWS Guard Duty agent being attached to ECS.

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

tskorupka avatar Nov 13 '25 16:11 tskorupka