Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

added tiggers for f,g,h and connect #1718

Merged
merged 3 commits into from
Dec 27, 2023
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions plugins/aws/connect/customerProfilesDomainEncrypted.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ module.exports = {
default: 'awscmk'
}
},
realtime_triggers: ['customerprofiles:CreateDomain', 'customerprofiles:UpdateDomain'],

run: function(cache, settings, callback) {
var results = [];
Expand Down
1 change: 1 addition & 0 deletions plugins/aws/connect/instanceAttachmentsEncrypted.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ module.exports = {
default: 'awscmk'
}
},
realtime_triggers: ['connect:CreateInstance', 'connect:AssociateInstanceStorageConfig', 'connect:UpdateInstanceStorageConfig'],

run: function(cache, settings, callback) {
var results = [];
Expand Down
2 changes: 2 additions & 0 deletions plugins/aws/connect/instanceCallRecordingEncrypted.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@ module.exports = {
default: 'awscmk'
}
},
realtime_triggers: ['connect:CreateInstance', 'connect:AssociateInstanceStorageConfig', 'connect:UpdateInstanceStorageConfig'],


run: function(cache, settings, callback) {
var results = [];
Expand Down
1 change: 1 addition & 0 deletions plugins/aws/connect/instanceMediaStreamsEncrypted.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ module.exports = {
default: 'awscmk'
}
},
realtime_triggers: ['connect:CreateInstance', 'connect:AssociateInstanceStorageConfig', 'connect:UpdateInstanceStorageConfig'],

run: function(cache, settings, callback) {
var results = [];
Expand Down
1 change: 1 addition & 0 deletions plugins/aws/connect/instanceReportsEncrypted.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ module.exports = {
default: 'awscmk'
}
},
realtime_triggers: ['connect:CreateInstance', 'connect:AssociateInstanceStorageConfig', 'connect:UpdateInstanceStorageConfig'],

run: function(cache, settings, callback) {
var results = [];
Expand Down
1 change: 1 addition & 0 deletions plugins/aws/connect/instanceTranscriptsEncrypted.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ module.exports = {
default: 'awscmk'
}
},
realtime_triggers: ['connect:CreateInstance', 'connect:AssociateInstanceStorageConfig', 'connect:UpdateInstanceStorageConfig'],

run: function(cache, settings, callback) {
var results = [];
Expand Down
1 change: 1 addition & 0 deletions plugins/aws/connect/voiceIdDomainEncrypted.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ module.exports = {
default: 'awskms'
}
},
realtime_triggers: ['voiceid:CreateDomain', 'voiceid:UpdateDomain'],

run: function(cache, settings, callback) {
var results = [];
Expand Down
1 change: 1 addition & 0 deletions plugins/aws/connect/wisdomDomainEncrypted.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ module.exports = {
default: 'awskms'
}
},
realtime_triggers: ['wisdom:CreateAssistant'],

run: function(cache, settings, callback) {
var results = [];
Expand Down
1 change: 1 addition & 0 deletions plugins/aws/finspace/finspaceEnvironmentEncrypted.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ module.exports = {
default: 'awscmk'
}
},
realtime_triggers: ['finspace:CreateEnnviromennt'],

run: function(cache, settings, callback) {
var results = [];
Expand Down
1 change: 1 addition & 0 deletions plugins/aws/firehose/deliveryStreamEncrypted.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ module.exports = {
default: 'awscmk'
}
},
realtime_triggers: ['firehose:CreateDeliveryStreams','firehose:UpdateDestination'],

run: function(cache, settings, callback) {
var results = [];
Expand Down
1 change: 1 addition & 0 deletions plugins/aws/firehose/firehoseEncrypted.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ module.exports = {
'AWS KMS encryption ensures that the Firehose payload meets the ' +
'encryption in transit and at rest requirements of HIPAA.'
},
realtime_triggers: ['firehose:CreateDeliveryStreams','firehose:StartDeliveryStreamEncryption', 'kinesis:StartStreamEncryption'],

run: function(cache, settings, callback) {
var results = [];
Expand Down
1 change: 1 addition & 0 deletions plugins/aws/forecast/datasetExportEncrypted.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ module.exports = {
default: 'awscmk'
}
},
realtime_triggers: ['forecast:CreateForecastExportJob'],

run: function(cache, settings, callback) {
var results = [];
Expand Down
2 changes: 2 additions & 0 deletions plugins/aws/forecast/forecastDatasetEncrypted.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@ module.exports = {
default: 'awscmk'
}
},
realtime_triggers: ['forecastservice:CreateDataset'],


run: function(cache, settings, callback) {
var results = [];
Expand Down
1 change: 1 addition & 0 deletions plugins/aws/frauddetector/fraudDetectorDataEncrypted.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ module.exports = {
default: 'awscmk'
}
},
realtime_triggers: ['frauddetector:PutKMSEncryptionKey'],
AkhtarAmir marked this conversation as resolved.
Show resolved Hide resolved

run: function(cache, settings, callback) {
var results = [];
Expand Down
2 changes: 2 additions & 0 deletions plugins/aws/fsx/fsxFileSystemEncrypted.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@ module.exports = {
default: 'awscmk'
}
},
realtime_triggers: ['fsx:CreateFileSystem'],


run: function(cache, settings, callback) {
var results = [];
Expand Down
1 change: 1 addition & 0 deletions plugins/aws/glue/bookmarkEncryptionEnabled.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ module.exports = {
recommended_action: 'Recreate Glue security configurations and enable job bookmark encryption',
link: 'https://docs.aws.amazon.com/glue/latest/dg/console-security-configurations.html',
apis: ['Glue:getSecurityConfigurations', 'STS:getCallerIdentity'],
realtime_triggers: ['glue:CreateSecurityConfiguration'],

run: function(cache, settings, callback) {
var results = [];
Expand Down
1 change: 1 addition & 0 deletions plugins/aws/glue/dataCatalogCmkEncrypted.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ module.exports = {
recommended_action: 'Modify Glue data catalog to use CMK instead of AWS-managed Key to encrypt Metadata',
link: 'https://docs.aws.amazon.com/glue/latest/dg/encrypt-glue-data-catalog.html',
apis: ['Glue:getDataCatalogEncryptionSettings', 'KMS:listKeys', 'KMS:describeKey'],
realtime_triggers: ['glue:PutDataCatalogEncryptionSettings'],

run: function(cache, settings, callback) {
var results = [];
Expand Down
1 change: 1 addition & 0 deletions plugins/aws/glue/glueCloudwatchLogsEncrypted.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ module.exports = {
recommended_action: 'Modify Glue Security Configurations to enable CloudWatch logs encryption at-rest',
link: 'https://docs.aws.amazon.com/glue/latest/dg/console-security-configurations.html',
apis: ['Glue:getSecurityConfigurations', 'STS:getCallerIdentity'],
realtime_triggers: ['glue:CreateSecurityConfiguration'],

run: function(cache, settings, callback) {
var results = [];
Expand Down
1 change: 1 addition & 0 deletions plugins/aws/glue/glueS3EncryptionEnabled.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ module.exports = {
default: 'awscmk',
}
},
realtime_triggers: ['glue:CreateSecurityConfiguration'],

run: function(cache, settings, callback) {
var results = [];
Expand Down
1 change: 1 addition & 0 deletions plugins/aws/gluedatabrew/databrewJobOutputEncrypted.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ module.exports = {
default: 'awscmk',
}
},
realtime_triggers: ['databrew:CreateRecipeJob', 'databrew:UpdateRecipeJob'],

run: function(cache, settings, callback) {
var results = [];
Expand Down
1 change: 1 addition & 0 deletions plugins/aws/guardduty/exportedFindingsEncrypted.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ module.exports = {
default: 'awscmk'
}
},
realtime_triggers: ['guardduty:CreateDetector'],

run: function(cache, settings, callback) {
var results = [];
Expand Down
1 change: 1 addition & 0 deletions plugins/aws/guardduty/guarddutyEnabled.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ module.exports = {
recommended_action: 'Enable GuardDuty for all AWS accounts.',
link: 'https://docs.aws.amazon.com/guardduty/latest/ug/what-is-guardduty.html',
apis: ['GuardDuty:listDetectors', 'GuardDuty:getDetector', 'STS:getCallerIdentity'],
realtime_triggers: ['guardduty:CreateDetector', 'guardduty:DeleteDetector'],

run: function(cache, settings, callback) {
var results = [];
Expand Down
1 change: 1 addition & 0 deletions plugins/aws/guardduty/guarddutyMaster.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ module.exports = {
default: '',
},
},
realtime_triggers: ['guardduty:CreateDetector', 'guardduty:CreateMembers'],

run: function(cache, settings, callback) {
var results = [];
Expand Down
1 change: 1 addition & 0 deletions plugins/aws/guardduty/noActiveFindings.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ module.exports = {
default: '48'
}
},
realtime_triggers: ['guardduty:CreateDetector', 'guardduty:ArchiveFindings'],

run: function(cache, settings, callback) {
const results = [];
Expand Down
3 changes: 2 additions & 1 deletion plugins/aws/guardduty/s3ProtectionEnabled.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,8 @@ module.exports = {
recommended_action: 'Enable GuardDuty S3 protection for all AWS accounts.',
link: 'https://docs.aws.amazon.com/guardduty/latest/ug/s3-protection.html',
apis: ['GuardDuty:listDetectors', 'GuardDuty:getDetector', 'STS:getCallerIdentity'],

realtime_triggers: ['guardduty:CreateDetector', 'guardduty:UpdateDetector'],

run: function(cache, settings, callback) {
var results = [];
var source = {};
Expand Down
1 change: 1 addition & 0 deletions plugins/aws/healthlake/dataStoreEncrypted.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ module.exports = {
default: 'awscmk'
}
},
realtime_triggers: ['healthlake:CreateFHIRDatastore'],

run: function(cache, settings, callback) {
var results = [];
Expand Down