Skip to content

Commit

Permalink
Update test snapshot
Browse files Browse the repository at this point in the history
  • Loading branch information
kelvin-chappell committed Dec 9, 2024
1 parent ca28a66 commit 6f15302
Showing 1 changed file with 71 additions and 2 deletions.
73 changes: 71 additions & 2 deletions packages/cdk/lib/__snapshots__/service-catalogue.test.ts.snap
Original file line number Diff line number Diff line change
Expand Up @@ -18886,7 +18886,11 @@ spec:
destinations:
- postgresql
tables:
- '*'
- tenable_tvm_vulnerabilities
- tenable_tvm_scans
- tenable_tvm_scans_details
- tenable_was2_vulnerabilities
- tenable_tvm_assets
spec:
access_key: \${TENABLE_ACCESS_KEY}
secret_key: \${TENABLE_SECRET_KEY}
Expand Down Expand Up @@ -18959,6 +18963,34 @@ spec:
"Name": "CloudquerySource-TenableContainer",
"ReadonlyRootFilesystem": true,
"Secrets": [
{
"Name": "TENABLE_ACCESS_KEY",
"ValueFrom": {
"Fn::Join": [
"",
[
{
"Ref": "tenablecredentialsF2FF9557",
},
":access_key::",
],
],
},
},
{
"Name": "TENABLE_SECRET_KEY",
"ValueFrom": {
"Fn::Join": [
"",
[
{
"Ref": "tenablecredentialsF2FF9557",
},
":secret_key::",
],
],
},
},
{
"Name": "DB_USERNAME",
"ValueFrom": {
Expand Down Expand Up @@ -19058,7 +19090,7 @@ spec:
"Command": [
"/bin/sh",
"-c",
"psql -c "INSERT INTO cloudquery_table_frequency VALUES ('%', 'DAILY') ON CONFLICT (table_name) DO UPDATE SET frequency = 'DAILY'"",
"psql -c "INSERT INTO cloudquery_table_frequency VALUES ('tenable_tvm_vulnerabilities', 'DAILY'),('tenable_tvm_scans', 'DAILY'),('tenable_tvm_scans_details', 'DAILY'),('tenable_was2_vulnerabilities', 'DAILY'),('tenable_tvm_assets', 'DAILY') ON CONFLICT (table_name) DO UPDATE SET frequency = 'DAILY'"",
],
"DockerLabels": {
"App": "service-catalogue",
Expand Down Expand Up @@ -19425,6 +19457,16 @@ spec:
"Properties": {
"PolicyDocument": {
"Statement": [
{
"Action": [
"secretsmanager:GetSecretValue",
"secretsmanager:DescribeSecret",
],
"Effect": "Allow",
"Resource": {
"Ref": "tenablecredentialsF2FF9557",
},
},
{
"Action": [
"secretsmanager:GetSecretValue",
Expand Down Expand Up @@ -29047,6 +29089,33 @@ spec:
"Type": "AWS::SecretsManager::Secret",
"UpdateReplacePolicy": "Delete",
},
"tenablecredentialsF2FF9557": {
"DeletionPolicy": "Delete",
"Properties": {
"GenerateSecretString": {},
"Name": "/TEST/deploy/service-catalogue/tenable-credentials",
"Tags": [
{
"Key": "gu:cdk:version",
"Value": "TEST",
},
{
"Key": "gu:repo",
"Value": "guardian/service-catalogue",
},
{
"Key": "Stack",
"Value": "deploy",
},
{
"Key": "Stage",
"Value": "TEST",
},
],
},
"Type": "AWS::SecretsManager::Secret",
"UpdateReplacePolicy": "Delete",
},
},
}
`;

0 comments on commit 6f15302

Please sign in to comment.