sonarjs/aws-sagemaker-unencrypted-notebook
eslint-plugin-sonarjs
No autofixRecommended
eslint.config.js
export default [
{
rules: {
"sonarjs/aws-sagemaker-unencrypted-notebook": "error",
},
},
];SageMaker notebook instances should be encrypted at rest
The documentation shows no incorrect example for this rule.
import { CfnNotebookInstance } from 'aws-cdk-lib/aws-sagemaker';
const encryptionKey = new Key(this, 'example', {
enableKeyRotation: true,
});
new CfnNotebookInstance(this, 'example', {
instanceType: 'instanceType',
roleArn: 'roleArn',
kmsKeyId: encryptionKey.keyId
});Examples from the ESLint documentation.
sonarjs/aws-sagemaker-unencrypted-notebook
eslint-plugin-sonarjs
export default [
{
rules: {
"sonarjs/aws-sagemaker-unencrypted-notebook": "error",
},
},
];Oxlint does not have this rule.
Biome does not have this rule.
Amazon S3 buckets should have versioning enabled
Amazon SNS topics should be encrypted at rest
Amazon S3 bucket public access should be fully blocked
S3 buckets should enforce HTTPS-only access
Bitwise operators should not be used in boolean contexts