Skip to content

feat(aws): Additional plugins - #2214

Open
cvtienhoven wants to merge 1 commit into
aquasecurity:masterfrom
cvtienhoven:feature/additional-aws-checks
Open

cvtienhoven wants to merge 1 commit into
aquasecurity:masterfrom
cvtienhoven:feature/additional-aws-checks

Conversation

@cvtienhoven

Copy link
Copy Markdown

Summary

New AWS plugins plus two bug fixes.

New plugins

  • Storage and data
    • efsEncryptionInTransitEnabled: the EFS file system policy denies
      requests without TLS.
    • eventBridgeArchiveEncrypted: EventBridge archives use a KMS key of
      the desired level.
    • athenaWorkgroupCustomerContentEncryptionKms: Athena customer
      content is encrypted with a KMS key of the account.
  • Glue: glueCrawlerSecurityConfiguration,
    glueEtlJobSecurityConfiguration,
    glueDevEndpointSecurityConfiguration. An optional setting requires a
    specific security configuration name.
  • ElastiCache (serverless): elasticacheServerlessCmkUsed,
    elasticacheServerlessAccessControlEnabled.
  • Security Lake: securityLakeVpcFlowLogsEnabled checks that VPC
    Flow Logs is a log source.
  • Required tags: 35 *RequiredTags plugins (EC2/VPC resources, KMS,
    RDS, Redshift, S3, Lambda, DynamoDB, SNS, SQS, ACM, API Gateway,
    CloudFormation, EFS, ELBv2, EventBridge, MWAA, Step Functions, and
    others). They check tag keys and allowed values via the settings
    required_tags and required_tags_exempt_keys (S3 uses
    s3_required_tags and s3_required_tags_exempt_keys). Both default to
    requiring nothing, so no organisation-specific tags are built in.

Changes to existing plugins

  • workgroupEncrypted: new setting athena_require_kms_key (default
    false). When true, query results must use SSE_KMS or CSE_KMS
    with a key of the account.
  • rdsRestorable: no longer fails instances that belong to a cluster
    (Multi-AZ DB cluster, Neptune, DocumentDB, not only Aurora). The cluster
    is evaluated instead.

Fixes

  • The EFS follow-up call describeFileSystemPolicy used
    reliesOnService: 'EFS'. The collector looks keys up in lowercase, so
    the call was never made. It is now 'efs', with a regression test
    (helpers/aws/api.spec.js) that every reliesOnService is lowercase.

Shared code

  • New collector calls and region entries for Security Lake, Step
    Functions and the new Glue, Athena, ElastiCache, RDS, Redshift,
    EventBridge and EC2 calls.
  • helpers/aws/functions.js: normalizeTags, evaluateRequiredTags,
    getRequiredTagsConfig, addRequiredTagsResult.

Permissions

The scan role needs securitylake:ListDataLakes and
securitylake:ListLogSources for the Security Lake plugin. Everything
else is covered by SecurityAudit, as checked against the managed
policy.

Testing

  • Unit tests for every new or changed plugin; exports, regions and
    engine specs pass; eslint is clean.
  • The required tags plugins were also run against a live account to check output.

@CLAassistant

CLAassistant commented Nov 17, 2026 •

Copy link
Copy Markdown

CLA assistant check
All committers have signed the CLA.

@CLAassistant

Copy link
Copy Markdown

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.


Christiaan van Tienhoven seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.
You have signed the CLA already but the status is still pending? Let us recheck it.

@cvtienhoven
cvtienhoven force-pushed the feature/additional-aws-checks branch from 4ecac61 to a0dc880 Compare November 17, 2026 14:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants