diff --git a/test/rules/QuickSight.test.ts b/test/rules/QuickSight.test.ts index d2e6e30ddd..48bc12b9ef 100644 --- a/test/rules/QuickSight.test.ts +++ b/test/rules/QuickSight.test.ts @@ -19,7 +19,7 @@ describe('Amazon QuickSight', () => { describe('QuicksightSSLConnections: Quicksight data sources connections are configured to use SSL', () => { const ruleId = 'QuicksightSSLConnections'; test('Noncompliance 1', () => { - new CfnDataSource(stack, 'rDashboard', { + new CfnDataSource(stack, 'Dashboard', { name: 'datasource', type: 'AMAZON_ELASTICSEARCH', sslProperties: { disableSsl: true }, @@ -27,12 +27,12 @@ describe('Amazon QuickSight', () => { validateStack(stack, ruleId, TestType.NON_COMPLIANCE); }); test('Compliance', () => { - new CfnDataSource(stack, 'rDashboard', { + new CfnDataSource(stack, 'Dashboard', { name: 'datasource', type: 'AMAZON_ELASTICSEARCH', sslProperties: { disableSsl: false }, }); - new CfnDataSource(stack, 'rDashboard2', { + new CfnDataSource(stack, 'Dashboard2', { name: 'datasource', type: 'AMAZON_ELASTICSEARCH', sslProperties: {},