SonarJS linter helper functions
    Preparing search index...

    Function S3BucketTemplate

    • A rule template for AWS S3 Buckets

      The rule template allows to detect sensitive configuration passed on the invocation of S3 Bucket's constructor from AWS CDK:

      new s3.Bucket(...)

      Parameters

      • callback: (bucketConstructor: NewExpression, context: RuleContext) => void

        the callback invoked on visiting S3 Bucket's instantiation

      • meta: RuleMetaData = {}

        the instantiated rule metadata

      Returns RuleModule

      the instantiated rule definition