Get Services
get/services
This endpoint returns information about the available services and mapped rules in TrendMicro CloudOne Conformity.
Note
To get all rules that supported by RTM, use following command and the result is in the rtmrules.json
file (replace us-east-1
with the Conformity application region you are using):
curl https://us-east-1.cloudconformity.com/v1/services > conformityservices.json
cat conformityservices.json | jq '.included[] | select(.attributes.rtm==true)' > rtmrules.json
For the Windows user, please install jq library first and run the following command, the result is in the rtmrules.json
file (replace us-east-1
with the Conformity application region you are using):
curl https://us-east-1.cloudconformity.com/v1/services > conformityservices.json
type conformityservices.json | jq ".included[] | select(.attributes.rtm==true)" > rtmrules.json
SecurityApiKeyAuth
Responses
200
200 response
403
403 response
Response samples
- 200
- 403
application/json
{- "data": [
- {
- "type": "services",
- "id": "EC2",
- "attributes": {
- "name": "EC2",
- "provider": "aws"
}, - "relationships": {
- "rules": [
- {
- "type": "rules",
- "id": "EC2-001"
}
]
}
}
], - "included": [
- {
- "id": "EC2-002",
- "name": "SecurityGroupPortRange",
- "description": "Ensure no security group opens range of ports",
- "title": "Security Group Port Range",
- "categories": [
- "security"
], - "risk-level": "HIGH",
- "multi-risk-level": true,
- "knowledge-base-html": "security-group-port-range",
- "must-be-configured": true,
- "package": "base",
- "is-organisational": true,
- "not-scored": true,
- "level": "resource",
- "release-date": "2019-08-24T14:15:22Z",
- "update-date": "2019-08-24T14:15:22Z",
- "is-deprecated": true,
- "provider": "aws",
- "compliances": [
- "NIST4",
- "AWAF"
]
}
]
}