action anchore_get_services_by_name_and_host { label: "Get service config for a specific host" provider: anchore method: GET path: "/system/services/{servicename}/{hostid}" encoding: json input: { type: "object" properties: { hostid: { type: "string" } servicename: { type: "string" } } required: ["hostid", "servicename"] additionalProperties: false } output: { type: "array" description: "A list of service objects" items: { type: "object" description: "A service status record" properties: { base_url: { type: "string" description: "The url to reach the service, including port as needed" } hostid: { type: "string" description: "The unique id of the host on which the service is executing" } service_detail: { type: "object" description: "System status response" properties: { available: { type: "boolean" } busy: { type: "boolean" } db_version: { type: "string" } detail: { type: "object" } message: { type: "string" } up: { type: "boolean" } version: { type: "string" } } } servicename: { type: "string" description: "Registered service name" } status: { type: "boolean" } status_message: { type: "string" description: "A state indicating the condition of the service. Normal operation is 'registered'" } version: { type: "string" description: "The version of the service as reported by the service implementation on registration" } } } } }