From a92ec7c636de95de62d866747e96c605a168b433 Mon Sep 17 00:00:00 2001 From: Tim Smith Date: Sun, 31 Mar 2024 14:43:41 -0700 Subject: [PATCH] Pull in resource updates from 10.8 Missed these Signed-off-by: Tim Smith --- .github/actions/spelling/expect.txt | 1 + .../aws-pack/aws.autoscaling.group.md | 2 ++ .../aws-pack/aws.cloudfront.distribution.md | 1 + .../resources/aws-pack/aws.rds.dbcluster.md | 3 ++ .../resources/aws-pack/aws.rds.dbinstance.md | 2 ++ docs/mql/resources/core-pack/asset.md | 29 ++++++++++--------- 6 files changed, 24 insertions(+), 14 deletions(-) diff --git a/.github/actions/spelling/expect.txt b/.github/actions/spelling/expect.txt index 00e7585cf..eb6592c43 100644 --- a/.github/actions/spelling/expect.txt +++ b/.github/actions/spelling/expect.txt @@ -67,6 +67,7 @@ clientid cloudlinux Clw cmek +cnames CODENAME codeql computeservice diff --git a/docs/mql/resources/aws-pack/aws.autoscaling.group.md b/docs/mql/resources/aws-pack/aws.autoscaling.group.md index dd82d73f5..d84c34a65 100644 --- a/docs/mql/resources/aws-pack/aws.autoscaling.group.md +++ b/docs/mql/resources/aws-pack/aws.autoscaling.group.md @@ -34,3 +34,5 @@ The `aws.autoscaling.group` resource provides fields representing an individual | launchConfigurationName | string | The name of the launch configuration | | healthCheckGracePeriod | int | The grace period in seconds before an instance with a failing health check will be replaced | | createdAt | time | Time when the autoscaling group was created | +| maxInstanceLifetime | int | The maximum amount of time, in seconds, that an instance can be in service | +| desiredCapacity | int | The desired size of the group | diff --git a/docs/mql/resources/aws-pack/aws.cloudfront.distribution.md b/docs/mql/resources/aws-pack/aws.cloudfront.distribution.md index c0fbcc5d3..4694b1cc3 100644 --- a/docs/mql/resources/aws-pack/aws.cloudfront.distribution.md +++ b/docs/mql/resources/aws-pack/aws.cloudfront.distribution.md @@ -30,3 +30,4 @@ Amazon CloudFront distribution | isIPV6Enabled | bool | Is the distribution IPV6 enabled | | enabled | bool | Is the distribution enabled | | priceClass | string | The price class of the distribution | +| cnames | []string | CNAMEs aliases if any for this distribution | diff --git a/docs/mql/resources/aws-pack/aws.rds.dbcluster.md b/docs/mql/resources/aws-pack/aws.rds.dbcluster.md index 1a690f651..a928ca676 100644 --- a/docs/mql/resources/aws-pack/aws.rds.dbcluster.md +++ b/docs/mql/resources/aws-pack/aws.rds.dbcluster.md @@ -46,3 +46,6 @@ The `aws.rds.dbcluster` provides fields for assessing the configuration of AWS R | availabilityZones | []string | List of Availability Zones (AZs) where instances in the DB cluster can be created | | port | int | The port that the database engine is listening on | | endpoint | string | The connection endpoint for the primary instance of the DB cluster | +| hostedZoneId | string | The cluster hosted zone ID | +| masterUsername | string | The master username for the DB instance | +| latestRestorableTime | time | The latest time to which a database can be restored with point-in-time restore | diff --git a/docs/mql/resources/aws-pack/aws.rds.dbinstance.md b/docs/mql/resources/aws-pack/aws.rds.dbinstance.md index df75353f1..a24a7d218 100644 --- a/docs/mql/resources/aws-pack/aws.rds.dbinstance.md +++ b/docs/mql/resources/aws-pack/aws.rds.dbinstance.md @@ -49,3 +49,5 @@ The `aws.rds.dbinstance` provides fields for assessing the configuration of RDS | createdTime | time | The creation date of the RDS instance | | port | int | The port that the DB instance listens on. If the DB instance is part of a DB cluster, this can be a different port than the DB cluster port. | | endpoint | string | The connection endpoint for the DB instance | +| masterUsername | string | The master username for the DB instance | +| latestRestorableTime | time | The latest time to which a database can be restored with point-in-time restore | diff --git a/docs/mql/resources/core-pack/asset.md b/docs/mql/resources/core-pack/asset.md index 66b3018d0..81da9154e 100644 --- a/docs/mql/resources/core-pack/asset.md +++ b/docs/mql/resources/core-pack/asset.md @@ -14,17 +14,18 @@ General asset information **Fields** -| ID | TYPE | DESCRIPTION | -| -------- | ----------------- | -------------------------------------------------------------------------------------------------------------------------- | -| name | string | Human readable name of the asset | -| ids | []string | All identifiers for this asset | -| platform | string | Platform for this asset (redhat, windows, k8s-pod) | -| kind | string | Kind of platform, for example:, api, baremetal, vm, vm-image, container, container-image, network, ... | -| runtime | string | Runtime is the specific kind of the platform. Examples include:, docker-container, podman-container, aws-ec2-instance, ... | -| version | string | Version of the platform | -| arch | string | Architecture this OS is running on | -| title | string | Human-readable title of the platform (e.g., "Red Hat 8, Container") | -| family | []string | List of platform families that this platform belongs to | -| fqdn | string | Fully qualified domain name (optional) | -| build | string | Build version of the platform (optional) | -| labels | map[string]string | Optional platform information | +| ID | TYPE | DESCRIPTION | +| ----------- | ----------------- | -------------------------------------------------------------------------------------------------------------------------- | +| name | string | Human readable name of the asset | +| ids | []string | All identifiers for this asset | +| platform | string | Platform for this asset (redhat, windows, k8s-pod) | +| kind | string | Kind of platform, for example:, api, baremetal, vm, vm-image, container, container-image, network, ... | +| runtime | string | Runtime is the specific kind of the platform. Examples include:, docker-container, podman-container, aws-ec2-instance, ... | +| version | string | Version of the platform | +| arch | string | Architecture this OS is running on | +| title | string | Human-readable title of the platform (e.g., "Red Hat 8, Container") | +| family | []string | List of platform families that this platform belongs to | +| fqdn | string | Fully qualified domain name (optional) | +| build | string | Build version of the platform (optional) | +| labels | map[string]string | Optional platform information | +| annotations | map[string]string | Custom annotiations (tags) on the asset |