sonarjs/aws-s3-bucket-versioning
eslint-plugin-sonarjs
No autofixRecommended
eslint.config.js
export default [
{
rules: {
"sonarjs/aws-s3-bucket-versioning": "error",
},
},
];Amazon S3 buckets should have versioning enabled
The documentation shows no incorrect example for this rule.
const s3 = require('aws-cdk-lib/aws-s3');
new s3.Bucket(this, 'id', {
bucketName: 'bucket',
versioned: true
});Examples from the ESLint documentation.
sonarjs/aws-s3-bucket-versioning
eslint-plugin-sonarjs
export default [
{
rules: {
"sonarjs/aws-s3-bucket-versioning": "error",
},
},
];Oxlint does not have this rule.
Biome does not have this rule.
Amazon S3 bucket public access should be fully blocked
SageMaker notebook instances should be encrypted at rest
S3 buckets should enforce HTTPS-only access
Amazon SNS topics should be encrypted at rest
S3 buckets should not grant access to all users or authenticated users