Skip to content
Merged
Show file tree
Hide file tree
Changes from all 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
10 changes: 5 additions & 5 deletions providers/aws/resources/aws.lr
Original file line number Diff line number Diff line change
Expand Up @@ -333,7 +333,7 @@ private aws.waf.rule @defaults("name") {
private aws.waf.rule.action @defaults("action") {
// Name of the rule this action belongs to
ruleName string
// One of Block, Allow, Count, Captcha
// One of Block, Allow, Count, Captcha, Challenge
action string
// HTTP Response Code, only if the action is Block
responseCode string
Expand Down Expand Up @@ -1225,7 +1225,7 @@ private aws.iam.accessanalyzer.analyzer @defaults("name type region status") {
name string
// Status of the analyzer: ACTIVE, CREATING, DISABLED, or FAILED
status string
// Type of analyzer: ACCOUNT or ORGANIZATION
// Type of analyzer: ACCOUNT, ORGANIZATION, ACCOUNT_UNUSED_ACCESS, ORGANIZATION_UNUSED_ACCESS, ACCOUNT_INTERNAL_ACCESS, or ORGANIZATION_INTERNAL_ACCESS
type string
// Region where the analyzer exists
region string
Expand Down Expand Up @@ -2055,7 +2055,7 @@ private aws.ecs.taskDefinition @defaults("arn family revision") {
family string
// Revision number of the task definition
revision int
// Status of the task definition (ACTIVE, INACTIVE)
// Status of the task definition (ACTIVE, INACTIVE, DELETE_IN_PROGRESS)
status string
// Network mode for the task (bridge, host, awsvpc, none)
networkMode string
Expand Down Expand Up @@ -2883,7 +2883,7 @@ private aws.drs.job @defaults("jobID type status") {
type string
// Job status (PENDING, STARTED, COMPLETED)
status string
// How job was initiated (START_RECOVERY, START_DRILL, etc.)
// How job was initiated (START_RECOVERY, START_DRILL, FAILBACK, DIAGNOSTIC, TERMINATE_RECOVERY_INSTANCES, TARGET_ACCOUNT, CREATE_NETWORK_RECOVERY, UPDATE_NETWORK_RECOVERY, or ASSOCIATE_NETWORK_RECOVERY)
initiatedBy string
// Job creation timestamp
createdAt time
Expand Down Expand Up @@ -3093,7 +3093,7 @@ private aws.dynamodb.table @defaults("name region") {
sizeBytes int
// Latest stream for this table
latestStreamArn string
// Current state of the table: CREATING, UPDATING, DELETING, ACTIVE, INACCESSIBLE_ENCRYPTION_CREDENTIALS, ARCHIVING, or ARCHIVED
// Current state of the table: CREATING, UPDATING, DELETING, ACTIVE, INACCESSIBLE_ENCRYPTION_CREDENTIALS, ARCHIVING, ARCHIVED, or REPLICATION_NOT_AUTHORIZED
status string
}

Expand Down
2 changes: 1 addition & 1 deletion providers/aws/resources/aws_iam_accessanalyzer.go
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ func (a *mqlAwsIamAccessAnalyzer) getAnalyzers(conn *connection.AwsConnection) [
res := []any{}

// we need to iterate over all the analyzers types in the account
analyzerTypes := []aatypes.Type{aatypes.TypeAccount, aatypes.TypeOrganization, aatypes.TypeAccountUnusedAccess, aatypes.TypeOrganizationUnusedAccess}
analyzerTypes := []aatypes.Type{aatypes.TypeAccount, aatypes.TypeOrganization, aatypes.TypeAccountUnusedAccess, aatypes.TypeOrganizationUnusedAccess, aatypes.TypeAccountInternalAccess, aatypes.TypeOrganizationInternalAccess}
for _, analyzerType := range analyzerTypes {
ctx := context.Background()

Expand Down
3 changes: 3 additions & 0 deletions providers/aws/resources/aws_waf.go
Original file line number Diff line number Diff line change
Expand Up @@ -413,6 +413,9 @@ func createActionResource(runtime *plugin.Runtime, ruleAction *waftypes.RuleActi
if ruleAction.Captcha != nil {
action = "captcha"
}
if ruleAction.Challenge != nil {
action = "challenge"
}
}
mqlAction, err = CreateResource(runtime, "aws.waf.rule.action", map[string]*llx.RawData{
"ruleName": llx.StringDataPtr(ruleName),
Expand Down
24 changes: 12 additions & 12 deletions providers/oci/resources/oci.lr
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ private oci.region @defaults("id name") {
name string
// Whether this is the tenancy's home region
isHomeRegion bool
// Region subscription status (e.g., READY, IN_PROGRESS)
// Region subscription status (READY, IN_PROGRESS)
status string
}

Expand All @@ -46,7 +46,7 @@ private oci.compartment @defaults("id name") {
description string
// Compartment creation time
created time
// Compartment lifecycle state (e.g., ACTIVE, DELETED)
// Compartment lifecycle state (CREATING, ACTIVE, INACTIVE, DELETING, DELETED)
state string
}

Expand All @@ -72,7 +72,7 @@ private oci.identity.user @defaults("name") {
description string
// User creation time
created time
// User lifecycle state (e.g., ACTIVE, INACTIVE)
// User lifecycle state (CREATING, ACTIVE, INACTIVE, DELETING, DELETED)
state string
// Whether multi-factor authentication is enabled
mfaActivated bool
Expand Down Expand Up @@ -110,7 +110,7 @@ private oci.identity.apiKey @defaults("fingerprint") {
fingerprint string
// API key creation time
created time
// API key lifecycle state (e.g., ACTIVE, INACTIVE)
// API key lifecycle state (CREATING, ACTIVE, INACTIVE, DELETING, DELETED)
state string
}

Expand All @@ -122,7 +122,7 @@ private oci.identity.customerSecretKey @defaults("name") {
name string
// Key creation time
created time
// Key lifecycle state (e.g., ACTIVE, INACTIVE)
// Key lifecycle state (CREATING, ACTIVE, INACTIVE, DELETING, DELETED)
state string
}

Expand All @@ -136,7 +136,7 @@ private oci.identity.authToken @defaults("description") {
created time
// Token expiration time
expires time
// Token lifecycle state (e.g., ACTIVE, INACTIVE)
// Token lifecycle state (CREATING, ACTIVE, INACTIVE, DELETING, DELETED)
state string
}

Expand All @@ -152,7 +152,7 @@ private oci.identity.group @defaults("name") {
description string
// Group creation time
created time
// Group lifecycle state (e.g., ACTIVE, INACTIVE)
// Group lifecycle state (CREATING, ACTIVE, INACTIVE, DELETING, DELETED)
state string
// Free-form tags for resource management
freeformTags map[string]string
Expand All @@ -172,7 +172,7 @@ private oci.identity.policy @defaults("name description") {
description string
// Policy creation time
created time
// Policy lifecycle state (e.g., ACTIVE, INACTIVE)
// Policy lifecycle state (CREATING, ACTIVE, INACTIVE, DELETING, DELETED)
state string
// Policy statements defining permissions
statements []string
Expand Down Expand Up @@ -202,7 +202,7 @@ private oci.compute.instance @defaults("name") {
region oci.region
// Instance creation time
created time
// Instance lifecycle state (e.g., RUNNING, STOPPED, TERMINATED)
// Instance lifecycle state (MOVING, PROVISIONING, RUNNING, STARTING, STOPPING, STOPPED, CREATING_IMAGE, TERMINATING, TERMINATED)
state string
// Compute shape determining CPU and memory (e.g., VM.Standard2.1)
shape string
Expand Down Expand Up @@ -232,7 +232,7 @@ private oci.compute.image @defaults("name") {
region oci.region
// Image creation time
created time
// Image lifecycle state (e.g., AVAILABLE, DISABLED, DELETED)
// Image lifecycle state (PROVISIONING, IMPORTING, AVAILABLE, EXPORTING, DISABLED, DELETED)
state string
// Compartment containing the image
compartment oci.compartment
Expand Down Expand Up @@ -266,7 +266,7 @@ private oci.network.vcn @defaults("name") {
name string
// VCN creation time
created time
// VCN lifecycle state (e.g., AVAILABLE, TERMINATED)
// VCN lifecycle state (PROVISIONING, AVAILABLE, UPDATING, TERMINATING, TERMINATED)
state string
// Deprecated: Use cidrBlocks instead
cidrBlock string
Expand Down Expand Up @@ -298,7 +298,7 @@ private oci.network.securityList @defaults("name") {
name string
// Security list creation time
created time
// Security list lifecycle state (e.g., AVAILABLE, TERMINATED)
// Security list lifecycle state (PROVISIONING, AVAILABLE, TERMINATING, TERMINATED)
state string
// Egress security rules for outbound traffic
egressSecurityRules []dict
Expand Down
Loading