Use the search tokens below to search for resources discovered. You will need to first choose cloud provider on the Resources tab to see the relevant tokens for your environment. Looking for help with writing your query? click here
Example
Show findings with this account ID
account.id: 205767712438
Example
Show connectors with this account alias
account.alias: Example_connector
subscriptionNamesubscriptionName
Example
Show connectors with this subscription name
subscriptionName: Sample Cloud Subscription
Examples
Show resources created within certain dates
created: [2018-01-01 ... 2018-03-01]
Show resources created starting 2018-10-01, ending 1 month ago
created: [2018-01-01 ... now-1m]
Show resources created starting 2 weeks ago, ending 1 second ago
created: [now-2w ... now-1s]
Show resources created on specific date
created: 2018-01-08
Examples
Show resources updated within certain dates
updated: [2018-01-01 ... 2018-03-01]
Show resources updated starting 2018-10-01, ending 1 month ago
updated: [2018-01-01 ... now-1m]
Show resources updated starting 2 weeks ago, ending 1 second ago
updated: [now-2w ... now-1s]
Show resources updated on specific date
updated: 2018-01-08
Examples
Show any findings with this name
name: my-resource
Show all the findings that exactly match with this name
name: `my-resource`
Example
Find resources synced from Amazon AWS
provider: AWS
Example
Find resources in the Singapore region
region: Singapore
Example
Show resources with ID acl-8e5198f5
resource.id: acl-8e5198f5
Example
Show resources of type Instance
resource.type: Instance
Example
Show findings with key Department
tag.key: Department
Example
Show findings with tag value Finance
tag.value: Finance
Example
Show any findings that contain "network" and "blue" in name
tags.name: "network blue"
Show any findings that contain "network" or "blue" in name (another method)
tags.name: "network"
OR
tags.name: "blue"
Show any findings that match exact value "Cloud Agent"
tags.name: "Cloud Agent"
Example
Show findings with account ID 205767712438 and type Subnet
account.id: 205767712438 and resource.type: Subnet
Example
Show findings that are not resource type Instance
not resource.type: Instance
Example
Show findings with one of these tag values
tag.value: Finance or tag.value: Accounting
Example
Show resources with this projectId
projectId: my-project-1513669048551
Example
Find resources in this location
location: Frankfurt
resourceGroupNameresourceGroupName
Example
Show resources with this group name
resourceGroupName: my-eastus-rg
Example
Show resources with this subscription ID
subscriptionId: fbb9ea64-abda-452e-adfa-83442409
These tokens are available in queries with resource.type:SQL Server
Example
Show resources with this type
sqlserver.type: Microsoft.sql
sqlserver.fullyQualifiedDomainNamesqlserver.fullyQualifiedDomainName
Example
Show resources with this FQDN
sqlserver.fullyQualifiedDomainName: severname.database.windows.net
sqlserver.versionsqlserver.version
Example
Show resources with this version
sqlserver.version: 12
sqlserver.statesqlserver.state
Example
Show resources with this state
sqlserver.state: ready
These tokens are available in queries with resource.type:SQL Server Database
sqldatabase.editionsqldatabase.edition
Example
Find resources with standard edition
sqldatabase.edition: standard
sqldatabase.statussqldatabase.status
Example
Show online databases
sqldatabase.status: online
These tokens are available in queries with resource.type:Virtual Machine
virtualmachine.vmIdvirtualmachine.vmId
Example
Show resources with this virtual machine ID
virtualmachine.vmId: MyVMID
connector.remediationEnabledconnector.remediationEnabled
Example
Show resources associated with the connector for which remediation is enabled
connector.remediationEnabled: TRUE
Example
Show resources with success status for remediation action
action.status: Success
virtualmachine.vmSizevirtualmachine.vmSize
Example
Show resources with this virtual machine size
virtualmachine.vmSize: Standard_DS1_v2
virtualmachine.networkSecurityGroupvirtualmachine.networkSecurityGroup
Example
Show resources with this network security group
virtualmachine.networkSecurityGroup: myNSG
virtualmachine.osTypevirtualmachine.osType
Example
Show resources with this operating system
virtualmachine.osType: Linux
virtualmachine.publicIpAddressvirtualmachine.publicIpAddress
Example
Show resources with this IP address
virtualmachine.publicIpAddress: 13.126.125.189
virtualmachine.statusvirtualmachine.status
Example
Show virtual machines with VM running status
virtualmachine.status: VM running
These tokens are available in queries with resource.type:Virtual Network
virtualnetwork.typevirtualnetwork.type
Example
Show resources with this virtual network type
virtualnetwork.type: Microsoft.Network/virtualNetworks
These tokens are available in queries with resource.type:Web App
Examples
Show any web apps with kind filter
webapp.kind: Linux
webapp.deploymentIdwebapp.deploymentId
Example
Show web apps with this deployment ID
webapp.deploymentId:depl-7495
Examples
Show web apps that are in running state
webapp.state:Running
webapp.availabilityStatewebapp.availabilityState
Example
Show web apps with availability state as LIMITED
webapp.availabilityState:LIMITED
webapp.usageStatewebapp.usageState
Example
Show web app on usage state
webapp.usageState:NORMAL
Examples
Show web apps which are default container.
webapp.enabled:true
webapp.isDefaultContainerwebapp.isDefaultContainer
Examples
Show web apps which are default container.
webapp.isDefaultContainer:true
webapp.httpsonlywebapp.httpsonly
Examples
Show web apps with HTTPSOnly feature enabled.
webapp.httpsonly:TRUE
webapp.redundancyModewebapp.redundancyMode
Example
Show web apps with this redundancy mode.
webapp.redundancyMode:MANUAL
webapp.appserviceplanwebapp.appserviceplan
Examples
Show web apps with this AppServicePlan ID.
webapp.appserviceplan:app-service-plan-123
webapp.defaultHostNamewebapp.defaultHostName
Show web apps with this default host name
webapp.defaultHostName:windowsappabc123.azurewebsites.net
webapp.hostnames.enabledwebapp.hostnames.enabled
Example
Show web apps with this host names
webapp.hostnames.enabled:windowsappabc123.azurewebsites.net
webapp.hostnames.sslStatewebapp.hostnames.sslState
Example
Show web apps with disabled SSL state
webapp.hostnames.sslState:DISABLED
webapp.clientAffinityEnabledwebapp.clientAffinityEnabled
Example
Show web apps with client affinity enabled
webapp.clientAffinityEnabled:TRUE
webapp.clientCertEnabledwebapp.clientCertEnabled
Example
Show web apps with client cert enabled
webapp.clientCertEnabled:TRUE
Azure: Function App
These tokens are available in queries with resource.type:Function App
functionapp.kindfunctionapp.kind
Examples
Show any function apps with kind filter
functionapp.kind: Linux
functionapp.deploymentIdfunctionapp.deploymentId
Example
Show function apps with this deployment ID
functionapp.deploymentId:depl-7495
functionapp.statefunctionapp.state
Examples
Show function apps that are in running state
functionapp.state:Running
functionapp.availabilityStatefunctionapp.availabilityState
Example
Show function apps with availability state as LIMITED
functionapp.availabilityState:LIMITED
functionapp.usageStatefunctionapp.usageState
Example
Show function app on usage state
functionapp.usageState:NORMAL
functionapp.enabledfunctionapp.enabled
Examples
Show function apps which are default container.
functionapp.enabled:true
functionapp.isDefaultContainerfunctionapp.isDefaultContainer
Examples
Show function apps which are default container.
functionapp.isDefaultContainer:true
functionapp.httpsonlyfunctionapp.httpsonly
Examples
Show function apps with HTTPSOnly feature enabled.
functionapp.httpsonly:TRUE
functionapp.redundancyModefunctionapp.redundancyMode
Example
Show function apps with this redundancy mode.
functionapp.redundancyMode:MANUAL
functionapp.appserviceplanfunctionapp.appserviceplan
Examples
Show function apps with this AppServicePlan ID.
functionapp.appserviceplan:app-service-plan-123
functionapp.defaultHostNamefunctionapp.defaultHostName
Show function apps with this default host name
functionapp.defaultHostName:windowsappabc123.azurewebsites.net
functionapp.hostnames.enabledfunctionapp.hostnames.enabled
Example
Show function apps with this host names
functionapp.hostnames.enabled:windowsappabc123.azurewebsites.net
functionapp.hostnames.sslStatefunctionapp.hostnames.sslState
Example
Show function apps with disabled SSL state
functionapp.hostnames.sslState:DISABLED
functionapp.clientAffinityEnabledfunctionapp.clientAffinityEnabled
Example
Show function apps with client affinity enabled
functionapp.clientAffinityEnabled:TRUE
functionapp.clientCertEnabledfunctionapp.clientCertEnabled
Example
Show function apps with client cert enabled
functionapp.clientCertEnabled:TRUE
functionapp.languagefunctionapp.language
Example
Show function apps with client cert enabled
functionapp.language:CSharp