Asset Configuration Query Attributes
config from cloud.resource where cloud.type = 'gcp' AND api.name = 'gcloud-sql-instances-list'config from cloud.resource where api.name = 'aws-ec2-describe-instances' addcolumn keyName hypervisor imageIdconfig from cloud.resource where azure.resource.group = 'azure-resource-group-test' and api.name = 'azure-network-vnet-list'config from cloud.resource where cloud.type = 'aws' AND cloud.account = 'Production' AND api.name = 'aws-ec2-describe-instances'config from cloud.resource where cloud.account.group = 'All my AWS accounts' AND cloud.region = 'AWS Virginia' AND api.name = 'aws-rds-describe-db-instances'config from cloud.resource where cloud.type = 'azure' and cloud.account = 'RedLock - Azure Subscription' AND cloud.region = 'Azure Central US' AND api.name = 'azure-vm-list'config from cloud.resource where cloud.type = 'aws' AND cloud.service = 'S3' AND api.name = 'aws-s3api-get-bucketacl'config from cloud.resource where cloud.type = 'aws' AND api.name = 'aws-ec2-describe-instances'config from cloud.resource where api.name = 'azure-vm-list' as X; count(X) greater than 0config from cloud.resource where api.name = 'azure-vm-list' AND json.rule = ['properties.osProfile'].linuxConfiguration.disablePasswordAuthentication is true as X; count(X) greater than 1config from cloud.resource where finding.type = 'Host Vulnerability' AND finding.severity = 'critical'config from cloud.resource where finding.source = 'AWS Guard Duty' AND finding.type = 'AWS GuardDuty IAM' AND api.name= 'aws-iam-list-users'config from cloud.resource where finding.type = 'Host Vulnerability' AND finding.name = 'CVE-2016-8399'config from cloud.resource where finding.type = 'AWS GuardDuty IAM' AND finding.name= 'Recon:IAM/TorIPCaller'config from cloud.resource where api.name = 'azure-vm-list' AND json.rule = ['properties.osProfile'].linuxConfiguration.disablePasswordAuthentication is trueconfig from cloud.resource where api.name= 'azure-network-nsg-list' AND json.rule = securityRules[?any( direction equals Inbound and protocol does not equal UDP and access equals Allow and destinationPortRange is member of (22,3389,5432,1521,3306,5000,5984,6379,6380,9042,11211,27017))] existsconfig from cloud.resource where api.name= 'azure-network-nsg-list' AND json.rule = securityRules[?any(access equals Allow and direction equals Inbound and sourceAddressPrefix equals Internet and (protocol equals Udp or protocol equals *) and destinationPortRange contains _Port.inRange(137,137) )] existsconfig from cloud.resource where api.name = 'aws-ec2-describe-security-groups' AND json.rule = ipPermissionsEgress[?any( toPort greater than 22 and ipv4Ranges[?any( cidrIp does not contain "0.0" )] exists )] existsconfig from cloud.resource where api.name = 'aws-ec2-describe-instances' AND json.rule = tags[*].key is member of {'Resource List'.keys}
Last updated
Was this helpful?

