Skip to content

Commit

Permalink
update resource ids
Browse files Browse the repository at this point in the history
  • Loading branch information
clueleaf authored Oct 3, 2024
1 parent 95e94c3 commit 5688d72
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions test/rules/QuickSight.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,20 +19,20 @@ 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 },
});
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: {},
Expand Down

0 comments on commit 5688d72

Please sign in to comment.