ComponentQuery
Retrieves a flat, paged list of component-only fields (PolicyComponent): resource identity, component compliance, constraints snapshot, etc. Policy and component-group scope filters still apply on the request body, but policy id/name and enclosing group metadata are not returned on each component row.
The body may include componentGroups, componentGroupResourceIds, componentGroupResourceFqdns, policyIds, policyNames, componentResourceIds, componentResourceFqdns, componentResourceTypes, componentComplianceStatuses, and componentGroupComplianceStatuses.
Filtering Behavior:
A component row is kept only if it satisfies every non-empty filter dimension (logical AND). Within a single list field, multiple values are OR (match any). If nothing matches, results is empty.
componentGroups selects which group kinds to query (FLEET, MANAGEMENT, INSTANCE). componentGroupResourceIds and componentGroupResourceFqdns resolve INSTANCE adapter instances and are unioned with componentGroups. If the body is omitted or carries no scope or component filters, components for every scope (FLEET, MANAGEMENT, and all INSTANCE rows present in compliance summary data) are included before URL pagination is applied to the merged list.
Request JSON: Use the property componentGroups (plural) as a JSON array of strings (FLEET, MANAGEMENT, INSTANCE).
{
"componentComplianceStatuses": [
"string"
],
"componentGroupComplianceStatuses": [
"string"
],
"componentGroupResourceFqdns": [
"string"
],
"componentGroupResourceIds": [
"string"
],
"componentGroups": [
"string"
],
"componentResourceFqdns": [
"string"
],
"componentResourceIds": [
"string"
],
"componentResourceTypes": [
"string"
],
"policyIds": [
"string"
],
"policyNames": [
"string"
]
}
Compliance statuses of the components within the component group resource
Compliance statuses of the component group
VCF adapter instance FQDNs (INSTANCE scope). Union with componentGroups and resource IDs.
VCF adapter instance resource IDs (INSTANCE scope). Union with componentGroups and FQDNs.
JSON componentGroups (plural): array of FLEET, MANAGEMENT, INSTANCE (union with instance id/FQDN lists).
Resource FQDNs of the components within the component group resource
Resource IDs of the components within the component group resource
Resource types of the components within the component group resource
Restrict to components whose policy id matches any listed id (OR within the list). Combined with other non-empty filter dimensions using logical AND.
Restrict to components whose policy display name matches any listed name (OR within the list, case-insensitive trim). Combined with other non-empty filter dimensions using logical AND.