You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
chore(docs): fix rule wording and grammar (cdklabs#1001)
Updates some of the info and messages across AWS solutions /Hipaa rules.
### Question :
- AwsSolutions-OS5:
- Should this be `The OpenSearch Service domain allows for unsigned requests or anonymous access.` than ` The OpenSearch Service domain does not allow for unsigned requests or anonymous access.`
Copy file name to clipboardExpand all lines: src/packs/aws-solutions.ts
+9-9
Original file line number
Diff line number
Diff line change
@@ -223,7 +223,7 @@ export class AwsSolutionsChecks extends NagPack {
223
223
ruleSuffixOverride: 'EB1',
224
224
info: 'The Elastic Beanstalk environment is not configured to use a specific VPC.',
225
225
explanation:
226
-
'Use a non-default in order to seperate your environment from default resources.',
226
+
'Use a non-default VPC in order to seperate your environment from default resources.',
227
227
level: NagMessageLevel.ERROR,
228
228
rule: ElasticBeanstalkVPCSpecified,
229
229
node: node,
@@ -419,7 +419,7 @@ export class AwsSolutionsChecks extends NagPack {
419
419
});
420
420
this.applyRule({
421
421
ruleSuffixOverride: 'S3',
422
-
info: 'The S3 Bucket does not default encryption enabled.',
422
+
info: 'The S3 Bucket does not have default encryption enabled.',
423
423
explanation:
424
424
'The bucket should minimally have SSE enabled to help protect data-at-rest.',
425
425
level: NagMessageLevel.ERROR,
@@ -616,7 +616,7 @@ export class AwsSolutionsChecks extends NagPack {
616
616
});
617
617
this.applyRule({
618
618
ruleSuffixOverride: 'N2',
619
-
info: 'The Neptune DB instance does have Auto Minor Version Upgrade enabled.',
619
+
info: 'The Neptune DB instance does not have Auto Minor Version Upgrade enabled.',
620
620
explanation:
621
621
'The Neptune service regularly releases engine updates. Enabling Auto Minor Version Upgrade will allow the service to automatically apply these upgrades to DB Instances.',
622
622
level: NagMessageLevel.ERROR,
@@ -867,7 +867,7 @@ export class AwsSolutionsChecks extends NagPack {
867
867
});
868
868
this.applyRule({
869
869
ruleSuffixOverride: 'CFR6',
870
-
info: 'The CloudFront distribution does not use an origin access identity an S3 origin.',
870
+
info: 'The CloudFront distribution does not use an origin access identity with an S3 origin.',
871
871
explanation:
872
872
'Origin access identities help with security by restricting any direct access to objects through S3 URLs.',
873
873
level: NagMessageLevel.ERROR,
@@ -1062,7 +1062,7 @@ export class AwsSolutionsChecks extends NagPack {
1062
1062
});
1063
1063
this.applyRule({
1064
1064
ruleSuffixOverride: 'GL3',
1065
-
info: 'The Glue job does not have use a security configuration with job bookmark encryption enabled.',
1065
+
info: 'The Glue job does not use a security configuration with job bookmark encryption enabled.',
1066
1066
explanation:
1067
1067
'Job bookmark encryption encrypts bookmark data before it is sent to Amazon S3 for storage.',
1068
1068
level: NagMessageLevel.WARN,
@@ -1080,7 +1080,7 @@ export class AwsSolutionsChecks extends NagPack {
1080
1080
});
1081
1081
this.applyRule({
1082
1082
ruleSuffixOverride: 'KDF1',
1083
-
info: 'The Kinesis Data Firehose delivery stream does have server-side encryption enabled.',
1083
+
info: 'The Kinesis Data Firehose delivery stream does not have server-side encryption enabled.',
1084
1084
explanation:
1085
1085
'This allows the system to meet strict regulatory requirements and enhance the security of system data.',
1086
1086
level: NagMessageLevel.ERROR,
@@ -1170,7 +1170,7 @@ export class AwsSolutionsChecks extends NagPack {
1170
1170
});
1171
1171
this.applyRule({
1172
1172
ruleSuffixOverride: 'OS5',
1173
-
info: 'The OpenSearch Service domain does not allow for unsigned requests or anonymous access.',
1173
+
info: 'The OpenSearch Service domain allows for unsigned requests or anonymous access.',
1174
1174
explanation:
1175
1175
'Restricting public access helps prevent unauthorized access and prevents any unsigned requests to be made to the resources.',
1176
1176
level: NagMessageLevel.ERROR,
@@ -1291,7 +1291,7 @@ export class AwsSolutionsChecks extends NagPack {
1291
1291
ruleSuffixOverride: 'KMS5',
1292
1292
info: 'The KMS Symmetric key does not have automatic key rotation enabled.',
1293
1293
explanation:
1294
-
'KMS key rotation allow a system to set an yearly rotation schedule for a KMS key so when a AWS KMS key is required to encrypt new data, the KMS service can automatically use the latest version of the HSA backing key to perform the encryption.',
1294
+
'KMS key rotation allows a system to set an yearly rotation schedule for a KMS key so when an AWS KMS key is required to encrypt new data, the KMS service can automatically use the latest version of the HSA backing key to perform the encryption.',
1295
1295
level: NagMessageLevel.ERROR,
1296
1296
rule: KMSBackingKeyRotationEnabled,
1297
1297
node: node,
@@ -1315,7 +1315,7 @@ export class AwsSolutionsChecks extends NagPack {
1315
1315
privatecheckServerless(node: CfnResource): void{
1316
1316
this.applyRule({
1317
1317
ruleSuffixOverride: 'ASC3',
1318
-
info: 'The GraphQL API does not have request leveling logging enabled.',
1318
+
info: 'The GraphQL API does not have request level logging enabled.',
1319
1319
explanation:
1320
1320
'It is important to use CloudWatch Logs to log metrics such as who has accessed the GraphQL API, how the caller accessed the API, and invalid requests.',
Copy file name to clipboardExpand all lines: src/packs/hipaa-security.ts
+3-3
Original file line number
Diff line number
Diff line change
@@ -310,9 +310,9 @@ export class HIPAASecurityChecks extends NagPack {
310
310
node: node,
311
311
});
312
312
this.applyRule({
313
-
info: 'The CodeBuild project which utilizes either a GitHub or BitBucket source repository does not utilize OAUTH - (Control IDs: 164.308(a)(3)(i), 164.308(a)(4)(ii)(A), 164.308(a)(4)(ii)(C), 164.312(a)(1)).',
313
+
info: 'The CodeBuild project which utilizes either a GitHub or BitBucket source repository does not utilize OAuth - (Control IDs: 164.308(a)(3)(i), 164.308(a)(4)(ii)(A), 164.308(a)(4)(ii)(C), 164.312(a)(1)).',
314
314
explanation:
315
-
'OAUTH is the most secure method of authenticating your CodeBuild application. Use OAuth instead of personal access tokens or a user name and password to grant authorization for accessing GitHub or Bitbucket repositories.',
315
+
'OAuth is the most secure method of authenticating your CodeBuild application. Use OAuth instead of personal access tokens or a user name and password to grant authorization for accessing GitHub or Bitbucket repositories.',
316
316
level: NagMessageLevel.ERROR,
317
317
rule: CodeBuildProjectSourceRepoUrl,
318
318
node: node,
@@ -750,7 +750,7 @@ export class HIPAASecurityChecks extends NagPack {
750
750
node: node,
751
751
});
752
752
this.applyRule({
753
-
info: 'The RDS DB instance does not enhanced monitoring enabled - (Control ID: 164.312(b)).',
753
+
info: 'The RDS DB instance does not have enhanced monitoring enabled - (Control ID: 164.312(b)).',
754
754
explanation:
755
755
'Enable enhanced monitoring to help monitor Amazon RDS availability. This provides detailed visibility into the health of your Amazon RDS database instances.',
Copy file name to clipboardExpand all lines: src/packs/nist-800-53-r4.ts
+3-3
Original file line number
Diff line number
Diff line change
@@ -260,9 +260,9 @@ export class NIST80053R4Checks extends NagPack {
260
260
node: node,
261
261
});
262
262
this.applyRule({
263
-
info: 'The CodeBuild project which utilizes either a GitHub or BitBucket source repository does not utilize OAUTH - (Control ID: SA-3(a)).',
263
+
info: 'The CodeBuild project which utilizes either a GitHub or BitBucket source repository does not utilize OAuth - (Control ID: SA-3(a)).',
264
264
explanation:
265
-
'OAUTH is the most secure method of authenticating your CodeBuild application. Use OAuth instead of personal access tokens or a user name and password to grant authorization for accessing GitHub or Bitbucket repositories.',
265
+
'OAuth is the most secure method of authenticating your CodeBuild application. Use OAuth instead of personal access tokens or a user name and password to grant authorization for accessing GitHub or Bitbucket repositories.',
266
266
level: NagMessageLevel.ERROR,
267
267
rule: CodeBuildProjectSourceRepoUrl,
268
268
node: node,
@@ -623,7 +623,7 @@ export class NIST80053R4Checks extends NagPack {
623
623
*/
624
624
privatecheckRDS(node: CfnResource): void{
625
625
this.applyRule({
626
-
info: 'The RDS DB instance does not enhanced monitoring enabled - (Control ID: CA-7(a)(b)).',
626
+
info: 'The RDS DB instance does not have enhanced monitoring enabled - (Control ID: CA-7(a)(b)).',
627
627
explanation:
628
628
'Enable enhanced monitoring to help monitor Amazon RDS availability. This provides detailed visibility into the health of your Amazon RDS database instances.',
Copy file name to clipboardExpand all lines: src/packs/nist-800-53-r5.ts
+1-1
Original file line number
Diff line number
Diff line change
@@ -693,7 +693,7 @@ export class NIST80053R5Checks extends NagPack {
693
693
*/
694
694
privatecheckRDS(node: CfnResource): void{
695
695
this.applyRule({
696
-
info: 'The RDS DB Instance does not enhanced monitoring enabled - (Control IDs: AU-12(3), AU-14a, AU-14b, CA-2(2), CA-7, CA-7b, PM-14a.1, PM-14b, PM-31, SC-36(1)(a), SI-2a).',
696
+
info: 'The RDS DB Instance does not have enhanced monitoring enabled - (Control IDs: AU-12(3), AU-14a, AU-14b, CA-2(2), CA-7, CA-7b, PM-14a.1, PM-14b, PM-31, SC-36(1)(a), SI-2a).',
697
697
explanation:
698
698
'Enable enhanced monitoring to help monitor Amazon RDS availability. This provides detailed visibility into the health of your Amazon RDS database instances.',
Copy file name to clipboardExpand all lines: src/packs/pci-dss-321.ts
+2-2
Original file line number
Diff line number
Diff line change
@@ -276,9 +276,9 @@ export class PCIDSS321Checks extends NagPack {
276
276
node: node,
277
277
});
278
278
this.applyRule({
279
-
info: 'The CodeBuild project which utilizes either a GitHub or BitBucket source repository does not utilize OAUTH - (Control ID: 8.2.1).',
279
+
info: 'The CodeBuild project which utilizes either a GitHub or BitBucket source repository does not utilize OAuth - (Control ID: 8.2.1).',
280
280
explanation:
281
-
'OAUTH is the most secure method of authenticating your CodeBuild application. Use OAuth instead of personal access tokens or a user name and password to grant authorization for accessing GitHub or Bitbucket repositories.',
281
+
'OAuth is the most secure method of authenticating your CodeBuild application. Use OAuth instead of personal access tokens or a user name and password to grant authorization for accessing GitHub or Bitbucket repositories.',
0 commit comments