Skip to content

Commit

Permalink
Merge pull request #47 from CrowdStrike/fix-aws-services
Browse files Browse the repository at this point in the history
FIX: service parameter array
  • Loading branch information
ryanjpayne authored Aug 12, 2024
2 parents 441a924 + 074b973 commit d00ee39
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion AWS/aws_cspm_benchmark.py
Original file line number Diff line number Diff line change
Expand Up @@ -205,7 +205,7 @@ def fargate_tasks(self, aws_region):

# Generate active_tasks from 'desiredCount' in each ECS Service definition
for a in service_arns:
response = client.describe_services(cluster=c, services=a)
response = client.describe_services(cluster=c, services=[a])
for s in response['services']:
if 'ACTIVE' in s['status']:
active_tasks += s['desiredCount']
Expand Down

0 comments on commit d00ee39

Please sign in to comment.