Skip to content

Commit

Permalink
⭐️ aws rds pending maintainance actions
Browse files Browse the repository at this point in the history
  • Loading branch information
chris-rock committed Aug 11, 2024
1 parent 5b9caa2 commit 658da80
Show file tree
Hide file tree
Showing 4 changed files with 350 additions and 0 deletions.
22 changes: 22 additions & 0 deletions providers/aws/resources/aws.lr
Original file line number Diff line number Diff line change
Expand Up @@ -2022,6 +2022,8 @@ aws.rds {
dbClusters() []aws.rds.dbcluster
// List of RDS database clusters
clusters() []aws.rds.dbcluster
// List of pending maintenance actions for the database instance
pendingMaintenanceActions() []aws.rds.pendingMaintenanceAction
}

// Amazon RDS Backup Setting
Expand Down Expand Up @@ -2230,6 +2232,26 @@ private aws.rds.dbinstance @defaults("id region engine engineVersion") {
activityStreamMode string
// Status of the database activity stream
activityStreamStatus string
// List of pending maintenance actions for the database instance
pendingMaintenanceActions() []aws.rds.pendingMaintenanceAction
}

// Amazon RDS pending maintenance action
private aws.rds.pendingMaintenanceAction {
// ARN for resource
resourceArn string
// Action to take
action string
// Description of the action
description string
// Auto applied after date
autoAppliedAfterDate time
// Current apply date
currentApplyDate time
// Forced apply date
forcedApplyDate time
// Opt-in status
optInStatus string
}

// Amazon ElastiCache
Expand Down
179 changes: 179 additions & 0 deletions providers/aws/resources/aws.lr.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

18 changes: 18 additions & 0 deletions providers/aws/resources/aws.lr.manifest.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2264,6 +2264,8 @@ resources:
dbInstances: {}
instances:
min_mondoo_version: 9.0.0
pendingMaintenanceActions:
min_mondoo_version: 9.0.0
min_mondoo_version: 5.15.0
platform:
name:
Expand Down Expand Up @@ -2418,6 +2420,8 @@ resources:
min_mondoo_version: 9.0.0
multiAZ: {}
name: {}
pendingMaintenanceActions:
min_mondoo_version: 9.0.0
port:
min_mondoo_version: 9.0.0
publiclyAccessible: {}
Expand All @@ -2442,6 +2446,20 @@ resources:
platform:
name:
- aws
aws.rds.pendingMaintenanceAction:
fields:
action: {}
autoAppliedAfterDate: {}
currentApplyDate: {}
description: {}
forcedApplyDate: {}
optInStatus: {}
resourceArn: {}
is_private: true
min_mondoo_version: 9.0.0
platform:
name:
- aws
aws.rds.snapshot:
docs:
desc: |
Expand Down
Loading

0 comments on commit 658da80

Please sign in to comment.