16811 lines
No EOL
702 KiB
JSON
16811 lines
No EOL
702 KiB
JSON
{
|
|
"openapi": "3.1.0",
|
|
"info": {
|
|
"title": "Cloud Services for RHEL Compliance API v2",
|
|
"version": "v2",
|
|
"description": "UNDER DEVELOPMENT: This version of the API is not fully done and some parts of it might change! This is the API for Cloud Services for RHEL Compliance. You can find out more about Red Hat Cloud Services for RHEL at [https://console.redhat.com/](https://console.redhat.com/)"
|
|
},
|
|
"servers": [
|
|
{
|
|
"url": "https://{defaultHost}/api/compliance/v2",
|
|
"variables": {
|
|
"defaultHost": {
|
|
"default": "console.redhat.com"
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"paths": {
|
|
"/policies": {
|
|
"get": {
|
|
"summary": "Request Policies",
|
|
"parameters": [
|
|
{
|
|
"name": "X-RH-IDENTITY",
|
|
"in": "header",
|
|
"schema": {
|
|
"type": "string"
|
|
},
|
|
"description": "For internal use only"
|
|
},
|
|
{
|
|
"name": "limit",
|
|
"in": "query",
|
|
"required": false,
|
|
"description": "Number of items to return per page",
|
|
"schema": {
|
|
"type": "number",
|
|
"maximum": 100,
|
|
"minimum": 1,
|
|
"default": 10
|
|
}
|
|
},
|
|
{
|
|
"name": "offset",
|
|
"in": "query",
|
|
"required": false,
|
|
"description": "Offset of first item of paginated response",
|
|
"schema": {
|
|
"type": "integer",
|
|
"minimum": 0,
|
|
"default": 0
|
|
}
|
|
},
|
|
{
|
|
"name": "ids_only",
|
|
"in": "query",
|
|
"required": false,
|
|
"description": "Indicates whether to return only resource IDs.",
|
|
"schema": {
|
|
"type": "boolean"
|
|
}
|
|
},
|
|
{
|
|
"name": "sort_by",
|
|
"in": "query",
|
|
"required": false,
|
|
"description": "Attribute and direction to sort the items by. Represented by an array of fields with an optional direction (`<key>:asc` or `<key>:desc`).<br><br>If no direction is selected, `<key>:asc` is used by default.",
|
|
"schema": {
|
|
"type": "array",
|
|
"items": {
|
|
"enum": [
|
|
"title",
|
|
"os_major_version",
|
|
"total_system_count",
|
|
"business_objective",
|
|
"compliance_threshold",
|
|
"title:asc",
|
|
"title:desc",
|
|
"os_major_version:asc",
|
|
"os_major_version:desc",
|
|
"total_system_count:asc",
|
|
"total_system_count:desc",
|
|
"business_objective:asc",
|
|
"business_objective:desc",
|
|
"compliance_threshold:asc",
|
|
"compliance_threshold:desc"
|
|
]
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"name": "filter",
|
|
"in": "query",
|
|
"required": false,
|
|
"description": "Query string to filter items by their attributes. Compliant with <a href=\"https://github.com/wvanbergen/scoped_search/wiki/Query-language\" target=\"_blank\" title=\"github.com/wvanbergen/scoped_search\">scoped_search query language</a>. However, only `=` or `!=` (resp. `<>`) operators are supported.<br><br>Policies are searchable using attributes `title`, `os_major_version`, and `os_minor_version`<br><br>(e.g.: `(field_1=something AND field_2!=\"something else\") OR field_3>40`)",
|
|
"schema": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
],
|
|
"tags": [
|
|
"Policies"
|
|
],
|
|
"description": "Lists Policies",
|
|
"operationId": "Policies",
|
|
"responses": {
|
|
"200": {
|
|
"description": "Lists Policies",
|
|
"content": {
|
|
"application/vnd.api+json": {
|
|
"examples": {
|
|
"List of Policies": {
|
|
"value": {
|
|
"data": [
|
|
{
|
|
"id": "0244f014-4c4e-4500-8b0f-41b88c28bf85",
|
|
"title": "Sed ratione voluptatem enim.",
|
|
"description": "Est praesentium molestiae. Reprehenderit aut itaque. Est nobis porro.",
|
|
"business_objective": null,
|
|
"compliance_threshold": 5.0,
|
|
"total_system_count": 0,
|
|
"type": "policy",
|
|
"os_major_version": 7,
|
|
"profile_title": "Placeat ut quis quas.",
|
|
"ref_id": "xccdf_org.ssgproject.content_profile_28662bf52b225f4930226fed9aae38b4"
|
|
},
|
|
{
|
|
"id": "12ebd72e-4ef1-4078-84d2-d9a66ef176a9",
|
|
"title": "Qui iure iusto autem.",
|
|
"description": "Tempore fuga enim. Ipsam omnis consequatur. Vero omnis accusamus.",
|
|
"business_objective": null,
|
|
"compliance_threshold": 58.0,
|
|
"total_system_count": 0,
|
|
"type": "policy",
|
|
"os_major_version": 7,
|
|
"profile_title": "Et et recusandae facere.",
|
|
"ref_id": "xccdf_org.ssgproject.content_profile_e86cb3fe186e1d9cc61e485f3c797e63"
|
|
},
|
|
{
|
|
"id": "1ffe46e0-b5b4-48c9-b349-4d6c28ebde55",
|
|
"title": "Earum iusto odit et.",
|
|
"description": "Pariatur assumenda optio. Sed expedita assumenda. Aliquam magnam nulla.",
|
|
"business_objective": null,
|
|
"compliance_threshold": 98.0,
|
|
"total_system_count": 0,
|
|
"type": "policy",
|
|
"os_major_version": 7,
|
|
"profile_title": "Quo officiis facere qui.",
|
|
"ref_id": "xccdf_org.ssgproject.content_profile_23d5690f77a97a55907f3b27711f4a37"
|
|
},
|
|
{
|
|
"id": "2baa6acb-20d6-4f27-92e3-c33a042698d2",
|
|
"title": "Occaecati tempore odio voluptatum.",
|
|
"description": "Ea voluptas ad. Consequatur recusandae beatae. Incidunt voluptas autem.",
|
|
"business_objective": null,
|
|
"compliance_threshold": 97.0,
|
|
"total_system_count": 0,
|
|
"type": "policy",
|
|
"os_major_version": 7,
|
|
"profile_title": "Doloremque voluptatem vel nulla.",
|
|
"ref_id": "xccdf_org.ssgproject.content_profile_0d98a26d21036df204347627c68b95c3"
|
|
},
|
|
{
|
|
"id": "2d34d048-55a2-41de-96ac-66de14752045",
|
|
"title": "Non aliquid eius mollitia.",
|
|
"description": "Rerum repudiandae quia. Non et saepe. Tempore aut architecto.",
|
|
"business_objective": null,
|
|
"compliance_threshold": 47.0,
|
|
"total_system_count": 0,
|
|
"type": "policy",
|
|
"os_major_version": 7,
|
|
"profile_title": "Error quo et voluptate.",
|
|
"ref_id": "xccdf_org.ssgproject.content_profile_a0b7fce851f7c1e87ab40fee2cef1e63"
|
|
},
|
|
{
|
|
"id": "31d1b1ed-32d9-47d8-9904-472216f2d0b4",
|
|
"title": "Modi aspernatur veritatis veniam.",
|
|
"description": "Et consequatur vero. Et quisquam saepe. Possimus est quo.",
|
|
"business_objective": null,
|
|
"compliance_threshold": 60.0,
|
|
"total_system_count": 0,
|
|
"type": "policy",
|
|
"os_major_version": 7,
|
|
"profile_title": "Commodi et accusamus exercitationem.",
|
|
"ref_id": "xccdf_org.ssgproject.content_profile_fb594cb4dc75c4f6860af4ebb4d0e495"
|
|
},
|
|
{
|
|
"id": "329128c8-7bd0-4a86-934c-52ff90c16341",
|
|
"title": "Quia possimus soluta magnam.",
|
|
"description": "Nostrum officia enim. Autem corporis eius. Eius quia repudiandae.",
|
|
"business_objective": null,
|
|
"compliance_threshold": 43.0,
|
|
"total_system_count": 0,
|
|
"type": "policy",
|
|
"os_major_version": 7,
|
|
"profile_title": "Aut velit dignissimos eius.",
|
|
"ref_id": "xccdf_org.ssgproject.content_profile_e8b4d75473afbe051e28699797f04a9f"
|
|
},
|
|
{
|
|
"id": "3b4be835-c396-42b6-9c60-6271cd88baee",
|
|
"title": "Minus illum debitis dolor.",
|
|
"description": "Voluptatum quibusdam numquam. Pariatur quis sint. Velit hic aut.",
|
|
"business_objective": null,
|
|
"compliance_threshold": 55.0,
|
|
"total_system_count": 0,
|
|
"type": "policy",
|
|
"os_major_version": 7,
|
|
"profile_title": "Assumenda nulla ducimus quo.",
|
|
"ref_id": "xccdf_org.ssgproject.content_profile_035179bb370584c64d2ea8306a3c6da4"
|
|
},
|
|
{
|
|
"id": "48d6aab6-7222-4f0f-94a1-c3a2fd012a35",
|
|
"title": "Laborum id qui quia.",
|
|
"description": "Mollitia officia vitae. Corporis rerum reprehenderit. Quia sequi est.",
|
|
"business_objective": null,
|
|
"compliance_threshold": 50.0,
|
|
"total_system_count": 0,
|
|
"type": "policy",
|
|
"os_major_version": 7,
|
|
"profile_title": "Reiciendis libero nihil nam.",
|
|
"ref_id": "xccdf_org.ssgproject.content_profile_5ce53e2882d3e57a486a242454a20a8f"
|
|
},
|
|
{
|
|
"id": "4f50d943-aee2-41c1-b136-047c123d87b0",
|
|
"title": "Delectus iusto rerum tempore.",
|
|
"description": "Enim voluptas omnis. Quisquam est ad. Ab deserunt tenetur.",
|
|
"business_objective": null,
|
|
"compliance_threshold": 83.0,
|
|
"total_system_count": 0,
|
|
"type": "policy",
|
|
"os_major_version": 7,
|
|
"profile_title": "Quia voluptate commodi harum.",
|
|
"ref_id": "xccdf_org.ssgproject.content_profile_444246bb9763c2f83f6b8af54489805c"
|
|
}
|
|
],
|
|
"meta": {
|
|
"total": 25,
|
|
"limit": 10,
|
|
"offset": 0
|
|
},
|
|
"links": {
|
|
"first": "/api/compliance/v2/policies?limit=10&offset=0",
|
|
"last": "/api/compliance/v2/policies?limit=10&offset=20",
|
|
"next": "/api/compliance/v2/policies?limit=10&offset=10"
|
|
}
|
|
},
|
|
"summary": "",
|
|
"description": ""
|
|
},
|
|
"List of Policies sorted by \"os_major_version:asc\"": {
|
|
"value": {
|
|
"data": [
|
|
{
|
|
"id": "0486e175-6f93-46f7-9cb8-c2a29e7c7725",
|
|
"title": "Autem voluptates sed nihil.",
|
|
"description": "Aut laborum quo. Esse sint omnis. Dolores rerum molestiae.",
|
|
"business_objective": null,
|
|
"compliance_threshold": 54.0,
|
|
"total_system_count": 0,
|
|
"type": "policy",
|
|
"os_major_version": 7,
|
|
"profile_title": "Et molestiae iusto molestias.",
|
|
"ref_id": "xccdf_org.ssgproject.content_profile_f4fe8896d88c74e379c71f10516f91ba"
|
|
},
|
|
{
|
|
"id": "36e3113a-240d-4816-894d-ab68a33e400c",
|
|
"title": "A non sed sed.",
|
|
"description": "Minus iste repellendus. Officiis odio quis. Magnam autem velit.",
|
|
"business_objective": null,
|
|
"compliance_threshold": 21.0,
|
|
"total_system_count": 0,
|
|
"type": "policy",
|
|
"os_major_version": 7,
|
|
"profile_title": "Necessitatibus quo nemo et.",
|
|
"ref_id": "xccdf_org.ssgproject.content_profile_042b4f7d3b5b640fe49794d4e925d4ea"
|
|
},
|
|
{
|
|
"id": "3b104aa5-9d24-45e2-a289-66b625267be4",
|
|
"title": "A possimus libero quibusdam.",
|
|
"description": "Vel perferendis consequatur. Et illo fuga. Libero vitae quis.",
|
|
"business_objective": null,
|
|
"compliance_threshold": 0.0,
|
|
"total_system_count": 0,
|
|
"type": "policy",
|
|
"os_major_version": 7,
|
|
"profile_title": "Quia voluptas voluptatum non.",
|
|
"ref_id": "xccdf_org.ssgproject.content_profile_4635ae8a29744fd7b87401a1881f7e90"
|
|
},
|
|
{
|
|
"id": "3dfb3a74-f1d4-4f46-9701-716787bb0a4d",
|
|
"title": "Qui eos id explicabo.",
|
|
"description": "Porro illo doloribus. Quia ab et. Autem et pariatur.",
|
|
"business_objective": null,
|
|
"compliance_threshold": 69.0,
|
|
"total_system_count": 0,
|
|
"type": "policy",
|
|
"os_major_version": 7,
|
|
"profile_title": "Quisquam alias dignissimos quia.",
|
|
"ref_id": "xccdf_org.ssgproject.content_profile_4dac5621f60a9178226b65d28cc7a83d"
|
|
},
|
|
{
|
|
"id": "3fca4659-7a34-4a85-99c8-64e8c126592e",
|
|
"title": "Dolores ex omnis aut.",
|
|
"description": "Ut in officia. Dolorum id sit. Ab et eum.",
|
|
"business_objective": null,
|
|
"compliance_threshold": 33.0,
|
|
"total_system_count": 0,
|
|
"type": "policy",
|
|
"os_major_version": 7,
|
|
"profile_title": "Ad voluptate ut reprehenderit.",
|
|
"ref_id": "xccdf_org.ssgproject.content_profile_c68f91953ffe44e49c8d6e90c76772a6"
|
|
},
|
|
{
|
|
"id": "44655646-b191-49ae-9a2d-119b8b17e830",
|
|
"title": "Nihil ipsa vitae perferendis.",
|
|
"description": "Iusto et in. Et iure reiciendis. Saepe unde quis.",
|
|
"business_objective": null,
|
|
"compliance_threshold": 28.0,
|
|
"total_system_count": 0,
|
|
"type": "policy",
|
|
"os_major_version": 7,
|
|
"profile_title": "Qui occaecati velit fugiat.",
|
|
"ref_id": "xccdf_org.ssgproject.content_profile_bc93794c2e1d521e4492aeb293ec703c"
|
|
},
|
|
{
|
|
"id": "4d09e7c2-7169-4ccc-8559-7716a9e5f586",
|
|
"title": "Et quam nemo odio.",
|
|
"description": "Nesciunt rerum voluptatem. Qui dolor eligendi. Iste molestias voluptas.",
|
|
"business_objective": null,
|
|
"compliance_threshold": 69.0,
|
|
"total_system_count": 0,
|
|
"type": "policy",
|
|
"os_major_version": 7,
|
|
"profile_title": "Accusantium officiis qui commodi.",
|
|
"ref_id": "xccdf_org.ssgproject.content_profile_ebe866b6b2d76ef6ad2164ed32fa4c3d"
|
|
},
|
|
{
|
|
"id": "4e5217f7-0f4c-4934-b2c4-de6e76a3e8fa",
|
|
"title": "Perferendis distinctio expedita sit.",
|
|
"description": "Quis velit aliquid. Sed voluptatibus qui. Laborum nam velit.",
|
|
"business_objective": null,
|
|
"compliance_threshold": 90.0,
|
|
"total_system_count": 0,
|
|
"type": "policy",
|
|
"os_major_version": 7,
|
|
"profile_title": "Tempore qui consequatur voluptatem.",
|
|
"ref_id": "xccdf_org.ssgproject.content_profile_a6db06d737a0c77c9fc4d2339b04123e"
|
|
},
|
|
{
|
|
"id": "5b60797b-5c0b-478b-bcdd-a5d7ae04cdcd",
|
|
"title": "Qui dolor ut beatae.",
|
|
"description": "Qui et quis. Voluptas dolores aspernatur. Reiciendis dicta consequatur.",
|
|
"business_objective": null,
|
|
"compliance_threshold": 90.0,
|
|
"total_system_count": 0,
|
|
"type": "policy",
|
|
"os_major_version": 7,
|
|
"profile_title": "Id omnis ut perspiciatis.",
|
|
"ref_id": "xccdf_org.ssgproject.content_profile_f835cb5545f0a41a67b2e862a5f8d3d3"
|
|
},
|
|
{
|
|
"id": "604f62af-6b39-4085-9e50-9a2b9dfad5c0",
|
|
"title": "Ut illo vero quidem.",
|
|
"description": "Aspernatur eos eum. Laudantium quas officia. Pariatur consequatur alias.",
|
|
"business_objective": null,
|
|
"compliance_threshold": 62.0,
|
|
"total_system_count": 0,
|
|
"type": "policy",
|
|
"os_major_version": 7,
|
|
"profile_title": "Aut esse neque aspernatur.",
|
|
"ref_id": "xccdf_org.ssgproject.content_profile_1c46c19981ab6a56848adba09f2d1f5b"
|
|
}
|
|
],
|
|
"meta": {
|
|
"total": 25,
|
|
"limit": 10,
|
|
"offset": 0,
|
|
"sort_by": "os_major_version"
|
|
},
|
|
"links": {
|
|
"first": "/api/compliance/v2/policies?limit=10&offset=0&sort_by=os_major_version",
|
|
"last": "/api/compliance/v2/policies?limit=10&offset=20&sort_by=os_major_version",
|
|
"next": "/api/compliance/v2/policies?limit=10&offset=10&sort_by=os_major_version"
|
|
}
|
|
},
|
|
"summary": "",
|
|
"description": ""
|
|
},
|
|
"List of Policies filtered by \"(os_major_version=8)\"": {
|
|
"value": {
|
|
"data": [],
|
|
"meta": {
|
|
"total": 0,
|
|
"filter": "(os_major_version=8)",
|
|
"limit": 10,
|
|
"offset": 0
|
|
},
|
|
"links": {
|
|
"first": "/api/compliance/v2/policies?filter=%28os_major_version%3D8%29&limit=10&offset=0",
|
|
"last": "/api/compliance/v2/policies?filter=%28os_major_version%3D8%29&limit=10&offset=0"
|
|
}
|
|
},
|
|
"summary": "",
|
|
"description": ""
|
|
}
|
|
},
|
|
"schema": {
|
|
"type": "object",
|
|
"properties": {
|
|
"meta": {
|
|
"$ref": "#/components/schemas/metadata"
|
|
},
|
|
"links": {
|
|
"$ref": "#/components/schemas/links"
|
|
},
|
|
"data": {
|
|
"type": "array",
|
|
"items": {
|
|
"properties": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/policy"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"422": {
|
|
"description": "Returns with Unprocessable Content",
|
|
"content": {
|
|
"application/vnd.api+json": {
|
|
"examples": {
|
|
"Description of an error when sorting by incorrect parameter": {
|
|
"value": {
|
|
"errors": [
|
|
"Result cannot be sorted by the 'description' column."
|
|
]
|
|
},
|
|
"summary": "",
|
|
"description": ""
|
|
},
|
|
"Description of an error when requesting higher limit than supported": {
|
|
"value": {
|
|
"errors": [
|
|
"Invalid parameter: limit must be less than or equal to 100"
|
|
]
|
|
},
|
|
"summary": "",
|
|
"description": ""
|
|
}
|
|
},
|
|
"schema": {
|
|
"$ref": "#/components/schemas/errors"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"post": {
|
|
"summary": "Create a Policy",
|
|
"parameters": [
|
|
{
|
|
"name": "X-RH-IDENTITY",
|
|
"in": "header",
|
|
"schema": {
|
|
"type": "string"
|
|
},
|
|
"description": "For internal use only"
|
|
}
|
|
],
|
|
"tags": [
|
|
"Policies"
|
|
],
|
|
"description": "Create a Policy with the provided attributes",
|
|
"operationId": "CreatePolicy",
|
|
"responses": {
|
|
"201": {
|
|
"description": "Creates a Policy",
|
|
"content": {
|
|
"application/vnd.api+json": {
|
|
"examples": {
|
|
"Response example": {
|
|
"value": {
|
|
"data": {
|
|
"id": "f9532bc0-a17a-4c92-a7a9-f4f442509c81",
|
|
"title": "Foo",
|
|
"description": "Hello World",
|
|
"business_objective": "Serious Business Objective",
|
|
"compliance_threshold": 33.3,
|
|
"total_system_count": null,
|
|
"type": "policy",
|
|
"os_major_version": 7,
|
|
"profile_title": "Rerum non perferendis voluptates.",
|
|
"ref_id": "xccdf_org.ssgproject.content_profile_a068e9c31662487de69928fe8717408b"
|
|
}
|
|
},
|
|
"summary": "",
|
|
"description": ""
|
|
}
|
|
},
|
|
"schema": {
|
|
"type": "object",
|
|
"properties": {
|
|
"data": {
|
|
"type": "object",
|
|
"properties": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/policy"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"requestBody": {
|
|
"content": {
|
|
"application/vnd.api+json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/policy"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"/policies/{policy_id}": {
|
|
"get": {
|
|
"summary": "Request a Policy",
|
|
"parameters": [
|
|
{
|
|
"name": "X-RH-IDENTITY",
|
|
"in": "header",
|
|
"schema": {
|
|
"type": "string"
|
|
},
|
|
"description": "For internal use only"
|
|
},
|
|
{
|
|
"name": "policy_id",
|
|
"in": "path",
|
|
"required": true,
|
|
"schema": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
],
|
|
"tags": [
|
|
"Policies"
|
|
],
|
|
"description": "Returns a Policy",
|
|
"operationId": "Policy",
|
|
"responses": {
|
|
"200": {
|
|
"description": "Returns a Policy",
|
|
"content": {
|
|
"application/vnd.api+json": {
|
|
"examples": {
|
|
"Returns a Policy": {
|
|
"value": {
|
|
"data": {
|
|
"id": "1708f457-70e9-4fa7-8522-16590cd0a9b3",
|
|
"title": "Debitis inventore culpa ratione.",
|
|
"description": "Sed reiciendis sunt. Rerum eius enim. Quam sit placeat.",
|
|
"business_objective": null,
|
|
"compliance_threshold": 34.0,
|
|
"total_system_count": 0,
|
|
"type": "policy",
|
|
"os_major_version": 7,
|
|
"profile_title": "Maxime eos expedita in.",
|
|
"ref_id": "xccdf_org.ssgproject.content_profile_dc87c524a1fbb8de313166a82283feda"
|
|
}
|
|
},
|
|
"summary": "",
|
|
"description": ""
|
|
}
|
|
},
|
|
"schema": {
|
|
"type": "object",
|
|
"properties": {
|
|
"data": {
|
|
"type": "object",
|
|
"properties": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/policy"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"404": {
|
|
"description": "Returns with Not Found",
|
|
"content": {
|
|
"application/vnd.api+json": {
|
|
"examples": {
|
|
"Description of an error when requesting a non-existing Policy": {
|
|
"value": {
|
|
"errors": [
|
|
"V2::Policy not found with ID 762433ff-6071-4139-8ae6-fce386070411"
|
|
]
|
|
},
|
|
"summary": "",
|
|
"description": ""
|
|
}
|
|
},
|
|
"schema": {
|
|
"$ref": "#/components/schemas/errors"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"patch": {
|
|
"summary": "Update a Policy",
|
|
"parameters": [
|
|
{
|
|
"name": "X-RH-IDENTITY",
|
|
"in": "header",
|
|
"schema": {
|
|
"type": "string"
|
|
},
|
|
"description": "For internal use only"
|
|
},
|
|
{
|
|
"name": "policy_id",
|
|
"in": "path",
|
|
"required": true,
|
|
"schema": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
],
|
|
"tags": [
|
|
"Policies"
|
|
],
|
|
"description": "Updates a Policy with the provided attributes",
|
|
"operationId": "UpdatePolicy",
|
|
"responses": {
|
|
"202": {
|
|
"description": "Updates a Policy",
|
|
"content": {
|
|
"application/vnd.api+json": {
|
|
"examples": {
|
|
"Returns the updated Policy": {
|
|
"value": {
|
|
"data": {
|
|
"id": "d9443d38-0aaf-4d45-aa32-f6659d68bd51",
|
|
"title": "Deserunt ad tempore odio.",
|
|
"description": "Cum recusandae est. Labore aut provident. Excepturi hic et.",
|
|
"business_objective": null,
|
|
"compliance_threshold": 100.0,
|
|
"total_system_count": 0,
|
|
"type": "policy",
|
|
"os_major_version": 7,
|
|
"profile_title": "Sit doloribus nesciunt rerum.",
|
|
"ref_id": "xccdf_org.ssgproject.content_profile_28e5ab49ff4f432bede20a791f86bab7"
|
|
}
|
|
},
|
|
"summary": "",
|
|
"description": ""
|
|
}
|
|
},
|
|
"schema": {
|
|
"type": "object",
|
|
"properties": {
|
|
"data": {
|
|
"type": "object",
|
|
"properties": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/policy"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"requestBody": {
|
|
"content": {
|
|
"application/vnd.api+json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/policy_update"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"delete": {
|
|
"summary": "Delete a Policy",
|
|
"parameters": [
|
|
{
|
|
"name": "X-RH-IDENTITY",
|
|
"in": "header",
|
|
"schema": {
|
|
"type": "string"
|
|
},
|
|
"description": "For internal use only"
|
|
},
|
|
{
|
|
"name": "policy_id",
|
|
"in": "path",
|
|
"required": true,
|
|
"schema": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
],
|
|
"tags": [
|
|
"Policies"
|
|
],
|
|
"description": "Deletes a Policy",
|
|
"operationId": "DeletePolicy",
|
|
"responses": {
|
|
"202": {
|
|
"description": "Deletes a Policy",
|
|
"content": {
|
|
"application/vnd.api+json": {
|
|
"examples": {
|
|
"Deletes a Policy": {
|
|
"value": {
|
|
"data": {
|
|
"id": "52eea42b-be16-47a4-b937-cd9317dfff1d",
|
|
"title": "Autem tempora molestias qui.",
|
|
"description": "Dolor quos aspernatur. Commodi est quibusdam. Recusandae consequatur omnis.",
|
|
"business_objective": null,
|
|
"compliance_threshold": 33.0,
|
|
"total_system_count": 0,
|
|
"type": "policy",
|
|
"os_major_version": 7,
|
|
"profile_title": "Deleniti ipsam omnis eius.",
|
|
"ref_id": "xccdf_org.ssgproject.content_profile_75a7f16558c7f5e7c8b0ddc44d2d655f"
|
|
}
|
|
},
|
|
"summary": "",
|
|
"description": ""
|
|
}
|
|
},
|
|
"schema": {
|
|
"type": "object",
|
|
"properties": {
|
|
"data": {
|
|
"type": "object",
|
|
"properties": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/policy"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"/systems/{system_id}/policies": {
|
|
"get": {
|
|
"summary": "Request Policies assigned to a System",
|
|
"parameters": [
|
|
{
|
|
"name": "X-RH-IDENTITY",
|
|
"in": "header",
|
|
"schema": {
|
|
"type": "string"
|
|
},
|
|
"description": "For internal use only"
|
|
},
|
|
{
|
|
"name": "limit",
|
|
"in": "query",
|
|
"required": false,
|
|
"description": "Number of items to return per page",
|
|
"schema": {
|
|
"type": "number",
|
|
"maximum": 100,
|
|
"minimum": 1,
|
|
"default": 10
|
|
}
|
|
},
|
|
{
|
|
"name": "offset",
|
|
"in": "query",
|
|
"required": false,
|
|
"description": "Offset of first item of paginated response",
|
|
"schema": {
|
|
"type": "integer",
|
|
"minimum": 0,
|
|
"default": 0
|
|
}
|
|
},
|
|
{
|
|
"name": "ids_only",
|
|
"in": "query",
|
|
"required": false,
|
|
"description": "Indicates whether to return only resource IDs.",
|
|
"schema": {
|
|
"type": "boolean"
|
|
}
|
|
},
|
|
{
|
|
"name": "sort_by",
|
|
"in": "query",
|
|
"required": false,
|
|
"description": "Attribute and direction to sort the items by. Represented by an array of fields with an optional direction (`<key>:asc` or `<key>:desc`).<br><br>If no direction is selected, `<key>:asc` is used by default.",
|
|
"schema": {
|
|
"type": "array",
|
|
"items": {
|
|
"enum": [
|
|
"title",
|
|
"business_objective",
|
|
"compliance_threshold",
|
|
"title:asc",
|
|
"title:desc",
|
|
"business_objective:asc",
|
|
"business_objective:desc",
|
|
"compliance_threshold:asc",
|
|
"compliance_threshold:desc"
|
|
]
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"name": "filter",
|
|
"in": "query",
|
|
"required": false,
|
|
"description": "Query string to filter items by their attributes. Compliant with <a href=\"https://github.com/wvanbergen/scoped_search/wiki/Query-language\" target=\"_blank\" title=\"github.com/wvanbergen/scoped_search\">scoped_search query language</a>. However, only `=` or `!=` (resp. `<>`) operators are supported.<br><br>Policies are searchable using attributes `title` and `os_minor_version`<br><br>(e.g.: `(field_1=something AND field_2!=\"something else\") OR field_3>40`)",
|
|
"schema": {
|
|
"type": "string"
|
|
}
|
|
},
|
|
{
|
|
"name": "system_id",
|
|
"in": "path",
|
|
"required": true,
|
|
"schema": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
],
|
|
"tags": [
|
|
"Systems"
|
|
],
|
|
"description": "Lists Policies under a System",
|
|
"operationId": "SystemsPolicies",
|
|
"responses": {
|
|
"200": {
|
|
"description": "Lists Policies",
|
|
"content": {
|
|
"application/vnd.api+json": {
|
|
"examples": {
|
|
"List of Policies under a System": {
|
|
"value": {
|
|
"data": [
|
|
{
|
|
"id": "014c6228-6744-4b44-aa54-27e88a66fe79",
|
|
"title": "Dolore perferendis ea veniam.",
|
|
"description": "Ut minima dolorem. Modi quas quos. Provident et velit.",
|
|
"business_objective": null,
|
|
"compliance_threshold": 58.0,
|
|
"total_system_count": 1,
|
|
"type": "policy",
|
|
"os_major_version": 7,
|
|
"profile_title": "Doloribus deleniti voluptatem suscipit.",
|
|
"ref_id": "xccdf_org.ssgproject.content_profile_c816b3d6bf324b8f941144c3a7fac1c2"
|
|
},
|
|
{
|
|
"id": "0d8d6e50-b48a-4a62-b8ab-34528fa1a331",
|
|
"title": "Adipisci consectetur et voluptatem.",
|
|
"description": "Ad voluptatem minima. Est dolor ipsam. Possimus est dolores.",
|
|
"business_objective": null,
|
|
"compliance_threshold": 77.0,
|
|
"total_system_count": 1,
|
|
"type": "policy",
|
|
"os_major_version": 7,
|
|
"profile_title": "Voluptas excepturi dolores sint.",
|
|
"ref_id": "xccdf_org.ssgproject.content_profile_e6a08c61d56784b9149b8781084b3f01"
|
|
},
|
|
{
|
|
"id": "1454c5db-3a6e-4a0e-b83c-25ae32ef769e",
|
|
"title": "Perspiciatis magnam ut dolores.",
|
|
"description": "Suscipit eum beatae. Est omnis qui. Pariatur quis itaque.",
|
|
"business_objective": null,
|
|
"compliance_threshold": 96.0,
|
|
"total_system_count": 1,
|
|
"type": "policy",
|
|
"os_major_version": 7,
|
|
"profile_title": "A quam iusto veritatis.",
|
|
"ref_id": "xccdf_org.ssgproject.content_profile_0baeb1e0dd93e02a9c8b9a91ab4ef532"
|
|
},
|
|
{
|
|
"id": "1f143b0e-6142-420a-ad3f-59573c5f4970",
|
|
"title": "Magni numquam quis dolorem.",
|
|
"description": "Placeat quam est. Voluptas delectus natus. Facilis sed quia.",
|
|
"business_objective": null,
|
|
"compliance_threshold": 20.0,
|
|
"total_system_count": 1,
|
|
"type": "policy",
|
|
"os_major_version": 7,
|
|
"profile_title": "Eligendi molestias culpa vel.",
|
|
"ref_id": "xccdf_org.ssgproject.content_profile_0fb57a196937b70d322183df7a18a9ee"
|
|
},
|
|
{
|
|
"id": "2d2bff4a-21b1-4976-8f27-a210363abcc0",
|
|
"title": "Molestias consequuntur nemo voluptatem.",
|
|
"description": "Aperiam ab aut. Eum facere hic. Eum nostrum ex.",
|
|
"business_objective": null,
|
|
"compliance_threshold": 32.0,
|
|
"total_system_count": 1,
|
|
"type": "policy",
|
|
"os_major_version": 7,
|
|
"profile_title": "Porro illo reiciendis exercitationem.",
|
|
"ref_id": "xccdf_org.ssgproject.content_profile_6a2e13888362444087cf7a630b859008"
|
|
},
|
|
{
|
|
"id": "41589cd1-d135-41b9-8b84-a72ea507e15c",
|
|
"title": "Ut corporis voluptatum suscipit.",
|
|
"description": "Est accusamus quia. Est est ipsa. Dolorem sit veniam.",
|
|
"business_objective": null,
|
|
"compliance_threshold": 95.0,
|
|
"total_system_count": 1,
|
|
"type": "policy",
|
|
"os_major_version": 7,
|
|
"profile_title": "Magni quidem nostrum nisi.",
|
|
"ref_id": "xccdf_org.ssgproject.content_profile_b4261fb26ded61c71fbaa90f2c7703c1"
|
|
},
|
|
{
|
|
"id": "4571a564-bb29-443e-99a2-7e3471be3737",
|
|
"title": "Natus cumque sunt ad.",
|
|
"description": "Voluptatem aut illo. Cupiditate odio dolores. Quam eligendi libero.",
|
|
"business_objective": null,
|
|
"compliance_threshold": 99.0,
|
|
"total_system_count": 1,
|
|
"type": "policy",
|
|
"os_major_version": 7,
|
|
"profile_title": "Nobis nemo rerum magnam.",
|
|
"ref_id": "xccdf_org.ssgproject.content_profile_7fd60f19e414ec822e3132bb890e377d"
|
|
},
|
|
{
|
|
"id": "488aba37-3446-49a1-981c-6b8f1bcfd023",
|
|
"title": "Aperiam dolores qui ut.",
|
|
"description": "Quasi aut sed. Minus exercitationem error. Velit eligendi amet.",
|
|
"business_objective": null,
|
|
"compliance_threshold": 20.0,
|
|
"total_system_count": 1,
|
|
"type": "policy",
|
|
"os_major_version": 7,
|
|
"profile_title": "Reiciendis reprehenderit sapiente qui.",
|
|
"ref_id": "xccdf_org.ssgproject.content_profile_81c9eb39b04939ca9eaea6e1195bccb3"
|
|
},
|
|
{
|
|
"id": "48ac835f-6890-41f8-adb2-dc81e5d8002c",
|
|
"title": "Doloribus repudiandae veritatis corporis.",
|
|
"description": "Id quaerat necessitatibus. Saepe non nihil. Dolor dignissimos molestiae.",
|
|
"business_objective": null,
|
|
"compliance_threshold": 64.0,
|
|
"total_system_count": 1,
|
|
"type": "policy",
|
|
"os_major_version": 7,
|
|
"profile_title": "Libero non quia molestias.",
|
|
"ref_id": "xccdf_org.ssgproject.content_profile_fe472463702fb4bafcff230f9ea0eab9"
|
|
},
|
|
{
|
|
"id": "540ed1bb-bb63-4268-851f-c94bee83cf50",
|
|
"title": "Ex provident modi qui.",
|
|
"description": "Beatae omnis vitae. Repellat molestiae sequi. Adipisci sint odit.",
|
|
"business_objective": null,
|
|
"compliance_threshold": 30.0,
|
|
"total_system_count": 1,
|
|
"type": "policy",
|
|
"os_major_version": 7,
|
|
"profile_title": "Iste quaerat repellendus non.",
|
|
"ref_id": "xccdf_org.ssgproject.content_profile_650411267f7a116e3907675480ba61be"
|
|
}
|
|
],
|
|
"meta": {
|
|
"total": 25,
|
|
"limit": 10,
|
|
"offset": 0
|
|
},
|
|
"links": {
|
|
"first": "/api/compliance/v2/systems/1817fd1b-2564-403e-84c6-0911f5bf6a80/policies?limit=10&offset=0",
|
|
"last": "/api/compliance/v2/systems/1817fd1b-2564-403e-84c6-0911f5bf6a80/policies?limit=10&offset=20",
|
|
"next": "/api/compliance/v2/systems/1817fd1b-2564-403e-84c6-0911f5bf6a80/policies?limit=10&offset=10"
|
|
}
|
|
},
|
|
"summary": "",
|
|
"description": ""
|
|
}
|
|
},
|
|
"schema": {
|
|
"type": "object",
|
|
"properties": {
|
|
"meta": {
|
|
"$ref": "#/components/schemas/metadata"
|
|
},
|
|
"links": {
|
|
"$ref": "#/components/schemas/links"
|
|
},
|
|
"data": {
|
|
"type": "array",
|
|
"items": {
|
|
"properties": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/policy"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"/security_guides/{security_guide_id}/profiles": {
|
|
"get": {
|
|
"summary": "Request Profiles",
|
|
"parameters": [
|
|
{
|
|
"name": "X-RH-IDENTITY",
|
|
"in": "header",
|
|
"schema": {
|
|
"type": "string"
|
|
},
|
|
"description": "For internal use only"
|
|
},
|
|
{
|
|
"name": "limit",
|
|
"in": "query",
|
|
"required": false,
|
|
"description": "Number of items to return per page",
|
|
"schema": {
|
|
"type": "number",
|
|
"maximum": 100,
|
|
"minimum": 1,
|
|
"default": 10
|
|
}
|
|
},
|
|
{
|
|
"name": "offset",
|
|
"in": "query",
|
|
"required": false,
|
|
"description": "Offset of first item of paginated response",
|
|
"schema": {
|
|
"type": "integer",
|
|
"minimum": 0,
|
|
"default": 0
|
|
}
|
|
},
|
|
{
|
|
"name": "ids_only",
|
|
"in": "query",
|
|
"required": false,
|
|
"description": "Indicates whether to return only resource IDs.",
|
|
"schema": {
|
|
"type": "boolean"
|
|
}
|
|
},
|
|
{
|
|
"name": "sort_by",
|
|
"in": "query",
|
|
"required": false,
|
|
"description": "Attribute and direction to sort the items by. Represented by an array of fields with an optional direction (`<key>:asc` or `<key>:desc`).<br><br>If no direction is selected, `<key>:asc` is used by default.",
|
|
"schema": {
|
|
"type": "array",
|
|
"items": {
|
|
"enum": [
|
|
"title",
|
|
"title:asc",
|
|
"title:desc"
|
|
]
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"name": "filter",
|
|
"in": "query",
|
|
"required": false,
|
|
"description": "Query string to filter items by their attributes. Compliant with <a href=\"https://github.com/wvanbergen/scoped_search/wiki/Query-language\" target=\"_blank\" title=\"github.com/wvanbergen/scoped_search\">scoped_search query language</a>. However, only `=` or `!=` (resp. `<>`) operators are supported.<br><br>Profiles are searchable using attributes `title` and `ref_id`<br><br>(e.g.: `(field_1=something AND field_2!=\"something else\") OR field_3>40`)",
|
|
"schema": {
|
|
"type": "string"
|
|
}
|
|
},
|
|
{
|
|
"name": "security_guide_id",
|
|
"in": "path",
|
|
"required": true,
|
|
"schema": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
],
|
|
"tags": [
|
|
"Content"
|
|
],
|
|
"description": "Lists Profiles",
|
|
"operationId": "Profiles",
|
|
"responses": {
|
|
"200": {
|
|
"description": "Lists Profiles",
|
|
"content": {
|
|
"application/vnd.api+json": {
|
|
"examples": {
|
|
"List of Profiles": {
|
|
"value": {
|
|
"data": [
|
|
{
|
|
"id": "118a4dc2-e315-4b01-935d-b618508a9c2d",
|
|
"ref_id": "xccdf_org.ssgproject.content_profile_ae976f4801babb91611447d68d8fcd09",
|
|
"title": "Eius aut quo qui.",
|
|
"description": "Quisquam aut minus. Corrupti aut error. Distinctio repudiandae similique.",
|
|
"value_overrides": {},
|
|
"type": "profile"
|
|
},
|
|
{
|
|
"id": "1461b115-45b5-4fd5-8e4a-4dd6507630cd",
|
|
"ref_id": "xccdf_org.ssgproject.content_profile_3ddd492864e2ba48d50a0291aee1f1d1",
|
|
"title": "Sit necessitatibus voluptatem qui.",
|
|
"description": "Aliquid necessitatibus dolore. Iusto quia molestiae. Nam numquam voluptatem.",
|
|
"value_overrides": {},
|
|
"type": "profile"
|
|
},
|
|
{
|
|
"id": "1c6e9a5d-1366-41b6-a9e5-3c4fa71b9dfa",
|
|
"ref_id": "xccdf_org.ssgproject.content_profile_1523a63be7872470821e704bc64d5213",
|
|
"title": "Quia quis consequatur cum.",
|
|
"description": "Consequatur est et. Qui et libero. Quidem praesentium qui.",
|
|
"value_overrides": {},
|
|
"type": "profile"
|
|
},
|
|
{
|
|
"id": "228f75d0-a4b5-4539-b6a2-1ffd38c6d8d7",
|
|
"ref_id": "xccdf_org.ssgproject.content_profile_4ea10061dada15d3d171ce1990702d6f",
|
|
"title": "Aut modi ipsa iste.",
|
|
"description": "Aut id accusantium. Recusandae aut cum. Voluptas porro nobis.",
|
|
"value_overrides": {},
|
|
"type": "profile"
|
|
},
|
|
{
|
|
"id": "2f10e584-7f81-4490-b715-7cf1e8322be2",
|
|
"ref_id": "xccdf_org.ssgproject.content_profile_2e9f56faed8c37b818ba708a4d8b2f22",
|
|
"title": "Est quibusdam et quaerat.",
|
|
"description": "Illo ratione similique. Commodi necessitatibus rerum. Ut repellat animi.",
|
|
"value_overrides": {},
|
|
"type": "profile"
|
|
},
|
|
{
|
|
"id": "3bfda9c0-d27b-423b-b450-2a5f8a08a82d",
|
|
"ref_id": "xccdf_org.ssgproject.content_profile_520d204263f688cd26d9fbe4cfe267f2",
|
|
"title": "Velit blanditiis velit sed.",
|
|
"description": "Eveniet ad officia. Vero repellat sed. Id voluptatem dolor.",
|
|
"value_overrides": {},
|
|
"type": "profile"
|
|
},
|
|
{
|
|
"id": "40e6f3e4-c842-4ce8-8bee-e5b5e2605cb2",
|
|
"ref_id": "xccdf_org.ssgproject.content_profile_6bbbca3714967b45e30241b18402580b",
|
|
"title": "Saepe optio atque autem.",
|
|
"description": "Animi impedit eos. Aut velit eos. Consequatur quas ullam.",
|
|
"value_overrides": {},
|
|
"type": "profile"
|
|
},
|
|
{
|
|
"id": "64cfd271-a2f9-4a5f-b6e1-c1e006954534",
|
|
"ref_id": "xccdf_org.ssgproject.content_profile_b8e777676f03a56c4174cfa6ebf1406b",
|
|
"title": "A cumque id porro.",
|
|
"description": "Ut doloribus ea. Dolores est a. Amet ut nobis.",
|
|
"value_overrides": {},
|
|
"type": "profile"
|
|
},
|
|
{
|
|
"id": "68b6af50-84a2-43f0-9734-7bdedcd46123",
|
|
"ref_id": "xccdf_org.ssgproject.content_profile_95f504e26a8a81bb9156a45bfde5ee1a",
|
|
"title": "Autem qui amet est.",
|
|
"description": "Quaerat laboriosam ab. Assumenda quae minima. Fugit recusandae nobis.",
|
|
"value_overrides": {},
|
|
"type": "profile"
|
|
},
|
|
{
|
|
"id": "7ad3b41f-992e-44ec-80c8-6b3724a51797",
|
|
"ref_id": "xccdf_org.ssgproject.content_profile_c784bc4bae5e178cfbc1e8866e571016",
|
|
"title": "Blanditiis ad vel unde.",
|
|
"description": "Facilis dolor rem. Illum et vel. Itaque nam quis.",
|
|
"value_overrides": {},
|
|
"type": "profile"
|
|
}
|
|
],
|
|
"meta": {
|
|
"total": 25,
|
|
"limit": 10,
|
|
"offset": 0
|
|
},
|
|
"links": {
|
|
"first": "/api/compliance/v2/security_guides/40c6cab7-df34-4768-9d12-34c98aaf0888/profiles?limit=10&offset=0",
|
|
"last": "/api/compliance/v2/security_guides/40c6cab7-df34-4768-9d12-34c98aaf0888/profiles?limit=10&offset=20",
|
|
"next": "/api/compliance/v2/security_guides/40c6cab7-df34-4768-9d12-34c98aaf0888/profiles?limit=10&offset=10"
|
|
}
|
|
},
|
|
"summary": "",
|
|
"description": ""
|
|
},
|
|
"List of Profiles sorted by \"title:asc\"": {
|
|
"value": {
|
|
"data": [
|
|
{
|
|
"id": "0aadd8f8-1bc6-41f0-bf90-98dddf2075c0",
|
|
"ref_id": "xccdf_org.ssgproject.content_profile_164ea2d60e3f9c533fbd113997eb4c6f",
|
|
"title": "Architecto earum magnam quod.",
|
|
"description": "Sit quia omnis. Pariatur totam quasi. Rerum rem eveniet.",
|
|
"value_overrides": {},
|
|
"type": "profile"
|
|
},
|
|
{
|
|
"id": "215fa2c8-fd38-45b5-8a03-e6451f7ea183",
|
|
"ref_id": "xccdf_org.ssgproject.content_profile_f9294833920cfa7a5a70b8e3a0006f41",
|
|
"title": "Architecto sit culpa voluptate.",
|
|
"description": "Omnis voluptatem nihil. Placeat est repellat. Architecto sint ea.",
|
|
"value_overrides": {},
|
|
"type": "profile"
|
|
},
|
|
{
|
|
"id": "b5d61f55-245d-49ee-b97e-4db289eb4730",
|
|
"ref_id": "xccdf_org.ssgproject.content_profile_25cad68a9a1bb35299565c4a131d3cfc",
|
|
"title": "Consectetur eveniet id expedita.",
|
|
"description": "Dolores eligendi qui. Et iusto iste. Omnis ullam qui.",
|
|
"value_overrides": {},
|
|
"type": "profile"
|
|
},
|
|
{
|
|
"id": "300e6058-57f5-466d-9396-f91a8ae302e1",
|
|
"ref_id": "xccdf_org.ssgproject.content_profile_f7c06b2203db2ed66e1f38247d5ad999",
|
|
"title": "Consequatur voluptatum nam atque.",
|
|
"description": "Quo praesentium magni. Repellendus modi totam. Mollitia magni ut.",
|
|
"value_overrides": {},
|
|
"type": "profile"
|
|
},
|
|
{
|
|
"id": "cd2285fc-ce81-4e7d-9445-bc9bdac6d597",
|
|
"ref_id": "xccdf_org.ssgproject.content_profile_97e0b1b5168a296efcf1ed8325a064b7",
|
|
"title": "Consequuntur iste voluptas et.",
|
|
"description": "Est autem architecto. Nesciunt occaecati nihil. Et qui sint.",
|
|
"value_overrides": {},
|
|
"type": "profile"
|
|
},
|
|
{
|
|
"id": "091f9095-405a-4371-9496-ef3a54bccbab",
|
|
"ref_id": "xccdf_org.ssgproject.content_profile_c03436a3ffee8ba6298f07b522eb9f61",
|
|
"title": "Deleniti quos ab explicabo.",
|
|
"description": "Possimus porro quas. Et ipsam fuga. Nulla praesentium qui.",
|
|
"value_overrides": {},
|
|
"type": "profile"
|
|
},
|
|
{
|
|
"id": "dc4c0b10-3b18-4fa4-afa1-69097253b74e",
|
|
"ref_id": "xccdf_org.ssgproject.content_profile_3b441abed584f03eca48c27db101ec9e",
|
|
"title": "Dolorem officia in minus.",
|
|
"description": "Quae itaque et. Quasi et quo. Consequuntur adipisci est.",
|
|
"value_overrides": {},
|
|
"type": "profile"
|
|
},
|
|
{
|
|
"id": "76c7c49a-83e2-4526-a21d-5eff76649405",
|
|
"ref_id": "xccdf_org.ssgproject.content_profile_da87a7b32bdaa757f23075e4b9a0d060",
|
|
"title": "Enim officiis illo saepe.",
|
|
"description": "Reiciendis ipsum deserunt. Magnam quia earum. Ut ab quam.",
|
|
"value_overrides": {},
|
|
"type": "profile"
|
|
},
|
|
{
|
|
"id": "2f0c69d2-d5c9-4e9f-af79-70976a163b5e",
|
|
"ref_id": "xccdf_org.ssgproject.content_profile_92590d5a196e93fd5b123ae37931d72b",
|
|
"title": "Et est velit adipisci.",
|
|
"description": "Consequatur architecto voluptatem. Reiciendis eligendi voluptatum. Nam ab provident.",
|
|
"value_overrides": {},
|
|
"type": "profile"
|
|
},
|
|
{
|
|
"id": "c6b2427b-e97a-4ae2-b5ea-4c5e7367674d",
|
|
"ref_id": "xccdf_org.ssgproject.content_profile_14e0c07e75e6544f0edd1f847cb980a5",
|
|
"title": "Et praesentium temporibus nostrum.",
|
|
"description": "Rerum et perferendis. Voluptatem et nihil. Tempore id impedit.",
|
|
"value_overrides": {},
|
|
"type": "profile"
|
|
}
|
|
],
|
|
"meta": {
|
|
"total": 25,
|
|
"limit": 10,
|
|
"offset": 0,
|
|
"sort_by": "title"
|
|
},
|
|
"links": {
|
|
"first": "/api/compliance/v2/security_guides/30d84d52-8b5e-4078-b5c3-6f47fe6a21eb/profiles?limit=10&offset=0&sort_by=title",
|
|
"last": "/api/compliance/v2/security_guides/30d84d52-8b5e-4078-b5c3-6f47fe6a21eb/profiles?limit=10&offset=20&sort_by=title",
|
|
"next": "/api/compliance/v2/security_guides/30d84d52-8b5e-4078-b5c3-6f47fe6a21eb/profiles?limit=10&offset=10&sort_by=title"
|
|
}
|
|
},
|
|
"summary": "",
|
|
"description": ""
|
|
},
|
|
"List of Profiles filtered by '(title=Unde id cum nisi.)'": {
|
|
"value": {
|
|
"data": [
|
|
{
|
|
"id": "018cb826-d591-4b30-be81-2fb032ac020a",
|
|
"ref_id": "xccdf_org.ssgproject.content_profile_f21a1eaca7e682268f096da4a210bc0b",
|
|
"title": "Unde id cum nisi.",
|
|
"description": "Itaque dolores blanditiis. Culpa sunt optio. Tempora et vitae.",
|
|
"value_overrides": {},
|
|
"type": "profile"
|
|
}
|
|
],
|
|
"meta": {
|
|
"total": 1,
|
|
"filter": "(title=\"Unde id cum nisi.\")",
|
|
"limit": 10,
|
|
"offset": 0
|
|
},
|
|
"links": {
|
|
"first": "/api/compliance/v2/security_guides/ee4fbb6f-aba2-449f-8261-69face8e1562/profiles?filter=%28title%3D%22Unde+id+cum+nisi.%22%29&limit=10&offset=0",
|
|
"last": "/api/compliance/v2/security_guides/ee4fbb6f-aba2-449f-8261-69face8e1562/profiles?filter=%28title%3D%22Unde+id+cum+nisi.%22%29&limit=10&offset=0"
|
|
}
|
|
},
|
|
"summary": "",
|
|
"description": ""
|
|
}
|
|
},
|
|
"schema": {
|
|
"type": "object",
|
|
"properties": {
|
|
"meta": {
|
|
"$ref": "#/components/schemas/metadata"
|
|
},
|
|
"links": {
|
|
"$ref": "#/components/schemas/links"
|
|
},
|
|
"data": {
|
|
"type": "array",
|
|
"items": {
|
|
"properties": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/profile"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"422": {
|
|
"description": "Returns with Unprocessable Content",
|
|
"content": {
|
|
"application/vnd.api+json": {
|
|
"examples": {
|
|
"Description of an error when sorting by incorrect parameter": {
|
|
"value": {
|
|
"errors": [
|
|
"Result cannot be sorted by the 'description' column."
|
|
]
|
|
},
|
|
"summary": "",
|
|
"description": ""
|
|
},
|
|
"Description of an error when requesting higher limit than supported": {
|
|
"value": {
|
|
"errors": [
|
|
"Invalid parameter: limit must be less than or equal to 100"
|
|
]
|
|
},
|
|
"summary": "",
|
|
"description": ""
|
|
}
|
|
},
|
|
"schema": {
|
|
"$ref": "#/components/schemas/errors"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"/security_guides/{security_guide_id}/profiles/{profile_id}": {
|
|
"get": {
|
|
"summary": "Request a Profile",
|
|
"parameters": [
|
|
{
|
|
"name": "X-RH-IDENTITY",
|
|
"in": "header",
|
|
"schema": {
|
|
"type": "string"
|
|
},
|
|
"description": "For internal use only"
|
|
},
|
|
{
|
|
"name": "security_guide_id",
|
|
"in": "path",
|
|
"required": true,
|
|
"schema": {
|
|
"type": "string"
|
|
}
|
|
},
|
|
{
|
|
"name": "profile_id",
|
|
"in": "path",
|
|
"required": true,
|
|
"description": "UUID or a ref_id with '.' characters replaced with '-'",
|
|
"schema": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
],
|
|
"tags": [
|
|
"Content"
|
|
],
|
|
"description": "Returns a Profile",
|
|
"operationId": "Profile",
|
|
"responses": {
|
|
"200": {
|
|
"description": "Returns a Profile",
|
|
"content": {
|
|
"application/vnd.api+json": {
|
|
"examples": {
|
|
"Returns a Profile": {
|
|
"value": {
|
|
"data": {
|
|
"id": "23236afc-fa8d-4849-8376-d1c25f66e3c1",
|
|
"ref_id": "xccdf_org.ssgproject.content_profile_e97d408a90acbc98780874e7cb35ee28",
|
|
"title": "Veniam reprehenderit accusamus odit.",
|
|
"description": "Omnis rerum ratione. Ut est quam. Quisquam ipsum laborum.",
|
|
"value_overrides": {},
|
|
"type": "profile"
|
|
}
|
|
},
|
|
"summary": "",
|
|
"description": ""
|
|
}
|
|
},
|
|
"schema": {
|
|
"type": "object",
|
|
"properties": {
|
|
"data": {
|
|
"type": "object",
|
|
"properties": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/profile"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"404": {
|
|
"description": "Returns with Not Found",
|
|
"content": {
|
|
"application/vnd.api+json": {
|
|
"examples": {
|
|
"Description of an error when requesting a non-existing Profile": {
|
|
"value": {
|
|
"errors": [
|
|
"V2::Profile not found with ID e6ee6710-8310-4761-8521-99c87d5226b5"
|
|
]
|
|
},
|
|
"summary": "",
|
|
"description": ""
|
|
}
|
|
},
|
|
"schema": {
|
|
"$ref": "#/components/schemas/errors"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"/reports": {
|
|
"get": {
|
|
"summary": "Request Reports",
|
|
"parameters": [
|
|
{
|
|
"name": "X-RH-IDENTITY",
|
|
"in": "header",
|
|
"schema": {
|
|
"type": "string"
|
|
},
|
|
"description": "For internal use only"
|
|
},
|
|
{
|
|
"name": "limit",
|
|
"in": "query",
|
|
"required": false,
|
|
"description": "Number of items to return per page",
|
|
"schema": {
|
|
"type": "number",
|
|
"maximum": 100,
|
|
"minimum": 1,
|
|
"default": 10
|
|
}
|
|
},
|
|
{
|
|
"name": "offset",
|
|
"in": "query",
|
|
"required": false,
|
|
"description": "Offset of first item of paginated response",
|
|
"schema": {
|
|
"type": "integer",
|
|
"minimum": 0,
|
|
"default": 0
|
|
}
|
|
},
|
|
{
|
|
"name": "ids_only",
|
|
"in": "query",
|
|
"required": false,
|
|
"description": "Indicates whether to return only resource IDs.",
|
|
"schema": {
|
|
"type": "boolean"
|
|
}
|
|
},
|
|
{
|
|
"name": "sort_by",
|
|
"in": "query",
|
|
"required": false,
|
|
"description": "Attribute and direction to sort the items by. Represented by an array of fields with an optional direction (`<key>:asc` or `<key>:desc`).<br><br>If no direction is selected, `<key>:asc` is used by default.",
|
|
"schema": {
|
|
"type": "array",
|
|
"items": {
|
|
"enum": [
|
|
"title",
|
|
"os_major_version",
|
|
"business_objective",
|
|
"compliance_threshold",
|
|
"percent_compliant",
|
|
"title:asc",
|
|
"title:desc",
|
|
"os_major_version:asc",
|
|
"os_major_version:desc",
|
|
"business_objective:asc",
|
|
"business_objective:desc",
|
|
"compliance_threshold:asc",
|
|
"compliance_threshold:desc",
|
|
"percent_compliant:asc",
|
|
"percent_compliant:desc"
|
|
]
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"name": "filter",
|
|
"in": "query",
|
|
"required": false,
|
|
"description": "Query string to filter items by their attributes. Compliant with <a href=\"https://github.com/wvanbergen/scoped_search/wiki/Query-language\" target=\"_blank\" title=\"github.com/wvanbergen/scoped_search\">scoped_search query language</a>. However, only `=` or `!=` (resp. `<>`) operators are supported.<br><br>Reports are searchable using attributes `title`, `os_major_version`, and `with_reported_systems`<br><br>(e.g.: `(field_1=something AND field_2!=\"something else\") OR field_3>40`)",
|
|
"schema": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
],
|
|
"tags": [
|
|
"Reports"
|
|
],
|
|
"description": "Lists Reports",
|
|
"operationId": "Reports",
|
|
"responses": {
|
|
"200": {
|
|
"description": "Lists Reports",
|
|
"content": {
|
|
"application/vnd.api+json": {
|
|
"examples": {
|
|
"List of Reports": {
|
|
"value": {
|
|
"data": [
|
|
{
|
|
"id": "0638a4fa-2897-4b66-a06d-2e3ef5de74c0",
|
|
"title": "Corporis et quam ea.",
|
|
"description": "Error quae aut. Numquam eaque qui. Assumenda perspiciatis aliquid.",
|
|
"business_objective": "array",
|
|
"compliance_threshold": 90.0,
|
|
"type": "report",
|
|
"os_major_version": 8,
|
|
"profile_title": "Aut omnis id eum.",
|
|
"ref_id": "xccdf_org.ssgproject.content_profile_a89a806e1b7a737f8ef556b3ad3879f5",
|
|
"all_systems_exposed": true,
|
|
"percent_compliant": 25,
|
|
"assigned_system_count": 4,
|
|
"compliant_system_count": 1,
|
|
"unsupported_system_count": 2,
|
|
"reported_system_count": 4
|
|
},
|
|
{
|
|
"id": "6639028f-a355-41ab-831f-1d20bee2980a",
|
|
"title": "Iste exercitationem tenetur ut.",
|
|
"description": "Provident sit dolorum. Quia porro reprehenderit. Incidunt laudantium sit.",
|
|
"business_objective": "transmitter",
|
|
"compliance_threshold": 90.0,
|
|
"type": "report",
|
|
"os_major_version": 8,
|
|
"profile_title": "Perferendis maiores est odit.",
|
|
"ref_id": "xccdf_org.ssgproject.content_profile_4c76aff1b7d7776f70525ecd0a183c6a",
|
|
"all_systems_exposed": true,
|
|
"percent_compliant": 25,
|
|
"assigned_system_count": 4,
|
|
"compliant_system_count": 1,
|
|
"unsupported_system_count": 2,
|
|
"reported_system_count": 4
|
|
},
|
|
{
|
|
"id": "a2132333-89fc-4e81-9494-fa8e82ce3a7c",
|
|
"title": "Optio sint quia sint.",
|
|
"description": "Aut maxime ullam. Ut praesentium unde. Vitae sit aut.",
|
|
"business_objective": "circuit",
|
|
"compliance_threshold": 90.0,
|
|
"type": "report",
|
|
"os_major_version": 8,
|
|
"profile_title": "Et dolorum cumque iusto.",
|
|
"ref_id": "xccdf_org.ssgproject.content_profile_18056b8abcdd9288420e36581c9c8c37",
|
|
"all_systems_exposed": true,
|
|
"percent_compliant": 25,
|
|
"assigned_system_count": 4,
|
|
"compliant_system_count": 1,
|
|
"unsupported_system_count": 2,
|
|
"reported_system_count": 4
|
|
},
|
|
{
|
|
"id": "a70f6682-9c4c-4495-a48c-0c0812fe52d6",
|
|
"title": "Ratione itaque qui corporis.",
|
|
"description": "Delectus non impedit. Ipsum provident at. Similique repellendus eos.",
|
|
"business_objective": "firewall",
|
|
"compliance_threshold": 90.0,
|
|
"type": "report",
|
|
"os_major_version": 8,
|
|
"profile_title": "Repellat minus consequatur reiciendis.",
|
|
"ref_id": "xccdf_org.ssgproject.content_profile_eae8383afc0ccc24bb9a58ea84bddde2",
|
|
"all_systems_exposed": true,
|
|
"percent_compliant": 25,
|
|
"assigned_system_count": 4,
|
|
"compliant_system_count": 1,
|
|
"unsupported_system_count": 2,
|
|
"reported_system_count": 4
|
|
},
|
|
{
|
|
"id": "c8c4276c-72a8-486b-b9b0-f0374e38973b",
|
|
"title": "Id ut et dolores.",
|
|
"description": "Quisquam voluptatum libero. Est est sint. Quisquam atque suscipit.",
|
|
"business_objective": "system",
|
|
"compliance_threshold": 90.0,
|
|
"type": "report",
|
|
"os_major_version": 8,
|
|
"profile_title": "Delectus quis quibusdam ex.",
|
|
"ref_id": "xccdf_org.ssgproject.content_profile_0648954ca581a5185806abecca2f7967",
|
|
"all_systems_exposed": true,
|
|
"percent_compliant": 25,
|
|
"assigned_system_count": 4,
|
|
"compliant_system_count": 1,
|
|
"unsupported_system_count": 2,
|
|
"reported_system_count": 4
|
|
}
|
|
],
|
|
"meta": {
|
|
"total": 5,
|
|
"limit": 10,
|
|
"offset": 0
|
|
},
|
|
"links": {
|
|
"first": "/api/compliance/v2/reports?limit=10&offset=0",
|
|
"last": "/api/compliance/v2/reports?limit=10&offset=0"
|
|
}
|
|
},
|
|
"summary": "",
|
|
"description": ""
|
|
},
|
|
"List of Reports sorted by \"os_major_version:asc\"": {
|
|
"value": {
|
|
"data": [
|
|
{
|
|
"id": "3bc3c3c9-7709-4f5e-ab32-12e9b98d5a58",
|
|
"title": "Omnis qui quia est.",
|
|
"description": "Eos tenetur numquam. Dolor sint accusantium. Laborum labore cumque.",
|
|
"business_objective": "card",
|
|
"compliance_threshold": 90.0,
|
|
"type": "report",
|
|
"os_major_version": 8,
|
|
"profile_title": "Dolores quo totam deserunt.",
|
|
"ref_id": "xccdf_org.ssgproject.content_profile_a5cf46944e1d20c55657a6310a55df22",
|
|
"all_systems_exposed": true,
|
|
"percent_compliant": 25,
|
|
"assigned_system_count": 4,
|
|
"compliant_system_count": 1,
|
|
"unsupported_system_count": 2,
|
|
"reported_system_count": 4
|
|
},
|
|
{
|
|
"id": "960318e8-cd92-45ce-a6fd-251b4f7b5278",
|
|
"title": "Omnis velit sunt qui.",
|
|
"description": "Perferendis dolor odit. Dolor aliquam pariatur. Reiciendis molestiae aut.",
|
|
"business_objective": "circuit",
|
|
"compliance_threshold": 90.0,
|
|
"type": "report",
|
|
"os_major_version": 8,
|
|
"profile_title": "Et laudantium ad ea.",
|
|
"ref_id": "xccdf_org.ssgproject.content_profile_46e3bc56eda08d26ccd33a11191df3ee",
|
|
"all_systems_exposed": true,
|
|
"percent_compliant": 25,
|
|
"assigned_system_count": 4,
|
|
"compliant_system_count": 1,
|
|
"unsupported_system_count": 2,
|
|
"reported_system_count": 4
|
|
},
|
|
{
|
|
"id": "b0d1afa1-dac6-4b0f-9641-04291e99c825",
|
|
"title": "Eius incidunt voluptate omnis.",
|
|
"description": "Et et error. Explicabo aut vero. Velit est molestias.",
|
|
"business_objective": "system",
|
|
"compliance_threshold": 90.0,
|
|
"type": "report",
|
|
"os_major_version": 8,
|
|
"profile_title": "Magni ipsum impedit minus.",
|
|
"ref_id": "xccdf_org.ssgproject.content_profile_57b7311ee2c06a36aba2412e3c668e54",
|
|
"all_systems_exposed": true,
|
|
"percent_compliant": 25,
|
|
"assigned_system_count": 4,
|
|
"compliant_system_count": 1,
|
|
"unsupported_system_count": 2,
|
|
"reported_system_count": 4
|
|
},
|
|
{
|
|
"id": "cad668d1-7930-4d65-a10d-21898f5973ca",
|
|
"title": "Et est nihil aut.",
|
|
"description": "Nihil illum tempora. Et nam consequatur. Consequatur velit quos.",
|
|
"business_objective": "pixel",
|
|
"compliance_threshold": 90.0,
|
|
"type": "report",
|
|
"os_major_version": 8,
|
|
"profile_title": "Aut non repudiandae fugit.",
|
|
"ref_id": "xccdf_org.ssgproject.content_profile_eb5c6e9052a3054da5227a86219864f7",
|
|
"all_systems_exposed": true,
|
|
"percent_compliant": 25,
|
|
"assigned_system_count": 4,
|
|
"compliant_system_count": 1,
|
|
"unsupported_system_count": 2,
|
|
"reported_system_count": 4
|
|
},
|
|
{
|
|
"id": "ea561199-7a13-4a2d-960b-be7e104eb3fc",
|
|
"title": "Ratione molestiae modi iusto.",
|
|
"description": "Quod ut ea. Tempora eveniet repellat. At veniam vel.",
|
|
"business_objective": "protocol",
|
|
"compliance_threshold": 90.0,
|
|
"type": "report",
|
|
"os_major_version": 8,
|
|
"profile_title": "Sit aut et ea.",
|
|
"ref_id": "xccdf_org.ssgproject.content_profile_ac0b83d0098cee866705880c0735c487",
|
|
"all_systems_exposed": true,
|
|
"percent_compliant": 25,
|
|
"assigned_system_count": 4,
|
|
"compliant_system_count": 1,
|
|
"unsupported_system_count": 2,
|
|
"reported_system_count": 4
|
|
}
|
|
],
|
|
"meta": {
|
|
"total": 5,
|
|
"limit": 10,
|
|
"offset": 0,
|
|
"sort_by": "os_major_version"
|
|
},
|
|
"links": {
|
|
"first": "/api/compliance/v2/reports?limit=10&offset=0&sort_by=os_major_version",
|
|
"last": "/api/compliance/v2/reports?limit=10&offset=0&sort_by=os_major_version"
|
|
}
|
|
},
|
|
"summary": "",
|
|
"description": ""
|
|
}
|
|
},
|
|
"schema": {
|
|
"type": "object",
|
|
"properties": {
|
|
"meta": {
|
|
"$ref": "#/components/schemas/metadata"
|
|
},
|
|
"links": {
|
|
"$ref": "#/components/schemas/links"
|
|
},
|
|
"data": {
|
|
"type": "array",
|
|
"items": {
|
|
"properties": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/report"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"422": {
|
|
"description": "Returns with Unprocessable Content",
|
|
"content": {
|
|
"application/vnd.api+json": {
|
|
"examples": {
|
|
"Description of an error when sorting by incorrect parameter": {
|
|
"value": {
|
|
"errors": [
|
|
"Result cannot be sorted by the 'description' column."
|
|
]
|
|
},
|
|
"summary": "",
|
|
"description": ""
|
|
},
|
|
"Description of an error when requesting higher limit than supported": {
|
|
"value": {
|
|
"errors": [
|
|
"Invalid parameter: limit must be less than or equal to 100"
|
|
]
|
|
},
|
|
"summary": "",
|
|
"description": ""
|
|
}
|
|
},
|
|
"schema": {
|
|
"$ref": "#/components/schemas/errors"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"/reports/os_versions": {
|
|
"get": {
|
|
"summary": "Request the list of available OS versions",
|
|
"parameters": [
|
|
{
|
|
"name": "X-RH-IDENTITY",
|
|
"in": "header",
|
|
"schema": {
|
|
"type": "string"
|
|
},
|
|
"description": "For internal use only"
|
|
},
|
|
{
|
|
"name": "filter",
|
|
"in": "query",
|
|
"required": false,
|
|
"description": "Query string to filter items by their attributes. Compliant with <a href=\"https://github.com/wvanbergen/scoped_search/wiki/Query-language\" target=\"_blank\" title=\"github.com/wvanbergen/scoped_search\">scoped_search query language</a>. However, only `=` or `!=` (resp. `<>`) operators are supported.<br><br>Reports are searchable using attributes `title`, `os_major_version`, and `with_reported_systems`<br><br>(e.g.: `(field_1=something AND field_2!=\"something else\") OR field_3>40`)",
|
|
"schema": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
],
|
|
"tags": [
|
|
"Reports"
|
|
],
|
|
"description": "This feature is exclusively used by the frontend",
|
|
"operationId": "ReportsOS",
|
|
"deprecated": true,
|
|
"responses": {
|
|
"200": {
|
|
"description": "Lists available OS versions",
|
|
"content": {
|
|
"application/vnd.api+json": {
|
|
"examples": {
|
|
"List of available OS versions": {
|
|
"value": [],
|
|
"summary": "",
|
|
"description": ""
|
|
}
|
|
},
|
|
"schema": {
|
|
"type": "array",
|
|
"items": {
|
|
"type": "integer"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"/reports/{report_id}": {
|
|
"get": {
|
|
"summary": "Request a Report",
|
|
"parameters": [
|
|
{
|
|
"name": "X-RH-IDENTITY",
|
|
"in": "header",
|
|
"schema": {
|
|
"type": "string"
|
|
},
|
|
"description": "For internal use only"
|
|
},
|
|
{
|
|
"name": "report_id",
|
|
"in": "path",
|
|
"required": true,
|
|
"schema": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
],
|
|
"tags": [
|
|
"Reports"
|
|
],
|
|
"description": "Returns a Report",
|
|
"operationId": "Report",
|
|
"responses": {
|
|
"200": {
|
|
"description": "Returns a Report",
|
|
"content": {
|
|
"application/vnd.api+json": {
|
|
"examples": {
|
|
"Returns a Report": {
|
|
"value": {
|
|
"data": {
|
|
"id": "733d3c7b-6ae5-4097-932b-982596d454c3",
|
|
"title": "Culpa nemo in est.",
|
|
"description": "Explicabo aut vero. Eos cumque quas. Reprehenderit cumque quia.",
|
|
"business_objective": "panel",
|
|
"compliance_threshold": 90.0,
|
|
"type": "report",
|
|
"os_major_version": 9,
|
|
"profile_title": "Fuga inventore voluptas vel.",
|
|
"ref_id": "xccdf_org.ssgproject.content_profile_162572d06263ab889d476c363004e53f",
|
|
"all_systems_exposed": true,
|
|
"percent_compliant": 25,
|
|
"assigned_system_count": 4,
|
|
"compliant_system_count": 1,
|
|
"unsupported_system_count": 2,
|
|
"reported_system_count": 4
|
|
}
|
|
},
|
|
"summary": "",
|
|
"description": ""
|
|
}
|
|
},
|
|
"schema": {
|
|
"type": "object",
|
|
"properties": {
|
|
"data": {
|
|
"type": "object",
|
|
"properties": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/report"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"404": {
|
|
"description": "Returns with Not Found",
|
|
"content": {
|
|
"application/vnd.api+json": {
|
|
"examples": {
|
|
"Description of an error when requesting a non-existing Report": {
|
|
"value": {
|
|
"errors": [
|
|
"V2::Report not found with ID 35a6e9e7-b6fb-4205-afb5-fcad74eb1da6"
|
|
]
|
|
},
|
|
"summary": "",
|
|
"description": ""
|
|
}
|
|
},
|
|
"schema": {
|
|
"$ref": "#/components/schemas/errors"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"delete": {
|
|
"summary": "Delete a Report results",
|
|
"parameters": [
|
|
{
|
|
"name": "X-RH-IDENTITY",
|
|
"in": "header",
|
|
"schema": {
|
|
"type": "string"
|
|
},
|
|
"description": "For internal use only"
|
|
},
|
|
{
|
|
"name": "report_id",
|
|
"in": "path",
|
|
"required": true,
|
|
"schema": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
],
|
|
"tags": [
|
|
"Reports"
|
|
],
|
|
"description": "Deletes Report's test results",
|
|
"operationId": "DeleteReport",
|
|
"responses": {
|
|
"202": {
|
|
"description": "Deletes Report's test results",
|
|
"content": {
|
|
"application/vnd.api+json": {
|
|
"examples": {
|
|
"Deletes Report's test results": {
|
|
"value": {
|
|
"data": {
|
|
"id": "362d86d0-2add-4726-afd3-cfacd9dca22b",
|
|
"title": "Temporibus ea sequi voluptatem.",
|
|
"description": "Voluptatem at blanditiis. Ratione corporis ut. Rerum eum porro.",
|
|
"business_objective": "capacitor",
|
|
"compliance_threshold": 90.0,
|
|
"type": "report",
|
|
"os_major_version": 9,
|
|
"profile_title": "Excepturi explicabo quasi at.",
|
|
"ref_id": "xccdf_org.ssgproject.content_profile_0e70e9be33d19ecf9d173b27ff392276",
|
|
"all_systems_exposed": true,
|
|
"percent_compliant": 25,
|
|
"assigned_system_count": 4,
|
|
"compliant_system_count": 1,
|
|
"unsupported_system_count": 2,
|
|
"reported_system_count": 4
|
|
}
|
|
},
|
|
"summary": "",
|
|
"description": ""
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"/reports/{report_id}/stats": {
|
|
"get": {
|
|
"summary": "Request detailed stats for a Report",
|
|
"parameters": [
|
|
{
|
|
"name": "X-RH-IDENTITY",
|
|
"in": "header",
|
|
"schema": {
|
|
"type": "string"
|
|
},
|
|
"description": "For internal use only"
|
|
},
|
|
{
|
|
"name": "report_id",
|
|
"in": "path",
|
|
"required": true,
|
|
"schema": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
],
|
|
"tags": [
|
|
"Reports"
|
|
],
|
|
"description": "Returns detailed stats for a Report",
|
|
"deprecated": true,
|
|
"operationId": "ReportStats",
|
|
"responses": {
|
|
"200": {
|
|
"description": "Returns detailed stats for a Report",
|
|
"content": {
|
|
"application/vnd.api+json": {
|
|
"examples": {
|
|
"Returns detailed stats for a Report": {
|
|
"value": {
|
|
"top_failed_rules": []
|
|
},
|
|
"summary": "",
|
|
"description": ""
|
|
}
|
|
},
|
|
"schema": {
|
|
"type": "object",
|
|
"properties": {
|
|
"data": {
|
|
"type": "object",
|
|
"properties": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/report_stats"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"404": {
|
|
"description": "Returns with Not Found",
|
|
"content": {
|
|
"application/vnd.api+json": {
|
|
"examples": {
|
|
"Description of an error when requesting a non-existing Report": {
|
|
"value": {
|
|
"errors": [
|
|
"V2::Report not found with ID c570c781-5cdd-43bb-99e1-1a7eee792c5a"
|
|
]
|
|
},
|
|
"summary": "",
|
|
"description": ""
|
|
}
|
|
},
|
|
"schema": {
|
|
"$ref": "#/components/schemas/errors"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"/systems/{system_id}/reports": {
|
|
"get": {
|
|
"summary": "Request Reports",
|
|
"parameters": [
|
|
{
|
|
"name": "X-RH-IDENTITY",
|
|
"in": "header",
|
|
"schema": {
|
|
"type": "string"
|
|
},
|
|
"description": "For internal use only"
|
|
},
|
|
{
|
|
"name": "limit",
|
|
"in": "query",
|
|
"required": false,
|
|
"description": "Number of items to return per page",
|
|
"schema": {
|
|
"type": "number",
|
|
"maximum": 100,
|
|
"minimum": 1,
|
|
"default": 10
|
|
}
|
|
},
|
|
{
|
|
"name": "offset",
|
|
"in": "query",
|
|
"required": false,
|
|
"description": "Offset of first item of paginated response",
|
|
"schema": {
|
|
"type": "integer",
|
|
"minimum": 0,
|
|
"default": 0
|
|
}
|
|
},
|
|
{
|
|
"name": "ids_only",
|
|
"in": "query",
|
|
"required": false,
|
|
"description": "Indicates whether to return only resource IDs.",
|
|
"schema": {
|
|
"type": "boolean"
|
|
}
|
|
},
|
|
{
|
|
"name": "sort_by",
|
|
"in": "query",
|
|
"required": false,
|
|
"description": "Attribute and direction to sort the items by. Represented by an array of fields with an optional direction (`<key>:asc` or `<key>:desc`).<br><br>If no direction is selected, `<key>:asc` is used by default.",
|
|
"schema": {
|
|
"type": "array",
|
|
"items": {
|
|
"enum": [
|
|
"title",
|
|
"business_objective",
|
|
"compliance_threshold",
|
|
"percent_compliant",
|
|
"title:asc",
|
|
"title:desc",
|
|
"business_objective:asc",
|
|
"business_objective:desc",
|
|
"compliance_threshold:asc",
|
|
"compliance_threshold:desc",
|
|
"percent_compliant:asc",
|
|
"percent_compliant:desc"
|
|
]
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"name": "filter",
|
|
"in": "query",
|
|
"required": false,
|
|
"description": "Query string to filter items by their attributes. Compliant with <a href=\"https://github.com/wvanbergen/scoped_search/wiki/Query-language\" target=\"_blank\" title=\"github.com/wvanbergen/scoped_search\">scoped_search query language</a>. However, only `=` or `!=` (resp. `<>`) operators are supported.<br><br>Reports are searchable using attributes `title`<br><br>(e.g.: `(field_1=something AND field_2!=\"something else\") OR field_3>40`)",
|
|
"schema": {
|
|
"type": "string"
|
|
}
|
|
},
|
|
{
|
|
"name": "system_id",
|
|
"in": "path",
|
|
"required": true,
|
|
"schema": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
],
|
|
"tags": [
|
|
"Reports"
|
|
],
|
|
"description": "Lists Reports",
|
|
"operationId": "SystemReports",
|
|
"responses": {
|
|
"200": {
|
|
"description": "Lists Reports",
|
|
"content": {
|
|
"application/vnd.api+json": {
|
|
"examples": {
|
|
"List of Reports": {
|
|
"value": {
|
|
"data": [
|
|
{
|
|
"id": "774fbf8f-c9e1-4da1-b5d9-b024394027e7",
|
|
"title": "Sit corporis et saepe.",
|
|
"description": "Est praesentium odio. Et quidem dolores. Inventore aliquam et.",
|
|
"business_objective": "microchip",
|
|
"compliance_threshold": 90.0,
|
|
"type": "report",
|
|
"os_major_version": 8,
|
|
"profile_title": "Exercitationem in qui enim.",
|
|
"ref_id": "xccdf_org.ssgproject.content_profile_a3770ebf0151cff5f7ec16bbb8d7fc82",
|
|
"all_systems_exposed": false,
|
|
"percent_compliant": 0,
|
|
"compliant_system_count": 0,
|
|
"unsupported_system_count": 0,
|
|
"reported_system_count": 0
|
|
},
|
|
{
|
|
"id": "9d8d379e-255a-4910-9c93-5379f14558e5",
|
|
"title": "Nostrum velit in dolor.",
|
|
"description": "Quaerat deleniti non. Amet qui cumque. Quisquam sit ut.",
|
|
"business_objective": "matrix",
|
|
"compliance_threshold": 90.0,
|
|
"type": "report",
|
|
"os_major_version": 8,
|
|
"profile_title": "Nam officiis quasi ipsa.",
|
|
"ref_id": "xccdf_org.ssgproject.content_profile_45354db6a95c90404bdfbbb678a316e2",
|
|
"all_systems_exposed": false,
|
|
"percent_compliant": 0,
|
|
"compliant_system_count": 0,
|
|
"unsupported_system_count": 0,
|
|
"reported_system_count": 0
|
|
},
|
|
{
|
|
"id": "b7982815-a9ec-4022-95ce-243cf5532e35",
|
|
"title": "Dicta quis cumque suscipit.",
|
|
"description": "Perferendis natus voluptate. Amet tempora sapiente. Laudantium voluptate fugiat.",
|
|
"business_objective": "alarm",
|
|
"compliance_threshold": 90.0,
|
|
"type": "report",
|
|
"os_major_version": 8,
|
|
"profile_title": "Hic ut provident molestiae.",
|
|
"ref_id": "xccdf_org.ssgproject.content_profile_2717d99e9a19287399d426a3a2a98ed4",
|
|
"all_systems_exposed": false,
|
|
"percent_compliant": 0,
|
|
"compliant_system_count": 0,
|
|
"unsupported_system_count": 0,
|
|
"reported_system_count": 0
|
|
},
|
|
{
|
|
"id": "c149fc61-0bf5-4925-bbab-c573185075df",
|
|
"title": "Vel aut quia tempora.",
|
|
"description": "Quos nobis rerum. Autem et minima. Assumenda numquam consequuntur.",
|
|
"business_objective": "hard drive",
|
|
"compliance_threshold": 90.0,
|
|
"type": "report",
|
|
"os_major_version": 8,
|
|
"profile_title": "Itaque totam temporibus nostrum.",
|
|
"ref_id": "xccdf_org.ssgproject.content_profile_8132b15b6d9d8b11cff99fe7c903bc0d",
|
|
"all_systems_exposed": false,
|
|
"percent_compliant": 0,
|
|
"compliant_system_count": 0,
|
|
"unsupported_system_count": 0,
|
|
"reported_system_count": 0
|
|
},
|
|
{
|
|
"id": "eead5c4e-db8f-4273-bc20-4d8951521cd1",
|
|
"title": "Autem molestias alias distinctio.",
|
|
"description": "Cumque et sint. Sunt eos quasi. Dolores perferendis adipisci.",
|
|
"business_objective": "feed",
|
|
"compliance_threshold": 90.0,
|
|
"type": "report",
|
|
"os_major_version": 8,
|
|
"profile_title": "Omnis quidem nemo minima.",
|
|
"ref_id": "xccdf_org.ssgproject.content_profile_e20d816aa9736ed08e6f9de525c1aeab",
|
|
"all_systems_exposed": false,
|
|
"percent_compliant": 0,
|
|
"compliant_system_count": 0,
|
|
"unsupported_system_count": 0,
|
|
"reported_system_count": 0
|
|
}
|
|
],
|
|
"meta": {
|
|
"total": 5,
|
|
"limit": 10,
|
|
"offset": 0
|
|
},
|
|
"links": {
|
|
"first": "/api/compliance/v2/systems/a5f849c3-d55d-4447-bcdf-3c9985080bc5/reports?limit=10&offset=0",
|
|
"last": "/api/compliance/v2/systems/a5f849c3-d55d-4447-bcdf-3c9985080bc5/reports?limit=10&offset=0"
|
|
}
|
|
},
|
|
"summary": "",
|
|
"description": ""
|
|
},
|
|
"List of Reports sorted by \"title:asc\"": {
|
|
"value": {
|
|
"data": [
|
|
{
|
|
"id": "02297b72-d946-40a5-8601-87c31dd5be4c",
|
|
"title": "Exercitationem qui consequuntur odio.",
|
|
"description": "Recusandae consequatur sunt. Est optio vel. Quis rerum similique.",
|
|
"business_objective": "capacitor",
|
|
"compliance_threshold": 90.0,
|
|
"type": "report",
|
|
"os_major_version": 8,
|
|
"profile_title": "Id eaque quidem dicta.",
|
|
"ref_id": "xccdf_org.ssgproject.content_profile_48a32a2d5378fe246f9dea9c30fdfbb9",
|
|
"all_systems_exposed": false,
|
|
"percent_compliant": 0,
|
|
"compliant_system_count": 0,
|
|
"unsupported_system_count": 0,
|
|
"reported_system_count": 0
|
|
},
|
|
{
|
|
"id": "89fb88df-6b5e-4165-99b3-08689aff0c2b",
|
|
"title": "Ipsam eius numquam porro.",
|
|
"description": "Eius nostrum consequuntur. Nulla est dolores. Aut eum odio.",
|
|
"business_objective": "feed",
|
|
"compliance_threshold": 90.0,
|
|
"type": "report",
|
|
"os_major_version": 8,
|
|
"profile_title": "Doloremque est maiores voluptate.",
|
|
"ref_id": "xccdf_org.ssgproject.content_profile_40081f57ad45ad986751585e85ed86fd",
|
|
"all_systems_exposed": false,
|
|
"percent_compliant": 0,
|
|
"compliant_system_count": 0,
|
|
"unsupported_system_count": 0,
|
|
"reported_system_count": 0
|
|
},
|
|
{
|
|
"id": "3c0b4470-c36d-40e3-91fc-452125c974af",
|
|
"title": "Iusto voluptatem recusandae earum.",
|
|
"description": "Cumque aut et. Aspernatur dicta expedita. Ut laborum quo.",
|
|
"business_objective": "firewall",
|
|
"compliance_threshold": 90.0,
|
|
"type": "report",
|
|
"os_major_version": 8,
|
|
"profile_title": "Accusantium officia repellendus voluptatibus.",
|
|
"ref_id": "xccdf_org.ssgproject.content_profile_212f390af20965b4572b90640278f02f",
|
|
"all_systems_exposed": false,
|
|
"percent_compliant": 0,
|
|
"compliant_system_count": 0,
|
|
"unsupported_system_count": 0,
|
|
"reported_system_count": 0
|
|
},
|
|
{
|
|
"id": "88b011b5-24b1-4e04-a77d-6fa6bb63e6a3",
|
|
"title": "Nostrum voluptates rerum qui.",
|
|
"description": "Quae repudiandae id. Quia est ut. Officia ut quaerat.",
|
|
"business_objective": "microchip",
|
|
"compliance_threshold": 90.0,
|
|
"type": "report",
|
|
"os_major_version": 8,
|
|
"profile_title": "Consequatur aut repellendus repellat.",
|
|
"ref_id": "xccdf_org.ssgproject.content_profile_0c8dff93f2cb668967e8320ef2031f34",
|
|
"all_systems_exposed": false,
|
|
"percent_compliant": 0,
|
|
"compliant_system_count": 0,
|
|
"unsupported_system_count": 0,
|
|
"reported_system_count": 0
|
|
},
|
|
{
|
|
"id": "5396a9e8-fed3-45c2-8fe3-70aee7e5a2b8",
|
|
"title": "Quaerat sit aut quidem.",
|
|
"description": "Omnis labore illum. Modi harum voluptatum. Eveniet excepturi ab.",
|
|
"business_objective": "system",
|
|
"compliance_threshold": 90.0,
|
|
"type": "report",
|
|
"os_major_version": 8,
|
|
"profile_title": "Quos delectus nam error.",
|
|
"ref_id": "xccdf_org.ssgproject.content_profile_a9793eed7d1430fbf8782f123782e4e8",
|
|
"all_systems_exposed": false,
|
|
"percent_compliant": 0,
|
|
"compliant_system_count": 0,
|
|
"unsupported_system_count": 0,
|
|
"reported_system_count": 0
|
|
}
|
|
],
|
|
"meta": {
|
|
"total": 5,
|
|
"limit": 10,
|
|
"offset": 0,
|
|
"sort_by": "title"
|
|
},
|
|
"links": {
|
|
"first": "/api/compliance/v2/systems/19f5303e-5b03-4556-875e-0b5c37f0e524/reports?limit=10&offset=0&sort_by=title",
|
|
"last": "/api/compliance/v2/systems/19f5303e-5b03-4556-875e-0b5c37f0e524/reports?limit=10&offset=0&sort_by=title"
|
|
}
|
|
},
|
|
"summary": "",
|
|
"description": ""
|
|
}
|
|
},
|
|
"schema": {
|
|
"type": "object",
|
|
"properties": {
|
|
"meta": {
|
|
"$ref": "#/components/schemas/metadata"
|
|
},
|
|
"links": {
|
|
"$ref": "#/components/schemas/links"
|
|
},
|
|
"data": {
|
|
"type": "array",
|
|
"items": {
|
|
"properties": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/report"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"422": {
|
|
"description": "Returns with Unprocessable Content",
|
|
"content": {
|
|
"application/vnd.api+json": {
|
|
"examples": {
|
|
"Description of an error when sorting by incorrect parameter": {
|
|
"value": {
|
|
"errors": [
|
|
"Result cannot be sorted by the 'description' column."
|
|
]
|
|
},
|
|
"summary": "",
|
|
"description": ""
|
|
},
|
|
"Description of an error when requesting higher limit than supported": {
|
|
"value": {
|
|
"errors": [
|
|
"Invalid parameter: limit must be less than or equal to 100"
|
|
]
|
|
},
|
|
"summary": "",
|
|
"description": ""
|
|
}
|
|
},
|
|
"schema": {
|
|
"$ref": "#/components/schemas/errors"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"/security_guides/{security_guide_id}/rule_groups": {
|
|
"get": {
|
|
"summary": "Request Rule Groups",
|
|
"parameters": [
|
|
{
|
|
"name": "X-RH-IDENTITY",
|
|
"in": "header",
|
|
"schema": {
|
|
"type": "string"
|
|
},
|
|
"description": "For internal use only"
|
|
},
|
|
{
|
|
"name": "limit",
|
|
"in": "query",
|
|
"required": false,
|
|
"description": "Number of items to return per page",
|
|
"schema": {
|
|
"type": "number",
|
|
"maximum": 100,
|
|
"minimum": 1,
|
|
"default": 10
|
|
}
|
|
},
|
|
{
|
|
"name": "offset",
|
|
"in": "query",
|
|
"required": false,
|
|
"description": "Offset of first item of paginated response",
|
|
"schema": {
|
|
"type": "integer",
|
|
"minimum": 0,
|
|
"default": 0
|
|
}
|
|
},
|
|
{
|
|
"name": "ids_only",
|
|
"in": "query",
|
|
"required": false,
|
|
"description": "Indicates whether to return only resource IDs.",
|
|
"schema": {
|
|
"type": "boolean"
|
|
}
|
|
},
|
|
{
|
|
"name": "sort_by",
|
|
"in": "query",
|
|
"required": false,
|
|
"description": "Attribute and direction to sort the items by. Represented by an array of fields with an optional direction (`<key>:asc` or `<key>:desc`).<br><br>If no direction is selected, `<key>:asc` is used by default.",
|
|
"schema": {
|
|
"type": "array",
|
|
"items": {
|
|
"enum": [
|
|
"precedence",
|
|
"precedence:asc",
|
|
"precedence:desc"
|
|
]
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"name": "filter",
|
|
"in": "query",
|
|
"required": false,
|
|
"description": "Query string to filter items by their attributes. Compliant with <a href=\"https://github.com/wvanbergen/scoped_search/wiki/Query-language\" target=\"_blank\" title=\"github.com/wvanbergen/scoped_search\">scoped_search query language</a>. However, only `=` or `!=` (resp. `<>`) operators are supported.<br><br>Rule Groups are searchable using attributes `title` and `ref_id`<br><br>(e.g.: `(field_1=something AND field_2!=\"something else\") OR field_3>40`)",
|
|
"schema": {
|
|
"type": "string"
|
|
}
|
|
},
|
|
{
|
|
"name": "security_guide_id",
|
|
"in": "path",
|
|
"required": true,
|
|
"schema": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
],
|
|
"tags": [
|
|
"Content"
|
|
],
|
|
"description": "Lists Rule Groups",
|
|
"operationId": "Rule Groups",
|
|
"responses": {
|
|
"200": {
|
|
"description": "Lists Rule Groups",
|
|
"content": {
|
|
"application/vnd.api+json": {
|
|
"examples": {
|
|
"List of Rule Groups": {
|
|
"value": {
|
|
"data": [
|
|
{
|
|
"id": "035d37a2-01e6-44be-8926-afdc99af3748",
|
|
"ref_id": "xccdf_org.ssgproject.content_rule_group_6a86f4abc0af5b0e4810570df8f6e318",
|
|
"title": "Nam et esse id.",
|
|
"rationale": "Ut eius dolor. Dolorem omnis magni. Et ducimus suscipit.",
|
|
"description": "Vitae sunt dolores. Nihil autem hic. Aut consequatur odit.",
|
|
"precedence": null,
|
|
"type": "rule_group"
|
|
},
|
|
{
|
|
"id": "07c2273f-71a9-4fb2-a756-d695f0348d52",
|
|
"ref_id": "xccdf_org.ssgproject.content_rule_group_b22908fbe5787dd8d1d72ed66ea2e8bd",
|
|
"title": "Error praesentium aut sed.",
|
|
"rationale": "Sunt ut laborum. Aliquid incidunt excepturi. Voluptatem cum voluptatem.",
|
|
"description": "Ducimus repellendus aliquid. Quia et placeat. Expedita id asperiores.",
|
|
"precedence": null,
|
|
"type": "rule_group"
|
|
},
|
|
{
|
|
"id": "2181eb64-b2d7-4d81-98f5-1e02b33c50be",
|
|
"ref_id": "xccdf_org.ssgproject.content_rule_group_e96a17b2a8d85f65dfeb2815b1c5b05e",
|
|
"title": "Aut voluptatem odio excepturi.",
|
|
"rationale": "Nulla aut culpa. Excepturi voluptatem ex. Similique voluptate dicta.",
|
|
"description": "Dolorum dolore veritatis. Qui labore autem. Voluptatem eos natus.",
|
|
"precedence": null,
|
|
"type": "rule_group"
|
|
},
|
|
{
|
|
"id": "23785e0f-c97b-4d25-a330-6fa45d27bf8c",
|
|
"ref_id": "xccdf_org.ssgproject.content_rule_group_0e18bb6750a942cf19116b4dc8a2a801",
|
|
"title": "In ipsam harum hic.",
|
|
"rationale": "Sit temporibus minus. Voluptate enim inventore. Vel cumque et.",
|
|
"description": "Aut qui et. Quia ad qui. Unde similique aperiam.",
|
|
"precedence": null,
|
|
"type": "rule_group"
|
|
},
|
|
{
|
|
"id": "2d98bebe-7d32-423c-8d74-7261681dde94",
|
|
"ref_id": "xccdf_org.ssgproject.content_rule_group_69d3757af1c6bec8b7828701f6e31641",
|
|
"title": "Voluptas saepe necessitatibus et.",
|
|
"rationale": "Ab quis blanditiis. Commodi sapiente et. Atque blanditiis nam.",
|
|
"description": "Reprehenderit qui maxime. Sunt libero molestiae. Aliquid voluptatum culpa.",
|
|
"precedence": null,
|
|
"type": "rule_group"
|
|
},
|
|
{
|
|
"id": "3aa6aa0d-5dde-42a2-8c43-814c4667badd",
|
|
"ref_id": "xccdf_org.ssgproject.content_rule_group_93800a6eb0c3fff778a0c1b4242ef830",
|
|
"title": "Molestiae corporis eveniet quo.",
|
|
"rationale": "Alias odit iste. Magni eius aliquam. Id esse distinctio.",
|
|
"description": "Aspernatur quia nobis. Et ea vero. Blanditiis similique distinctio.",
|
|
"precedence": null,
|
|
"type": "rule_group"
|
|
},
|
|
{
|
|
"id": "3fbd9f07-1349-46a9-b5c4-c44b46b5abbf",
|
|
"ref_id": "xccdf_org.ssgproject.content_rule_group_d8d7ca92d7c1ad1c39152e39509a7fcc",
|
|
"title": "Sit et eos quia.",
|
|
"rationale": "Recusandae quis natus. Qui sunt est. Sed sint qui.",
|
|
"description": "Neque adipisci et. Reiciendis et eligendi. Placeat totam voluptatibus.",
|
|
"precedence": null,
|
|
"type": "rule_group"
|
|
},
|
|
{
|
|
"id": "4036b65d-1ea4-44ee-8bd4-c364f9127e60",
|
|
"ref_id": "xccdf_org.ssgproject.content_rule_group_f28c9e8cf14f8f104a5bf6c1e1a251e0",
|
|
"title": "Aperiam quae et qui.",
|
|
"rationale": "Reprehenderit blanditiis id. Culpa nihil occaecati. Nihil libero consequatur.",
|
|
"description": "Fuga omnis quia. Beatae in laboriosam. Ipsum commodi culpa.",
|
|
"precedence": null,
|
|
"type": "rule_group"
|
|
},
|
|
{
|
|
"id": "52e42925-949a-4583-a109-57cd4f8f9e15",
|
|
"ref_id": "xccdf_org.ssgproject.content_rule_group_ff33ec07af6a653464bc8f6a43757c5d",
|
|
"title": "Nisi consequatur aspernatur magni.",
|
|
"rationale": "Sed ut a. Velit et enim. Perferendis quibusdam eligendi.",
|
|
"description": "Cumque voluptatem ut. Rerum dolores iure. Occaecati quasi et.",
|
|
"precedence": null,
|
|
"type": "rule_group"
|
|
},
|
|
{
|
|
"id": "56bc0c1a-6f0d-4d44-843a-5ad7f34ac400",
|
|
"ref_id": "xccdf_org.ssgproject.content_rule_group_4b26616f80f3eac608d044874a92f3c9",
|
|
"title": "Id dolores inventore iusto.",
|
|
"rationale": "Non consequatur dolores. Consequuntur alias et. Perferendis distinctio nulla.",
|
|
"description": "Et exercitationem in. Consequatur et facilis. Officiis porro voluptas.",
|
|
"precedence": null,
|
|
"type": "rule_group"
|
|
}
|
|
],
|
|
"meta": {
|
|
"total": 25,
|
|
"limit": 10,
|
|
"offset": 0
|
|
},
|
|
"links": {
|
|
"first": "/api/compliance/v2/security_guides/b3f1723a-b00e-4e4a-8af5-4cb86d60542f/rule_groups?limit=10&offset=0",
|
|
"last": "/api/compliance/v2/security_guides/b3f1723a-b00e-4e4a-8af5-4cb86d60542f/rule_groups?limit=10&offset=20",
|
|
"next": "/api/compliance/v2/security_guides/b3f1723a-b00e-4e4a-8af5-4cb86d60542f/rule_groups?limit=10&offset=10"
|
|
}
|
|
},
|
|
"summary": "",
|
|
"description": ""
|
|
},
|
|
"List of Rule Groups sorted by \"precedence:asc\"": {
|
|
"value": {
|
|
"data": [
|
|
{
|
|
"id": "04b6bbac-e8e8-432e-8a48-37058d8ad474",
|
|
"ref_id": "xccdf_org.ssgproject.content_rule_group_fc778d5de1db33d5cbcc086680ecb56c",
|
|
"title": "Doloribus vel porro magnam.",
|
|
"rationale": "Voluptatem assumenda veniam. Minus et aspernatur. Suscipit eum est.",
|
|
"description": "Qui fuga voluptas. Et illum eveniet. Pariatur est quis.",
|
|
"precedence": null,
|
|
"type": "rule_group"
|
|
},
|
|
{
|
|
"id": "087a1edc-246e-4184-8681-5a9a292096f1",
|
|
"ref_id": "xccdf_org.ssgproject.content_rule_group_c2913fc95e668ee8589d6b77d182bced",
|
|
"title": "Debitis harum molestiae incidunt.",
|
|
"rationale": "Et et odio. Ab dolores sit. Hic blanditiis numquam.",
|
|
"description": "Voluptas vel sit. Nihil quod iure. Dolore doloremque explicabo.",
|
|
"precedence": null,
|
|
"type": "rule_group"
|
|
},
|
|
{
|
|
"id": "08b62893-dd14-4617-8d74-f03b878d5389",
|
|
"ref_id": "xccdf_org.ssgproject.content_rule_group_8ed1dce31c9c5b716d858f8449dd2dc6",
|
|
"title": "Libero dolores esse rerum.",
|
|
"rationale": "Voluptatem ut error. Voluptatem alias qui. Eos rerum et.",
|
|
"description": "Ab et reiciendis. Officia repellat autem. Sed nesciunt incidunt.",
|
|
"precedence": null,
|
|
"type": "rule_group"
|
|
},
|
|
{
|
|
"id": "0d775c6b-2a42-451c-bae2-932b302d414b",
|
|
"ref_id": "xccdf_org.ssgproject.content_rule_group_9a7f2305c4302d7d5556d73983e98bd1",
|
|
"title": "Commodi non illum sed.",
|
|
"rationale": "Magnam rerum sit. Nihil amet cupiditate. Deserunt placeat ullam.",
|
|
"description": "Aut voluptatem accusamus. Nam in est. Voluptas asperiores autem.",
|
|
"precedence": null,
|
|
"type": "rule_group"
|
|
},
|
|
{
|
|
"id": "11c9b154-a436-4d3e-b338-4c33b5b5b811",
|
|
"ref_id": "xccdf_org.ssgproject.content_rule_group_ce81e9ad1b4868133e2648a763f4436b",
|
|
"title": "Dolorem sequi autem voluptatem.",
|
|
"rationale": "Consequatur aut aut. Consequatur debitis rerum. Rem mollitia numquam.",
|
|
"description": "Consectetur ipsa expedita. Corporis modi rerum. Cum ipsum facere.",
|
|
"precedence": null,
|
|
"type": "rule_group"
|
|
},
|
|
{
|
|
"id": "127ce28e-51d1-4961-9950-5741df6a2b7c",
|
|
"ref_id": "xccdf_org.ssgproject.content_rule_group_2fdf29f3173cfe2e8b4fd79bc28e50b0",
|
|
"title": "Et et tenetur aperiam.",
|
|
"rationale": "Quam consequuntur quis. Quo aut in. Neque illo nobis.",
|
|
"description": "Harum sint dignissimos. Dicta aliquid tenetur. Deserunt modi est.",
|
|
"precedence": null,
|
|
"type": "rule_group"
|
|
},
|
|
{
|
|
"id": "16d8b781-2153-4ba6-9798-9fc52608e077",
|
|
"ref_id": "xccdf_org.ssgproject.content_rule_group_b5a1083415452425e087e02b3f2e23a6",
|
|
"title": "Ipsa ex veniam ut.",
|
|
"rationale": "Ut aperiam eveniet. Sequi voluptatem provident. Id sed aut.",
|
|
"description": "Aut aperiam velit. Nobis vitae eum. Commodi est delectus.",
|
|
"precedence": null,
|
|
"type": "rule_group"
|
|
},
|
|
{
|
|
"id": "319091f8-98ac-475a-93e1-036ffa6953bf",
|
|
"ref_id": "xccdf_org.ssgproject.content_rule_group_5ab5060e972f32b7bbacfb2b7ffc77b8",
|
|
"title": "Eum numquam ducimus aut.",
|
|
"rationale": "Dolorem officia quidem. Enim eaque animi. Aut modi ipsum.",
|
|
"description": "Quia molestiae natus. Rem necessitatibus earum. Ut ratione inventore.",
|
|
"precedence": null,
|
|
"type": "rule_group"
|
|
},
|
|
{
|
|
"id": "34150b0c-a794-4b33-8ef7-d376fd5cb6c5",
|
|
"ref_id": "xccdf_org.ssgproject.content_rule_group_93512edfd308ad4969c6e24b02b124f4",
|
|
"title": "Vitae et voluptates amet.",
|
|
"rationale": "Sed porro voluptatem. Quis vel accusamus. Eaque dolorem asperiores.",
|
|
"description": "Atque necessitatibus ad. Alias provident at. Provident deserunt quidem.",
|
|
"precedence": null,
|
|
"type": "rule_group"
|
|
},
|
|
{
|
|
"id": "39aad27e-357c-45c9-85d5-48afa85e15fc",
|
|
"ref_id": "xccdf_org.ssgproject.content_rule_group_12ed04c5b1314c9e0da66aae1c47d216",
|
|
"title": "Minus voluptates neque distinctio.",
|
|
"rationale": "Soluta consectetur porro. Neque nulla eum. Animi libero assumenda.",
|
|
"description": "Odit qui esse. Optio ad vero. Facilis provident dolor.",
|
|
"precedence": null,
|
|
"type": "rule_group"
|
|
}
|
|
],
|
|
"meta": {
|
|
"total": 25,
|
|
"limit": 10,
|
|
"offset": 0,
|
|
"sort_by": "precedence"
|
|
},
|
|
"links": {
|
|
"first": "/api/compliance/v2/security_guides/4f129718-86dc-48fa-932e-e21963451529/rule_groups?limit=10&offset=0&sort_by=precedence",
|
|
"last": "/api/compliance/v2/security_guides/4f129718-86dc-48fa-932e-e21963451529/rule_groups?limit=10&offset=20&sort_by=precedence",
|
|
"next": "/api/compliance/v2/security_guides/4f129718-86dc-48fa-932e-e21963451529/rule_groups?limit=10&offset=10&sort_by=precedence"
|
|
}
|
|
},
|
|
"summary": "",
|
|
"description": ""
|
|
}
|
|
},
|
|
"schema": {
|
|
"type": "object",
|
|
"properties": {
|
|
"meta": {
|
|
"$ref": "#/components/schemas/metadata"
|
|
},
|
|
"links": {
|
|
"$ref": "#/components/schemas/links"
|
|
},
|
|
"data": {
|
|
"type": "array",
|
|
"items": {
|
|
"properties": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/rule_group"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"422": {
|
|
"description": "Returns with Unprocessable Content",
|
|
"content": {
|
|
"application/vnd.api+json": {
|
|
"examples": {
|
|
"Description of an error when sorting by incorrect parameter": {
|
|
"value": {
|
|
"errors": [
|
|
"Result cannot be sorted by the 'description' column."
|
|
]
|
|
},
|
|
"summary": "",
|
|
"description": ""
|
|
},
|
|
"Description of an error when requesting higher limit than supported": {
|
|
"value": {
|
|
"errors": [
|
|
"Invalid parameter: limit must be less than or equal to 100"
|
|
]
|
|
},
|
|
"summary": "",
|
|
"description": ""
|
|
}
|
|
},
|
|
"schema": {
|
|
"$ref": "#/components/schemas/errors"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"/security_guides/{security_guide_id}/rule_groups/{rule_group_id}": {
|
|
"get": {
|
|
"summary": "Request a Rule Group",
|
|
"parameters": [
|
|
{
|
|
"name": "X-RH-IDENTITY",
|
|
"in": "header",
|
|
"schema": {
|
|
"type": "string"
|
|
},
|
|
"description": "For internal use only"
|
|
},
|
|
{
|
|
"name": "security_guide_id",
|
|
"in": "path",
|
|
"required": true,
|
|
"schema": {
|
|
"type": "string"
|
|
}
|
|
},
|
|
{
|
|
"name": "rule_group_id",
|
|
"in": "path",
|
|
"required": true,
|
|
"schema": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
],
|
|
"tags": [
|
|
"Content"
|
|
],
|
|
"description": "Returns a Rule Group",
|
|
"operationId": "RuleGroup",
|
|
"responses": {
|
|
"200": {
|
|
"description": "Returns a Rule Group",
|
|
"content": {
|
|
"application/vnd.api+json": {
|
|
"examples": {
|
|
"Returns a Rule Group": {
|
|
"value": {
|
|
"data": {
|
|
"id": "b87b0aa6-4973-4c99-b242-2321d95da971",
|
|
"ref_id": "xccdf_org.ssgproject.content_rule_group_d656e66edae8607697e4edb84b2c1cca",
|
|
"title": "Voluptatem assumenda molestiae quo.",
|
|
"rationale": "Cumque quia eligendi. Eius sit omnis. Laboriosam quam nostrum.",
|
|
"description": "Itaque maiores voluptatem. Exercitationem odio voluptas. Perspiciatis enim odit.",
|
|
"precedence": null,
|
|
"type": "rule_group"
|
|
}
|
|
},
|
|
"summary": "",
|
|
"description": ""
|
|
}
|
|
},
|
|
"schema": {
|
|
"type": "object",
|
|
"properties": {
|
|
"data": {
|
|
"type": "object",
|
|
"properties": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/rule_group"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"404": {
|
|
"description": "Returns with Not Found",
|
|
"content": {
|
|
"application/vnd.api+json": {
|
|
"examples": {
|
|
"Description of an error when requesting a non-existing Rule Group": {
|
|
"value": {
|
|
"errors": [
|
|
"V2::RuleGroup not found with ID b016bfd6-91e9-40e7-adde-c8a8e9f7781d"
|
|
]
|
|
},
|
|
"summary": "",
|
|
"description": ""
|
|
}
|
|
},
|
|
"schema": {
|
|
"$ref": "#/components/schemas/errors"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"/reports/{report_id}/test_results/{test_result_id}/rule_results": {
|
|
"get": {
|
|
"summary": "Request Rule Results under a Report",
|
|
"parameters": [
|
|
{
|
|
"name": "X-RH-IDENTITY",
|
|
"in": "header",
|
|
"schema": {
|
|
"type": "string"
|
|
},
|
|
"description": "For internal use only"
|
|
},
|
|
{
|
|
"name": "limit",
|
|
"in": "query",
|
|
"required": false,
|
|
"description": "Number of items to return per page",
|
|
"schema": {
|
|
"type": "number",
|
|
"maximum": 100,
|
|
"minimum": 1,
|
|
"default": 10
|
|
}
|
|
},
|
|
{
|
|
"name": "offset",
|
|
"in": "query",
|
|
"required": false,
|
|
"description": "Offset of first item of paginated response",
|
|
"schema": {
|
|
"type": "integer",
|
|
"minimum": 0,
|
|
"default": 0
|
|
}
|
|
},
|
|
{
|
|
"name": "ids_only",
|
|
"in": "query",
|
|
"required": false,
|
|
"description": "Indicates whether to return only resource IDs.",
|
|
"schema": {
|
|
"type": "boolean"
|
|
}
|
|
},
|
|
{
|
|
"name": "sort_by",
|
|
"in": "query",
|
|
"required": false,
|
|
"description": "Attribute and direction to sort the items by. Represented by an array of fields with an optional direction (`<key>:asc` or `<key>:desc`).<br><br>If no direction is selected, `<key>:asc` is used by default.",
|
|
"schema": {
|
|
"type": "array",
|
|
"items": {
|
|
"enum": [
|
|
"result",
|
|
"severity",
|
|
"title",
|
|
"precedence",
|
|
"remediation_available",
|
|
"result:asc",
|
|
"result:desc",
|
|
"severity:asc",
|
|
"severity:desc",
|
|
"title:asc",
|
|
"title:desc",
|
|
"precedence:asc",
|
|
"precedence:desc",
|
|
"remediation_available:asc",
|
|
"remediation_available:desc"
|
|
]
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"name": "filter",
|
|
"in": "query",
|
|
"required": false,
|
|
"description": "Query string to filter items by their attributes. Compliant with <a href=\"https://github.com/wvanbergen/scoped_search/wiki/Query-language\" target=\"_blank\" title=\"github.com/wvanbergen/scoped_search\">scoped_search query language</a>. However, only `=` or `!=` (resp. `<>`) operators are supported.<br><br>Rule Results are searchable using attributes `result`, `title`, `severity`, and `remediation_available`<br><br>(e.g.: `(field_1=something AND field_2!=\"something else\") OR field_3>40`)",
|
|
"schema": {
|
|
"type": "string"
|
|
}
|
|
},
|
|
{
|
|
"name": "test_result_id",
|
|
"in": "path",
|
|
"required": true,
|
|
"schema": {
|
|
"type": "string"
|
|
}
|
|
},
|
|
{
|
|
"name": "report_id",
|
|
"in": "path",
|
|
"required": true,
|
|
"schema": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
],
|
|
"tags": [
|
|
"Reports"
|
|
],
|
|
"description": "Lists Rule Results under a Report",
|
|
"operationId": "ReportRuleResults",
|
|
"responses": {
|
|
"200": {
|
|
"description": "Lists Rule Results under a Report",
|
|
"content": {
|
|
"application/vnd.api+json": {
|
|
"examples": {
|
|
"List of Rule Results": {
|
|
"value": {
|
|
"data": [],
|
|
"meta": {
|
|
"total": 0,
|
|
"limit": 10,
|
|
"offset": 0
|
|
},
|
|
"links": {
|
|
"first": "/api/compliance/v2/reports/4a136743-0372-491a-9845-ab1444cc98bb/test_results/74de74f0-1f38-41d1-bbb3-71ff81eb3fc8/rule_results?limit=10&offset=0",
|
|
"last": "/api/compliance/v2/reports/4a136743-0372-491a-9845-ab1444cc98bb/test_results/74de74f0-1f38-41d1-bbb3-71ff81eb3fc8/rule_results?limit=10&offset=0"
|
|
}
|
|
},
|
|
"summary": "",
|
|
"description": ""
|
|
},
|
|
"List of Rule Results sorted by \"result:asc\"": {
|
|
"value": {
|
|
"data": [],
|
|
"meta": {
|
|
"total": 0,
|
|
"limit": 10,
|
|
"offset": 0,
|
|
"sort_by": "result"
|
|
},
|
|
"links": {
|
|
"first": "/api/compliance/v2/reports/35862c27-3699-4695-a260-0dd916f97211/test_results/cdca8246-19ab-48b6-8637-67b5feaa6313/rule_results?limit=10&offset=0&sort_by=result",
|
|
"last": "/api/compliance/v2/reports/35862c27-3699-4695-a260-0dd916f97211/test_results/cdca8246-19ab-48b6-8637-67b5feaa6313/rule_results?limit=10&offset=0&sort_by=result"
|
|
}
|
|
},
|
|
"summary": "",
|
|
"description": ""
|
|
},
|
|
"List of Rule Results filtered by \"(title=foo)\"": {
|
|
"value": {
|
|
"data": [],
|
|
"meta": {
|
|
"total": 0,
|
|
"filter": "(title=foo)",
|
|
"limit": 10,
|
|
"offset": 0
|
|
},
|
|
"links": {
|
|
"first": "/api/compliance/v2/reports/967bbdcb-886c-41ad-aae0-b6da1a2b5af8/test_results/3b2e30bd-7e9a-4bcc-ad59-5a81111a2c6f/rule_results?filter=%28title%3Dfoo%29&limit=10&offset=0",
|
|
"last": "/api/compliance/v2/reports/967bbdcb-886c-41ad-aae0-b6da1a2b5af8/test_results/3b2e30bd-7e9a-4bcc-ad59-5a81111a2c6f/rule_results?filter=%28title%3Dfoo%29&limit=10&offset=0"
|
|
}
|
|
},
|
|
"summary": "",
|
|
"description": ""
|
|
}
|
|
},
|
|
"schema": {
|
|
"type": "object",
|
|
"properties": {
|
|
"meta": {
|
|
"$ref": "#/components/schemas/metadata"
|
|
},
|
|
"links": {
|
|
"$ref": "#/components/schemas/links"
|
|
},
|
|
"data": {
|
|
"type": "array",
|
|
"items": {
|
|
"properties": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/rule_result"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"422": {
|
|
"description": "Returns with Unprocessable Content",
|
|
"content": {
|
|
"application/vnd.api+json": {
|
|
"examples": {
|
|
"Description of an error when sorting by incorrect parameter": {
|
|
"value": {
|
|
"errors": [
|
|
"Result cannot be sorted by the 'description' column."
|
|
]
|
|
},
|
|
"summary": "",
|
|
"description": ""
|
|
},
|
|
"Description of an error when requesting higher limit than supported": {
|
|
"value": {
|
|
"errors": [
|
|
"Invalid parameter: limit must be less than or equal to 100"
|
|
]
|
|
},
|
|
"summary": "",
|
|
"description": ""
|
|
}
|
|
},
|
|
"schema": {
|
|
"$ref": "#/components/schemas/errors"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"/security_guides/{security_guide_id}/rules": {
|
|
"get": {
|
|
"summary": "Request Rules",
|
|
"parameters": [
|
|
{
|
|
"name": "X-RH-IDENTITY",
|
|
"in": "header",
|
|
"schema": {
|
|
"type": "string"
|
|
},
|
|
"description": "For internal use only"
|
|
},
|
|
{
|
|
"name": "limit",
|
|
"in": "query",
|
|
"required": false,
|
|
"description": "Number of items to return per page",
|
|
"schema": {
|
|
"type": "number",
|
|
"maximum": 100,
|
|
"minimum": 1,
|
|
"default": 10
|
|
}
|
|
},
|
|
{
|
|
"name": "offset",
|
|
"in": "query",
|
|
"required": false,
|
|
"description": "Offset of first item of paginated response",
|
|
"schema": {
|
|
"type": "integer",
|
|
"minimum": 0,
|
|
"default": 0
|
|
}
|
|
},
|
|
{
|
|
"name": "ids_only",
|
|
"in": "query",
|
|
"required": false,
|
|
"description": "Indicates whether to return only resource IDs.",
|
|
"schema": {
|
|
"type": "boolean"
|
|
}
|
|
},
|
|
{
|
|
"name": "sort_by",
|
|
"in": "query",
|
|
"required": false,
|
|
"description": "Attribute and direction to sort the items by. Represented by an array of fields with an optional direction (`<key>:asc` or `<key>:desc`).<br><br>If no direction is selected, `<key>:asc` is used by default.",
|
|
"schema": {
|
|
"type": "array",
|
|
"items": {
|
|
"enum": [
|
|
"title",
|
|
"severity",
|
|
"precedence",
|
|
"remediation_available",
|
|
"title:asc",
|
|
"title:desc",
|
|
"severity:asc",
|
|
"severity:desc",
|
|
"precedence:asc",
|
|
"precedence:desc",
|
|
"remediation_available:asc",
|
|
"remediation_available:desc"
|
|
]
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"name": "filter",
|
|
"in": "query",
|
|
"required": false,
|
|
"description": "Query string to filter items by their attributes. Compliant with <a href=\"https://github.com/wvanbergen/scoped_search/wiki/Query-language\" target=\"_blank\" title=\"github.com/wvanbergen/scoped_search\">scoped_search query language</a>. However, only `=` or `!=` (resp. `<>`) operators are supported.<br><br>Rules are searchable using attributes `title`, `severity`, `remediation_available`, and `rule_group_id`<br><br>(e.g.: `(field_1=something AND field_2!=\"something else\") OR field_3>40`)",
|
|
"schema": {
|
|
"type": "string"
|
|
}
|
|
},
|
|
{
|
|
"name": "security_guide_id",
|
|
"in": "path",
|
|
"required": true,
|
|
"schema": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
],
|
|
"tags": [
|
|
"Content"
|
|
],
|
|
"description": "Lists Rules assigned",
|
|
"operationId": "Rules",
|
|
"responses": {
|
|
"200": {
|
|
"description": "Lists Rules",
|
|
"content": {
|
|
"application/vnd.api+json": {
|
|
"examples": {
|
|
"List of Rules": {
|
|
"value": {
|
|
"data": [
|
|
{
|
|
"id": "134e467c-27b6-4f25-9753-58735242fbc0",
|
|
"ref_id": "xccdf_org.ssgproject.content_rule_ab75df0d71b10d5b3f2ff476aef6bac4",
|
|
"title": "Quas nesciunt dolor quia.",
|
|
"rationale": "Illo et saepe. Pariatur est quo. Atque modi necessitatibus.",
|
|
"description": "Ut architecto magnam. Perspiciatis esse soluta. Aut ea natus.",
|
|
"severity": "low",
|
|
"precedence": 277,
|
|
"identifier": {
|
|
"href": "http://breitenberg.example/seymour_marvin",
|
|
"label": "Marigold Gamgee"
|
|
},
|
|
"references": [
|
|
{
|
|
"href": "http://mayert-lehner.example/lilli.bashirian",
|
|
"label": "Gollum"
|
|
},
|
|
{
|
|
"href": "http://torphy.test/marjory",
|
|
"label": "Narvi"
|
|
},
|
|
{
|
|
"href": "http://reynolds.example/carmine_runolfsson",
|
|
"label": "Nar"
|
|
},
|
|
{
|
|
"href": "http://hettinger.example/carlton",
|
|
"label": "Wilibald Bolger"
|
|
},
|
|
{
|
|
"href": "http://deckow.test/chet_lebsack",
|
|
"label": "Celebrían"
|
|
}
|
|
],
|
|
"value_checks": null,
|
|
"remediation_available": false,
|
|
"type": "rule"
|
|
},
|
|
{
|
|
"id": "188d3473-9a03-42e6-a9a8-2239168576f4",
|
|
"ref_id": "xccdf_org.ssgproject.content_rule_3dea3e9a9e745cabadd14bddf2709192",
|
|
"title": "Id vel sed quis.",
|
|
"rationale": "Non cum quo. Dignissimos praesentium molestiae. Aut amet eligendi.",
|
|
"description": "Laborum unde nihil. Dolorem consectetur maxime. Ducimus et blanditiis.",
|
|
"severity": "medium",
|
|
"precedence": 3607,
|
|
"identifier": {
|
|
"href": "http://hagenes.test/nicky_mills",
|
|
"label": "Araphor"
|
|
},
|
|
"references": [
|
|
{
|
|
"href": "http://bayer.example/ashlee",
|
|
"label": "Dwalin"
|
|
},
|
|
{
|
|
"href": "http://torphy.test/rosio",
|
|
"label": "Longo Baggins"
|
|
},
|
|
{
|
|
"href": "http://lindgren-langosh.test/gussie_turner",
|
|
"label": "Elatan"
|
|
},
|
|
{
|
|
"href": "http://gibson-gibson.example/madalyn.mraz",
|
|
"label": "Merimas Brandybuck"
|
|
},
|
|
{
|
|
"href": "http://mayert-rau.example/hortensia",
|
|
"label": "Ilberic Brandybuck"
|
|
}
|
|
],
|
|
"value_checks": null,
|
|
"remediation_available": false,
|
|
"type": "rule"
|
|
},
|
|
{
|
|
"id": "1aa7c3f2-b499-4a6a-a34c-cc747bee9728",
|
|
"ref_id": "xccdf_org.ssgproject.content_rule_ed7265cbffe005981ad7b8e4cde1e57a",
|
|
"title": "Qui vel ad laboriosam.",
|
|
"rationale": "Et beatae iure. Ducimus qui nihil. Et quo sit.",
|
|
"description": "Suscipit voluptatibus nisi. Sint beatae in. Et earum neque.",
|
|
"severity": "high",
|
|
"precedence": 4996,
|
|
"identifier": {
|
|
"href": "http://olson-bailey.test/lara.williamson",
|
|
"label": "Hugo Bracegirdle"
|
|
},
|
|
"references": [
|
|
{
|
|
"href": "http://keeling.test/tessa",
|
|
"label": "Enerdhil"
|
|
},
|
|
{
|
|
"href": "http://wilderman-huel.example/tristan",
|
|
"label": "Elenwë"
|
|
},
|
|
{
|
|
"href": "http://upton.test/jamal",
|
|
"label": "Handir"
|
|
},
|
|
{
|
|
"href": "http://crona.example/rosalind_howe",
|
|
"label": "Ted Sandyman"
|
|
},
|
|
{
|
|
"href": "http://ernser.test/brock_johnson",
|
|
"label": "Elrohir"
|
|
}
|
|
],
|
|
"value_checks": null,
|
|
"remediation_available": false,
|
|
"type": "rule"
|
|
},
|
|
{
|
|
"id": "1f4125f4-ff8f-4d41-8ca6-3283aa4d452f",
|
|
"ref_id": "xccdf_org.ssgproject.content_rule_6bce4bb69c2b9aef06e585970acd93ab",
|
|
"title": "Sit laboriosam explicabo qui.",
|
|
"rationale": "Recusandae libero atque. Autem exercitationem quo. Inventore velit sapiente.",
|
|
"description": "Ipsa iusto veniam. Voluptas est voluptatem. Mollitia ducimus doloremque.",
|
|
"severity": "high",
|
|
"precedence": 9852,
|
|
"identifier": {
|
|
"href": "http://mueller.example/marshall.jast",
|
|
"label": "Amlaith"
|
|
},
|
|
"references": [
|
|
{
|
|
"href": "http://abbott.test/johnie",
|
|
"label": "Mahtan"
|
|
},
|
|
{
|
|
"href": "http://tremblay-stamm.example/sandy",
|
|
"label": "Dírhaval"
|
|
},
|
|
{
|
|
"href": "http://altenwerth.test/normand.hodkiewicz",
|
|
"label": "Draugluin"
|
|
},
|
|
{
|
|
"href": "http://bernier.example/leif.bernier",
|
|
"label": "Jessamine Boffin"
|
|
},
|
|
{
|
|
"href": "http://rohan.example/leandro_cummerata",
|
|
"label": "Lorgan"
|
|
}
|
|
],
|
|
"value_checks": null,
|
|
"remediation_available": false,
|
|
"type": "rule"
|
|
},
|
|
{
|
|
"id": "249d9270-5a68-484e-b4f9-efda0d46391f",
|
|
"ref_id": "xccdf_org.ssgproject.content_rule_e7b57afe5651f2a591fe08abe95afa96",
|
|
"title": "Et aspernatur expedita provident.",
|
|
"rationale": "Blanditiis cum dolor. Corporis voluptas et. Voluptatum veritatis ipsam.",
|
|
"description": "Voluptates quia non. Debitis nam velit. Nemo quae quod.",
|
|
"severity": "high",
|
|
"precedence": 7162,
|
|
"identifier": {
|
|
"href": "http://walker.test/anabel_moore",
|
|
"label": "Tom Bombadil"
|
|
},
|
|
"references": [
|
|
{
|
|
"href": "http://satterfield-reilly.example/hosea",
|
|
"label": "Griffo Boffin"
|
|
},
|
|
{
|
|
"href": "http://champlin-stanton.example/stasia.kuvalis",
|
|
"label": "Círdan"
|
|
},
|
|
{
|
|
"href": "http://goyette.test/inez_adams",
|
|
"label": "Fortinbras Took"
|
|
},
|
|
{
|
|
"href": "http://williamson-medhurst.example/frank",
|
|
"label": "Thingol"
|
|
},
|
|
{
|
|
"href": "http://osinski-moen.test/benedict_zieme",
|
|
"label": "Fastred"
|
|
}
|
|
],
|
|
"value_checks": null,
|
|
"remediation_available": false,
|
|
"type": "rule"
|
|
},
|
|
{
|
|
"id": "2bd59786-180b-48c5-8f8f-4580ba71e063",
|
|
"ref_id": "xccdf_org.ssgproject.content_rule_09fb488392df23e5d54b49c7743a6822",
|
|
"title": "Quaerat beatae voluptatem aliquam.",
|
|
"rationale": "Molestiae ut omnis. Atque quasi id. Exercitationem quisquam qui.",
|
|
"description": "Ea quod repellat. Eveniet expedita qui. Cumque qui deleniti.",
|
|
"severity": "medium",
|
|
"precedence": 2481,
|
|
"identifier": {
|
|
"href": "http://oreilly.test/tarsha_dickinson",
|
|
"label": "William"
|
|
},
|
|
"references": [
|
|
{
|
|
"href": "http://jones-bailey.test/marc.rohan",
|
|
"label": "Berilac Brandybuck"
|
|
},
|
|
{
|
|
"href": "http://schmeler.example/micki.kiehn",
|
|
"label": "Gundahad Bolger"
|
|
},
|
|
{
|
|
"href": "http://heathcote-ohara.example/julian",
|
|
"label": "Ar-Sakalthôr"
|
|
},
|
|
{
|
|
"href": "http://lubowitz.test/iola",
|
|
"label": "Nori"
|
|
},
|
|
{
|
|
"href": "http://schowalter-bartell.example/marlin",
|
|
"label": "Ufthak"
|
|
}
|
|
],
|
|
"value_checks": null,
|
|
"remediation_available": false,
|
|
"type": "rule"
|
|
},
|
|
{
|
|
"id": "5ab020e3-0be4-4bde-90ad-4a2c9ce5f00d",
|
|
"ref_id": "xccdf_org.ssgproject.content_rule_a48fa635de9d585e2bfc24a242bca118",
|
|
"title": "Ducimus quo accusantium nisi.",
|
|
"rationale": "Quia est ipsa. Inventore aliquid sed. Voluptatem vero est.",
|
|
"description": "Exercitationem sed nesciunt. Sunt aliquid nesciunt. In deleniti ut.",
|
|
"severity": "medium",
|
|
"precedence": 7323,
|
|
"identifier": {
|
|
"href": "http://mueller.test/margene_flatley",
|
|
"label": "Beleg"
|
|
},
|
|
"references": [
|
|
{
|
|
"href": "http://pagac.test/teresia",
|
|
"label": "Galdor of the Havens"
|
|
},
|
|
{
|
|
"href": "http://heidenreich.test/alberto",
|
|
"label": "Diamond of Long Cleeve"
|
|
},
|
|
{
|
|
"href": "http://aufderhar.example/dollie_stanton",
|
|
"label": "Amethyst Hornblower"
|
|
},
|
|
{
|
|
"href": "http://bergnaum.example/joey.weimann",
|
|
"label": "Nerdanel"
|
|
},
|
|
{
|
|
"href": "http://watsica.example/hubert",
|
|
"label": "Rowlie Appledore"
|
|
}
|
|
],
|
|
"value_checks": null,
|
|
"remediation_available": false,
|
|
"type": "rule"
|
|
},
|
|
{
|
|
"id": "6aaf02db-31b4-4723-aef3-5695b12587ce",
|
|
"ref_id": "xccdf_org.ssgproject.content_rule_549ef303f72a215f0b1904cb0209dfad",
|
|
"title": "Mollitia atque suscipit sunt.",
|
|
"rationale": "Odit suscipit voluptas. Illo cum eius. Ut ducimus pariatur.",
|
|
"description": "Sunt dolorem delectus. Repellendus est laudantium. Et nihil mollitia.",
|
|
"severity": "high",
|
|
"precedence": 9012,
|
|
"identifier": {
|
|
"href": "http://donnelly-welch.example/gertie_bednar",
|
|
"label": "Dernhelm"
|
|
},
|
|
"references": [
|
|
{
|
|
"href": "http://larkin.test/hiram_wilderman",
|
|
"label": "Ulfang"
|
|
},
|
|
{
|
|
"href": "http://vandervort.test/susannah",
|
|
"label": "Arachon"
|
|
},
|
|
{
|
|
"href": "http://johnson.example/fermina_strosin",
|
|
"label": "Lindissë"
|
|
},
|
|
{
|
|
"href": "http://bogisich.test/sabina_zulauf",
|
|
"label": "Aldor"
|
|
},
|
|
{
|
|
"href": "http://ratke.test/lavona",
|
|
"label": "Everard Took"
|
|
}
|
|
],
|
|
"value_checks": null,
|
|
"remediation_available": false,
|
|
"type": "rule"
|
|
},
|
|
{
|
|
"id": "6f59f6c5-939b-49a9-bb9e-33323381f1fa",
|
|
"ref_id": "xccdf_org.ssgproject.content_rule_5d7ce680c33eb11f48f6f7eee9889dca",
|
|
"title": "Fugit at iusto qui.",
|
|
"rationale": "Laudantium cupiditate doloribus. Eaque neque quis. Sit hic quaerat.",
|
|
"description": "Omnis assumenda dignissimos. Numquam qui natus. Assumenda similique nihil.",
|
|
"severity": "medium",
|
|
"precedence": 326,
|
|
"identifier": {
|
|
"href": "http://greenholt.test/wilhemina.bergnaum",
|
|
"label": "Glorfindel"
|
|
},
|
|
"references": [
|
|
{
|
|
"href": "http://kertzmann.example/mckinley.mitchell",
|
|
"label": "Daisy Baggins"
|
|
},
|
|
{
|
|
"href": "http://herman-waters.test/neoma",
|
|
"label": "Meleth"
|
|
},
|
|
{
|
|
"href": "http://brakus.test/marcos",
|
|
"label": "Belegund"
|
|
},
|
|
{
|
|
"href": "http://beier-krajcik.example/elouise.wunsch",
|
|
"label": "Elemmírë"
|
|
},
|
|
{
|
|
"href": "http://rolfson-beier.test/vaughn.nitzsche",
|
|
"label": "Elmo"
|
|
}
|
|
],
|
|
"value_checks": null,
|
|
"remediation_available": false,
|
|
"type": "rule"
|
|
},
|
|
{
|
|
"id": "776fb5f6-dbbe-4466-8ab5-082fc9702c9b",
|
|
"ref_id": "xccdf_org.ssgproject.content_rule_2bbf6526e44b4997b9d8028f3f3ae2ed",
|
|
"title": "Accusantium assumenda enim voluptas.",
|
|
"rationale": "Aut rerum officia. Ratione consequatur illo. Nulla eligendi quisquam.",
|
|
"description": "Quo deserunt aspernatur. Eum et modi. Et qui maxime.",
|
|
"severity": "high",
|
|
"precedence": 5064,
|
|
"identifier": {
|
|
"href": "http://ruecker.test/shayne",
|
|
"label": "Imrazôr"
|
|
},
|
|
"references": [
|
|
{
|
|
"href": "http://will.test/paige",
|
|
"label": "Linda Baggins"
|
|
},
|
|
{
|
|
"href": "http://jacobson.test/clayton_aufderhar",
|
|
"label": "Bilbo Baggins"
|
|
},
|
|
{
|
|
"href": "http://okeefe-green.test/keva",
|
|
"label": "Gimli"
|
|
},
|
|
{
|
|
"href": "http://fahey.test/jerry.haley",
|
|
"label": "Carc"
|
|
},
|
|
{
|
|
"href": "http://greenfelder.example/kareem",
|
|
"label": "Elfwine"
|
|
}
|
|
],
|
|
"value_checks": null,
|
|
"remediation_available": false,
|
|
"type": "rule"
|
|
}
|
|
],
|
|
"meta": {
|
|
"total": 25,
|
|
"limit": 10,
|
|
"offset": 0
|
|
},
|
|
"links": {
|
|
"first": "/api/compliance/v2/security_guides/96815195-c139-4dbe-b5c3-179add6f7c49/rules?limit=10&offset=0",
|
|
"last": "/api/compliance/v2/security_guides/96815195-c139-4dbe-b5c3-179add6f7c49/rules?limit=10&offset=20",
|
|
"next": "/api/compliance/v2/security_guides/96815195-c139-4dbe-b5c3-179add6f7c49/rules?limit=10&offset=10"
|
|
}
|
|
},
|
|
"summary": "",
|
|
"description": ""
|
|
},
|
|
"List of Rules sorted by \"precedence:asc\"": {
|
|
"value": {
|
|
"data": [
|
|
{
|
|
"id": "c29a885b-e1f7-40df-8e14-e95f03268379",
|
|
"ref_id": "xccdf_org.ssgproject.content_rule_11f2e21a565f9c2d3353d9168458cf5d",
|
|
"title": "Sit nostrum incidunt doloribus.",
|
|
"rationale": "Adipisci ut ut. Aut impedit accusantium. Quibusdam autem explicabo.",
|
|
"description": "Eos molestiae nulla. Assumenda odit doloribus. Quisquam molestiae praesentium.",
|
|
"severity": "high",
|
|
"precedence": 813,
|
|
"identifier": {
|
|
"href": "http://jaskolski-reichel.example/kristy.mckenzie",
|
|
"label": "Forlong"
|
|
},
|
|
"references": [
|
|
{
|
|
"href": "http://kunde-shanahan.test/kris.schiller",
|
|
"label": "Ar-Sakalthôr"
|
|
},
|
|
{
|
|
"href": "http://price.example/leland_mante",
|
|
"label": "Alphros"
|
|
},
|
|
{
|
|
"href": "http://steuber.example/merle",
|
|
"label": "Glirhuin"
|
|
},
|
|
{
|
|
"href": "http://ruecker.test/larraine",
|
|
"label": "Malvegil"
|
|
},
|
|
{
|
|
"href": "http://kilback.example/kory",
|
|
"label": "Tar-Alcarin"
|
|
}
|
|
],
|
|
"value_checks": null,
|
|
"remediation_available": false,
|
|
"type": "rule"
|
|
},
|
|
{
|
|
"id": "f7bee0bc-3e6f-4bb7-b302-b339cf5a8890",
|
|
"ref_id": "xccdf_org.ssgproject.content_rule_6031b8aca0bc907ab994d96c6f022fb3",
|
|
"title": "Sequi fuga ut cupiditate.",
|
|
"rationale": "Rem labore placeat. Omnis aut repudiandae. Aut possimus molestiae.",
|
|
"description": "Nam eum tempora. Excepturi mollitia molestiae. Autem aperiam quia.",
|
|
"severity": "low",
|
|
"precedence": 900,
|
|
"identifier": {
|
|
"href": "http://rogahn.test/carlos",
|
|
"label": "Aranuir"
|
|
},
|
|
"references": [
|
|
{
|
|
"href": "http://buckridge-tromp.test/stan",
|
|
"label": "Gilraen"
|
|
},
|
|
{
|
|
"href": "http://rau-kerluke.test/ashlea",
|
|
"label": "Othrondir"
|
|
},
|
|
{
|
|
"href": "http://legros.example/von.farrell",
|
|
"label": "Marroc Brandybuck"
|
|
},
|
|
{
|
|
"href": "http://bins.example/andria_rice",
|
|
"label": "Lorgan"
|
|
},
|
|
{
|
|
"href": "http://ullrich.example/nathanial",
|
|
"label": "Ilberic Brandybuck"
|
|
}
|
|
],
|
|
"value_checks": null,
|
|
"remediation_available": false,
|
|
"type": "rule"
|
|
},
|
|
{
|
|
"id": "a3e2e1e9-f340-41d3-8cb0-2f3e6ea87c1f",
|
|
"ref_id": "xccdf_org.ssgproject.content_rule_83adb47e26410524a32435bca2f517e1",
|
|
"title": "In ut atque odit.",
|
|
"rationale": "Occaecati iusto maxime. Distinctio et architecto. Quo quod voluptatem.",
|
|
"description": "Quidem voluptas quod. Dolores adipisci magnam. Fugit ad dicta.",
|
|
"severity": "high",
|
|
"precedence": 1404,
|
|
"identifier": {
|
|
"href": "http://abbott.test/gail_swaniawski",
|
|
"label": "Ar-Pharazôn"
|
|
},
|
|
"references": [
|
|
{
|
|
"href": "http://bogan.test/isreal_emmerich",
|
|
"label": "Arahad"
|
|
},
|
|
{
|
|
"href": "http://corkery.test/halina_block",
|
|
"label": "Eldarion"
|
|
},
|
|
{
|
|
"href": "http://miller.test/ludie_kub",
|
|
"label": "Melilot Brandybuck"
|
|
},
|
|
{
|
|
"href": "http://bernier.example/ping",
|
|
"label": "Araphor"
|
|
},
|
|
{
|
|
"href": "http://kautzer.example/romeo",
|
|
"label": "Guilin"
|
|
}
|
|
],
|
|
"value_checks": null,
|
|
"remediation_available": false,
|
|
"type": "rule"
|
|
},
|
|
{
|
|
"id": "08385f6d-1aff-4340-a7ab-744b82b4e1dc",
|
|
"ref_id": "xccdf_org.ssgproject.content_rule_7fe2fd12c452a7d1fdd5513004be3b59",
|
|
"title": "Sunt ea nulla velit.",
|
|
"rationale": "Accusamus qui aut. Repellendus illum repellat. Sapiente consequatur expedita.",
|
|
"description": "Minus officiis molestiae. Quos nobis magnam. Commodi cum dolorem.",
|
|
"severity": "medium",
|
|
"precedence": 1646,
|
|
"identifier": {
|
|
"href": "http://lubowitz.test/abel.cartwright",
|
|
"label": "Gundor"
|
|
},
|
|
"references": [
|
|
{
|
|
"href": "http://wunsch-kreiger.example/georgette",
|
|
"label": "Beregond"
|
|
},
|
|
{
|
|
"href": "http://hirthe.example/rochell_parker",
|
|
"label": "Folcwine"
|
|
},
|
|
{
|
|
"href": "http://mckenzie.example/sean_hackett",
|
|
"label": "Gamil Zirak"
|
|
},
|
|
{
|
|
"href": "http://auer.test/michel_anderson",
|
|
"label": "Hildibrand Took"
|
|
},
|
|
{
|
|
"href": "http://mccullough.example/duncan",
|
|
"label": "Borlad"
|
|
}
|
|
],
|
|
"value_checks": null,
|
|
"remediation_available": false,
|
|
"type": "rule"
|
|
},
|
|
{
|
|
"id": "0a541972-6d64-435c-b50c-52ac513c8204",
|
|
"ref_id": "xccdf_org.ssgproject.content_rule_04ac5dfb7771488c5fe79aeede7261bb",
|
|
"title": "Explicabo et eos vitae.",
|
|
"rationale": "Libero dicta ut. Harum in et. Quia voluptas atque.",
|
|
"description": "Ut qui expedita. Sint commodi et. Delectus ut architecto.",
|
|
"severity": "high",
|
|
"precedence": 2053,
|
|
"identifier": {
|
|
"href": "http://skiles.test/annett.baumbach",
|
|
"label": "Zimraphel"
|
|
},
|
|
"references": [
|
|
{
|
|
"href": "http://satterfield.test/ehtel",
|
|
"label": "Quennar"
|
|
},
|
|
{
|
|
"href": "http://bode-gislason.example/nerissa_hickle",
|
|
"label": "Herion"
|
|
},
|
|
{
|
|
"href": "http://zieme.test/latanya.price",
|
|
"label": "Idis"
|
|
},
|
|
{
|
|
"href": "http://jacobs.example/gisele",
|
|
"label": "Orleg"
|
|
},
|
|
{
|
|
"href": "http://mraz-windler.example/toya.okuneva",
|
|
"label": "Tar-Atanamir"
|
|
}
|
|
],
|
|
"value_checks": null,
|
|
"remediation_available": false,
|
|
"type": "rule"
|
|
},
|
|
{
|
|
"id": "86aaf502-cc6f-4772-8167-dca8ec49444f",
|
|
"ref_id": "xccdf_org.ssgproject.content_rule_1d369bcb13c2b8bf0c30307c9f1b488a",
|
|
"title": "Laudantium pariatur ipsam aspernatur.",
|
|
"rationale": "Illum deserunt aut. Commodi aperiam distinctio. Sunt officiis aut.",
|
|
"description": "Voluptatum praesentium saepe. Natus quo placeat. Autem quae cum.",
|
|
"severity": "medium",
|
|
"precedence": 2967,
|
|
"identifier": {
|
|
"href": "http://reynolds-buckridge.example/byron_predovic",
|
|
"label": "Andvír"
|
|
},
|
|
"references": [
|
|
{
|
|
"href": "http://veum.test/maxine.oreilly",
|
|
"label": "Porto Baggins"
|
|
},
|
|
{
|
|
"href": "http://muller.test/sarita.berge",
|
|
"label": "Snaga"
|
|
},
|
|
{
|
|
"href": "http://dubuque.example/ida",
|
|
"label": "Gollum"
|
|
},
|
|
{
|
|
"href": "http://carter-okeefe.test/omer_beier",
|
|
"label": "Elfhild"
|
|
},
|
|
{
|
|
"href": "http://hayes-goldner.example/carlyn",
|
|
"label": "Éowyn"
|
|
}
|
|
],
|
|
"value_checks": null,
|
|
"remediation_available": false,
|
|
"type": "rule"
|
|
},
|
|
{
|
|
"id": "ee67e29a-73d3-461e-902a-209b3bc9e025",
|
|
"ref_id": "xccdf_org.ssgproject.content_rule_c13195fabbeb37eaee72f3895a071f67",
|
|
"title": "Nisi at ad provident.",
|
|
"rationale": "Fugit est laboriosam. Et nobis sit. Et ullam voluptates.",
|
|
"description": "Velit deserunt nobis. Eaque similique id. Iusto rem dolorum.",
|
|
"severity": "high",
|
|
"precedence": 3399,
|
|
"identifier": {
|
|
"href": "http://hilll-grady.test/valery.beatty",
|
|
"label": "Bodruith"
|
|
},
|
|
"references": [
|
|
{
|
|
"href": "http://satterfield.example/tyler_heaney",
|
|
"label": "Galadriel"
|
|
},
|
|
{
|
|
"href": "http://schowalter-swift.example/king",
|
|
"label": "Castamir"
|
|
},
|
|
{
|
|
"href": "http://bruen.test/randall_waelchi",
|
|
"label": "Imrahil"
|
|
},
|
|
{
|
|
"href": "http://legros.test/lin",
|
|
"label": "Everard Took"
|
|
},
|
|
{
|
|
"href": "http://shields-wolf.test/barry_reilly",
|
|
"label": "Finwë"
|
|
}
|
|
],
|
|
"value_checks": null,
|
|
"remediation_available": false,
|
|
"type": "rule"
|
|
},
|
|
{
|
|
"id": "5a7cf0e5-84da-4133-87b6-851eb56efa80",
|
|
"ref_id": "xccdf_org.ssgproject.content_rule_fac1a573eeccaaa0906b3d452032c2aa",
|
|
"title": "Voluptatem at quis error.",
|
|
"rationale": "Qui et velit. Alias et illo. Maiores exercitationem consectetur.",
|
|
"description": "Voluptatem reprehenderit excepturi. Dolor quia vero. Itaque sit illum.",
|
|
"severity": "high",
|
|
"precedence": 3706,
|
|
"identifier": {
|
|
"href": "http://feil.example/hui",
|
|
"label": "Eärwen"
|
|
},
|
|
"references": [
|
|
{
|
|
"href": "http://gulgowski.test/mia",
|
|
"label": "Andvír"
|
|
},
|
|
{
|
|
"href": "http://adams.example/dung",
|
|
"label": "Daisy Gardner"
|
|
},
|
|
{
|
|
"href": "http://vonrueden.test/isidra.bernier",
|
|
"label": "Tar-Calmacil"
|
|
},
|
|
{
|
|
"href": "http://gibson.test/mohammed_wyman",
|
|
"label": "Odo Proudfoot"
|
|
},
|
|
{
|
|
"href": "http://funk.test/antonina",
|
|
"label": "Belen"
|
|
}
|
|
],
|
|
"value_checks": null,
|
|
"remediation_available": false,
|
|
"type": "rule"
|
|
},
|
|
{
|
|
"id": "e5b1b026-bc8d-4228-b010-240fec27fda7",
|
|
"ref_id": "xccdf_org.ssgproject.content_rule_2fe4a2785ac423b0f22d63347e60155c",
|
|
"title": "Reiciendis est quis doloribus.",
|
|
"rationale": "Amet qui quibusdam. Natus voluptate sed. Nobis ex odit.",
|
|
"description": "Aliquid reiciendis aliquam. Laboriosam quibusdam et. Voluptatibus distinctio neque.",
|
|
"severity": "high",
|
|
"precedence": 3829,
|
|
"identifier": {
|
|
"href": "http://renner.test/nannie_walker",
|
|
"label": "Fastolph Bolger"
|
|
},
|
|
"references": [
|
|
{
|
|
"href": "http://pfannerstill-moore.test/norbert_becker",
|
|
"label": "Hundad"
|
|
},
|
|
{
|
|
"href": "http://nitzsche.example/destiny_greenfelder",
|
|
"label": "Herion"
|
|
},
|
|
{
|
|
"href": "http://roberts-pouros.test/bennett_lang",
|
|
"label": "Gimilkhâd"
|
|
},
|
|
{
|
|
"href": "http://ankunding.test/mavis_batz",
|
|
"label": "Bosco Boffin"
|
|
},
|
|
{
|
|
"href": "http://walker.example/ray",
|
|
"label": "Helm"
|
|
}
|
|
],
|
|
"value_checks": null,
|
|
"remediation_available": false,
|
|
"type": "rule"
|
|
},
|
|
{
|
|
"id": "c3e589a6-fe82-48c2-a676-2818c27774b5",
|
|
"ref_id": "xccdf_org.ssgproject.content_rule_b632524799889bb246660bad9a8e3024",
|
|
"title": "Enim quia dolores consequatur.",
|
|
"rationale": "Consequatur modi mollitia. Et dolorem itaque. Qui autem dolor.",
|
|
"description": "Enim eius officia. Dicta iste ex. Ducimus dolore aspernatur.",
|
|
"severity": "medium",
|
|
"precedence": 3835,
|
|
"identifier": {
|
|
"href": "http://douglas.example/glenn.hirthe",
|
|
"label": "Marigold Gamgee"
|
|
},
|
|
"references": [
|
|
{
|
|
"href": "http://bernhard.test/exie",
|
|
"label": "Annael"
|
|
},
|
|
{
|
|
"href": "http://farrell-lueilwitz.test/denyse_beier",
|
|
"label": "Robin Smallburrow"
|
|
},
|
|
{
|
|
"href": "http://huel.example/stacy",
|
|
"label": "Aranarth"
|
|
},
|
|
{
|
|
"href": "http://bode.test/griselda",
|
|
"label": "Alfrida of the Yale"
|
|
},
|
|
{
|
|
"href": "http://toy.example/patrick.murray",
|
|
"label": "Eofor"
|
|
}
|
|
],
|
|
"value_checks": null,
|
|
"remediation_available": false,
|
|
"type": "rule"
|
|
}
|
|
],
|
|
"meta": {
|
|
"total": 25,
|
|
"limit": 10,
|
|
"offset": 0,
|
|
"sort_by": "precedence"
|
|
},
|
|
"links": {
|
|
"first": "/api/compliance/v2/security_guides/a53a3bd4-c1c9-45da-92d2-1f06aa6fa493/rules?limit=10&offset=0&sort_by=precedence",
|
|
"last": "/api/compliance/v2/security_guides/a53a3bd4-c1c9-45da-92d2-1f06aa6fa493/rules?limit=10&offset=20&sort_by=precedence",
|
|
"next": "/api/compliance/v2/security_guides/a53a3bd4-c1c9-45da-92d2-1f06aa6fa493/rules?limit=10&offset=10&sort_by=precedence"
|
|
}
|
|
},
|
|
"summary": "",
|
|
"description": ""
|
|
}
|
|
},
|
|
"schema": {
|
|
"type": "object",
|
|
"properties": {
|
|
"meta": {
|
|
"$ref": "#/components/schemas/metadata"
|
|
},
|
|
"links": {
|
|
"$ref": "#/components/schemas/links"
|
|
},
|
|
"data": {
|
|
"type": "array",
|
|
"items": {
|
|
"properties": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/rule"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"422": {
|
|
"description": "Returns with Unprocessable Content",
|
|
"content": {
|
|
"application/vnd.api+json": {
|
|
"examples": {
|
|
"Description of an error when sorting by incorrect parameter": {
|
|
"value": {
|
|
"errors": [
|
|
"Result cannot be sorted by the 'description' column."
|
|
]
|
|
},
|
|
"summary": "",
|
|
"description": ""
|
|
},
|
|
"Description of an error when requesting higher limit than supported": {
|
|
"value": {
|
|
"errors": [
|
|
"Invalid parameter: limit must be less than or equal to 100"
|
|
]
|
|
},
|
|
"summary": "",
|
|
"description": ""
|
|
}
|
|
},
|
|
"schema": {
|
|
"$ref": "#/components/schemas/errors"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"/security_guides/{security_guide_id}/rules/{rule_id}": {
|
|
"get": {
|
|
"summary": "Request a Rule",
|
|
"parameters": [
|
|
{
|
|
"name": "X-RH-IDENTITY",
|
|
"in": "header",
|
|
"schema": {
|
|
"type": "string"
|
|
},
|
|
"description": "For internal use only"
|
|
},
|
|
{
|
|
"name": "security_guide_id",
|
|
"in": "path",
|
|
"required": true,
|
|
"schema": {
|
|
"type": "string"
|
|
}
|
|
},
|
|
{
|
|
"name": "rule_id",
|
|
"in": "path",
|
|
"required": true,
|
|
"description": "UUID or a ref_id with '.' characters replaced with '-'",
|
|
"schema": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
],
|
|
"tags": [
|
|
"Content"
|
|
],
|
|
"description": "Returns a Rule",
|
|
"operationId": "Rule",
|
|
"responses": {
|
|
"200": {
|
|
"description": "Returns a Rule",
|
|
"content": {
|
|
"application/vnd.api+json": {
|
|
"examples": {
|
|
"Returns a Rule": {
|
|
"value": {
|
|
"data": {
|
|
"id": "747ea9bd-15b6-4b6d-8c01-ecd3a51c516a",
|
|
"ref_id": "xccdf_org.ssgproject.content_rule_ec69d92a5aea8056e53d8fd2bd492a37",
|
|
"title": "Sunt expedita earum aspernatur.",
|
|
"rationale": "Voluptatem non in. Consequatur vel quam. Sint dolor ut.",
|
|
"description": "Omnis sint enim. Labore quia velit. Quia suscipit eaque.",
|
|
"severity": "medium",
|
|
"precedence": 7,
|
|
"identifier": {
|
|
"href": "http://gusikowski-kerluke.example/dotty",
|
|
"label": "Túrin"
|
|
},
|
|
"references": [
|
|
{
|
|
"href": "http://wisozk.test/byron",
|
|
"label": "Gerontius Took"
|
|
},
|
|
{
|
|
"href": "http://hackett.example/tania",
|
|
"label": "Erling"
|
|
},
|
|
{
|
|
"href": "http://sawayn.example/alda",
|
|
"label": "Menegilda Goold"
|
|
},
|
|
{
|
|
"href": "http://hand-ledner.test/melvin",
|
|
"label": "Mallor"
|
|
},
|
|
{
|
|
"href": "http://koch-hermiston.test/claudie.mcdermott",
|
|
"label": "Odovacar Bolger"
|
|
}
|
|
],
|
|
"value_checks": null,
|
|
"remediation_available": false,
|
|
"type": "rule"
|
|
}
|
|
},
|
|
"summary": "",
|
|
"description": ""
|
|
}
|
|
},
|
|
"schema": {
|
|
"type": "object",
|
|
"properties": {
|
|
"data": {
|
|
"type": "object",
|
|
"properties": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/rule"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"404": {
|
|
"description": "Returns with Not Found",
|
|
"content": {
|
|
"application/vnd.api+json": {
|
|
"examples": {
|
|
"Description of an error when requesting a non-existing Rule": {
|
|
"value": {
|
|
"errors": [
|
|
"V2::Rule not found with ID 17a18eca-5266-463c-bd20-0c7176483d2a"
|
|
]
|
|
},
|
|
"summary": "",
|
|
"description": ""
|
|
}
|
|
},
|
|
"schema": {
|
|
"$ref": "#/components/schemas/errors"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"/security_guides/{security_guide_id}/profiles/{profile_id}/rules": {
|
|
"get": {
|
|
"summary": "Request Rules assigned to a Profile",
|
|
"parameters": [
|
|
{
|
|
"name": "X-RH-IDENTITY",
|
|
"in": "header",
|
|
"schema": {
|
|
"type": "string"
|
|
},
|
|
"description": "For internal use only"
|
|
},
|
|
{
|
|
"name": "limit",
|
|
"in": "query",
|
|
"required": false,
|
|
"description": "Number of items to return per page",
|
|
"schema": {
|
|
"type": "number",
|
|
"maximum": 100,
|
|
"minimum": 1,
|
|
"default": 10
|
|
}
|
|
},
|
|
{
|
|
"name": "offset",
|
|
"in": "query",
|
|
"required": false,
|
|
"description": "Offset of first item of paginated response",
|
|
"schema": {
|
|
"type": "integer",
|
|
"minimum": 0,
|
|
"default": 0
|
|
}
|
|
},
|
|
{
|
|
"name": "ids_only",
|
|
"in": "query",
|
|
"required": false,
|
|
"description": "Indicates whether to return only resource IDs.",
|
|
"schema": {
|
|
"type": "boolean"
|
|
}
|
|
},
|
|
{
|
|
"name": "sort_by",
|
|
"in": "query",
|
|
"required": false,
|
|
"description": "Attribute and direction to sort the items by. Represented by an array of fields with an optional direction (`<key>:asc` or `<key>:desc`).<br><br>If no direction is selected, `<key>:asc` is used by default.",
|
|
"schema": {
|
|
"type": "array",
|
|
"items": {
|
|
"enum": [
|
|
"title",
|
|
"severity",
|
|
"precedence",
|
|
"remediation_available",
|
|
"title:asc",
|
|
"title:desc",
|
|
"severity:asc",
|
|
"severity:desc",
|
|
"precedence:asc",
|
|
"precedence:desc",
|
|
"remediation_available:asc",
|
|
"remediation_available:desc"
|
|
]
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"name": "filter",
|
|
"in": "query",
|
|
"required": false,
|
|
"description": "Query string to filter items by their attributes. Compliant with <a href=\"https://github.com/wvanbergen/scoped_search/wiki/Query-language\" target=\"_blank\" title=\"github.com/wvanbergen/scoped_search\">scoped_search query language</a>. However, only `=` or `!=` (resp. `<>`) operators are supported.<br><br>Rules are searchable using attributes `title`, `severity`, `remediation_available`, and `rule_group_id`<br><br>(e.g.: `(field_1=something AND field_2!=\"something else\") OR field_3>40`)",
|
|
"schema": {
|
|
"type": "string"
|
|
}
|
|
},
|
|
{
|
|
"name": "security_guide_id",
|
|
"in": "path",
|
|
"required": true,
|
|
"schema": {
|
|
"type": "string"
|
|
}
|
|
},
|
|
{
|
|
"name": "profile_id",
|
|
"in": "path",
|
|
"required": true,
|
|
"schema": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
],
|
|
"tags": [
|
|
"Content"
|
|
],
|
|
"description": "Lists Rules assigned to a Profile",
|
|
"operationId": "ProfileRules",
|
|
"responses": {
|
|
"200": {
|
|
"description": "Lists Rules assigned to a Profile",
|
|
"content": {
|
|
"application/vnd.api+json": {
|
|
"examples": {
|
|
"List of Rules": {
|
|
"value": {
|
|
"data": [
|
|
{
|
|
"id": "10b33dae-95bd-4484-9359-eb515624610c",
|
|
"ref_id": "xccdf_org.ssgproject.content_rule_8b50ecc02e62c988eb5a1ac0fb7e44e4",
|
|
"title": "Assumenda est nam rerum.",
|
|
"rationale": "In reiciendis error. Atque eligendi aut. Adipisci aut ex.",
|
|
"description": "Consequatur quibusdam dolores. Eius iure officia. Qui sit est.",
|
|
"severity": "high",
|
|
"precedence": 1580,
|
|
"identifier": {
|
|
"href": "http://mayert.test/jerrod",
|
|
"label": "Ioreth"
|
|
},
|
|
"references": [
|
|
{
|
|
"href": "http://walker.example/yetta.littel",
|
|
"label": "Gorgol"
|
|
},
|
|
{
|
|
"href": "http://oconnell-wiegand.example/elease_marquardt",
|
|
"label": "Brandir"
|
|
},
|
|
{
|
|
"href": "http://ullrich.example/angel",
|
|
"label": "Isembard Took"
|
|
},
|
|
{
|
|
"href": "http://ankunding-kreiger.test/anton",
|
|
"label": "Dori"
|
|
},
|
|
{
|
|
"href": "http://schmitt-gleichner.example/margherita.hegmann",
|
|
"label": "Thranduil"
|
|
}
|
|
],
|
|
"value_checks": null,
|
|
"remediation_available": false,
|
|
"type": "rule",
|
|
"remediation_issue_id": null
|
|
},
|
|
{
|
|
"id": "165b1c49-b664-4c05-8887-beea02f88c24",
|
|
"ref_id": "xccdf_org.ssgproject.content_rule_95aba0f1ff5da0e712fdcc8225891f50",
|
|
"title": "Quae id labore repudiandae.",
|
|
"rationale": "Culpa dignissimos eos. Tempore suscipit facere. Accusamus ut magni.",
|
|
"description": "Sit nihil ratione. Architecto quia blanditiis. Tempora quisquam dolor.",
|
|
"severity": "high",
|
|
"precedence": 9871,
|
|
"identifier": {
|
|
"href": "http://macgyver.example/candra",
|
|
"label": "Dodinas Brandybuck"
|
|
},
|
|
"references": [
|
|
{
|
|
"href": "http://monahan-larson.test/christel",
|
|
"label": "Nellas"
|
|
},
|
|
{
|
|
"href": "http://little.test/darrell",
|
|
"label": "Aranwë"
|
|
},
|
|
{
|
|
"href": "http://erdman.test/meri.beier",
|
|
"label": "Galathil"
|
|
},
|
|
{
|
|
"href": "http://bruen-lemke.test/daysi_lowe",
|
|
"label": "Déorwine"
|
|
},
|
|
{
|
|
"href": "http://leannon-douglas.example/cleo",
|
|
"label": "Herion"
|
|
}
|
|
],
|
|
"value_checks": null,
|
|
"remediation_available": false,
|
|
"type": "rule",
|
|
"remediation_issue_id": null
|
|
},
|
|
{
|
|
"id": "176598db-136c-4ea6-9cd7-3a5ecad33f65",
|
|
"ref_id": "xccdf_org.ssgproject.content_rule_2e62a6db06eae59efc9e5c8cc565149a",
|
|
"title": "Dicta exercitationem est corrupti.",
|
|
"rationale": "Quia rerum tempora. Non rerum ut. Qui placeat perspiciatis.",
|
|
"description": "Rerum sed fugit. Dolorem assumenda molestiae. Ad animi a.",
|
|
"severity": "low",
|
|
"precedence": 7580,
|
|
"identifier": {
|
|
"href": "http://crona.test/misti.toy",
|
|
"label": "Almarian"
|
|
},
|
|
"references": [
|
|
{
|
|
"href": "http://johns-jacobson.example/leone.bayer",
|
|
"label": "Drogo Baggins"
|
|
},
|
|
{
|
|
"href": "http://anderson.test/shawnee.gibson",
|
|
"label": "Arathorn"
|
|
},
|
|
{
|
|
"href": "http://rempel.example/kris_borer",
|
|
"label": "Rollo Boffin"
|
|
},
|
|
{
|
|
"href": "http://altenwerth.test/phylis",
|
|
"label": "Gram"
|
|
},
|
|
{
|
|
"href": "http://johnston-gislason.test/dominick.okuneva",
|
|
"label": "Magor"
|
|
}
|
|
],
|
|
"value_checks": null,
|
|
"remediation_available": false,
|
|
"type": "rule",
|
|
"remediation_issue_id": null
|
|
},
|
|
{
|
|
"id": "179e0403-e2d7-4443-9134-3226f0079a0e",
|
|
"ref_id": "xccdf_org.ssgproject.content_rule_bce1a7b2d3fa599525749abbf95fae01",
|
|
"title": "Et voluptas delectus aut.",
|
|
"rationale": "Qui inventore velit. Hic qui quidem. Quasi ut enim.",
|
|
"description": "Sunt adipisci consequuntur. Omnis animi voluptate. Nihil est quia.",
|
|
"severity": "high",
|
|
"precedence": 7498,
|
|
"identifier": {
|
|
"href": "http://hilll.test/caleb_nader",
|
|
"label": "Mirabella Took"
|
|
},
|
|
"references": [
|
|
{
|
|
"href": "http://watsica.example/andria",
|
|
"label": "Elendur"
|
|
},
|
|
{
|
|
"href": "http://ohara.example/lenny.wyman",
|
|
"label": "Nurwë"
|
|
},
|
|
{
|
|
"href": "http://wisozk.example/jasper",
|
|
"label": "Gandalf"
|
|
},
|
|
{
|
|
"href": "http://nikolaus-mraz.test/lenny",
|
|
"label": "Gundabald Bolger"
|
|
},
|
|
{
|
|
"href": "http://hoeger-boehm.test/antony_abbott",
|
|
"label": "Malbeth"
|
|
}
|
|
],
|
|
"value_checks": null,
|
|
"remediation_available": false,
|
|
"type": "rule",
|
|
"remediation_issue_id": null
|
|
},
|
|
{
|
|
"id": "299afafb-e87c-4d4c-885b-69cc34429f54",
|
|
"ref_id": "xccdf_org.ssgproject.content_rule_8703a51b3202cda400697125d43a9124",
|
|
"title": "Quis tenetur dolores distinctio.",
|
|
"rationale": "Dolores hic non. Mollitia voluptas molestiae. Et assumenda atque.",
|
|
"description": "Voluptas aliquam deserunt. Non dolorem doloribus. Voluptatum numquam consequatur.",
|
|
"severity": "high",
|
|
"precedence": 3188,
|
|
"identifier": {
|
|
"href": "http://rutherford.example/marty",
|
|
"label": "Artamir"
|
|
},
|
|
"references": [
|
|
{
|
|
"href": "http://waelchi.test/samantha",
|
|
"label": "Boron"
|
|
},
|
|
{
|
|
"href": "http://hermann.test/arica.schmitt",
|
|
"label": "Bregil"
|
|
},
|
|
{
|
|
"href": "http://ryan.example/alice",
|
|
"label": "Háma"
|
|
},
|
|
{
|
|
"href": "http://lehner.example/shizuko.kulas",
|
|
"label": "Carcharoth"
|
|
},
|
|
{
|
|
"href": "http://wilderman-white.test/tora",
|
|
"label": "Erien"
|
|
}
|
|
],
|
|
"value_checks": null,
|
|
"remediation_available": false,
|
|
"type": "rule",
|
|
"remediation_issue_id": null
|
|
},
|
|
{
|
|
"id": "3342c326-e690-4b83-be39-ab28593e5cec",
|
|
"ref_id": "xccdf_org.ssgproject.content_rule_6f1e0381ccbef54ae2c233acbbab8a29",
|
|
"title": "Vitae dolore qui eligendi.",
|
|
"rationale": "Velit ratione maxime. Culpa magnam iusto. Dolores error cum.",
|
|
"description": "Quos esse dolores. Distinctio ut molestiae. Omnis reprehenderit et.",
|
|
"severity": "low",
|
|
"precedence": 2309,
|
|
"identifier": {
|
|
"href": "http://emard.test/tera.grimes",
|
|
"label": "Gundor"
|
|
},
|
|
"references": [
|
|
{
|
|
"href": "http://jast.example/shanti",
|
|
"label": "Berelach"
|
|
},
|
|
{
|
|
"href": "http://kuphal-torp.example/eusebio.altenwerth",
|
|
"label": "Gollum"
|
|
},
|
|
{
|
|
"href": "http://thiel.test/sandie",
|
|
"label": "Polo Baggins"
|
|
},
|
|
{
|
|
"href": "http://oconnell.test/garret.kertzmann",
|
|
"label": "Otho Sackville-Baggins"
|
|
},
|
|
{
|
|
"href": "http://lindgren.example/kory",
|
|
"label": "Hallatan"
|
|
}
|
|
],
|
|
"value_checks": null,
|
|
"remediation_available": false,
|
|
"type": "rule",
|
|
"remediation_issue_id": null
|
|
},
|
|
{
|
|
"id": "365c1b9c-d5eb-41da-93f6-0d6dc85d2ebe",
|
|
"ref_id": "xccdf_org.ssgproject.content_rule_8ebd0fa31f31f4d5329fdc7ce1899109",
|
|
"title": "Dolore exercitationem ex quos.",
|
|
"rationale": "Aut soluta quo. Vitae repudiandae quia. Enim ipsa minima.",
|
|
"description": "Expedita et iure. Illo hic expedita. Aut sed ipsa.",
|
|
"severity": "low",
|
|
"precedence": 9205,
|
|
"identifier": {
|
|
"href": "http://olson.test/owen_gulgowski",
|
|
"label": "Fíriel Fairbairn"
|
|
},
|
|
"references": [
|
|
{
|
|
"href": "http://oberbrunner-brekke.test/steven",
|
|
"label": "Sigismond Took"
|
|
},
|
|
{
|
|
"href": "http://weimann-kunde.example/irwin_cummings",
|
|
"label": "Isumbras"
|
|
},
|
|
{
|
|
"href": "http://prohaska.example/carmine_langosh",
|
|
"label": "Minardil"
|
|
},
|
|
{
|
|
"href": "http://schneider.test/deandre_balistreri",
|
|
"label": "Ciryatur"
|
|
},
|
|
{
|
|
"href": "http://rau.example/ernestine",
|
|
"label": "Holdwine"
|
|
}
|
|
],
|
|
"value_checks": null,
|
|
"remediation_available": false,
|
|
"type": "rule",
|
|
"remediation_issue_id": null
|
|
},
|
|
{
|
|
"id": "48b5dd08-2d47-47d9-8926-78dc72d77e51",
|
|
"ref_id": "xccdf_org.ssgproject.content_rule_20da97659175b116538bcf7fcabc749a",
|
|
"title": "Nihil suscipit eum deserunt.",
|
|
"rationale": "Impedit tenetur et. Maxime autem et. Rerum eligendi fugiat.",
|
|
"description": "Velit tenetur voluptates. Qui quaerat qui. Est similique a.",
|
|
"severity": "high",
|
|
"precedence": 5455,
|
|
"identifier": {
|
|
"href": "http://hamill.example/giovanni_wuckert",
|
|
"label": "Lobelia Sackville-Baggins"
|
|
},
|
|
"references": [
|
|
{
|
|
"href": "http://nicolas.test/rob_legros",
|
|
"label": "Frerin"
|
|
},
|
|
{
|
|
"href": "http://kessler-schultz.example/dessie",
|
|
"label": "Ardamir"
|
|
},
|
|
{
|
|
"href": "http://wuckert-dubuque.test/brain",
|
|
"label": "Mouth of Sauron"
|
|
},
|
|
{
|
|
"href": "http://hamill.example/ivory",
|
|
"label": "Araval"
|
|
},
|
|
{
|
|
"href": "http://marvin.test/antonio_mayert",
|
|
"label": "Buldar"
|
|
}
|
|
],
|
|
"value_checks": null,
|
|
"remediation_available": false,
|
|
"type": "rule",
|
|
"remediation_issue_id": null
|
|
},
|
|
{
|
|
"id": "4caf0d9b-ba61-4a6c-93ce-43a945272b5a",
|
|
"ref_id": "xccdf_org.ssgproject.content_rule_688144c8bfd2ed7c8d7a4d38ef604497",
|
|
"title": "Delectus nesciunt numquam facilis.",
|
|
"rationale": "Sunt tempora nobis. Doloribus nobis ea. Magnam quis quasi.",
|
|
"description": "Provident dicta assumenda. Reiciendis quia exercitationem. Nemo est est.",
|
|
"severity": "high",
|
|
"precedence": 5402,
|
|
"identifier": {
|
|
"href": "http://reichel.test/gennie",
|
|
"label": "Tindómiel"
|
|
},
|
|
"references": [
|
|
{
|
|
"href": "http://shields.test/sook",
|
|
"label": "Glóin"
|
|
},
|
|
{
|
|
"href": "http://nader.example/adah_green",
|
|
"label": "Idis"
|
|
},
|
|
{
|
|
"href": "http://collins-auer.test/curt.nicolas",
|
|
"label": "Tanta Hornblower"
|
|
},
|
|
{
|
|
"href": "http://powlowski.example/donita.cremin",
|
|
"label": "Folcwine"
|
|
},
|
|
{
|
|
"href": "http://hayes-hills.example/lavern_raynor",
|
|
"label": "Éowyn"
|
|
}
|
|
],
|
|
"value_checks": null,
|
|
"remediation_available": false,
|
|
"type": "rule",
|
|
"remediation_issue_id": null
|
|
},
|
|
{
|
|
"id": "6520187b-3492-4cca-bd4b-0fc49254c896",
|
|
"ref_id": "xccdf_org.ssgproject.content_rule_8321f2928a7f545a13ac19046babb817",
|
|
"title": "Et placeat ipsam veniam.",
|
|
"rationale": "Quas qui nostrum. Qui sed nesciunt. Quia commodi delectus.",
|
|
"description": "Quae porro harum. Eos tenetur libero. Aspernatur neque temporibus.",
|
|
"severity": "high",
|
|
"precedence": 4995,
|
|
"identifier": {
|
|
"href": "http://ortiz.test/raymon_quigley",
|
|
"label": "Frerin"
|
|
},
|
|
"references": [
|
|
{
|
|
"href": "http://maggio.test/cleta_corkery",
|
|
"label": "Helm"
|
|
},
|
|
{
|
|
"href": "http://connelly-bins.test/cesar.kulas",
|
|
"label": "Frodo Gardner"
|
|
},
|
|
{
|
|
"href": "http://oconner-ryan.example/lorinda.williamson",
|
|
"label": "Siriondil"
|
|
},
|
|
{
|
|
"href": "http://crist.example/ivory.rolfson",
|
|
"label": "Harding of the Hill"
|
|
},
|
|
{
|
|
"href": "http://schimmel.example/suanne_goyette",
|
|
"label": "Olo Proudfoot"
|
|
}
|
|
],
|
|
"value_checks": null,
|
|
"remediation_available": false,
|
|
"type": "rule",
|
|
"remediation_issue_id": null
|
|
}
|
|
],
|
|
"meta": {
|
|
"total": 25,
|
|
"limit": 10,
|
|
"offset": 0
|
|
},
|
|
"links": {
|
|
"first": "/api/compliance/v2/security_guides/c7fe7054-9895-44cb-83af-e749de8d7cf8/profiles/54823631-c668-4f56-989e-9960443fd434/rules?limit=10&offset=0",
|
|
"last": "/api/compliance/v2/security_guides/c7fe7054-9895-44cb-83af-e749de8d7cf8/profiles/54823631-c668-4f56-989e-9960443fd434/rules?limit=10&offset=20",
|
|
"next": "/api/compliance/v2/security_guides/c7fe7054-9895-44cb-83af-e749de8d7cf8/profiles/54823631-c668-4f56-989e-9960443fd434/rules?limit=10&offset=10"
|
|
}
|
|
},
|
|
"summary": "",
|
|
"description": ""
|
|
},
|
|
"List of Rules sorted by \"precedence:asc\"": {
|
|
"value": {
|
|
"data": [
|
|
{
|
|
"id": "4cd39a22-26e4-410f-9af9-f5dc260ea9a8",
|
|
"ref_id": "xccdf_org.ssgproject.content_rule_08e6e4bf92bf5aa05c773386274ab591",
|
|
"title": "Omnis enim non sed.",
|
|
"rationale": "Tempora dolorem aliquam. Velit qui aut. Eligendi quasi sit.",
|
|
"description": "Tenetur harum libero. Non molestias quasi. Eius et necessitatibus.",
|
|
"severity": "low",
|
|
"precedence": 515,
|
|
"identifier": {
|
|
"href": "http://schulist.example/valentin.kub",
|
|
"label": "Orontor"
|
|
},
|
|
"references": [
|
|
{
|
|
"href": "http://ohara-streich.example/eldon.larkin",
|
|
"label": "Cotman"
|
|
},
|
|
{
|
|
"href": "http://nicolas-powlowski.example/bret",
|
|
"label": "Dernhelm"
|
|
},
|
|
{
|
|
"href": "http://kohler.test/shirley",
|
|
"label": "Ailinel"
|
|
},
|
|
{
|
|
"href": "http://schneider.test/keith_larkin",
|
|
"label": "Hamson Gamgee"
|
|
},
|
|
{
|
|
"href": "http://rice-jaskolski.example/ashley",
|
|
"label": "Briffo Boffin"
|
|
}
|
|
],
|
|
"value_checks": null,
|
|
"remediation_available": false,
|
|
"type": "rule",
|
|
"remediation_issue_id": null
|
|
},
|
|
{
|
|
"id": "3f2a83d5-3b87-43df-af0d-bc0c18d0525d",
|
|
"ref_id": "xccdf_org.ssgproject.content_rule_0dbb347a9fc00b3557ccd011ba23f839",
|
|
"title": "Laudantium at iure quo.",
|
|
"rationale": "Et sint voluptate. Consequatur a et. Facere voluptatem optio.",
|
|
"description": "Vero perferendis dolor. Occaecati adipisci qui. Mollitia itaque et.",
|
|
"severity": "high",
|
|
"precedence": 763,
|
|
"identifier": {
|
|
"href": "http://schumm-oconner.example/olive",
|
|
"label": "Gollum"
|
|
},
|
|
"references": [
|
|
{
|
|
"href": "http://quigley-wilkinson.example/flora",
|
|
"label": "Dora Baggins"
|
|
},
|
|
{
|
|
"href": "http://reynolds.example/ha_king",
|
|
"label": "Ulwarth"
|
|
},
|
|
{
|
|
"href": "http://jones.example/marnie_jakubowski",
|
|
"label": "Beldir"
|
|
},
|
|
{
|
|
"href": "http://marquardt.test/eddy_bosco",
|
|
"label": "Mardil"
|
|
},
|
|
{
|
|
"href": "http://mosciski-olson.example/aida",
|
|
"label": "Orleg"
|
|
}
|
|
],
|
|
"value_checks": null,
|
|
"remediation_available": false,
|
|
"type": "rule",
|
|
"remediation_issue_id": null
|
|
},
|
|
{
|
|
"id": "03b1cbdd-4f7e-4860-ba36-bbd3e89a33e0",
|
|
"ref_id": "xccdf_org.ssgproject.content_rule_79e160b2a9c3dd77dc13a5e621750e51",
|
|
"title": "Nisi debitis sed dolor.",
|
|
"rationale": "Esse quis facere. Provident voluptatibus hic. Animi sint maxime.",
|
|
"description": "Tempore dolores atque. Aut et magnam. Voluptatibus voluptates ipsum.",
|
|
"severity": "medium",
|
|
"precedence": 1201,
|
|
"identifier": {
|
|
"href": "http://marquardt.example/danita_harris",
|
|
"label": "Tar-Atanamir"
|
|
},
|
|
"references": [
|
|
{
|
|
"href": "http://dickens-mitchell.test/manuel_davis",
|
|
"label": "Algund"
|
|
},
|
|
{
|
|
"href": "http://roob.example/haydee.jones",
|
|
"label": "Elladan"
|
|
},
|
|
{
|
|
"href": "http://koepp.example/dominic",
|
|
"label": "Asphodel Brandybuck"
|
|
},
|
|
{
|
|
"href": "http://kessler.example/isaac.harris",
|
|
"label": "Lily Brown"
|
|
},
|
|
{
|
|
"href": "http://bogan-carroll.test/jules.hayes",
|
|
"label": "Fengel"
|
|
}
|
|
],
|
|
"value_checks": null,
|
|
"remediation_available": false,
|
|
"type": "rule",
|
|
"remediation_issue_id": null
|
|
},
|
|
{
|
|
"id": "3bb10da9-6efa-4f06-bc1b-79915d9f4224",
|
|
"ref_id": "xccdf_org.ssgproject.content_rule_ad61aa05ca7e1bfbb23625b3d7de293e",
|
|
"title": "Qui tempora est aut.",
|
|
"rationale": "Dicta eaque ut. Natus quos rem. Reprehenderit eum quod.",
|
|
"description": "Qui dolore nostrum. Exercitationem repellat tempora. Et sed officia.",
|
|
"severity": "low",
|
|
"precedence": 2180,
|
|
"identifier": {
|
|
"href": "http://lueilwitz.example/heriberto.lebsack",
|
|
"label": "Imlach"
|
|
},
|
|
"references": [
|
|
{
|
|
"href": "http://swaniawski.test/royce",
|
|
"label": "Nellas"
|
|
},
|
|
{
|
|
"href": "http://gerlach.test/jacqualine_rutherford",
|
|
"label": "Gléowine"
|
|
},
|
|
{
|
|
"href": "http://toy.example/kenyetta_kutch",
|
|
"label": "Guilin"
|
|
},
|
|
{
|
|
"href": "http://schoen.test/rudy",
|
|
"label": "Marach"
|
|
},
|
|
{
|
|
"href": "http://harber-ernser.test/bridget.huels",
|
|
"label": "Fréaláf"
|
|
}
|
|
],
|
|
"value_checks": null,
|
|
"remediation_available": false,
|
|
"type": "rule",
|
|
"remediation_issue_id": null
|
|
},
|
|
{
|
|
"id": "a0596711-1b19-4712-9834-d73648f5a5c9",
|
|
"ref_id": "xccdf_org.ssgproject.content_rule_08591fece0e4be419341f58c3d673141",
|
|
"title": "Enim et voluptas accusamus.",
|
|
"rationale": "Quis rerum totam. Autem maxime consectetur. Veritatis beatae nemo.",
|
|
"description": "Ipsum nesciunt saepe. Aspernatur in tempore. Distinctio ea quaerat.",
|
|
"severity": "high",
|
|
"precedence": 2458,
|
|
"identifier": {
|
|
"href": "http://tromp.example/joi",
|
|
"label": "Bofur"
|
|
},
|
|
"references": [
|
|
{
|
|
"href": "http://smith.example/annalisa.volkman",
|
|
"label": "Marcho"
|
|
},
|
|
{
|
|
"href": "http://ratke.test/daron",
|
|
"label": "Háma"
|
|
},
|
|
{
|
|
"href": "http://greenholt.test/hildegarde",
|
|
"label": "Fëanor"
|
|
},
|
|
{
|
|
"href": "http://connelly-mueller.test/shaun",
|
|
"label": "Orodreth"
|
|
},
|
|
{
|
|
"href": "http://lehner.test/wynell",
|
|
"label": "Andreth"
|
|
}
|
|
],
|
|
"value_checks": null,
|
|
"remediation_available": false,
|
|
"type": "rule",
|
|
"remediation_issue_id": null
|
|
},
|
|
{
|
|
"id": "fccea67c-cbb0-4163-8b98-bd5b50be02f5",
|
|
"ref_id": "xccdf_org.ssgproject.content_rule_f7bce71774681ba684619cf172e112a7",
|
|
"title": "Voluptatibus dolor fuga autem.",
|
|
"rationale": "Qui fugit sapiente. Excepturi et ipsa. Nam fugit recusandae.",
|
|
"description": "Enim maiores neque. Rerum et laborum. Et sunt dolores.",
|
|
"severity": "low",
|
|
"precedence": 2731,
|
|
"identifier": {
|
|
"href": "http://hermann.test/avery",
|
|
"label": "Aravir"
|
|
},
|
|
"references": [
|
|
{
|
|
"href": "http://terry-lueilwitz.test/harlan",
|
|
"label": "Girion"
|
|
},
|
|
{
|
|
"href": "http://beier.example/leandra",
|
|
"label": "Grór"
|
|
},
|
|
{
|
|
"href": "http://walker.example/bennett_herman",
|
|
"label": "Gollum"
|
|
},
|
|
{
|
|
"href": "http://wolf-maggio.example/bob_raynor",
|
|
"label": "Esmeralda Took"
|
|
},
|
|
{
|
|
"href": "http://sawayn-gerlach.test/jess.dibbert",
|
|
"label": "Maeglin"
|
|
}
|
|
],
|
|
"value_checks": null,
|
|
"remediation_available": false,
|
|
"type": "rule",
|
|
"remediation_issue_id": null
|
|
},
|
|
{
|
|
"id": "1458284c-019f-42da-b2f0-41c8619e9c3d",
|
|
"ref_id": "xccdf_org.ssgproject.content_rule_db817b1803f89a1808780cb07bace85b",
|
|
"title": "Dolorem dignissimos eum quisquam.",
|
|
"rationale": "Iste autem illum. Quo recusandae occaecati. Ea architecto pariatur.",
|
|
"description": "A et sit. Doloremque commodi hic. At consequatur asperiores.",
|
|
"severity": "high",
|
|
"precedence": 3429,
|
|
"identifier": {
|
|
"href": "http://kreiger-emmerich.example/boyce.bode",
|
|
"label": "Goldberry"
|
|
},
|
|
"references": [
|
|
{
|
|
"href": "http://nolan.test/irwin",
|
|
"label": "Sauron"
|
|
},
|
|
{
|
|
"href": "http://schaefer-wilderman.test/theodore_johnson",
|
|
"label": "Manwendil"
|
|
},
|
|
{
|
|
"href": "http://kessler.example/jan_reichel",
|
|
"label": "Khamûl"
|
|
},
|
|
{
|
|
"href": "http://abshire.example/shara.williamson",
|
|
"label": "Thranduil"
|
|
},
|
|
{
|
|
"href": "http://emard.example/benito",
|
|
"label": "Mardil"
|
|
}
|
|
],
|
|
"value_checks": null,
|
|
"remediation_available": false,
|
|
"type": "rule",
|
|
"remediation_issue_id": null
|
|
},
|
|
{
|
|
"id": "09c2132b-3351-42a0-bf59-add11723b91f",
|
|
"ref_id": "xccdf_org.ssgproject.content_rule_75c4686fd0a2488f024369fbe853b462",
|
|
"title": "Possimus nisi rerum est.",
|
|
"rationale": "Pariatur expedita explicabo. Soluta sapiente omnis. Similique autem tenetur.",
|
|
"description": "Adipisci et et. Id molestias impedit. Qui odio numquam.",
|
|
"severity": "high",
|
|
"precedence": 3884,
|
|
"identifier": {
|
|
"href": "http://rice.test/shizue_zulauf",
|
|
"label": "Bowman Cotton"
|
|
},
|
|
"references": [
|
|
{
|
|
"href": "http://dicki-stracke.example/millard_powlowski",
|
|
"label": "Otho Sackville-Baggins"
|
|
},
|
|
{
|
|
"href": "http://collins-jenkins.test/lon",
|
|
"label": "Wilibald Bolger"
|
|
},
|
|
{
|
|
"href": "http://bashirian-bergstrom.example/danilo_reinger",
|
|
"label": "Gildor"
|
|
},
|
|
{
|
|
"href": "http://kemmer.test/zachariah",
|
|
"label": "Boar of Everholt"
|
|
},
|
|
{
|
|
"href": "http://connelly.test/kendall_upton",
|
|
"label": "Sauron"
|
|
}
|
|
],
|
|
"value_checks": null,
|
|
"remediation_available": false,
|
|
"type": "rule",
|
|
"remediation_issue_id": null
|
|
},
|
|
{
|
|
"id": "595a4e2d-b2c4-43cc-9779-c570b0052ff6",
|
|
"ref_id": "xccdf_org.ssgproject.content_rule_bf471238ef914275a0fa5e7d105f0361",
|
|
"title": "Provident optio est doloribus.",
|
|
"rationale": "Odio est vitae. Officia quasi et. Delectus molestiae nihil.",
|
|
"description": "Eos qui libero. Necessitatibus voluptatum culpa. Dolorum et voluptas.",
|
|
"severity": "medium",
|
|
"precedence": 3915,
|
|
"identifier": {
|
|
"href": "http://lueilwitz.example/yer.ohara",
|
|
"label": "Ailinel"
|
|
},
|
|
"references": [
|
|
{
|
|
"href": "http://blanda.example/chase",
|
|
"label": "Henderch"
|
|
},
|
|
{
|
|
"href": "http://lesch-waters.example/shad.simonis",
|
|
"label": "Imrazôr"
|
|
},
|
|
{
|
|
"href": "http://schuster-kub.example/ardith.quitzon",
|
|
"label": "Ar-Gimilzôr"
|
|
},
|
|
{
|
|
"href": "http://heathcote.example/kelly",
|
|
"label": "Merimac Brandybuck"
|
|
},
|
|
{
|
|
"href": "http://cummings.example/lizzie_ortiz",
|
|
"label": "Nurwë"
|
|
}
|
|
],
|
|
"value_checks": null,
|
|
"remediation_available": false,
|
|
"type": "rule",
|
|
"remediation_issue_id": null
|
|
},
|
|
{
|
|
"id": "49aa7727-ae9c-4fd6-97ec-66a9daf64c88",
|
|
"ref_id": "xccdf_org.ssgproject.content_rule_9ccb1c7207f417f85a1cd303d9cca255",
|
|
"title": "Quo qui reprehenderit ducimus.",
|
|
"rationale": "Ad perspiciatis molestiae. Totam sed voluptatum. Facere repellendus voluptatem.",
|
|
"description": "Sequi sed at. Molestiae aperiam distinctio. Earum ea odit.",
|
|
"severity": "low",
|
|
"precedence": 4190,
|
|
"identifier": {
|
|
"href": "http://moen-emard.test/allen_powlowski",
|
|
"label": "Belecthor"
|
|
},
|
|
"references": [
|
|
{
|
|
"href": "http://vonrueden.test/sandra.white",
|
|
"label": "Aegnor"
|
|
},
|
|
{
|
|
"href": "http://quitzon.test/lesley",
|
|
"label": "Fréawine"
|
|
},
|
|
{
|
|
"href": "http://schneider.test/julissa.hand",
|
|
"label": "Meleth"
|
|
},
|
|
{
|
|
"href": "http://abernathy.test/darren_hackett",
|
|
"label": "Turgon"
|
|
},
|
|
{
|
|
"href": "http://greenholt.test/timothy",
|
|
"label": "Ingold"
|
|
}
|
|
],
|
|
"value_checks": null,
|
|
"remediation_available": false,
|
|
"type": "rule",
|
|
"remediation_issue_id": null
|
|
}
|
|
],
|
|
"meta": {
|
|
"total": 25,
|
|
"limit": 10,
|
|
"offset": 0,
|
|
"sort_by": "precedence"
|
|
},
|
|
"links": {
|
|
"first": "/api/compliance/v2/security_guides/0806d3ac-5319-4128-91c2-6cc2d3058e07/profiles/96e10c32-fbde-47dd-b892-899185e7bb06/rules?limit=10&offset=0&sort_by=precedence",
|
|
"last": "/api/compliance/v2/security_guides/0806d3ac-5319-4128-91c2-6cc2d3058e07/profiles/96e10c32-fbde-47dd-b892-899185e7bb06/rules?limit=10&offset=20&sort_by=precedence",
|
|
"next": "/api/compliance/v2/security_guides/0806d3ac-5319-4128-91c2-6cc2d3058e07/profiles/96e10c32-fbde-47dd-b892-899185e7bb06/rules?limit=10&offset=10&sort_by=precedence"
|
|
}
|
|
},
|
|
"summary": "",
|
|
"description": ""
|
|
}
|
|
},
|
|
"schema": {
|
|
"type": "object",
|
|
"properties": {
|
|
"meta": {
|
|
"$ref": "#/components/schemas/metadata"
|
|
},
|
|
"links": {
|
|
"$ref": "#/components/schemas/links"
|
|
},
|
|
"data": {
|
|
"type": "array",
|
|
"items": {
|
|
"properties": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/rule"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"422": {
|
|
"description": "Returns with Unprocessable Content",
|
|
"content": {
|
|
"application/vnd.api+json": {
|
|
"examples": {
|
|
"Description of an error when sorting by incorrect parameter": {
|
|
"value": {
|
|
"errors": [
|
|
"Result cannot be sorted by the 'description' column."
|
|
]
|
|
},
|
|
"summary": "",
|
|
"description": ""
|
|
},
|
|
"Description of an error when requesting higher limit than supported": {
|
|
"value": {
|
|
"errors": [
|
|
"Invalid parameter: limit must be less than or equal to 100"
|
|
]
|
|
},
|
|
"summary": "",
|
|
"description": ""
|
|
}
|
|
},
|
|
"schema": {
|
|
"$ref": "#/components/schemas/errors"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"/security_guides/{security_guide_id}/profiles/{profile_id}/rules/{rule_id}": {
|
|
"get": {
|
|
"summary": "Request a Rule assigned to a Profile",
|
|
"parameters": [
|
|
{
|
|
"name": "X-RH-IDENTITY",
|
|
"in": "header",
|
|
"schema": {
|
|
"type": "string"
|
|
},
|
|
"description": "For internal use only"
|
|
},
|
|
{
|
|
"name": "security_guide_id",
|
|
"in": "path",
|
|
"required": true,
|
|
"schema": {
|
|
"type": "string"
|
|
}
|
|
},
|
|
{
|
|
"name": "profile_id",
|
|
"in": "path",
|
|
"required": true,
|
|
"schema": {
|
|
"type": "string"
|
|
}
|
|
},
|
|
{
|
|
"name": "rule_id",
|
|
"in": "path",
|
|
"required": true,
|
|
"description": "UUID or a ref_id with '.' characters replaced with '-'",
|
|
"schema": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
],
|
|
"tags": [
|
|
"Content"
|
|
],
|
|
"description": "Returns a Rule assigned to a Profile",
|
|
"operationId": "ProfileRule",
|
|
"responses": {
|
|
"200": {
|
|
"description": "Returns a Rule assigned to a Profile",
|
|
"content": {
|
|
"application/vnd.api+json": {
|
|
"examples": {
|
|
"Returns a Rule": {
|
|
"value": {
|
|
"data": {
|
|
"id": "58e38b1e-0b60-42f1-997e-14ff2e3cee7b",
|
|
"ref_id": "xccdf_org.ssgproject.content_rule_eab137e54cccba4844cb4442520c4ab0",
|
|
"title": "Sapiente ut voluptate a.",
|
|
"rationale": "Minus voluptas officiis. Quos aliquid omnis. Reiciendis sunt natus.",
|
|
"description": "Ratione veniam qui. Aut explicabo aut. Sed consequatur nisi.",
|
|
"severity": "medium",
|
|
"precedence": 4713,
|
|
"identifier": {
|
|
"href": "http://breitenberg.test/bruce_witting",
|
|
"label": "Ivriniel"
|
|
},
|
|
"references": [
|
|
{
|
|
"href": "http://heaney.test/demarcus.ankunding",
|
|
"label": "Aegnor"
|
|
},
|
|
{
|
|
"href": "http://stamm.example/flor",
|
|
"label": "Samwise Gamgee"
|
|
},
|
|
{
|
|
"href": "http://rogahn.test/edra.halvorson",
|
|
"label": "Elfwine"
|
|
},
|
|
{
|
|
"href": "http://rau-gutkowski.example/norman",
|
|
"label": "Saradoc Brandybuck"
|
|
},
|
|
{
|
|
"href": "http://veum.example/katharina.okon",
|
|
"label": "Landroval"
|
|
}
|
|
],
|
|
"value_checks": null,
|
|
"remediation_available": false,
|
|
"type": "rule",
|
|
"remediation_issue_id": null
|
|
}
|
|
},
|
|
"summary": "",
|
|
"description": ""
|
|
}
|
|
},
|
|
"schema": {
|
|
"type": "object",
|
|
"properties": {
|
|
"data": {
|
|
"type": "object",
|
|
"properties": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/rule"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"404": {
|
|
"description": "Returns with Not Found",
|
|
"content": {
|
|
"application/vnd.api+json": {
|
|
"examples": {
|
|
"Description of an error when requesting a non-existing Rule": {
|
|
"value": {
|
|
"errors": [
|
|
"V2::Rule not found with ID c1293003-1341-4aa7-9073-f8c8c9cd4dcd"
|
|
]
|
|
},
|
|
"summary": "",
|
|
"description": ""
|
|
}
|
|
},
|
|
"schema": {
|
|
"$ref": "#/components/schemas/errors"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"/policies/{policy_id}/tailorings/{tailoring_id}/rules": {
|
|
"get": {
|
|
"summary": "Request Rules assigned to a Tailoring",
|
|
"parameters": [
|
|
{
|
|
"name": "X-RH-IDENTITY",
|
|
"in": "header",
|
|
"schema": {
|
|
"type": "string"
|
|
},
|
|
"description": "For internal use only"
|
|
},
|
|
{
|
|
"name": "limit",
|
|
"in": "query",
|
|
"required": false,
|
|
"description": "Number of items to return per page",
|
|
"schema": {
|
|
"type": "number",
|
|
"maximum": 100,
|
|
"minimum": 1,
|
|
"default": 10
|
|
}
|
|
},
|
|
{
|
|
"name": "offset",
|
|
"in": "query",
|
|
"required": false,
|
|
"description": "Offset of first item of paginated response",
|
|
"schema": {
|
|
"type": "integer",
|
|
"minimum": 0,
|
|
"default": 0
|
|
}
|
|
},
|
|
{
|
|
"name": "ids_only",
|
|
"in": "query",
|
|
"required": false,
|
|
"description": "Indicates whether to return only resource IDs.",
|
|
"schema": {
|
|
"type": "boolean"
|
|
}
|
|
},
|
|
{
|
|
"name": "sort_by",
|
|
"in": "query",
|
|
"required": false,
|
|
"description": "Attribute and direction to sort the items by. Represented by an array of fields with an optional direction (`<key>:asc` or `<key>:desc`).<br><br>If no direction is selected, `<key>:asc` is used by default.",
|
|
"schema": {
|
|
"type": "array",
|
|
"items": {
|
|
"enum": [
|
|
"title",
|
|
"severity",
|
|
"precedence",
|
|
"remediation_available",
|
|
"title:asc",
|
|
"title:desc",
|
|
"severity:asc",
|
|
"severity:desc",
|
|
"precedence:asc",
|
|
"precedence:desc",
|
|
"remediation_available:asc",
|
|
"remediation_available:desc"
|
|
]
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"name": "filter",
|
|
"in": "query",
|
|
"required": false,
|
|
"description": "Query string to filter items by their attributes. Compliant with <a href=\"https://github.com/wvanbergen/scoped_search/wiki/Query-language\" target=\"_blank\" title=\"github.com/wvanbergen/scoped_search\">scoped_search query language</a>. However, only `=` or `!=` (resp. `<>`) operators are supported.<br><br>Rules are searchable using attributes `title`, `severity`, `remediation_available`, and `rule_group_id`<br><br>(e.g.: `(field_1=something AND field_2!=\"something else\") OR field_3>40`)",
|
|
"schema": {
|
|
"type": "string"
|
|
}
|
|
},
|
|
{
|
|
"name": "policy_id",
|
|
"in": "path",
|
|
"required": true,
|
|
"schema": {
|
|
"type": "string"
|
|
}
|
|
},
|
|
{
|
|
"name": "tailoring_id",
|
|
"in": "path",
|
|
"required": true,
|
|
"schema": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
],
|
|
"tags": [
|
|
"Policies"
|
|
],
|
|
"description": "Lists Rules assigned to a Tailoring",
|
|
"operationId": "TailoringRules",
|
|
"responses": {
|
|
"200": {
|
|
"description": "Lists Rules assigned to a Tailoring",
|
|
"content": {
|
|
"application/vnd.api+json": {
|
|
"examples": {
|
|
"List of Rules": {
|
|
"value": {
|
|
"data": [
|
|
{
|
|
"id": "91c646a4-5b3d-4872-82be-098aa7b76476",
|
|
"ref_id": "xccdf_org.ssgproject.content_rule_a4baa8bb72a2ba71f889d87b15e4ad32",
|
|
"title": "Accusamus molestiae suscipit tempore.",
|
|
"rationale": "Iure ipsam eos. Quia ipsa minima. Sequi tempore autem.",
|
|
"description": "In voluptatem sit. Ut perferendis nihil. Veniam ea animi.",
|
|
"severity": "medium",
|
|
"precedence": 5342,
|
|
"identifier": {
|
|
"href": "http://carroll-veum.test/fermin.konopelski",
|
|
"label": "Carl Cotton"
|
|
},
|
|
"references": [
|
|
{
|
|
"href": "http://rodriguez-parker.example/werner",
|
|
"label": "Ancalagon"
|
|
},
|
|
{
|
|
"href": "http://morar.example/samuel",
|
|
"label": "Fastred of Greenholm"
|
|
},
|
|
{
|
|
"href": "http://hintz-stehr.example/jan",
|
|
"label": "Ungoliant"
|
|
},
|
|
{
|
|
"href": "http://jacobson.example/agatha",
|
|
"label": "Haldad"
|
|
},
|
|
{
|
|
"href": "http://stracke.example/carey",
|
|
"label": "Gimilkhâd"
|
|
}
|
|
],
|
|
"value_checks": null,
|
|
"remediation_available": false,
|
|
"type": "rule"
|
|
}
|
|
],
|
|
"meta": {
|
|
"total": 1,
|
|
"limit": 10,
|
|
"offset": 0
|
|
},
|
|
"links": {
|
|
"first": "/api/compliance/v2/policies/416b9016-bbfa-4d70-96e6-c136a0fc1f35/tailorings/18afa131-5a3d-434c-b2d6-fdce85f06f89/rules?limit=10&offset=0",
|
|
"last": "/api/compliance/v2/policies/416b9016-bbfa-4d70-96e6-c136a0fc1f35/tailorings/18afa131-5a3d-434c-b2d6-fdce85f06f89/rules?limit=10&offset=0"
|
|
}
|
|
},
|
|
"summary": "",
|
|
"description": ""
|
|
},
|
|
"List of Rules sorted by \"precedence:asc\"": {
|
|
"value": {
|
|
"data": [
|
|
{
|
|
"id": "6f7c39e5-2731-42fb-b0f6-3df4521e983f",
|
|
"ref_id": "xccdf_org.ssgproject.content_rule_93ee5a84ecef3a3f136b9f7a96c41e31",
|
|
"title": "Consequatur possimus distinctio molestiae.",
|
|
"rationale": "Eos itaque sit. Accusamus quam vel. Sint qui ullam.",
|
|
"description": "Tempore quasi occaecati. Nobis hic reprehenderit. Sit enim et.",
|
|
"severity": "low",
|
|
"precedence": 2583,
|
|
"identifier": {
|
|
"href": "http://zieme.test/fredric_lubowitz",
|
|
"label": "Nar"
|
|
},
|
|
"references": [
|
|
{
|
|
"href": "http://raynor.example/kendall_fisher",
|
|
"label": "Elemmírë"
|
|
},
|
|
{
|
|
"href": "http://kessler.example/love_ferry",
|
|
"label": "Bereg"
|
|
},
|
|
{
|
|
"href": "http://fahey.test/eusebio",
|
|
"label": "Mimosa Bunce"
|
|
},
|
|
{
|
|
"href": "http://cronin.example/jess_hamill",
|
|
"label": "Dáin"
|
|
},
|
|
{
|
|
"href": "http://batz-pfannerstill.example/colene",
|
|
"label": "Folcred"
|
|
}
|
|
],
|
|
"value_checks": null,
|
|
"remediation_available": false,
|
|
"type": "rule"
|
|
}
|
|
],
|
|
"meta": {
|
|
"total": 1,
|
|
"limit": 10,
|
|
"offset": 0,
|
|
"sort_by": "precedence"
|
|
},
|
|
"links": {
|
|
"first": "/api/compliance/v2/policies/b36723aa-d85b-4c7e-8a8a-92d1b7329987/tailorings/d1f195e0-cc7e-4bdd-96c7-53c76792c3ae/rules?limit=10&offset=0&sort_by=precedence",
|
|
"last": "/api/compliance/v2/policies/b36723aa-d85b-4c7e-8a8a-92d1b7329987/tailorings/d1f195e0-cc7e-4bdd-96c7-53c76792c3ae/rules?limit=10&offset=0&sort_by=precedence"
|
|
}
|
|
},
|
|
"summary": "",
|
|
"description": ""
|
|
}
|
|
},
|
|
"schema": {
|
|
"type": "object",
|
|
"properties": {
|
|
"meta": {
|
|
"$ref": "#/components/schemas/metadata"
|
|
},
|
|
"links": {
|
|
"$ref": "#/components/schemas/links"
|
|
},
|
|
"data": {
|
|
"type": "array",
|
|
"items": {
|
|
"properties": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/rule"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"422": {
|
|
"description": "Returns with Unprocessable Content",
|
|
"content": {
|
|
"application/vnd.api+json": {
|
|
"examples": {
|
|
"Description of an error when sorting by incorrect parameter": {
|
|
"value": {
|
|
"errors": [
|
|
"Result cannot be sorted by the 'description' column."
|
|
]
|
|
},
|
|
"summary": "",
|
|
"description": ""
|
|
},
|
|
"Description of an error when requesting higher limit than supported": {
|
|
"value": {
|
|
"errors": [
|
|
"Invalid parameter: limit must be less than or equal to 100"
|
|
]
|
|
},
|
|
"summary": "",
|
|
"description": ""
|
|
}
|
|
},
|
|
"schema": {
|
|
"$ref": "#/components/schemas/errors"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"post": {
|
|
"summary": "Bulk assign Rules to a Tailoring",
|
|
"parameters": [
|
|
{
|
|
"name": "X-RH-IDENTITY",
|
|
"in": "header",
|
|
"schema": {
|
|
"type": "string"
|
|
},
|
|
"description": "For internal use only"
|
|
},
|
|
{
|
|
"name": "policy_id",
|
|
"in": "path",
|
|
"required": true,
|
|
"schema": {
|
|
"type": "string"
|
|
}
|
|
},
|
|
{
|
|
"name": "tailoring_id",
|
|
"in": "path",
|
|
"required": true,
|
|
"schema": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
],
|
|
"tags": [
|
|
"Policies"
|
|
],
|
|
"description": "This feature is exclusively used by the frontend",
|
|
"deprecated": true,
|
|
"operationId": "AssignRules",
|
|
"responses": {
|
|
"202": {
|
|
"description": "Assigns all specified rules and unassigns the rest",
|
|
"content": {
|
|
"application/vnd.api+json": {
|
|
"examples": {
|
|
"List of assigned Rules": {
|
|
"value": {
|
|
"data": [
|
|
{
|
|
"id": "13c755b3-433e-4d8a-a5ea-32d9ed44467a",
|
|
"ref_id": "xccdf_org.ssgproject.content_rule_9d5b6aa6a14d1dff8c71ce33a7f0bae2",
|
|
"title": "Et vero quis sapiente.",
|
|
"rationale": "Culpa tempore minima. Hic enim minus. Fugit et nisi.",
|
|
"description": "Facilis architecto amet. Consequuntur nisi voluptatibus. Incidunt qui officia.",
|
|
"severity": "high",
|
|
"precedence": 337,
|
|
"identifier": {
|
|
"href": "http://bartell.test/clyde_reilly",
|
|
"label": "Helm"
|
|
},
|
|
"references": [
|
|
{
|
|
"href": "http://lakin.test/thurman",
|
|
"label": "Araphor"
|
|
},
|
|
{
|
|
"href": "http://oconnell.test/orlando",
|
|
"label": "Andwise Roper"
|
|
},
|
|
{
|
|
"href": "http://hackett-abshire.example/brunilda",
|
|
"label": "Drogo Baggins"
|
|
},
|
|
{
|
|
"href": "http://ferry.example/stanton_marquardt",
|
|
"label": "Folco Burrowes"
|
|
},
|
|
{
|
|
"href": "http://gutkowski.example/tyson",
|
|
"label": "Ori"
|
|
}
|
|
],
|
|
"value_checks": null,
|
|
"remediation_available": false,
|
|
"type": "rule"
|
|
},
|
|
{
|
|
"id": "1713e659-1bd6-4fc7-b83e-264ad228570c",
|
|
"ref_id": "xccdf_org.ssgproject.content_rule_f10c8904d1ce3593fcfea7b0b2b23ade",
|
|
"title": "Quidem voluptatem laborum commodi.",
|
|
"rationale": "Est ea consequatur. Officiis recusandae nisi. Sed eveniet minus.",
|
|
"description": "Quaerat soluta quasi. Delectus mollitia fuga. Dolorem autem eaque.",
|
|
"severity": "medium",
|
|
"precedence": 9107,
|
|
"identifier": {
|
|
"href": "http://crona.example/derrick",
|
|
"label": "Melian"
|
|
},
|
|
"references": [
|
|
{
|
|
"href": "http://keebler.example/linda",
|
|
"label": "Mirabella Took"
|
|
},
|
|
{
|
|
"href": "http://koelpin.example/ulrike.weimann",
|
|
"label": "Merimac Brandybuck"
|
|
},
|
|
{
|
|
"href": "http://schinner.example/kraig_vonrueden",
|
|
"label": "Holfast Gardner"
|
|
},
|
|
{
|
|
"href": "http://gerlach.test/lorrine",
|
|
"label": "Gil-galad"
|
|
},
|
|
{
|
|
"href": "http://boyer.example/karoline",
|
|
"label": "Ar-Sakalthôr"
|
|
}
|
|
],
|
|
"value_checks": null,
|
|
"remediation_available": false,
|
|
"type": "rule"
|
|
},
|
|
{
|
|
"id": "18f24752-161f-4736-9e68-b8a2955cde8b",
|
|
"ref_id": "xccdf_org.ssgproject.content_rule_3d9a71436318fa80aeae73e88275766a",
|
|
"title": "Necessitatibus qui alias error.",
|
|
"rationale": "Eveniet et blanditiis. Assumenda veniam numquam. Minima nostrum nihil.",
|
|
"description": "Repellat natus quod. Quia possimus accusamus. Molestias labore tempore.",
|
|
"severity": "high",
|
|
"precedence": 4167,
|
|
"identifier": {
|
|
"href": "http://rogahn.example/roscoe",
|
|
"label": "Tar-Meneldur"
|
|
},
|
|
"references": [
|
|
{
|
|
"href": "http://morar-carroll.example/lilian.romaguera",
|
|
"label": "Borthand"
|
|
},
|
|
{
|
|
"href": "http://smith.test/odis.balistreri",
|
|
"label": "Otho Sackville-Baggins"
|
|
},
|
|
{
|
|
"href": "http://waters.test/yang.prohaska",
|
|
"label": "Valacar"
|
|
},
|
|
{
|
|
"href": "http://cummings.example/hershel",
|
|
"label": "Leaflock"
|
|
},
|
|
{
|
|
"href": "http://bogan.test/gabrielle",
|
|
"label": "Déor"
|
|
}
|
|
],
|
|
"value_checks": null,
|
|
"remediation_available": false,
|
|
"type": "rule"
|
|
},
|
|
{
|
|
"id": "1a8e8d94-0de9-405d-97ee-71adbd7d5130",
|
|
"ref_id": "xccdf_org.ssgproject.content_rule_909d138cb43c0e331c62130cea18f204",
|
|
"title": "Quibusdam delectus molestiae enim.",
|
|
"rationale": "Sed vero delectus. Tempore voluptatem est. Et earum esse.",
|
|
"description": "Eum ut ipsam. Ea consequuntur rerum. Doloremque et inventore.",
|
|
"severity": "medium",
|
|
"precedence": 9362,
|
|
"identifier": {
|
|
"href": "http://harber.example/contessa",
|
|
"label": "Asgon"
|
|
},
|
|
"references": [
|
|
{
|
|
"href": "http://gleichner.test/darwin.abbott",
|
|
"label": "Ungoliant"
|
|
},
|
|
{
|
|
"href": "http://reilly.test/wally_senger",
|
|
"label": "Handir"
|
|
},
|
|
{
|
|
"href": "http://towne.example/art_oberbrunner",
|
|
"label": "Primrose Gardner"
|
|
},
|
|
{
|
|
"href": "http://reynolds.example/terence.ferry",
|
|
"label": "Daisy Gardner"
|
|
},
|
|
{
|
|
"href": "http://tremblay.test/cornell",
|
|
"label": "Elendil"
|
|
}
|
|
],
|
|
"value_checks": null,
|
|
"remediation_available": false,
|
|
"type": "rule"
|
|
},
|
|
{
|
|
"id": "1ab8438f-346f-4edb-8505-7351746e23f9",
|
|
"ref_id": "xccdf_org.ssgproject.content_rule_d5995252907b5d92147f7b85430fb685",
|
|
"title": "Magni consequatur accusamus voluptatum.",
|
|
"rationale": "Est perspiciatis molestiae. Est error vitae. Doloremque rem doloribus.",
|
|
"description": "Nulla dolorum aut. Nulla eos aut. Dolores nesciunt itaque.",
|
|
"severity": "low",
|
|
"precedence": 2755,
|
|
"identifier": {
|
|
"href": "http://witting.example/jammie_hartmann",
|
|
"label": "Eradan"
|
|
},
|
|
"references": [
|
|
{
|
|
"href": "http://morar-murazik.example/mohammed",
|
|
"label": "Arwen"
|
|
},
|
|
{
|
|
"href": "http://mcclure-rath.test/chelsea",
|
|
"label": "Fréawine"
|
|
},
|
|
{
|
|
"href": "http://okon-spinka.test/catrice_bayer",
|
|
"label": "Anborn"
|
|
},
|
|
{
|
|
"href": "http://cormier-kozey.test/long",
|
|
"label": "Ar-Pharazôn"
|
|
},
|
|
{
|
|
"href": "http://swaniawski-price.test/alden_rolfson",
|
|
"label": "Eluréd"
|
|
}
|
|
],
|
|
"value_checks": null,
|
|
"remediation_available": false,
|
|
"type": "rule"
|
|
},
|
|
{
|
|
"id": "1fbcd7ef-8c0b-496e-9483-1b997070ae41",
|
|
"ref_id": "xccdf_org.ssgproject.content_rule_20470f0257334cba17cacb598b250bdc",
|
|
"title": "Aut aliquid quia et.",
|
|
"rationale": "Numquam debitis doloremque. Numquam corporis nihil. Fugiat a vero.",
|
|
"description": "Magnam sit quia. Ipsum quis alias. Sit et iusto.",
|
|
"severity": "medium",
|
|
"precedence": 4571,
|
|
"identifier": {
|
|
"href": "http://haag-zemlak.test/jacquetta.lakin",
|
|
"label": "Adalbert Bolger"
|
|
},
|
|
"references": [
|
|
{
|
|
"href": "http://mitchell.example/josue.tillman",
|
|
"label": "Saelon"
|
|
},
|
|
{
|
|
"href": "http://damore.test/alisa",
|
|
"label": "Lofar"
|
|
},
|
|
{
|
|
"href": "http://kuvalis-schmidt.example/gregorio.oconnell",
|
|
"label": "Duilin"
|
|
},
|
|
{
|
|
"href": "http://friesen.test/anthony",
|
|
"label": "Derufin"
|
|
},
|
|
{
|
|
"href": "http://vonrueden-schinner.test/eveline",
|
|
"label": "Borlad"
|
|
}
|
|
],
|
|
"value_checks": null,
|
|
"remediation_available": false,
|
|
"type": "rule"
|
|
},
|
|
{
|
|
"id": "27e529ce-4897-4186-bd5e-4782395951ab",
|
|
"ref_id": "xccdf_org.ssgproject.content_rule_ef29b263c83d6270f23138fc9850a1ba",
|
|
"title": "Unde necessitatibus maxime qui.",
|
|
"rationale": "Ex aliquid esse. At quia omnis. Impedit voluptatem dolorem.",
|
|
"description": "Rem iure assumenda. Eveniet quos nihil. Et reiciendis mollitia.",
|
|
"severity": "high",
|
|
"precedence": 5751,
|
|
"identifier": {
|
|
"href": "http://koch-tillman.test/dianne_ullrich",
|
|
"label": "Fingon"
|
|
},
|
|
"references": [
|
|
{
|
|
"href": "http://rempel.test/eloy",
|
|
"label": "Mrs. Bunce"
|
|
},
|
|
{
|
|
"href": "http://oberbrunner-gusikowski.example/sheena_blanda",
|
|
"label": "Hobson"
|
|
},
|
|
{
|
|
"href": "http://hudson-legros.test/carolyn",
|
|
"label": "Dagnir"
|
|
},
|
|
{
|
|
"href": "http://boyle.example/collin_moore",
|
|
"label": "Éothain"
|
|
},
|
|
{
|
|
"href": "http://kshlerin.example/octavio_morar",
|
|
"label": "Hallatan"
|
|
}
|
|
],
|
|
"value_checks": null,
|
|
"remediation_available": false,
|
|
"type": "rule"
|
|
},
|
|
{
|
|
"id": "2c9476f0-0cc9-43dc-96ef-e605e13eef88",
|
|
"ref_id": "xccdf_org.ssgproject.content_rule_e019e4f8abf6e63bedc142ce5a620fd7",
|
|
"title": "Aliquid temporibus aspernatur qui.",
|
|
"rationale": "Sint hic illum. Velit sed distinctio. Quae nisi error.",
|
|
"description": "Rerum culpa in. Aut et totam. Inventore consequatur odit.",
|
|
"severity": "high",
|
|
"precedence": 9900,
|
|
"identifier": {
|
|
"href": "http://bradtke.test/demetrius",
|
|
"label": "Harding of the Hill"
|
|
},
|
|
"references": [
|
|
{
|
|
"href": "http://lesch-conroy.test/justa",
|
|
"label": "Zamîn"
|
|
},
|
|
{
|
|
"href": "http://dickinson.example/brice",
|
|
"label": "Araglas"
|
|
},
|
|
{
|
|
"href": "http://morissette.example/thurman.kling",
|
|
"label": "Robin Smallburrow"
|
|
},
|
|
{
|
|
"href": "http://bogan-marquardt.example/quinn.armstrong",
|
|
"label": "Enel"
|
|
},
|
|
{
|
|
"href": "http://wilderman.test/chanda.dubuque",
|
|
"label": "Lindir"
|
|
}
|
|
],
|
|
"value_checks": null,
|
|
"remediation_available": false,
|
|
"type": "rule"
|
|
},
|
|
{
|
|
"id": "33f28147-3b51-425f-b56c-7bd7c39006ca",
|
|
"ref_id": "xccdf_org.ssgproject.content_rule_887c5754afcf527446f98ea709863877",
|
|
"title": "Saepe voluptate adipisci voluptatem.",
|
|
"rationale": "Et eum libero. Delectus iure similique. Saepe illo ex.",
|
|
"description": "Quod ea corrupti. Sit rerum expedita. Ducimus amet aliquam.",
|
|
"severity": "medium",
|
|
"precedence": 1535,
|
|
"identifier": {
|
|
"href": "http://heathcote.test/sam.stark",
|
|
"label": "Fundin"
|
|
},
|
|
"references": [
|
|
{
|
|
"href": "http://treutel.example/celesta.mcclure",
|
|
"label": "Torhir Ifant"
|
|
},
|
|
{
|
|
"href": "http://franecki-fisher.example/jospeh",
|
|
"label": "Radagast"
|
|
},
|
|
{
|
|
"href": "http://altenwerth.example/lessie",
|
|
"label": "Mentha Brandybuck"
|
|
},
|
|
{
|
|
"href": "http://dibbert-reinger.test/gerard",
|
|
"label": "Míriel"
|
|
},
|
|
{
|
|
"href": "http://kovacek.test/reggie.carter",
|
|
"label": "Denethor"
|
|
}
|
|
],
|
|
"value_checks": null,
|
|
"remediation_available": false,
|
|
"type": "rule"
|
|
},
|
|
{
|
|
"id": "35fcca4b-4985-46c1-b486-5258451ecd07",
|
|
"ref_id": "xccdf_org.ssgproject.content_rule_df556ad14c6eb1e39b1e1dc9ab8b53b9",
|
|
"title": "Molestias distinctio perferendis tempora.",
|
|
"rationale": "Et qui maxime. Et dolore id. Rerum corrupti voluptatem.",
|
|
"description": "Repudiandae dolorem est. Molestiae et dolorem. Impedit possimus nisi.",
|
|
"severity": "low",
|
|
"precedence": 2762,
|
|
"identifier": {
|
|
"href": "http://hodkiewicz-stroman.example/walter_okon",
|
|
"label": "Asgon"
|
|
},
|
|
"references": [
|
|
{
|
|
"href": "http://erdman.test/gregg.lebsack",
|
|
"label": "Angrim"
|
|
},
|
|
{
|
|
"href": "http://bartell-spinka.example/asa_crist",
|
|
"label": "Filibert Bolger"
|
|
},
|
|
{
|
|
"href": "http://auer-wilderman.example/jadwiga",
|
|
"label": "Melilot Brandybuck"
|
|
},
|
|
{
|
|
"href": "http://krajcik.example/minna.gibson",
|
|
"label": "Eärnil"
|
|
},
|
|
{
|
|
"href": "http://barrows-schulist.test/yuriko_fisher",
|
|
"label": "Radhruin"
|
|
}
|
|
],
|
|
"value_checks": null,
|
|
"remediation_available": false,
|
|
"type": "rule"
|
|
}
|
|
],
|
|
"meta": {
|
|
"total": 25,
|
|
"limit": 10,
|
|
"offset": 0
|
|
},
|
|
"links": {
|
|
"first": "/api/compliance/v2/policies/175fe09a-c32c-4ec7-a314-6017dfb9ea6f/tailorings/443d4952-8e27-4240-a8c8-8617d603b1d4/rules?limit=10&offset=0",
|
|
"last": "/api/compliance/v2/policies/175fe09a-c32c-4ec7-a314-6017dfb9ea6f/tailorings/443d4952-8e27-4240-a8c8-8617d603b1d4/rules?limit=10&offset=20",
|
|
"next": "/api/compliance/v2/policies/175fe09a-c32c-4ec7-a314-6017dfb9ea6f/tailorings/443d4952-8e27-4240-a8c8-8617d603b1d4/rules?limit=10&offset=10"
|
|
}
|
|
},
|
|
"summary": "",
|
|
"description": ""
|
|
}
|
|
},
|
|
"schema": {
|
|
"type": "object",
|
|
"properties": {
|
|
"meta": {
|
|
"$ref": "#/components/schemas/metadata"
|
|
},
|
|
"links": {
|
|
"$ref": "#/components/schemas/links"
|
|
},
|
|
"data": {
|
|
"type": "array",
|
|
"items": {
|
|
"properties": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/rule"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"requestBody": {
|
|
"content": {
|
|
"application/vnd.api+json": {
|
|
"schema": {
|
|
"type": "object",
|
|
"properties": {
|
|
"ids": {
|
|
"type": "array",
|
|
"items": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"/policies/{policy_id}/tailorings/{tailoring_id}/rules/{rule_id}": {
|
|
"patch": {
|
|
"summary": "Assign a Rule to a Tailoring",
|
|
"parameters": [
|
|
{
|
|
"name": "X-RH-IDENTITY",
|
|
"in": "header",
|
|
"schema": {
|
|
"type": "string"
|
|
},
|
|
"description": "For internal use only"
|
|
},
|
|
{
|
|
"name": "policy_id",
|
|
"in": "path",
|
|
"required": true,
|
|
"schema": {
|
|
"type": "string"
|
|
}
|
|
},
|
|
{
|
|
"name": "tailoring_id",
|
|
"in": "path",
|
|
"required": true,
|
|
"schema": {
|
|
"type": "string"
|
|
}
|
|
},
|
|
{
|
|
"name": "rule_id",
|
|
"in": "path",
|
|
"required": true,
|
|
"description": "UUID or a ref_id with '.' characters replaced with '-'",
|
|
"schema": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
],
|
|
"tags": [
|
|
"Policies"
|
|
],
|
|
"description": "Assigns a Rule to a Tailoring",
|
|
"operationId": "AssignRule",
|
|
"responses": {
|
|
"202": {
|
|
"description": "Assigns a Rule to a Tailoring",
|
|
"content": {
|
|
"application/vnd.api+json": {
|
|
"examples": {
|
|
"Assigns a Rule to a Tailoring": {
|
|
"value": {
|
|
"data": {
|
|
"id": "04ce1dff-03c6-4a9b-b96e-2a1cfd27afed",
|
|
"ref_id": "xccdf_org.ssgproject.content_rule_ac540a297772b3c28c1784e611b9ae26",
|
|
"title": "Commodi quasi molestias qui.",
|
|
"rationale": "Natus quas dolorem. Perspiciatis et quis. Quisquam repudiandae maxime.",
|
|
"description": "Ab beatae qui. Alias doloremque ea. Consequuntur nemo iusto.",
|
|
"severity": "medium",
|
|
"precedence": 7865,
|
|
"identifier": {
|
|
"href": "http://gleason.example/mignon",
|
|
"label": "Fengel"
|
|
},
|
|
"references": [
|
|
{
|
|
"href": "http://auer.test/joy",
|
|
"label": "Telumehtar Umbardacil"
|
|
},
|
|
{
|
|
"href": "http://gutmann.test/gwenda",
|
|
"label": "Idril"
|
|
},
|
|
{
|
|
"href": "http://senger.example/carlene_leuschke",
|
|
"label": "Sador"
|
|
},
|
|
{
|
|
"href": "http://trantow.example/hilary_orn",
|
|
"label": "Marhwini"
|
|
},
|
|
{
|
|
"href": "http://mueller.example/anibal.harvey",
|
|
"label": "Goldwine"
|
|
}
|
|
],
|
|
"value_checks": null,
|
|
"remediation_available": false,
|
|
"type": "rule"
|
|
}
|
|
},
|
|
"summary": "",
|
|
"description": ""
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"404": {
|
|
"description": "Returns with Not found",
|
|
"content": {
|
|
"application/vnd.api+json": {
|
|
"examples": {
|
|
"Returns with Not found": {
|
|
"value": {
|
|
"errors": [
|
|
"V2::Rule not found with ID 33b6c237-4d58-4f0b-a24b-2a97f0753046"
|
|
]
|
|
},
|
|
"summary": "",
|
|
"description": ""
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"delete": {
|
|
"summary": "Unassign a Rule from a Tailoring",
|
|
"parameters": [
|
|
{
|
|
"name": "X-RH-IDENTITY",
|
|
"in": "header",
|
|
"schema": {
|
|
"type": "string"
|
|
},
|
|
"description": "For internal use only"
|
|
},
|
|
{
|
|
"name": "policy_id",
|
|
"in": "path",
|
|
"required": true,
|
|
"schema": {
|
|
"type": "string"
|
|
}
|
|
},
|
|
{
|
|
"name": "tailoring_id",
|
|
"in": "path",
|
|
"required": true,
|
|
"schema": {
|
|
"type": "string"
|
|
}
|
|
},
|
|
{
|
|
"name": "rule_id",
|
|
"in": "path",
|
|
"required": true,
|
|
"description": "UUID or a ref_id with '.' characters replaced with '-'",
|
|
"schema": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
],
|
|
"tags": [
|
|
"Policies"
|
|
],
|
|
"description": "Unassigns a Rule from a Tailoring",
|
|
"operationId": "UnassignRule",
|
|
"responses": {
|
|
"202": {
|
|
"description": "Unassigns a Rule from a Tailoring",
|
|
"content": {
|
|
"application/vnd.api+json": {
|
|
"examples": {
|
|
"Unassigns a Rule from a Tailoring": {
|
|
"value": {
|
|
"data": {
|
|
"id": "d735f19d-c986-4c33-af08-8ec67e786ea9",
|
|
"ref_id": "xccdf_org.ssgproject.content_rule_3c0e0b5874af4a73bd7bf1dca5cce4df",
|
|
"title": "Dolor repellendus sint corporis.",
|
|
"rationale": "Et explicabo aliquid. Nihil magni corporis. Vel quam ex.",
|
|
"description": "Voluptas libero perspiciatis. Doloribus vel et. Aut ea quas.",
|
|
"severity": "high",
|
|
"precedence": 4858,
|
|
"identifier": {
|
|
"href": "http://prosacco.test/sean_boehm",
|
|
"label": "Bifur"
|
|
},
|
|
"references": [
|
|
{
|
|
"href": "http://wunsch-zulauf.example/michael.auer",
|
|
"label": "Leaflock"
|
|
},
|
|
{
|
|
"href": "http://bogan.example/louanne_gerlach",
|
|
"label": "Lily Baggins"
|
|
},
|
|
{
|
|
"href": "http://doyle.example/mandi_lind",
|
|
"label": "Adanel"
|
|
},
|
|
{
|
|
"href": "http://heaney.test/genesis",
|
|
"label": "Míriel"
|
|
},
|
|
{
|
|
"href": "http://hudson.test/ron",
|
|
"label": "Glóredhel"
|
|
}
|
|
],
|
|
"value_checks": null,
|
|
"remediation_available": false,
|
|
"type": "rule"
|
|
}
|
|
},
|
|
"summary": "",
|
|
"description": ""
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"404": {
|
|
"description": "Returns with Not found",
|
|
"content": {
|
|
"application/vnd.api+json": {
|
|
"examples": {
|
|
"Description of an error when unassigning a non-existing Rule": {
|
|
"value": {
|
|
"errors": [
|
|
"V2::Rule not found with ID 665f417b-7029-46c1-a9b8-807ca477ac62"
|
|
]
|
|
},
|
|
"summary": "",
|
|
"description": ""
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"/security_guides": {
|
|
"get": {
|
|
"summary": "Request Security Guides",
|
|
"parameters": [
|
|
{
|
|
"name": "X-RH-IDENTITY",
|
|
"in": "header",
|
|
"schema": {
|
|
"type": "string"
|
|
},
|
|
"description": "For internal use only"
|
|
},
|
|
{
|
|
"name": "limit",
|
|
"in": "query",
|
|
"required": false,
|
|
"description": "Number of items to return per page",
|
|
"schema": {
|
|
"type": "number",
|
|
"maximum": 100,
|
|
"minimum": 1,
|
|
"default": 10
|
|
}
|
|
},
|
|
{
|
|
"name": "offset",
|
|
"in": "query",
|
|
"required": false,
|
|
"description": "Offset of first item of paginated response",
|
|
"schema": {
|
|
"type": "integer",
|
|
"minimum": 0,
|
|
"default": 0
|
|
}
|
|
},
|
|
{
|
|
"name": "ids_only",
|
|
"in": "query",
|
|
"required": false,
|
|
"description": "Indicates whether to return only resource IDs.",
|
|
"schema": {
|
|
"type": "boolean"
|
|
}
|
|
},
|
|
{
|
|
"name": "sort_by",
|
|
"in": "query",
|
|
"required": false,
|
|
"description": "Attribute and direction to sort the items by. Represented by an array of fields with an optional direction (`<key>:asc` or `<key>:desc`).<br><br>If no direction is selected, `<key>:asc` is used by default.",
|
|
"schema": {
|
|
"type": "array",
|
|
"items": {
|
|
"enum": [
|
|
"title",
|
|
"version",
|
|
"os_major_version",
|
|
"title:asc",
|
|
"title:desc",
|
|
"version:asc",
|
|
"version:desc",
|
|
"os_major_version:asc",
|
|
"os_major_version:desc"
|
|
]
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"name": "filter",
|
|
"in": "query",
|
|
"required": false,
|
|
"description": "Query string to filter items by their attributes. Compliant with <a href=\"https://github.com/wvanbergen/scoped_search/wiki/Query-language\" target=\"_blank\" title=\"github.com/wvanbergen/scoped_search\">scoped_search query language</a>. However, only `=` or `!=` (resp. `<>`) operators are supported.<br><br>Security Guides are searchable using attributes `title`, `version`, `ref_id`, `os_major_version`, `profile_ref_id`, and `os_minor_version`<br><br>(e.g.: `(field_1=something AND field_2!=\"something else\") OR field_3>40`)",
|
|
"schema": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
],
|
|
"tags": [
|
|
"Content"
|
|
],
|
|
"description": "Lists Security Guides",
|
|
"operationId": "SecurityGuides",
|
|
"responses": {
|
|
"200": {
|
|
"description": "Lists Security Guides",
|
|
"content": {
|
|
"application/vnd.api+json": {
|
|
"examples": {
|
|
"List of Security Guides": {
|
|
"value": {
|
|
"data": [
|
|
{
|
|
"id": "0005dd0a-423c-471b-ad6b-2ddd8752e0b6",
|
|
"ref_id": "xccdf_org.ssgproject.content_benchmark_RHEL-7",
|
|
"title": "Nisi voluptatem consequatur assumenda.",
|
|
"version": "100.82.49",
|
|
"description": "Repellat necessitatibus saepe. Aut sint ipsa. Voluptates harum dicta.",
|
|
"os_major_version": 7,
|
|
"type": "security_guide"
|
|
},
|
|
{
|
|
"id": "075f584c-7804-4b8c-b93c-a013bd0a94a6",
|
|
"ref_id": "xccdf_org.ssgproject.content_benchmark_RHEL-7",
|
|
"title": "Delectus a repellendus deserunt.",
|
|
"version": "100.83.8",
|
|
"description": "Magnam sed illo. Natus sunt at. Pariatur asperiores alias.",
|
|
"os_major_version": 7,
|
|
"type": "security_guide"
|
|
},
|
|
{
|
|
"id": "349bc860-3d0f-47ee-a126-c981462df90c",
|
|
"ref_id": "xccdf_org.ssgproject.content_benchmark_RHEL-7",
|
|
"title": "Quisquam autem molestiae id.",
|
|
"version": "100.83.11",
|
|
"description": "Cum commodi animi. Deleniti qui omnis. Eos molestiae aspernatur.",
|
|
"os_major_version": 7,
|
|
"type": "security_guide"
|
|
},
|
|
{
|
|
"id": "34b92dde-3ac0-4c9a-944d-e0eeb0468851",
|
|
"ref_id": "xccdf_org.ssgproject.content_benchmark_RHEL-7",
|
|
"title": "Ut laborum qui porro.",
|
|
"version": "100.83.10",
|
|
"description": "Non aut doloremque. Explicabo temporibus laborum. Dolores ex id.",
|
|
"os_major_version": 7,
|
|
"type": "security_guide"
|
|
},
|
|
{
|
|
"id": "36cf337e-8671-4e01-8538-cc79ccd9ed55",
|
|
"ref_id": "xccdf_org.ssgproject.content_benchmark_RHEL-7",
|
|
"title": "Assumenda cumque voluptas molestiae.",
|
|
"version": "100.83.2",
|
|
"description": "Quod quidem veniam. Et a non. Excepturi quibusdam eaque.",
|
|
"os_major_version": 7,
|
|
"type": "security_guide"
|
|
},
|
|
{
|
|
"id": "4e98042d-673c-444e-a71b-f32b44f14551",
|
|
"ref_id": "xccdf_org.ssgproject.content_benchmark_RHEL-7",
|
|
"title": "Itaque consequatur vitae voluptatum.",
|
|
"version": "100.83.9",
|
|
"description": "Non totam magnam. Voluptas est ab. Non sunt voluptas.",
|
|
"os_major_version": 7,
|
|
"type": "security_guide"
|
|
},
|
|
{
|
|
"id": "50354a5e-4920-419a-9bfe-c9f9e757cec9",
|
|
"ref_id": "xccdf_org.ssgproject.content_benchmark_RHEL-7",
|
|
"title": "Suscipit officia mollitia est.",
|
|
"version": "100.82.48",
|
|
"description": "A mollitia beatae. Autem dolorem natus. Molestiae eos corrupti.",
|
|
"os_major_version": 7,
|
|
"type": "security_guide"
|
|
},
|
|
{
|
|
"id": "66c1aa22-78e7-497a-a628-a38aed0a49d1",
|
|
"ref_id": "xccdf_org.ssgproject.content_benchmark_RHEL-7",
|
|
"title": "Sit sit temporibus non.",
|
|
"version": "100.83.13",
|
|
"description": "Soluta amet sed. Aut sed vel. Beatae voluptatum officia.",
|
|
"os_major_version": 7,
|
|
"type": "security_guide"
|
|
},
|
|
{
|
|
"id": "6a23c963-d07c-4f81-af22-90daacd46338",
|
|
"ref_id": "xccdf_org.ssgproject.content_benchmark_RHEL-7",
|
|
"title": "Consequatur illum repellat saepe.",
|
|
"version": "100.83.6",
|
|
"description": "Illo veritatis dolor. Id quia rerum. Quo perferendis neque.",
|
|
"os_major_version": 7,
|
|
"type": "security_guide"
|
|
},
|
|
{
|
|
"id": "73feaa64-e756-4621-8f44-24a840ad937d",
|
|
"ref_id": "xccdf_org.ssgproject.content_benchmark_RHEL-7",
|
|
"title": "Velit ut perferendis et.",
|
|
"version": "100.83.14",
|
|
"description": "Similique sint ducimus. Quo deserunt ratione. Sapiente cumque consequatur.",
|
|
"os_major_version": 7,
|
|
"type": "security_guide"
|
|
}
|
|
],
|
|
"meta": {
|
|
"total": 25,
|
|
"limit": 10,
|
|
"offset": 0
|
|
},
|
|
"links": {
|
|
"first": "/api/compliance/v2/security_guides?limit=10&offset=0",
|
|
"last": "/api/compliance/v2/security_guides?limit=10&offset=20",
|
|
"next": "/api/compliance/v2/security_guides?limit=10&offset=10"
|
|
}
|
|
},
|
|
"summary": "",
|
|
"description": ""
|
|
},
|
|
"List of Security Guides sorted by \"os_major_version:asc\"": {
|
|
"value": {
|
|
"data": [
|
|
{
|
|
"id": "062418d5-970e-45a3-89de-59b37c9f9d40",
|
|
"ref_id": "xccdf_org.ssgproject.content_benchmark_RHEL-7",
|
|
"title": "Optio est quaerat consequatur.",
|
|
"version": "100.83.33",
|
|
"description": "Et perspiciatis velit. Ipsam quidem non. Hic veritatis consequatur.",
|
|
"os_major_version": 7,
|
|
"type": "security_guide"
|
|
},
|
|
{
|
|
"id": "18fe6bc3-12c4-4dae-8c6b-298d76e0e279",
|
|
"ref_id": "xccdf_org.ssgproject.content_benchmark_RHEL-7",
|
|
"title": "Aut voluptatem ab esse.",
|
|
"version": "100.83.24",
|
|
"description": "Reiciendis quo deserunt. Nihil excepturi neque. Qui odio voluptatem.",
|
|
"os_major_version": 7,
|
|
"type": "security_guide"
|
|
},
|
|
{
|
|
"id": "2e327f77-177b-4d96-bd41-2181334353c9",
|
|
"ref_id": "xccdf_org.ssgproject.content_benchmark_RHEL-7",
|
|
"title": "Officia iste voluptatibus dolorem.",
|
|
"version": "100.83.32",
|
|
"description": "Officiis enim et. Voluptatem ullam illo. Deleniti quidem possimus.",
|
|
"os_major_version": 7,
|
|
"type": "security_guide"
|
|
},
|
|
{
|
|
"id": "34f8943c-228a-4f94-993c-ca9adb98680b",
|
|
"ref_id": "xccdf_org.ssgproject.content_benchmark_RHEL-7",
|
|
"title": "Accusantium dicta beatae molestiae.",
|
|
"version": "100.83.37",
|
|
"description": "Quo dolore ullam. Eos quo aut. Aut totam ut.",
|
|
"os_major_version": 7,
|
|
"type": "security_guide"
|
|
},
|
|
{
|
|
"id": "4b28ca86-3a83-4d6e-8b2f-8b340dffc339",
|
|
"ref_id": "xccdf_org.ssgproject.content_benchmark_RHEL-7",
|
|
"title": "Voluptas non maxime neque.",
|
|
"version": "100.83.31",
|
|
"description": "Sunt enim eaque. Et voluptas veritatis. Optio consequatur voluptate.",
|
|
"os_major_version": 7,
|
|
"type": "security_guide"
|
|
},
|
|
{
|
|
"id": "4e43cfa0-de6b-4484-9226-8796cd9a3f41",
|
|
"ref_id": "xccdf_org.ssgproject.content_benchmark_RHEL-7",
|
|
"title": "Neque rerum eum voluptates.",
|
|
"version": "100.83.42",
|
|
"description": "Est soluta dolores. Deleniti magni et. Ab est id.",
|
|
"os_major_version": 7,
|
|
"type": "security_guide"
|
|
},
|
|
{
|
|
"id": "5d87ce36-994c-4e3b-b587-d9d1cc6f5eda",
|
|
"ref_id": "xccdf_org.ssgproject.content_benchmark_RHEL-7",
|
|
"title": "Dolorum quia voluptas et.",
|
|
"version": "100.83.43",
|
|
"description": "Nisi inventore id. Distinctio et cupiditate. Dolor iusto repudiandae.",
|
|
"os_major_version": 7,
|
|
"type": "security_guide"
|
|
},
|
|
{
|
|
"id": "6af34a00-04ef-4081-b0b0-f88f1231c645",
|
|
"ref_id": "xccdf_org.ssgproject.content_benchmark_RHEL-7",
|
|
"title": "Ut eos et incidunt.",
|
|
"version": "100.83.27",
|
|
"description": "Dignissimos omnis voluptatem. Eum magnam aut. Laborum rerum enim.",
|
|
"os_major_version": 7,
|
|
"type": "security_guide"
|
|
},
|
|
{
|
|
"id": "74512025-15c1-4617-a823-086e172e153b",
|
|
"ref_id": "xccdf_org.ssgproject.content_benchmark_RHEL-7",
|
|
"title": "Aut consequatur magnam omnis.",
|
|
"version": "100.83.36",
|
|
"description": "Asperiores id et. Quaerat sit in. Sunt voluptatibus voluptatum.",
|
|
"os_major_version": 7,
|
|
"type": "security_guide"
|
|
},
|
|
{
|
|
"id": "74d51bd2-e20b-48ed-a485-7d37b9deb000",
|
|
"ref_id": "xccdf_org.ssgproject.content_benchmark_RHEL-7",
|
|
"title": "Dolorem quisquam aut sed.",
|
|
"version": "100.83.35",
|
|
"description": "Quos incidunt eum. Mollitia quia voluptatibus. Et delectus magnam.",
|
|
"os_major_version": 7,
|
|
"type": "security_guide"
|
|
}
|
|
],
|
|
"meta": {
|
|
"total": 25,
|
|
"limit": 10,
|
|
"offset": 0,
|
|
"sort_by": "os_major_version"
|
|
},
|
|
"links": {
|
|
"first": "/api/compliance/v2/security_guides?limit=10&offset=0&sort_by=os_major_version",
|
|
"last": "/api/compliance/v2/security_guides?limit=10&offset=20&sort_by=os_major_version",
|
|
"next": "/api/compliance/v2/security_guides?limit=10&offset=10&sort_by=os_major_version"
|
|
}
|
|
},
|
|
"summary": "",
|
|
"description": ""
|
|
},
|
|
"List of Security Guides filtered by \"(os_major_version=8)\"": {
|
|
"value": {
|
|
"data": [],
|
|
"meta": {
|
|
"total": 0,
|
|
"filter": "(os_major_version=8)",
|
|
"limit": 10,
|
|
"offset": 0
|
|
},
|
|
"links": {
|
|
"first": "/api/compliance/v2/security_guides?filter=%28os_major_version%3D8%29&limit=10&offset=0",
|
|
"last": "/api/compliance/v2/security_guides?filter=%28os_major_version%3D8%29&limit=10&offset=0"
|
|
}
|
|
},
|
|
"summary": "",
|
|
"description": ""
|
|
}
|
|
},
|
|
"schema": {
|
|
"type": "object",
|
|
"properties": {
|
|
"meta": {
|
|
"$ref": "#/components/schemas/metadata"
|
|
},
|
|
"links": {
|
|
"$ref": "#/components/schemas/links"
|
|
},
|
|
"data": {
|
|
"type": "array",
|
|
"items": {
|
|
"properties": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/security_guide"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"422": {
|
|
"description": "Returns with Unprocessable Content",
|
|
"content": {
|
|
"application/vnd.api+json": {
|
|
"examples": {
|
|
"Description of an error when sorting by incorrect parameter": {
|
|
"value": {
|
|
"errors": [
|
|
"Result cannot be sorted by the 'description' column."
|
|
]
|
|
},
|
|
"summary": "",
|
|
"description": ""
|
|
},
|
|
"Description of an error when requesting higher limit than supported": {
|
|
"value": {
|
|
"errors": [
|
|
"Invalid parameter: limit must be less than or equal to 100"
|
|
]
|
|
},
|
|
"summary": "",
|
|
"description": ""
|
|
}
|
|
},
|
|
"schema": {
|
|
"$ref": "#/components/schemas/errors"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"/security_guides/os_versions": {
|
|
"get": {
|
|
"summary": "Request the list of available OS versions",
|
|
"parameters": [
|
|
{
|
|
"name": "X-RH-IDENTITY",
|
|
"in": "header",
|
|
"schema": {
|
|
"type": "string"
|
|
},
|
|
"description": "For internal use only"
|
|
},
|
|
{
|
|
"name": "filter",
|
|
"in": "query",
|
|
"required": false,
|
|
"description": "Query string to filter items by their attributes. Compliant with <a href=\"https://github.com/wvanbergen/scoped_search/wiki/Query-language\" target=\"_blank\" title=\"github.com/wvanbergen/scoped_search\">scoped_search query language</a>. However, only `=` or `!=` (resp. `<>`) operators are supported.<br><br>Systems are searchable using attributes `display_name`, `os_major_version`, `os_minor_version`, `assigned_or_scanned`, `never_reported`, `group_name`, `policies`, and `profile_ref_id`<br><br>(e.g.: `(field_1=something AND field_2!=\"something else\") OR field_3>40`)",
|
|
"schema": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
],
|
|
"tags": [
|
|
"Content"
|
|
],
|
|
"description": "This feature is exclusively used by the frontend",
|
|
"operationId": "SecurityGuidesOS",
|
|
"deprecated": true,
|
|
"responses": {
|
|
"200": {
|
|
"description": "Lists available OS versions",
|
|
"content": {
|
|
"application/vnd.api+json": {
|
|
"examples": {
|
|
"List of available OS versions": {
|
|
"value": [
|
|
7
|
|
],
|
|
"summary": "",
|
|
"description": ""
|
|
}
|
|
},
|
|
"schema": {
|
|
"type": "array",
|
|
"items": {
|
|
"type": "integer"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"/security_guides/{security_guide_id}": {
|
|
"get": {
|
|
"summary": "Request a Security Guide",
|
|
"parameters": [
|
|
{
|
|
"name": "X-RH-IDENTITY",
|
|
"in": "header",
|
|
"schema": {
|
|
"type": "string"
|
|
},
|
|
"description": "For internal use only"
|
|
},
|
|
{
|
|
"name": "security_guide_id",
|
|
"in": "path",
|
|
"required": true,
|
|
"schema": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
],
|
|
"tags": [
|
|
"Content"
|
|
],
|
|
"description": "Returns a Security Guide",
|
|
"operationId": "SecurityGuide",
|
|
"responses": {
|
|
"200": {
|
|
"description": "Returns a Security Guide",
|
|
"content": {
|
|
"application/vnd.api+json": {
|
|
"examples": {
|
|
"Returns a Security Guide": {
|
|
"value": {
|
|
"data": {
|
|
"id": "2b86e04b-f61c-4861-aad9-40bbe1362a61",
|
|
"ref_id": "xccdf_org.ssgproject.content_benchmark_RHEL-7",
|
|
"title": "Perferendis est provident autem.",
|
|
"version": "100.85.44",
|
|
"description": "Excepturi corrupti veritatis. A ipsa dolorem. Nihil aut possimus.",
|
|
"os_major_version": 7,
|
|
"type": "security_guide"
|
|
}
|
|
},
|
|
"summary": "",
|
|
"description": ""
|
|
}
|
|
},
|
|
"schema": {
|
|
"type": "object",
|
|
"properties": {
|
|
"data": {
|
|
"type": "object",
|
|
"properties": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/security_guide"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"404": {
|
|
"description": "Returns with Not Found",
|
|
"content": {
|
|
"application/vnd.api+json": {
|
|
"examples": {
|
|
"Description of an error when requesting a non-existing Security Guide": {
|
|
"value": {
|
|
"errors": [
|
|
"V2::SecurityGuide not found with ID dc3eb3da-31ab-4f4a-b2fe-912dc18de6d3"
|
|
]
|
|
},
|
|
"summary": "",
|
|
"description": ""
|
|
}
|
|
},
|
|
"schema": {
|
|
"$ref": "#/components/schemas/errors"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"/security_guides/{security_guide_id}/rule_tree": {
|
|
"get": {
|
|
"summary": "Request the Rule Tree of a Security Guide",
|
|
"parameters": [
|
|
{
|
|
"name": "X-RH-IDENTITY",
|
|
"in": "header",
|
|
"schema": {
|
|
"type": "string"
|
|
},
|
|
"description": "For internal use only"
|
|
},
|
|
{
|
|
"name": "security_guide_id",
|
|
"in": "path",
|
|
"required": true,
|
|
"schema": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
],
|
|
"tags": [
|
|
"Content"
|
|
],
|
|
"description": "Returns the Rule Tree of a Security Guide",
|
|
"operationId": "SecurityGuideRuleTree",
|
|
"responses": {
|
|
"200": {
|
|
"description": "Returns a the Rule Tree of Security Guide",
|
|
"content": {
|
|
"application/vnd.api+json": {
|
|
"examples": {
|
|
"Returns the Rule Tree of a Security Guide": {
|
|
"value": [
|
|
{
|
|
"id": "06426e82-8d6b-425d-a57b-5f380c9f63be",
|
|
"type": "rule_group",
|
|
"children": [
|
|
{
|
|
"id": "dcd610fd-7e8a-4f7b-9385-2657c95e6845",
|
|
"type": "rule"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "209ae034-5f52-4664-87ec-1d41b104f6aa",
|
|
"type": "rule_group",
|
|
"children": [
|
|
{
|
|
"id": "b4e91472-6f6d-4095-8c2b-c61664769b1e",
|
|
"type": "rule"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "044e508b-69fe-4083-a95c-ffbd61bb929b",
|
|
"type": "rule_group",
|
|
"children": [
|
|
{
|
|
"id": "bbfbc361-7c01-4484-b488-568c65da936a",
|
|
"type": "rule"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "7461afa6-f398-4602-93a3-603546dd9491",
|
|
"type": "rule_group",
|
|
"children": [
|
|
{
|
|
"id": "b4f230f0-3d86-4dfc-869e-dd273b010bd0",
|
|
"type": "rule"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "3e17bba3-c666-43c4-afa8-fd21c998039c",
|
|
"type": "rule_group",
|
|
"children": [
|
|
{
|
|
"id": "c7bc5089-c075-4443-8f1b-6b15da948f0b",
|
|
"type": "rule"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "bc873302-ddd6-449c-a076-be15158027b4",
|
|
"type": "rule_group",
|
|
"children": [
|
|
{
|
|
"id": "dc87dc97-9273-4c4a-a050-e5487632f4fd",
|
|
"type": "rule"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "1aac99f4-c66e-4fe6-b227-5c5e628b1585",
|
|
"type": "rule_group",
|
|
"children": [
|
|
{
|
|
"id": "25c63725-290b-4184-aef3-e79b7f8028d5",
|
|
"type": "rule"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "3e2308c3-a388-440e-bc5a-956e9a21a29d",
|
|
"type": "rule_group",
|
|
"children": [
|
|
{
|
|
"id": "985cd3cf-b7fb-40e9-ad02-7da6fe0f5993",
|
|
"type": "rule"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "410dbc7a-10a7-4ec6-8727-86e123d605ca",
|
|
"type": "rule_group",
|
|
"children": [
|
|
{
|
|
"id": "e3e1f5cc-cc6a-4c7c-8ddb-a8c75b434d36",
|
|
"type": "rule"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "616aa2e3-5884-4af9-b2f7-addbff5414d8",
|
|
"type": "rule_group",
|
|
"children": [
|
|
{
|
|
"id": "e0439533-410a-4ceb-af49-9dc2344cbff7",
|
|
"type": "rule"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"summary": "",
|
|
"description": ""
|
|
}
|
|
},
|
|
"schema": {
|
|
"$ref": "#/components/schemas/rule_tree"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"404": {
|
|
"description": "Returns with Not Found",
|
|
"content": {
|
|
"application/vnd.api+json": {
|
|
"examples": {
|
|
"Description of an error when requesting a non-existing Security Guide": {
|
|
"value": {
|
|
"errors": [
|
|
"V2::SecurityGuide not found with ID 02a9d65d-3a1f-4728-9df7-7cd3874efb11"
|
|
]
|
|
},
|
|
"summary": "",
|
|
"description": ""
|
|
}
|
|
},
|
|
"schema": {
|
|
"$ref": "#/components/schemas/errors"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"/security_guides/supported_profiles": {
|
|
"get": {
|
|
"summary": "Request Supported Profiles",
|
|
"parameters": [
|
|
{
|
|
"name": "X-RH-IDENTITY",
|
|
"in": "header",
|
|
"schema": {
|
|
"type": "string"
|
|
},
|
|
"description": "For internal use only"
|
|
},
|
|
{
|
|
"name": "limit",
|
|
"in": "query",
|
|
"required": false,
|
|
"description": "Number of items to return per page",
|
|
"schema": {
|
|
"type": "number",
|
|
"maximum": 100,
|
|
"minimum": 1,
|
|
"default": 10
|
|
}
|
|
},
|
|
{
|
|
"name": "offset",
|
|
"in": "query",
|
|
"required": false,
|
|
"description": "Offset of first item of paginated response",
|
|
"schema": {
|
|
"type": "integer",
|
|
"minimum": 0,
|
|
"default": 0
|
|
}
|
|
},
|
|
{
|
|
"name": "ids_only",
|
|
"in": "query",
|
|
"required": false,
|
|
"description": "Indicates whether to return only resource IDs.",
|
|
"schema": {
|
|
"type": "boolean"
|
|
}
|
|
},
|
|
{
|
|
"name": "sort_by",
|
|
"in": "query",
|
|
"required": false,
|
|
"description": "Attribute and direction to sort the items by. Represented by an array of fields with an optional direction (`<key>:asc` or `<key>:desc`).<br><br>If no direction is selected, `<key>:asc` is used by default.",
|
|
"schema": {
|
|
"type": "array",
|
|
"items": {
|
|
"enum": [
|
|
"title",
|
|
"os_major_version",
|
|
"os_minor_versions",
|
|
"title:asc",
|
|
"title:desc",
|
|
"os_major_version:asc",
|
|
"os_major_version:desc",
|
|
"os_minor_versions:asc",
|
|
"os_minor_versions:desc"
|
|
]
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"name": "filter",
|
|
"in": "query",
|
|
"required": false,
|
|
"description": "Query string to filter items by their attributes. Compliant with <a href=\"https://github.com/wvanbergen/scoped_search/wiki/Query-language\" target=\"_blank\" title=\"github.com/wvanbergen/scoped_search\">scoped_search query language</a>. However, only `=` or `!=` (resp. `<>`) operators are supported.<br><br>Supported Profiles are searchable using attributes `os_major_version`<br><br>(e.g.: `(field_1=something AND field_2!=\"something else\") OR field_3>40`)",
|
|
"schema": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
],
|
|
"tags": [
|
|
"Content"
|
|
],
|
|
"description": "Lists Supported Profiles",
|
|
"operationId": "SupportedProfiles",
|
|
"responses": {
|
|
"200": {
|
|
"description": "Lists Supported Profiles",
|
|
"content": {
|
|
"application/vnd.api+json": {
|
|
"examples": {
|
|
"List of Supported Profiles": {
|
|
"value": {
|
|
"data": [
|
|
{
|
|
"id": "d4698d0f-28e0-4284-a4ac-eac6c797c50a",
|
|
"title": "Nulla suscipit ea dicta.",
|
|
"ref_id": "xccdf_org.ssgproject.content_profile_f5cc3e8c498d5e40135096d5487a302b",
|
|
"security_guide_id": "06ba7205-0822-46b3-bacd-a1f38e9f4bd2",
|
|
"security_guide_version": "100.86.25",
|
|
"os_major_version": 7,
|
|
"os_minor_versions": [
|
|
3,
|
|
2,
|
|
1
|
|
],
|
|
"type": "supported_profile"
|
|
}
|
|
],
|
|
"meta": {
|
|
"total": 1,
|
|
"limit": 10,
|
|
"offset": 0
|
|
},
|
|
"links": {
|
|
"first": "/api/compliance/v2/security_guides/supported_profiles?limit=10&offset=0",
|
|
"last": "/api/compliance/v2/security_guides/supported_profiles?limit=10&offset=0"
|
|
}
|
|
},
|
|
"summary": "",
|
|
"description": ""
|
|
},
|
|
"List of Supported Profiles sorted by \"os_major_version:asc\"": {
|
|
"value": {
|
|
"data": [
|
|
{
|
|
"id": "4bdbb4ee-cda6-4cfb-b3e2-d6ba8882c16d",
|
|
"title": "Dolor velit quia eos.",
|
|
"ref_id": "xccdf_org.ssgproject.content_profile_06341c49a9b7cc122ef49d5c17d39e98",
|
|
"security_guide_id": "a6f2f34c-45d9-4a7b-ba15-887df93f37fc",
|
|
"security_guide_version": "100.86.26",
|
|
"os_major_version": 7,
|
|
"os_minor_versions": [
|
|
3,
|
|
2,
|
|
1
|
|
],
|
|
"type": "supported_profile"
|
|
}
|
|
],
|
|
"meta": {
|
|
"total": 1,
|
|
"limit": 10,
|
|
"offset": 0,
|
|
"sort_by": "os_major_version"
|
|
},
|
|
"links": {
|
|
"first": "/api/compliance/v2/security_guides/supported_profiles?limit=10&offset=0&sort_by=os_major_version",
|
|
"last": "/api/compliance/v2/security_guides/supported_profiles?limit=10&offset=0&sort_by=os_major_version"
|
|
}
|
|
},
|
|
"summary": "",
|
|
"description": ""
|
|
},
|
|
"List of Supported Profiles filtered by \"(os_major_version=8)\"": {
|
|
"value": {
|
|
"data": [],
|
|
"meta": {
|
|
"total": 0,
|
|
"filter": "(os_major_version=8)",
|
|
"limit": 10,
|
|
"offset": 0
|
|
},
|
|
"links": {
|
|
"first": "/api/compliance/v2/security_guides/supported_profiles?filter=%28os_major_version%3D8%29&limit=10&offset=0",
|
|
"last": "/api/compliance/v2/security_guides/supported_profiles?filter=%28os_major_version%3D8%29&limit=10&offset=0"
|
|
}
|
|
},
|
|
"summary": "",
|
|
"description": ""
|
|
}
|
|
},
|
|
"schema": {
|
|
"type": "object",
|
|
"properties": {
|
|
"meta": {
|
|
"$ref": "#/components/schemas/metadata"
|
|
},
|
|
"links": {
|
|
"$ref": "#/components/schemas/links"
|
|
},
|
|
"data": {
|
|
"type": "array",
|
|
"items": {
|
|
"properties": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/supported_profile"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"422": {
|
|
"description": "Returns with Unprocessable Content",
|
|
"content": {
|
|
"application/vnd.api+json": {
|
|
"examples": {
|
|
"Description of an error when sorting by incorrect parameter": {
|
|
"value": {
|
|
"errors": [
|
|
"Result cannot be sorted by the 'description' column."
|
|
]
|
|
},
|
|
"summary": "",
|
|
"description": ""
|
|
},
|
|
"Description of an error when requesting higher limit than supported": {
|
|
"value": {
|
|
"errors": [
|
|
"Invalid parameter: limit must be less than or equal to 100"
|
|
]
|
|
},
|
|
"summary": "",
|
|
"description": ""
|
|
}
|
|
},
|
|
"schema": {
|
|
"$ref": "#/components/schemas/errors"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"/systems": {
|
|
"get": {
|
|
"summary": "Request Systems",
|
|
"parameters": [
|
|
{
|
|
"name": "X-RH-IDENTITY",
|
|
"in": "header",
|
|
"schema": {
|
|
"type": "string"
|
|
},
|
|
"description": "For internal use only"
|
|
},
|
|
{
|
|
"name": "tags",
|
|
"in": "query",
|
|
"required": false,
|
|
"description": "An array of tags to narrow down the search results. In case the value contains symbols used for separators (`/` or `=`), they need to be encoded.<br>e.g.: `namespace/key=value`, `insights-client/selinux-config=SELINUX%3Denforcing`",
|
|
"schema": {
|
|
"type": "array",
|
|
"items": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"name": "limit",
|
|
"in": "query",
|
|
"required": false,
|
|
"description": "Number of items to return per page",
|
|
"schema": {
|
|
"type": "number",
|
|
"maximum": 100,
|
|
"minimum": 1,
|
|
"default": 10
|
|
}
|
|
},
|
|
{
|
|
"name": "offset",
|
|
"in": "query",
|
|
"required": false,
|
|
"description": "Offset of first item of paginated response",
|
|
"schema": {
|
|
"type": "integer",
|
|
"minimum": 0,
|
|
"default": 0
|
|
}
|
|
},
|
|
{
|
|
"name": "ids_only",
|
|
"in": "query",
|
|
"required": false,
|
|
"description": "Indicates whether to return only resource IDs.",
|
|
"schema": {
|
|
"type": "boolean"
|
|
}
|
|
},
|
|
{
|
|
"name": "sort_by",
|
|
"in": "query",
|
|
"required": false,
|
|
"description": "Attribute and direction to sort the items by. Represented by an array of fields with an optional direction (`<key>:asc` or `<key>:desc`).<br><br>If no direction is selected, `<key>:asc` is used by default.",
|
|
"schema": {
|
|
"type": "array",
|
|
"items": {
|
|
"enum": [
|
|
"display_name",
|
|
"os_major_version",
|
|
"os_minor_version",
|
|
"groups",
|
|
"display_name:asc",
|
|
"display_name:desc",
|
|
"os_major_version:asc",
|
|
"os_major_version:desc",
|
|
"os_minor_version:asc",
|
|
"os_minor_version:desc",
|
|
"groups:asc",
|
|
"groups:desc"
|
|
]
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"name": "filter",
|
|
"in": "query",
|
|
"required": false,
|
|
"description": "Query string to filter items by their attributes. Compliant with <a href=\"https://github.com/wvanbergen/scoped_search/wiki/Query-language\" target=\"_blank\" title=\"github.com/wvanbergen/scoped_search\">scoped_search query language</a>. However, only `=` or `!=` (resp. `<>`) operators are supported.<br><br>Systems are searchable using attributes `display_name`, `os_major_version`, `os_minor_version`, `assigned_or_scanned`, `group_name`, `policies`, and `profile_ref_id`<br><br>(e.g.: `(field_1=something AND field_2!=\"something else\") OR field_3>40`)",
|
|
"schema": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
],
|
|
"tags": [
|
|
"Systems"
|
|
],
|
|
"description": "Lists Systems",
|
|
"operationId": "Systems",
|
|
"responses": {
|
|
"200": {
|
|
"description": "Lists Systems",
|
|
"content": {
|
|
"application/vnd.api+json": {
|
|
"examples": {
|
|
"List of Systems": {
|
|
"value": {
|
|
"data": [
|
|
{
|
|
"id": "0afbf0c7-414d-4cce-81c5-453f0e77b79c",
|
|
"display_name": "pollich.example",
|
|
"groups": [],
|
|
"culled_timestamp": "2034-10-09T11:42:12.114Z",
|
|
"stale_timestamp": "2034-09-25T11:42:12.114Z",
|
|
"stale_warning_timestamp": "2034-10-02T11:42:12.114Z",
|
|
"updated": "2024-09-25T11:42:12.114Z",
|
|
"insights_id": null,
|
|
"tags": [
|
|
{
|
|
"key": "interface",
|
|
"value": "wireless",
|
|
"namespace": "hacking"
|
|
},
|
|
{
|
|
"key": "driver",
|
|
"value": "primary",
|
|
"namespace": "bypassing"
|
|
},
|
|
{
|
|
"key": "pixel",
|
|
"value": "redundant",
|
|
"namespace": "generating"
|
|
},
|
|
{
|
|
"key": "port",
|
|
"value": "1080p",
|
|
"namespace": "bypassing"
|
|
},
|
|
{
|
|
"key": "driver",
|
|
"value": "open-source",
|
|
"namespace": "calculating"
|
|
}
|
|
],
|
|
"type": "system",
|
|
"os_major_version": 8,
|
|
"os_minor_version": 0,
|
|
"policies": []
|
|
},
|
|
{
|
|
"id": "0d454457-a15a-47d2-ac43-72a055326d01",
|
|
"display_name": "konopelski-jerde.example",
|
|
"groups": [],
|
|
"culled_timestamp": "2034-10-09T11:42:12.105Z",
|
|
"stale_timestamp": "2034-09-25T11:42:12.105Z",
|
|
"stale_warning_timestamp": "2034-10-02T11:42:12.105Z",
|
|
"updated": "2024-09-25T11:42:12.105Z",
|
|
"insights_id": null,
|
|
"tags": [
|
|
{
|
|
"key": "panel",
|
|
"value": "open-source",
|
|
"namespace": "compressing"
|
|
},
|
|
{
|
|
"key": "alarm",
|
|
"value": "wireless",
|
|
"namespace": "bypassing"
|
|
},
|
|
{
|
|
"key": "monitor",
|
|
"value": "auxiliary",
|
|
"namespace": "hacking"
|
|
},
|
|
{
|
|
"key": "feed",
|
|
"value": "1080p",
|
|
"namespace": "quantifying"
|
|
},
|
|
{
|
|
"key": "bus",
|
|
"value": "virtual",
|
|
"namespace": "connecting"
|
|
}
|
|
],
|
|
"type": "system",
|
|
"os_major_version": 8,
|
|
"os_minor_version": 0,
|
|
"policies": []
|
|
},
|
|
{
|
|
"id": "11100fc9-aee4-4522-972c-e4a89e1e13b8",
|
|
"display_name": "oreilly.test",
|
|
"groups": [],
|
|
"culled_timestamp": "2034-10-09T11:42:12.099Z",
|
|
"stale_timestamp": "2034-09-25T11:42:12.099Z",
|
|
"stale_warning_timestamp": "2034-10-02T11:42:12.099Z",
|
|
"updated": "2024-09-25T11:42:12.099Z",
|
|
"insights_id": null,
|
|
"tags": [
|
|
{
|
|
"key": "bandwidth",
|
|
"value": "multi-byte",
|
|
"namespace": "quantifying"
|
|
},
|
|
{
|
|
"key": "circuit",
|
|
"value": "wireless",
|
|
"namespace": "quantifying"
|
|
},
|
|
{
|
|
"key": "program",
|
|
"value": "solid state",
|
|
"namespace": "navigating"
|
|
},
|
|
{
|
|
"key": "microchip",
|
|
"value": "back-end",
|
|
"namespace": "parsing"
|
|
},
|
|
{
|
|
"key": "monitor",
|
|
"value": "auxiliary",
|
|
"namespace": "parsing"
|
|
}
|
|
],
|
|
"type": "system",
|
|
"os_major_version": 8,
|
|
"os_minor_version": 0,
|
|
"policies": []
|
|
},
|
|
{
|
|
"id": "14cde576-b4d4-4b21-8fff-8cd75446664c",
|
|
"display_name": "okuneva.example",
|
|
"groups": [],
|
|
"culled_timestamp": "2034-10-09T11:42:12.112Z",
|
|
"stale_timestamp": "2034-09-25T11:42:12.112Z",
|
|
"stale_warning_timestamp": "2034-10-02T11:42:12.112Z",
|
|
"updated": "2024-09-25T11:42:12.112Z",
|
|
"insights_id": null,
|
|
"tags": [
|
|
{
|
|
"key": "feed",
|
|
"value": "optical",
|
|
"namespace": "calculating"
|
|
},
|
|
{
|
|
"key": "matrix",
|
|
"value": "neural",
|
|
"namespace": "calculating"
|
|
},
|
|
{
|
|
"key": "array",
|
|
"value": "bluetooth",
|
|
"namespace": "generating"
|
|
},
|
|
{
|
|
"key": "hard drive",
|
|
"value": "mobile",
|
|
"namespace": "programming"
|
|
},
|
|
{
|
|
"key": "pixel",
|
|
"value": "neural",
|
|
"namespace": "hacking"
|
|
}
|
|
],
|
|
"type": "system",
|
|
"os_major_version": 8,
|
|
"os_minor_version": 0,
|
|
"policies": []
|
|
},
|
|
{
|
|
"id": "15498520-59b3-4e92-b541-a9daaf35b224",
|
|
"display_name": "wisozk.test",
|
|
"groups": [],
|
|
"culled_timestamp": "2034-10-09T11:42:12.107Z",
|
|
"stale_timestamp": "2034-09-25T11:42:12.107Z",
|
|
"stale_warning_timestamp": "2034-10-02T11:42:12.107Z",
|
|
"updated": "2024-09-25T11:42:12.107Z",
|
|
"insights_id": null,
|
|
"tags": [
|
|
{
|
|
"key": "capacitor",
|
|
"value": "multi-byte",
|
|
"namespace": "bypassing"
|
|
},
|
|
{
|
|
"key": "interface",
|
|
"value": "auxiliary",
|
|
"namespace": "calculating"
|
|
},
|
|
{
|
|
"key": "feed",
|
|
"value": "digital",
|
|
"namespace": "transmitting"
|
|
},
|
|
{
|
|
"key": "circuit",
|
|
"value": "primary",
|
|
"namespace": "programming"
|
|
},
|
|
{
|
|
"key": "driver",
|
|
"value": "optical",
|
|
"namespace": "bypassing"
|
|
}
|
|
],
|
|
"type": "system",
|
|
"os_major_version": 8,
|
|
"os_minor_version": 0,
|
|
"policies": []
|
|
},
|
|
{
|
|
"id": "20d6d1e1-07d5-4690-8efa-64df92f1305f",
|
|
"display_name": "volkman.test",
|
|
"groups": [],
|
|
"culled_timestamp": "2034-10-09T11:42:12.108Z",
|
|
"stale_timestamp": "2034-09-25T11:42:12.108Z",
|
|
"stale_warning_timestamp": "2034-10-02T11:42:12.108Z",
|
|
"updated": "2024-09-25T11:42:12.108Z",
|
|
"insights_id": null,
|
|
"tags": [
|
|
{
|
|
"key": "monitor",
|
|
"value": "auxiliary",
|
|
"namespace": "compressing"
|
|
},
|
|
{
|
|
"key": "array",
|
|
"value": "redundant",
|
|
"namespace": "overriding"
|
|
},
|
|
{
|
|
"key": "pixel",
|
|
"value": "haptic",
|
|
"namespace": "quantifying"
|
|
},
|
|
{
|
|
"key": "protocol",
|
|
"value": "virtual",
|
|
"namespace": "overriding"
|
|
},
|
|
{
|
|
"key": "matrix",
|
|
"value": "wireless",
|
|
"namespace": "compressing"
|
|
}
|
|
],
|
|
"type": "system",
|
|
"os_major_version": 8,
|
|
"os_minor_version": 0,
|
|
"policies": []
|
|
},
|
|
{
|
|
"id": "2c413f0e-8e8a-4a9e-b273-2e877769de43",
|
|
"display_name": "fadel.test",
|
|
"groups": [],
|
|
"culled_timestamp": "2034-10-09T11:42:12.096Z",
|
|
"stale_timestamp": "2034-09-25T11:42:12.096Z",
|
|
"stale_warning_timestamp": "2034-10-02T11:42:12.096Z",
|
|
"updated": "2024-09-25T11:42:12.096Z",
|
|
"insights_id": null,
|
|
"tags": [
|
|
{
|
|
"key": "program",
|
|
"value": "mobile",
|
|
"namespace": "bypassing"
|
|
},
|
|
{
|
|
"key": "array",
|
|
"value": "digital",
|
|
"namespace": "copying"
|
|
},
|
|
{
|
|
"key": "system",
|
|
"value": "primary",
|
|
"namespace": "compressing"
|
|
},
|
|
{
|
|
"key": "system",
|
|
"value": "primary",
|
|
"namespace": "parsing"
|
|
},
|
|
{
|
|
"key": "alarm",
|
|
"value": "wireless",
|
|
"namespace": "synthesizing"
|
|
}
|
|
],
|
|
"type": "system",
|
|
"os_major_version": 8,
|
|
"os_minor_version": 0,
|
|
"policies": []
|
|
},
|
|
{
|
|
"id": "40beb258-8146-4592-8810-d5a41ebb1b81",
|
|
"display_name": "parisian.example",
|
|
"groups": [],
|
|
"culled_timestamp": "2034-10-09T11:42:12.098Z",
|
|
"stale_timestamp": "2034-09-25T11:42:12.098Z",
|
|
"stale_warning_timestamp": "2034-10-02T11:42:12.098Z",
|
|
"updated": "2024-09-25T11:42:12.098Z",
|
|
"insights_id": null,
|
|
"tags": [
|
|
{
|
|
"key": "microchip",
|
|
"value": "cross-platform",
|
|
"namespace": "navigating"
|
|
},
|
|
{
|
|
"key": "microchip",
|
|
"value": "solid state",
|
|
"namespace": "compressing"
|
|
},
|
|
{
|
|
"key": "system",
|
|
"value": "optical",
|
|
"namespace": "transmitting"
|
|
},
|
|
{
|
|
"key": "sensor",
|
|
"value": "back-end",
|
|
"namespace": "parsing"
|
|
},
|
|
{
|
|
"key": "protocol",
|
|
"value": "wireless",
|
|
"namespace": "parsing"
|
|
}
|
|
],
|
|
"type": "system",
|
|
"os_major_version": 8,
|
|
"os_minor_version": 0,
|
|
"policies": []
|
|
},
|
|
{
|
|
"id": "4575a5a4-0119-4ef8-8724-def1ca708ca2",
|
|
"display_name": "barrows.example",
|
|
"groups": [],
|
|
"culled_timestamp": "2034-10-09T11:42:12.097Z",
|
|
"stale_timestamp": "2034-09-25T11:42:12.097Z",
|
|
"stale_warning_timestamp": "2034-10-02T11:42:12.097Z",
|
|
"updated": "2024-09-25T11:42:12.097Z",
|
|
"insights_id": null,
|
|
"tags": [
|
|
{
|
|
"key": "monitor",
|
|
"value": "primary",
|
|
"namespace": "synthesizing"
|
|
},
|
|
{
|
|
"key": "matrix",
|
|
"value": "virtual",
|
|
"namespace": "calculating"
|
|
},
|
|
{
|
|
"key": "circuit",
|
|
"value": "cross-platform",
|
|
"namespace": "compressing"
|
|
},
|
|
{
|
|
"key": "panel",
|
|
"value": "bluetooth",
|
|
"namespace": "calculating"
|
|
},
|
|
{
|
|
"key": "driver",
|
|
"value": "primary",
|
|
"namespace": "compressing"
|
|
}
|
|
],
|
|
"type": "system",
|
|
"os_major_version": 8,
|
|
"os_minor_version": 0,
|
|
"policies": []
|
|
},
|
|
{
|
|
"id": "4d9a190e-2ccc-4fd5-be15-c8010e4b1343",
|
|
"display_name": "hyatt.example",
|
|
"groups": [],
|
|
"culled_timestamp": "2034-10-09T11:42:12.101Z",
|
|
"stale_timestamp": "2034-09-25T11:42:12.101Z",
|
|
"stale_warning_timestamp": "2034-10-02T11:42:12.101Z",
|
|
"updated": "2024-09-25T11:42:12.101Z",
|
|
"insights_id": null,
|
|
"tags": [
|
|
{
|
|
"key": "circuit",
|
|
"value": "cross-platform",
|
|
"namespace": "synthesizing"
|
|
},
|
|
{
|
|
"key": "matrix",
|
|
"value": "back-end",
|
|
"namespace": "calculating"
|
|
},
|
|
{
|
|
"key": "panel",
|
|
"value": "solid state",
|
|
"namespace": "hacking"
|
|
},
|
|
{
|
|
"key": "program",
|
|
"value": "auxiliary",
|
|
"namespace": "overriding"
|
|
},
|
|
{
|
|
"key": "interface",
|
|
"value": "cross-platform",
|
|
"namespace": "bypassing"
|
|
}
|
|
],
|
|
"type": "system",
|
|
"os_major_version": 8,
|
|
"os_minor_version": 0,
|
|
"policies": []
|
|
}
|
|
],
|
|
"meta": {
|
|
"total": 25,
|
|
"tags": [],
|
|
"limit": 10,
|
|
"offset": 0
|
|
},
|
|
"links": {
|
|
"first": "/api/compliance/v2/systems?limit=10&offset=0",
|
|
"last": "/api/compliance/v2/systems?limit=10&offset=20",
|
|
"next": "/api/compliance/v2/systems?limit=10&offset=10"
|
|
}
|
|
},
|
|
"summary": "",
|
|
"description": ""
|
|
},
|
|
"List of Systems sorted by \"os_major_version:asc\"": {
|
|
"value": {
|
|
"data": [
|
|
{
|
|
"id": "00e813f6-2c65-46c8-8f3e-1cd47dfee547",
|
|
"display_name": "thompson.test",
|
|
"groups": [],
|
|
"culled_timestamp": "2034-10-09T11:42:12.146Z",
|
|
"stale_timestamp": "2034-09-25T11:42:12.146Z",
|
|
"stale_warning_timestamp": "2034-10-02T11:42:12.146Z",
|
|
"updated": "2024-09-25T11:42:12.146Z",
|
|
"insights_id": null,
|
|
"tags": [
|
|
{
|
|
"key": "port",
|
|
"value": "primary",
|
|
"namespace": "generating"
|
|
},
|
|
{
|
|
"key": "microchip",
|
|
"value": "bluetooth",
|
|
"namespace": "overriding"
|
|
},
|
|
{
|
|
"key": "feed",
|
|
"value": "optical",
|
|
"namespace": "hacking"
|
|
},
|
|
{
|
|
"key": "interface",
|
|
"value": "open-source",
|
|
"namespace": "backing up"
|
|
},
|
|
{
|
|
"key": "bandwidth",
|
|
"value": "auxiliary",
|
|
"namespace": "programming"
|
|
}
|
|
],
|
|
"type": "system",
|
|
"os_major_version": 8,
|
|
"os_minor_version": 0,
|
|
"policies": []
|
|
},
|
|
{
|
|
"id": "1055fca7-2ec3-4eac-96d0-61ca0ae6582a",
|
|
"display_name": "dietrich.example",
|
|
"groups": [],
|
|
"culled_timestamp": "2034-10-09T11:42:12.157Z",
|
|
"stale_timestamp": "2034-09-25T11:42:12.157Z",
|
|
"stale_warning_timestamp": "2034-10-02T11:42:12.157Z",
|
|
"updated": "2024-09-25T11:42:12.157Z",
|
|
"insights_id": null,
|
|
"tags": [
|
|
{
|
|
"key": "circuit",
|
|
"value": "online",
|
|
"namespace": "overriding"
|
|
},
|
|
{
|
|
"key": "program",
|
|
"value": "online",
|
|
"namespace": "calculating"
|
|
},
|
|
{
|
|
"key": "pixel",
|
|
"value": "primary",
|
|
"namespace": "synthesizing"
|
|
},
|
|
{
|
|
"key": "firewall",
|
|
"value": "primary",
|
|
"namespace": "bypassing"
|
|
},
|
|
{
|
|
"key": "card",
|
|
"value": "primary",
|
|
"namespace": "generating"
|
|
}
|
|
],
|
|
"type": "system",
|
|
"os_major_version": 8,
|
|
"os_minor_version": 0,
|
|
"policies": []
|
|
},
|
|
{
|
|
"id": "1fd62d8b-788e-4477-9782-57f279bb9682",
|
|
"display_name": "pouros.example",
|
|
"groups": [],
|
|
"culled_timestamp": "2034-10-09T11:42:12.153Z",
|
|
"stale_timestamp": "2034-09-25T11:42:12.153Z",
|
|
"stale_warning_timestamp": "2034-10-02T11:42:12.153Z",
|
|
"updated": "2024-09-25T11:42:12.153Z",
|
|
"insights_id": null,
|
|
"tags": [
|
|
{
|
|
"key": "circuit",
|
|
"value": "1080p",
|
|
"namespace": "indexing"
|
|
},
|
|
{
|
|
"key": "capacitor",
|
|
"value": "wireless",
|
|
"namespace": "synthesizing"
|
|
},
|
|
{
|
|
"key": "application",
|
|
"value": "multi-byte",
|
|
"namespace": "programming"
|
|
},
|
|
{
|
|
"key": "pixel",
|
|
"value": "1080p",
|
|
"namespace": "synthesizing"
|
|
},
|
|
{
|
|
"key": "capacitor",
|
|
"value": "virtual",
|
|
"namespace": "parsing"
|
|
}
|
|
],
|
|
"type": "system",
|
|
"os_major_version": 8,
|
|
"os_minor_version": 0,
|
|
"policies": []
|
|
},
|
|
{
|
|
"id": "23139e43-f925-4120-a668-d511e2d9e568",
|
|
"display_name": "green-dietrich.test",
|
|
"groups": [],
|
|
"culled_timestamp": "2034-10-09T11:42:12.152Z",
|
|
"stale_timestamp": "2034-09-25T11:42:12.152Z",
|
|
"stale_warning_timestamp": "2034-10-02T11:42:12.152Z",
|
|
"updated": "2024-09-25T11:42:12.152Z",
|
|
"insights_id": null,
|
|
"tags": [
|
|
{
|
|
"key": "bandwidth",
|
|
"value": "online",
|
|
"namespace": "programming"
|
|
},
|
|
{
|
|
"key": "matrix",
|
|
"value": "open-source",
|
|
"namespace": "programming"
|
|
},
|
|
{
|
|
"key": "sensor",
|
|
"value": "back-end",
|
|
"namespace": "bypassing"
|
|
},
|
|
{
|
|
"key": "microchip",
|
|
"value": "optical",
|
|
"namespace": "synthesizing"
|
|
},
|
|
{
|
|
"key": "array",
|
|
"value": "haptic",
|
|
"namespace": "bypassing"
|
|
}
|
|
],
|
|
"type": "system",
|
|
"os_major_version": 8,
|
|
"os_minor_version": 0,
|
|
"policies": []
|
|
},
|
|
{
|
|
"id": "26bd96b8-38af-4fdc-ab53-16c322c5bd7a",
|
|
"display_name": "schimmel-brekke.example",
|
|
"groups": [],
|
|
"culled_timestamp": "2034-10-09T11:42:12.154Z",
|
|
"stale_timestamp": "2034-09-25T11:42:12.154Z",
|
|
"stale_warning_timestamp": "2034-10-02T11:42:12.154Z",
|
|
"updated": "2024-09-25T11:42:12.154Z",
|
|
"insights_id": null,
|
|
"tags": [
|
|
{
|
|
"key": "program",
|
|
"value": "1080p",
|
|
"namespace": "navigating"
|
|
},
|
|
{
|
|
"key": "port",
|
|
"value": "primary",
|
|
"namespace": "calculating"
|
|
},
|
|
{
|
|
"key": "port",
|
|
"value": "back-end",
|
|
"namespace": "compressing"
|
|
},
|
|
{
|
|
"key": "sensor",
|
|
"value": "cross-platform",
|
|
"namespace": "backing up"
|
|
},
|
|
{
|
|
"key": "port",
|
|
"value": "redundant",
|
|
"namespace": "connecting"
|
|
}
|
|
],
|
|
"type": "system",
|
|
"os_major_version": 8,
|
|
"os_minor_version": 0,
|
|
"policies": []
|
|
},
|
|
{
|
|
"id": "28cd0998-9cf8-462e-a1bd-ce63557e57e4",
|
|
"display_name": "rosenbaum.example",
|
|
"groups": [],
|
|
"culled_timestamp": "2034-10-09T11:42:12.147Z",
|
|
"stale_timestamp": "2034-09-25T11:42:12.147Z",
|
|
"stale_warning_timestamp": "2034-10-02T11:42:12.147Z",
|
|
"updated": "2024-09-25T11:42:12.147Z",
|
|
"insights_id": null,
|
|
"tags": [
|
|
{
|
|
"key": "feed",
|
|
"value": "optical",
|
|
"namespace": "quantifying"
|
|
},
|
|
{
|
|
"key": "feed",
|
|
"value": "digital",
|
|
"namespace": "generating"
|
|
},
|
|
{
|
|
"key": "hard drive",
|
|
"value": "mobile",
|
|
"namespace": "bypassing"
|
|
},
|
|
{
|
|
"key": "bus",
|
|
"value": "digital",
|
|
"namespace": "transmitting"
|
|
},
|
|
{
|
|
"key": "transmitter",
|
|
"value": "virtual",
|
|
"namespace": "overriding"
|
|
}
|
|
],
|
|
"type": "system",
|
|
"os_major_version": 8,
|
|
"os_minor_version": 0,
|
|
"policies": []
|
|
},
|
|
{
|
|
"id": "2d4ca8a9-8804-4fa7-b619-4573df9bea23",
|
|
"display_name": "wolff.example",
|
|
"groups": [],
|
|
"culled_timestamp": "2034-10-09T11:42:12.151Z",
|
|
"stale_timestamp": "2034-09-25T11:42:12.151Z",
|
|
"stale_warning_timestamp": "2034-10-02T11:42:12.151Z",
|
|
"updated": "2024-09-25T11:42:12.151Z",
|
|
"insights_id": null,
|
|
"tags": [
|
|
{
|
|
"key": "transmitter",
|
|
"value": "mobile",
|
|
"namespace": "parsing"
|
|
},
|
|
{
|
|
"key": "panel",
|
|
"value": "digital",
|
|
"namespace": "synthesizing"
|
|
},
|
|
{
|
|
"key": "port",
|
|
"value": "redundant",
|
|
"namespace": "synthesizing"
|
|
},
|
|
{
|
|
"key": "sensor",
|
|
"value": "online",
|
|
"namespace": "calculating"
|
|
},
|
|
{
|
|
"key": "driver",
|
|
"value": "virtual",
|
|
"namespace": "bypassing"
|
|
}
|
|
],
|
|
"type": "system",
|
|
"os_major_version": 8,
|
|
"os_minor_version": 0,
|
|
"policies": []
|
|
},
|
|
{
|
|
"id": "368b7442-19c2-49ee-a8a2-8d7183104b4e",
|
|
"display_name": "schowalter-lakin.test",
|
|
"groups": [],
|
|
"culled_timestamp": "2034-10-09T11:42:12.150Z",
|
|
"stale_timestamp": "2034-09-25T11:42:12.150Z",
|
|
"stale_warning_timestamp": "2034-10-02T11:42:12.150Z",
|
|
"updated": "2024-09-25T11:42:12.150Z",
|
|
"insights_id": null,
|
|
"tags": [
|
|
{
|
|
"key": "system",
|
|
"value": "bluetooth",
|
|
"namespace": "hacking"
|
|
},
|
|
{
|
|
"key": "firewall",
|
|
"value": "neural",
|
|
"namespace": "hacking"
|
|
},
|
|
{
|
|
"key": "panel",
|
|
"value": "digital",
|
|
"namespace": "transmitting"
|
|
},
|
|
{
|
|
"key": "card",
|
|
"value": "wireless",
|
|
"namespace": "quantifying"
|
|
},
|
|
{
|
|
"key": "pixel",
|
|
"value": "optical",
|
|
"namespace": "hacking"
|
|
}
|
|
],
|
|
"type": "system",
|
|
"os_major_version": 8,
|
|
"os_minor_version": 0,
|
|
"policies": []
|
|
},
|
|
{
|
|
"id": "39695b2b-682d-4e53-a056-60d061e0d288",
|
|
"display_name": "oconnell.example",
|
|
"groups": [],
|
|
"culled_timestamp": "2034-10-09T11:42:12.148Z",
|
|
"stale_timestamp": "2034-09-25T11:42:12.148Z",
|
|
"stale_warning_timestamp": "2034-10-02T11:42:12.148Z",
|
|
"updated": "2024-09-25T11:42:12.148Z",
|
|
"insights_id": null,
|
|
"tags": [
|
|
{
|
|
"key": "monitor",
|
|
"value": "virtual",
|
|
"namespace": "calculating"
|
|
},
|
|
{
|
|
"key": "alarm",
|
|
"value": "open-source",
|
|
"namespace": "compressing"
|
|
},
|
|
{
|
|
"key": "application",
|
|
"value": "online",
|
|
"namespace": "indexing"
|
|
},
|
|
{
|
|
"key": "pixel",
|
|
"value": "bluetooth",
|
|
"namespace": "calculating"
|
|
},
|
|
{
|
|
"key": "panel",
|
|
"value": "open-source",
|
|
"namespace": "overriding"
|
|
}
|
|
],
|
|
"type": "system",
|
|
"os_major_version": 8,
|
|
"os_minor_version": 0,
|
|
"policies": []
|
|
},
|
|
{
|
|
"id": "3b5ed48c-b8a6-47c0-a1d1-21c2c0018a28",
|
|
"display_name": "heaney.test",
|
|
"groups": [],
|
|
"culled_timestamp": "2034-10-09T11:42:12.150Z",
|
|
"stale_timestamp": "2034-09-25T11:42:12.150Z",
|
|
"stale_warning_timestamp": "2034-10-02T11:42:12.150Z",
|
|
"updated": "2024-09-25T11:42:12.150Z",
|
|
"insights_id": null,
|
|
"tags": [
|
|
{
|
|
"key": "panel",
|
|
"value": "mobile",
|
|
"namespace": "parsing"
|
|
},
|
|
{
|
|
"key": "circuit",
|
|
"value": "primary",
|
|
"namespace": "quantifying"
|
|
},
|
|
{
|
|
"key": "sensor",
|
|
"value": "digital",
|
|
"namespace": "programming"
|
|
},
|
|
{
|
|
"key": "panel",
|
|
"value": "optical",
|
|
"namespace": "navigating"
|
|
},
|
|
{
|
|
"key": "system",
|
|
"value": "digital",
|
|
"namespace": "parsing"
|
|
}
|
|
],
|
|
"type": "system",
|
|
"os_major_version": 8,
|
|
"os_minor_version": 0,
|
|
"policies": []
|
|
}
|
|
],
|
|
"meta": {
|
|
"total": 25,
|
|
"tags": [],
|
|
"limit": 10,
|
|
"offset": 0,
|
|
"sort_by": "os_major_version"
|
|
},
|
|
"links": {
|
|
"first": "/api/compliance/v2/systems?limit=10&offset=0&sort_by=os_major_version",
|
|
"last": "/api/compliance/v2/systems?limit=10&offset=20&sort_by=os_major_version",
|
|
"next": "/api/compliance/v2/systems?limit=10&offset=10&sort_by=os_major_version"
|
|
}
|
|
},
|
|
"summary": "",
|
|
"description": ""
|
|
},
|
|
"List of Systems filtered by \"(os_major_version=8)\"": {
|
|
"value": {
|
|
"data": [
|
|
{
|
|
"id": "052a29db-e526-419e-b426-8bb16707c4d8",
|
|
"display_name": "baumbach.example",
|
|
"groups": [],
|
|
"culled_timestamp": "2034-10-09T11:42:12.187Z",
|
|
"stale_timestamp": "2034-09-25T11:42:12.187Z",
|
|
"stale_warning_timestamp": "2034-10-02T11:42:12.187Z",
|
|
"updated": "2024-09-25T11:42:12.187Z",
|
|
"insights_id": null,
|
|
"tags": [
|
|
{
|
|
"key": "bus",
|
|
"value": "bluetooth",
|
|
"namespace": "copying"
|
|
},
|
|
{
|
|
"key": "card",
|
|
"value": "1080p",
|
|
"namespace": "calculating"
|
|
},
|
|
{
|
|
"key": "array",
|
|
"value": "1080p",
|
|
"namespace": "navigating"
|
|
},
|
|
{
|
|
"key": "system",
|
|
"value": "optical",
|
|
"namespace": "hacking"
|
|
},
|
|
{
|
|
"key": "array",
|
|
"value": "online",
|
|
"namespace": "programming"
|
|
}
|
|
],
|
|
"type": "system",
|
|
"os_major_version": 8,
|
|
"os_minor_version": 0,
|
|
"policies": []
|
|
},
|
|
{
|
|
"id": "144baf03-fc3c-48e7-b844-ded766438080",
|
|
"display_name": "hackett-lindgren.example",
|
|
"groups": [],
|
|
"culled_timestamp": "2034-10-09T11:42:12.193Z",
|
|
"stale_timestamp": "2034-09-25T11:42:12.193Z",
|
|
"stale_warning_timestamp": "2034-10-02T11:42:12.193Z",
|
|
"updated": "2024-09-25T11:42:12.193Z",
|
|
"insights_id": null,
|
|
"tags": [
|
|
{
|
|
"key": "hard drive",
|
|
"value": "cross-platform",
|
|
"namespace": "indexing"
|
|
},
|
|
{
|
|
"key": "capacitor",
|
|
"value": "auxiliary",
|
|
"namespace": "bypassing"
|
|
},
|
|
{
|
|
"key": "card",
|
|
"value": "multi-byte",
|
|
"namespace": "compressing"
|
|
},
|
|
{
|
|
"key": "hard drive",
|
|
"value": "multi-byte",
|
|
"namespace": "navigating"
|
|
},
|
|
{
|
|
"key": "circuit",
|
|
"value": "online",
|
|
"namespace": "navigating"
|
|
}
|
|
],
|
|
"type": "system",
|
|
"os_major_version": 8,
|
|
"os_minor_version": 0,
|
|
"policies": []
|
|
},
|
|
{
|
|
"id": "1aa5b908-9090-478d-8051-1a67f3ea840d",
|
|
"display_name": "larson-okuneva.example",
|
|
"groups": [],
|
|
"culled_timestamp": "2034-10-09T11:42:12.198Z",
|
|
"stale_timestamp": "2034-09-25T11:42:12.198Z",
|
|
"stale_warning_timestamp": "2034-10-02T11:42:12.198Z",
|
|
"updated": "2024-09-25T11:42:12.198Z",
|
|
"insights_id": null,
|
|
"tags": [
|
|
{
|
|
"key": "protocol",
|
|
"value": "multi-byte",
|
|
"namespace": "connecting"
|
|
},
|
|
{
|
|
"key": "system",
|
|
"value": "auxiliary",
|
|
"namespace": "generating"
|
|
},
|
|
{
|
|
"key": "bus",
|
|
"value": "solid state",
|
|
"namespace": "calculating"
|
|
},
|
|
{
|
|
"key": "bus",
|
|
"value": "haptic",
|
|
"namespace": "connecting"
|
|
},
|
|
{
|
|
"key": "hard drive",
|
|
"value": "optical",
|
|
"namespace": "bypassing"
|
|
}
|
|
],
|
|
"type": "system",
|
|
"os_major_version": 8,
|
|
"os_minor_version": 0,
|
|
"policies": []
|
|
},
|
|
{
|
|
"id": "31d431c1-5bf2-4125-93eb-f8ff768ef6f1",
|
|
"display_name": "frami-grady.test",
|
|
"groups": [],
|
|
"culled_timestamp": "2034-10-09T11:42:12.196Z",
|
|
"stale_timestamp": "2034-09-25T11:42:12.196Z",
|
|
"stale_warning_timestamp": "2034-10-02T11:42:12.196Z",
|
|
"updated": "2024-09-25T11:42:12.196Z",
|
|
"insights_id": null,
|
|
"tags": [
|
|
{
|
|
"key": "firewall",
|
|
"value": "wireless",
|
|
"namespace": "hacking"
|
|
},
|
|
{
|
|
"key": "panel",
|
|
"value": "virtual",
|
|
"namespace": "generating"
|
|
},
|
|
{
|
|
"key": "driver",
|
|
"value": "multi-byte",
|
|
"namespace": "copying"
|
|
},
|
|
{
|
|
"key": "system",
|
|
"value": "cross-platform",
|
|
"namespace": "programming"
|
|
},
|
|
{
|
|
"key": "sensor",
|
|
"value": "cross-platform",
|
|
"namespace": "quantifying"
|
|
}
|
|
],
|
|
"type": "system",
|
|
"os_major_version": 8,
|
|
"os_minor_version": 0,
|
|
"policies": []
|
|
},
|
|
{
|
|
"id": "3b0a442c-0847-4169-a37d-81fced3b180b",
|
|
"display_name": "okeefe-ledner.test",
|
|
"groups": [],
|
|
"culled_timestamp": "2034-10-09T11:42:12.193Z",
|
|
"stale_timestamp": "2034-09-25T11:42:12.193Z",
|
|
"stale_warning_timestamp": "2034-10-02T11:42:12.193Z",
|
|
"updated": "2024-09-25T11:42:12.193Z",
|
|
"insights_id": null,
|
|
"tags": [
|
|
{
|
|
"key": "matrix",
|
|
"value": "1080p",
|
|
"namespace": "quantifying"
|
|
},
|
|
{
|
|
"key": "microchip",
|
|
"value": "optical",
|
|
"namespace": "copying"
|
|
},
|
|
{
|
|
"key": "system",
|
|
"value": "solid state",
|
|
"namespace": "hacking"
|
|
},
|
|
{
|
|
"key": "monitor",
|
|
"value": "digital",
|
|
"namespace": "quantifying"
|
|
},
|
|
{
|
|
"key": "bus",
|
|
"value": "mobile",
|
|
"namespace": "transmitting"
|
|
}
|
|
],
|
|
"type": "system",
|
|
"os_major_version": 8,
|
|
"os_minor_version": 0,
|
|
"policies": []
|
|
},
|
|
{
|
|
"id": "4afa2088-e035-4ed0-a6b8-49e1c43c6e20",
|
|
"display_name": "feeney-quitzon.example",
|
|
"groups": [],
|
|
"culled_timestamp": "2034-10-09T11:42:12.195Z",
|
|
"stale_timestamp": "2034-09-25T11:42:12.195Z",
|
|
"stale_warning_timestamp": "2034-10-02T11:42:12.195Z",
|
|
"updated": "2024-09-25T11:42:12.195Z",
|
|
"insights_id": null,
|
|
"tags": [
|
|
{
|
|
"key": "firewall",
|
|
"value": "back-end",
|
|
"namespace": "quantifying"
|
|
},
|
|
{
|
|
"key": "card",
|
|
"value": "bluetooth",
|
|
"namespace": "programming"
|
|
},
|
|
{
|
|
"key": "interface",
|
|
"value": "wireless",
|
|
"namespace": "connecting"
|
|
},
|
|
{
|
|
"key": "microchip",
|
|
"value": "haptic",
|
|
"namespace": "navigating"
|
|
},
|
|
{
|
|
"key": "alarm",
|
|
"value": "back-end",
|
|
"namespace": "backing up"
|
|
}
|
|
],
|
|
"type": "system",
|
|
"os_major_version": 8,
|
|
"os_minor_version": 0,
|
|
"policies": []
|
|
},
|
|
{
|
|
"id": "4c11105a-e48a-43b2-9107-bd35ea41d27b",
|
|
"display_name": "ondricka-wolf.test",
|
|
"groups": [],
|
|
"culled_timestamp": "2034-10-09T11:42:12.190Z",
|
|
"stale_timestamp": "2034-09-25T11:42:12.190Z",
|
|
"stale_warning_timestamp": "2034-10-02T11:42:12.190Z",
|
|
"updated": "2024-09-25T11:42:12.190Z",
|
|
"insights_id": null,
|
|
"tags": [
|
|
{
|
|
"key": "microchip",
|
|
"value": "solid state",
|
|
"namespace": "indexing"
|
|
},
|
|
{
|
|
"key": "monitor",
|
|
"value": "bluetooth",
|
|
"namespace": "overriding"
|
|
},
|
|
{
|
|
"key": "transmitter",
|
|
"value": "mobile",
|
|
"namespace": "bypassing"
|
|
},
|
|
{
|
|
"key": "bus",
|
|
"value": "primary",
|
|
"namespace": "calculating"
|
|
},
|
|
{
|
|
"key": "system",
|
|
"value": "optical",
|
|
"namespace": "transmitting"
|
|
}
|
|
],
|
|
"type": "system",
|
|
"os_major_version": 8,
|
|
"os_minor_version": 0,
|
|
"policies": []
|
|
},
|
|
{
|
|
"id": "4c4cde14-c9d9-49e2-bcaf-0e273ea27de7",
|
|
"display_name": "connelly.example",
|
|
"groups": [],
|
|
"culled_timestamp": "2034-10-09T11:42:12.192Z",
|
|
"stale_timestamp": "2034-09-25T11:42:12.192Z",
|
|
"stale_warning_timestamp": "2034-10-02T11:42:12.192Z",
|
|
"updated": "2024-09-25T11:42:12.192Z",
|
|
"insights_id": null,
|
|
"tags": [
|
|
{
|
|
"key": "bandwidth",
|
|
"value": "virtual",
|
|
"namespace": "backing up"
|
|
},
|
|
{
|
|
"key": "transmitter",
|
|
"value": "solid state",
|
|
"namespace": "synthesizing"
|
|
},
|
|
{
|
|
"key": "driver",
|
|
"value": "primary",
|
|
"namespace": "copying"
|
|
},
|
|
{
|
|
"key": "program",
|
|
"value": "haptic",
|
|
"namespace": "quantifying"
|
|
},
|
|
{
|
|
"key": "transmitter",
|
|
"value": "open-source",
|
|
"namespace": "backing up"
|
|
}
|
|
],
|
|
"type": "system",
|
|
"os_major_version": 8,
|
|
"os_minor_version": 0,
|
|
"policies": []
|
|
},
|
|
{
|
|
"id": "4fbe016b-9939-4f34-9f9b-482db75d4265",
|
|
"display_name": "cormier.test",
|
|
"groups": [],
|
|
"culled_timestamp": "2034-10-09T11:42:12.199Z",
|
|
"stale_timestamp": "2034-09-25T11:42:12.199Z",
|
|
"stale_warning_timestamp": "2034-10-02T11:42:12.199Z",
|
|
"updated": "2024-09-25T11:42:12.199Z",
|
|
"insights_id": null,
|
|
"tags": [
|
|
{
|
|
"key": "hard drive",
|
|
"value": "virtual",
|
|
"namespace": "backing up"
|
|
},
|
|
{
|
|
"key": "program",
|
|
"value": "bluetooth",
|
|
"namespace": "copying"
|
|
},
|
|
{
|
|
"key": "monitor",
|
|
"value": "bluetooth",
|
|
"namespace": "quantifying"
|
|
},
|
|
{
|
|
"key": "driver",
|
|
"value": "primary",
|
|
"namespace": "calculating"
|
|
},
|
|
{
|
|
"key": "card",
|
|
"value": "haptic",
|
|
"namespace": "bypassing"
|
|
}
|
|
],
|
|
"type": "system",
|
|
"os_major_version": 8,
|
|
"os_minor_version": 0,
|
|
"policies": []
|
|
},
|
|
{
|
|
"id": "6fa68fec-a089-411d-ba9d-9c3698b0ea2e",
|
|
"display_name": "schamberger.example",
|
|
"groups": [],
|
|
"culled_timestamp": "2034-10-09T11:42:12.183Z",
|
|
"stale_timestamp": "2034-09-25T11:42:12.183Z",
|
|
"stale_warning_timestamp": "2034-10-02T11:42:12.183Z",
|
|
"updated": "2024-09-25T11:42:12.183Z",
|
|
"insights_id": null,
|
|
"tags": [
|
|
{
|
|
"key": "matrix",
|
|
"value": "bluetooth",
|
|
"namespace": "indexing"
|
|
},
|
|
{
|
|
"key": "array",
|
|
"value": "back-end",
|
|
"namespace": "hacking"
|
|
},
|
|
{
|
|
"key": "circuit",
|
|
"value": "open-source",
|
|
"namespace": "quantifying"
|
|
},
|
|
{
|
|
"key": "system",
|
|
"value": "redundant",
|
|
"namespace": "calculating"
|
|
},
|
|
{
|
|
"key": "alarm",
|
|
"value": "1080p",
|
|
"namespace": "overriding"
|
|
}
|
|
],
|
|
"type": "system",
|
|
"os_major_version": 8,
|
|
"os_minor_version": 0,
|
|
"policies": []
|
|
}
|
|
],
|
|
"meta": {
|
|
"total": 25,
|
|
"filter": "(os_major_version=8)",
|
|
"tags": [],
|
|
"limit": 10,
|
|
"offset": 0
|
|
},
|
|
"links": {
|
|
"first": "/api/compliance/v2/systems?filter=%28os_major_version%3D8%29&limit=10&offset=0",
|
|
"last": "/api/compliance/v2/systems?filter=%28os_major_version%3D8%29&limit=10&offset=20",
|
|
"next": "/api/compliance/v2/systems?filter=%28os_major_version%3D8%29&limit=10&offset=10"
|
|
}
|
|
},
|
|
"summary": "",
|
|
"description": ""
|
|
}
|
|
},
|
|
"schema": {
|
|
"type": "object",
|
|
"properties": {
|
|
"meta": {
|
|
"$ref": "#/components/schemas/metadata"
|
|
},
|
|
"links": {
|
|
"$ref": "#/components/schemas/links"
|
|
},
|
|
"data": {
|
|
"type": "array",
|
|
"items": {
|
|
"properties": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/system"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"422": {
|
|
"description": "Returns with Unprocessable Content",
|
|
"content": {
|
|
"application/vnd.api+json": {
|
|
"examples": {
|
|
"Description of an error when sorting by incorrect parameter": {
|
|
"value": {
|
|
"errors": [
|
|
"Result cannot be sorted by the 'description' column."
|
|
]
|
|
},
|
|
"summary": "",
|
|
"description": ""
|
|
},
|
|
"Description of an error when requesting higher limit than supported": {
|
|
"value": {
|
|
"errors": [
|
|
"Invalid parameter: limit must be less than or equal to 100"
|
|
]
|
|
},
|
|
"summary": "",
|
|
"description": ""
|
|
}
|
|
},
|
|
"schema": {
|
|
"$ref": "#/components/schemas/errors"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"/systems/os_versions": {
|
|
"get": {
|
|
"summary": "Request the list of available OS versions",
|
|
"parameters": [
|
|
{
|
|
"name": "X-RH-IDENTITY",
|
|
"in": "header",
|
|
"schema": {
|
|
"type": "string"
|
|
},
|
|
"description": "For internal use only"
|
|
},
|
|
{
|
|
"name": "filter",
|
|
"in": "query",
|
|
"required": false,
|
|
"description": "Query string to filter items by their attributes. Compliant with <a href=\"https://github.com/wvanbergen/scoped_search/wiki/Query-language\" target=\"_blank\" title=\"github.com/wvanbergen/scoped_search\">scoped_search query language</a>. However, only `=` or `!=` (resp. `<>`) operators are supported.<br><br>Systems are searchable using attributes `display_name`, `os_major_version`, `os_minor_version`, `assigned_or_scanned`, `never_reported`, `group_name`, `policies`, and `profile_ref_id`<br><br>(e.g.: `(field_1=something AND field_2!=\"something else\") OR field_3>40`)",
|
|
"schema": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
],
|
|
"tags": [
|
|
"Systems"
|
|
],
|
|
"description": "This feature is exclusively used by the frontend",
|
|
"operationId": "SystemsOS",
|
|
"deprecated": true,
|
|
"responses": {
|
|
"200": {
|
|
"description": "Lists available OS versions",
|
|
"content": {
|
|
"application/vnd.api+json": {
|
|
"examples": {
|
|
"List of available OS versions": {
|
|
"value": [
|
|
"8.0"
|
|
],
|
|
"summary": "",
|
|
"description": ""
|
|
}
|
|
},
|
|
"schema": {
|
|
"type": "array",
|
|
"items": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"/systems/{system_id}": {
|
|
"get": {
|
|
"summary": "Request a System",
|
|
"parameters": [
|
|
{
|
|
"name": "X-RH-IDENTITY",
|
|
"in": "header",
|
|
"schema": {
|
|
"type": "string"
|
|
},
|
|
"description": "For internal use only"
|
|
},
|
|
{
|
|
"name": "system_id",
|
|
"in": "path",
|
|
"required": true,
|
|
"schema": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
],
|
|
"tags": [
|
|
"Systems"
|
|
],
|
|
"description": "Returns a System",
|
|
"operationId": "System",
|
|
"responses": {
|
|
"200": {
|
|
"description": "Returns a System",
|
|
"content": {
|
|
"application/vnd.api+json": {
|
|
"examples": {
|
|
"Returns a System": {
|
|
"value": {
|
|
"data": {
|
|
"id": "3a96683b-b604-4c23-8c3a-3ca28212547c",
|
|
"display_name": "ziemann-kihn.test",
|
|
"groups": [],
|
|
"culled_timestamp": "2034-10-09T11:42:12.351Z",
|
|
"stale_timestamp": "2034-09-25T11:42:12.351Z",
|
|
"stale_warning_timestamp": "2034-10-02T11:42:12.351Z",
|
|
"updated": "2024-09-25T11:42:12.351Z",
|
|
"insights_id": null,
|
|
"tags": [
|
|
{
|
|
"key": "system",
|
|
"value": "back-end",
|
|
"namespace": "bypassing"
|
|
},
|
|
{
|
|
"key": "application",
|
|
"value": "primary",
|
|
"namespace": "navigating"
|
|
},
|
|
{
|
|
"key": "matrix",
|
|
"value": "digital",
|
|
"namespace": "copying"
|
|
},
|
|
{
|
|
"key": "card",
|
|
"value": "auxiliary",
|
|
"namespace": "overriding"
|
|
},
|
|
{
|
|
"key": "port",
|
|
"value": "multi-byte",
|
|
"namespace": "backing up"
|
|
}
|
|
],
|
|
"type": "system",
|
|
"os_major_version": 8,
|
|
"os_minor_version": 0,
|
|
"policies": []
|
|
}
|
|
},
|
|
"summary": "",
|
|
"description": ""
|
|
}
|
|
},
|
|
"schema": {
|
|
"type": "object",
|
|
"properties": {
|
|
"data": {
|
|
"type": "object",
|
|
"properties": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/system"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"404": {
|
|
"description": "Returns with Not Found",
|
|
"content": {
|
|
"application/vnd.api+json": {
|
|
"examples": {
|
|
"Description of an error when requesting a non-existing System": {
|
|
"value": {
|
|
"errors": [
|
|
"V2::System not found with ID 06e68459-f240-479c-9c91-2b3da8d99242"
|
|
]
|
|
},
|
|
"summary": "",
|
|
"description": ""
|
|
}
|
|
},
|
|
"schema": {
|
|
"$ref": "#/components/schemas/errors"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"/policies/{policy_id}/systems": {
|
|
"get": {
|
|
"summary": "Request Systems assigned to a Policy",
|
|
"parameters": [
|
|
{
|
|
"name": "X-RH-IDENTITY",
|
|
"in": "header",
|
|
"schema": {
|
|
"type": "string"
|
|
},
|
|
"description": "For internal use only"
|
|
},
|
|
{
|
|
"name": "tags",
|
|
"in": "query",
|
|
"required": false,
|
|
"description": "An array of tags to narrow down the search results. In case the value contains symbols used for separators (`/` or `=`), they need to be encoded.<br>e.g.: `namespace/key=value`, `insights-client/selinux-config=SELINUX%3Denforcing`",
|
|
"schema": {
|
|
"type": "array",
|
|
"items": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"name": "limit",
|
|
"in": "query",
|
|
"required": false,
|
|
"description": "Number of items to return per page",
|
|
"schema": {
|
|
"type": "number",
|
|
"maximum": 100,
|
|
"minimum": 1,
|
|
"default": 10
|
|
}
|
|
},
|
|
{
|
|
"name": "offset",
|
|
"in": "query",
|
|
"required": false,
|
|
"description": "Offset of first item of paginated response",
|
|
"schema": {
|
|
"type": "integer",
|
|
"minimum": 0,
|
|
"default": 0
|
|
}
|
|
},
|
|
{
|
|
"name": "ids_only",
|
|
"in": "query",
|
|
"required": false,
|
|
"description": "Indicates whether to return only resource IDs.",
|
|
"schema": {
|
|
"type": "boolean"
|
|
}
|
|
},
|
|
{
|
|
"name": "sort_by",
|
|
"in": "query",
|
|
"required": false,
|
|
"description": "Attribute and direction to sort the items by. Represented by an array of fields with an optional direction (`<key>:asc` or `<key>:desc`).<br><br>If no direction is selected, `<key>:asc` is used by default.",
|
|
"schema": {
|
|
"type": "array",
|
|
"items": {
|
|
"enum": [
|
|
"display_name",
|
|
"os_minor_version",
|
|
"groups",
|
|
"display_name:asc",
|
|
"display_name:desc",
|
|
"os_minor_version:asc",
|
|
"os_minor_version:desc",
|
|
"groups:asc",
|
|
"groups:desc"
|
|
]
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"name": "filter",
|
|
"in": "query",
|
|
"required": false,
|
|
"description": "Query string to filter items by their attributes. Compliant with <a href=\"https://github.com/wvanbergen/scoped_search/wiki/Query-language\" target=\"_blank\" title=\"github.com/wvanbergen/scoped_search\">scoped_search query language</a>. However, only `=` or `!=` (resp. `<>`) operators are supported.<br><br>Systems are searchable using attributes `display_name`, `os_minor_version`, and `group_name`<br><br>(e.g.: `(field_1=something AND field_2!=\"something else\") OR field_3>40`)",
|
|
"schema": {
|
|
"type": "string"
|
|
}
|
|
},
|
|
{
|
|
"name": "policy_id",
|
|
"in": "path",
|
|
"required": true,
|
|
"schema": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
],
|
|
"tags": [
|
|
"Policies"
|
|
],
|
|
"description": "Lists Systems assigned to a Policy",
|
|
"operationId": "PolicySystems",
|
|
"responses": {
|
|
"200": {
|
|
"description": "Lists Systems assigned to a Policy",
|
|
"content": {
|
|
"application/vnd.api+json": {
|
|
"examples": {
|
|
"List of Systems": {
|
|
"value": {
|
|
"data": [
|
|
{
|
|
"id": "004283f5-493e-4c0b-9961-0f350373a592",
|
|
"display_name": "beahan.example",
|
|
"groups": [],
|
|
"culled_timestamp": "2034-10-09T11:42:12.483Z",
|
|
"stale_timestamp": "2034-09-25T11:42:12.483Z",
|
|
"stale_warning_timestamp": "2034-10-02T11:42:12.483Z",
|
|
"updated": "2024-09-25T11:42:12.483Z",
|
|
"insights_id": null,
|
|
"tags": [
|
|
{
|
|
"key": "bus",
|
|
"value": "digital",
|
|
"namespace": "connecting"
|
|
},
|
|
{
|
|
"key": "card",
|
|
"value": "primary",
|
|
"namespace": "quantifying"
|
|
},
|
|
{
|
|
"key": "transmitter",
|
|
"value": "1080p",
|
|
"namespace": "synthesizing"
|
|
},
|
|
{
|
|
"key": "driver",
|
|
"value": "digital",
|
|
"namespace": "calculating"
|
|
},
|
|
{
|
|
"key": "port",
|
|
"value": "primary",
|
|
"namespace": "programming"
|
|
}
|
|
],
|
|
"type": "system",
|
|
"os_major_version": 8,
|
|
"os_minor_version": 0
|
|
},
|
|
{
|
|
"id": "10e5ee3c-74b3-4e53-9a36-088a1a8d53c5",
|
|
"display_name": "mayer.test",
|
|
"groups": [],
|
|
"culled_timestamp": "2034-10-09T11:42:12.474Z",
|
|
"stale_timestamp": "2034-09-25T11:42:12.474Z",
|
|
"stale_warning_timestamp": "2034-10-02T11:42:12.474Z",
|
|
"updated": "2024-09-25T11:42:12.474Z",
|
|
"insights_id": null,
|
|
"tags": [
|
|
{
|
|
"key": "feed",
|
|
"value": "haptic",
|
|
"namespace": "bypassing"
|
|
},
|
|
{
|
|
"key": "program",
|
|
"value": "open-source",
|
|
"namespace": "backing up"
|
|
},
|
|
{
|
|
"key": "matrix",
|
|
"value": "bluetooth",
|
|
"namespace": "bypassing"
|
|
},
|
|
{
|
|
"key": "driver",
|
|
"value": "solid state",
|
|
"namespace": "parsing"
|
|
},
|
|
{
|
|
"key": "panel",
|
|
"value": "primary",
|
|
"namespace": "connecting"
|
|
}
|
|
],
|
|
"type": "system",
|
|
"os_major_version": 8,
|
|
"os_minor_version": 0
|
|
},
|
|
{
|
|
"id": "1256f5e4-c692-44e5-9889-e56927b41d7b",
|
|
"display_name": "hilpert-greenfelder.example",
|
|
"groups": [],
|
|
"culled_timestamp": "2034-10-09T11:42:12.470Z",
|
|
"stale_timestamp": "2034-09-25T11:42:12.470Z",
|
|
"stale_warning_timestamp": "2034-10-02T11:42:12.470Z",
|
|
"updated": "2024-09-25T11:42:12.470Z",
|
|
"insights_id": null,
|
|
"tags": [
|
|
{
|
|
"key": "capacitor",
|
|
"value": "digital",
|
|
"namespace": "copying"
|
|
},
|
|
{
|
|
"key": "monitor",
|
|
"value": "virtual",
|
|
"namespace": "programming"
|
|
},
|
|
{
|
|
"key": "circuit",
|
|
"value": "cross-platform",
|
|
"namespace": "transmitting"
|
|
},
|
|
{
|
|
"key": "sensor",
|
|
"value": "online",
|
|
"namespace": "navigating"
|
|
},
|
|
{
|
|
"key": "hard drive",
|
|
"value": "primary",
|
|
"namespace": "synthesizing"
|
|
}
|
|
],
|
|
"type": "system",
|
|
"os_major_version": 8,
|
|
"os_minor_version": 0
|
|
},
|
|
{
|
|
"id": "34fb5783-d2dc-4f03-b3a0-71b0c1f7a4d2",
|
|
"display_name": "mayer-corkery.test",
|
|
"groups": [],
|
|
"culled_timestamp": "2034-10-09T11:42:12.457Z",
|
|
"stale_timestamp": "2034-09-25T11:42:12.457Z",
|
|
"stale_warning_timestamp": "2034-10-02T11:42:12.457Z",
|
|
"updated": "2024-09-25T11:42:12.457Z",
|
|
"insights_id": null,
|
|
"tags": [
|
|
{
|
|
"key": "program",
|
|
"value": "haptic",
|
|
"namespace": "compressing"
|
|
},
|
|
{
|
|
"key": "bandwidth",
|
|
"value": "mobile",
|
|
"namespace": "calculating"
|
|
},
|
|
{
|
|
"key": "hard drive",
|
|
"value": "multi-byte",
|
|
"namespace": "connecting"
|
|
},
|
|
{
|
|
"key": "monitor",
|
|
"value": "bluetooth",
|
|
"namespace": "parsing"
|
|
},
|
|
{
|
|
"key": "driver",
|
|
"value": "neural",
|
|
"namespace": "connecting"
|
|
}
|
|
],
|
|
"type": "system",
|
|
"os_major_version": 8,
|
|
"os_minor_version": 0
|
|
},
|
|
{
|
|
"id": "437d10b8-f91f-48b8-92bd-c3f7c785ee25",
|
|
"display_name": "hirthe.example",
|
|
"groups": [],
|
|
"culled_timestamp": "2034-10-09T11:42:12.427Z",
|
|
"stale_timestamp": "2034-09-25T11:42:12.427Z",
|
|
"stale_warning_timestamp": "2034-10-02T11:42:12.427Z",
|
|
"updated": "2024-09-25T11:42:12.427Z",
|
|
"insights_id": null,
|
|
"tags": [
|
|
{
|
|
"key": "circuit",
|
|
"value": "wireless",
|
|
"namespace": "bypassing"
|
|
},
|
|
{
|
|
"key": "sensor",
|
|
"value": "optical",
|
|
"namespace": "bypassing"
|
|
},
|
|
{
|
|
"key": "application",
|
|
"value": "1080p",
|
|
"namespace": "backing up"
|
|
},
|
|
{
|
|
"key": "bus",
|
|
"value": "wireless",
|
|
"namespace": "compressing"
|
|
},
|
|
{
|
|
"key": "driver",
|
|
"value": "solid state",
|
|
"namespace": "synthesizing"
|
|
}
|
|
],
|
|
"type": "system",
|
|
"os_major_version": 8,
|
|
"os_minor_version": 0
|
|
},
|
|
{
|
|
"id": "4fd43dce-9a68-4a31-b791-5038dbfcaf8c",
|
|
"display_name": "labadie.test",
|
|
"groups": [],
|
|
"culled_timestamp": "2034-10-09T11:42:12.440Z",
|
|
"stale_timestamp": "2034-09-25T11:42:12.440Z",
|
|
"stale_warning_timestamp": "2034-10-02T11:42:12.440Z",
|
|
"updated": "2024-09-25T11:42:12.440Z",
|
|
"insights_id": null,
|
|
"tags": [
|
|
{
|
|
"key": "microchip",
|
|
"value": "1080p",
|
|
"namespace": "calculating"
|
|
},
|
|
{
|
|
"key": "feed",
|
|
"value": "haptic",
|
|
"namespace": "programming"
|
|
},
|
|
{
|
|
"key": "pixel",
|
|
"value": "virtual",
|
|
"namespace": "connecting"
|
|
},
|
|
{
|
|
"key": "matrix",
|
|
"value": "haptic",
|
|
"namespace": "connecting"
|
|
},
|
|
{
|
|
"key": "alarm",
|
|
"value": "neural",
|
|
"namespace": "generating"
|
|
}
|
|
],
|
|
"type": "system",
|
|
"os_major_version": 8,
|
|
"os_minor_version": 0
|
|
},
|
|
{
|
|
"id": "713eb892-2858-47bc-92d8-580353be0626",
|
|
"display_name": "rowe.example",
|
|
"groups": [],
|
|
"culled_timestamp": "2034-10-09T11:42:12.478Z",
|
|
"stale_timestamp": "2034-09-25T11:42:12.478Z",
|
|
"stale_warning_timestamp": "2034-10-02T11:42:12.478Z",
|
|
"updated": "2024-09-25T11:42:12.478Z",
|
|
"insights_id": null,
|
|
"tags": [
|
|
{
|
|
"key": "panel",
|
|
"value": "redundant",
|
|
"namespace": "backing up"
|
|
},
|
|
{
|
|
"key": "feed",
|
|
"value": "redundant",
|
|
"namespace": "synthesizing"
|
|
},
|
|
{
|
|
"key": "program",
|
|
"value": "primary",
|
|
"namespace": "transmitting"
|
|
},
|
|
{
|
|
"key": "sensor",
|
|
"value": "cross-platform",
|
|
"namespace": "copying"
|
|
},
|
|
{
|
|
"key": "capacitor",
|
|
"value": "online",
|
|
"namespace": "transmitting"
|
|
}
|
|
],
|
|
"type": "system",
|
|
"os_major_version": 8,
|
|
"os_minor_version": 0
|
|
},
|
|
{
|
|
"id": "77d9b59a-7676-4e76-996e-4bce6479168e",
|
|
"display_name": "bradtke-rodriguez.example",
|
|
"groups": [],
|
|
"culled_timestamp": "2034-10-09T11:42:12.448Z",
|
|
"stale_timestamp": "2034-09-25T11:42:12.448Z",
|
|
"stale_warning_timestamp": "2034-10-02T11:42:12.448Z",
|
|
"updated": "2024-09-25T11:42:12.448Z",
|
|
"insights_id": null,
|
|
"tags": [
|
|
{
|
|
"key": "feed",
|
|
"value": "open-source",
|
|
"namespace": "backing up"
|
|
},
|
|
{
|
|
"key": "hard drive",
|
|
"value": "digital",
|
|
"namespace": "parsing"
|
|
},
|
|
{
|
|
"key": "microchip",
|
|
"value": "bluetooth",
|
|
"namespace": "hacking"
|
|
},
|
|
{
|
|
"key": "sensor",
|
|
"value": "cross-platform",
|
|
"namespace": "overriding"
|
|
},
|
|
{
|
|
"key": "alarm",
|
|
"value": "mobile",
|
|
"namespace": "quantifying"
|
|
}
|
|
],
|
|
"type": "system",
|
|
"os_major_version": 8,
|
|
"os_minor_version": 0
|
|
},
|
|
{
|
|
"id": "825821d8-f905-48f8-8aba-8902214e2ec0",
|
|
"display_name": "casper.test",
|
|
"groups": [],
|
|
"culled_timestamp": "2034-10-09T11:42:12.396Z",
|
|
"stale_timestamp": "2034-09-25T11:42:12.396Z",
|
|
"stale_warning_timestamp": "2034-10-02T11:42:12.396Z",
|
|
"updated": "2024-09-25T11:42:12.396Z",
|
|
"insights_id": null,
|
|
"tags": [
|
|
{
|
|
"key": "circuit",
|
|
"value": "wireless",
|
|
"namespace": "indexing"
|
|
},
|
|
{
|
|
"key": "protocol",
|
|
"value": "optical",
|
|
"namespace": "indexing"
|
|
},
|
|
{
|
|
"key": "microchip",
|
|
"value": "optical",
|
|
"namespace": "hacking"
|
|
},
|
|
{
|
|
"key": "bus",
|
|
"value": "virtual",
|
|
"namespace": "navigating"
|
|
},
|
|
{
|
|
"key": "sensor",
|
|
"value": "mobile",
|
|
"namespace": "backing up"
|
|
}
|
|
],
|
|
"type": "system",
|
|
"os_major_version": 8,
|
|
"os_minor_version": 0
|
|
},
|
|
{
|
|
"id": "88eb88a0-8e7f-4d62-add1-6dc53505fa6f",
|
|
"display_name": "mueller.example",
|
|
"groups": [],
|
|
"culled_timestamp": "2034-10-09T11:42:12.414Z",
|
|
"stale_timestamp": "2034-09-25T11:42:12.414Z",
|
|
"stale_warning_timestamp": "2034-10-02T11:42:12.414Z",
|
|
"updated": "2024-09-25T11:42:12.414Z",
|
|
"insights_id": null,
|
|
"tags": [
|
|
{
|
|
"key": "array",
|
|
"value": "multi-byte",
|
|
"namespace": "copying"
|
|
},
|
|
{
|
|
"key": "microchip",
|
|
"value": "bluetooth",
|
|
"namespace": "generating"
|
|
},
|
|
{
|
|
"key": "alarm",
|
|
"value": "primary",
|
|
"namespace": "copying"
|
|
},
|
|
{
|
|
"key": "system",
|
|
"value": "auxiliary",
|
|
"namespace": "parsing"
|
|
},
|
|
{
|
|
"key": "bandwidth",
|
|
"value": "wireless",
|
|
"namespace": "overriding"
|
|
}
|
|
],
|
|
"type": "system",
|
|
"os_major_version": 8,
|
|
"os_minor_version": 0
|
|
}
|
|
],
|
|
"meta": {
|
|
"total": 25,
|
|
"tags": [],
|
|
"limit": 10,
|
|
"offset": 0
|
|
},
|
|
"links": {
|
|
"first": "/api/compliance/v2/policies/1c73d6d1-fa35-4bb0-8490-de1066c8a9e0/systems?limit=10&offset=0",
|
|
"last": "/api/compliance/v2/policies/1c73d6d1-fa35-4bb0-8490-de1066c8a9e0/systems?limit=10&offset=20",
|
|
"next": "/api/compliance/v2/policies/1c73d6d1-fa35-4bb0-8490-de1066c8a9e0/systems?limit=10&offset=10"
|
|
}
|
|
},
|
|
"summary": "",
|
|
"description": ""
|
|
},
|
|
"List of Systems sorted by \"os_minor_version:asc\"": {
|
|
"value": {
|
|
"data": [
|
|
{
|
|
"id": "028f97e9-1a33-4db3-bce9-114d5910c554",
|
|
"display_name": "labadie.test",
|
|
"groups": [],
|
|
"culled_timestamp": "2034-10-09T11:42:12.627Z",
|
|
"stale_timestamp": "2034-09-25T11:42:12.627Z",
|
|
"stale_warning_timestamp": "2034-10-02T11:42:12.627Z",
|
|
"updated": "2024-09-25T11:42:12.627Z",
|
|
"insights_id": null,
|
|
"tags": [
|
|
{
|
|
"key": "driver",
|
|
"value": "neural",
|
|
"namespace": "copying"
|
|
},
|
|
{
|
|
"key": "matrix",
|
|
"value": "open-source",
|
|
"namespace": "parsing"
|
|
},
|
|
{
|
|
"key": "alarm",
|
|
"value": "primary",
|
|
"namespace": "synthesizing"
|
|
},
|
|
{
|
|
"key": "monitor",
|
|
"value": "mobile",
|
|
"namespace": "compressing"
|
|
},
|
|
{
|
|
"key": "transmitter",
|
|
"value": "virtual",
|
|
"namespace": "indexing"
|
|
}
|
|
],
|
|
"type": "system",
|
|
"os_major_version": 8,
|
|
"os_minor_version": 0
|
|
},
|
|
{
|
|
"id": "0a8a7e27-4a0a-4b0c-86aa-f825bba737b0",
|
|
"display_name": "wuckert-kris.example",
|
|
"groups": [],
|
|
"culled_timestamp": "2034-10-09T11:42:12.550Z",
|
|
"stale_timestamp": "2034-09-25T11:42:12.550Z",
|
|
"stale_warning_timestamp": "2034-10-02T11:42:12.550Z",
|
|
"updated": "2024-09-25T11:42:12.550Z",
|
|
"insights_id": null,
|
|
"tags": [
|
|
{
|
|
"key": "pixel",
|
|
"value": "optical",
|
|
"namespace": "indexing"
|
|
},
|
|
{
|
|
"key": "monitor",
|
|
"value": "wireless",
|
|
"namespace": "parsing"
|
|
},
|
|
{
|
|
"key": "bus",
|
|
"value": "online",
|
|
"namespace": "compressing"
|
|
},
|
|
{
|
|
"key": "circuit",
|
|
"value": "digital",
|
|
"namespace": "programming"
|
|
},
|
|
{
|
|
"key": "microchip",
|
|
"value": "back-end",
|
|
"namespace": "programming"
|
|
}
|
|
],
|
|
"type": "system",
|
|
"os_major_version": 8,
|
|
"os_minor_version": 0
|
|
},
|
|
{
|
|
"id": "14ef53d1-4aa5-495e-bb5e-f78e77204ef7",
|
|
"display_name": "weimann.test",
|
|
"groups": [],
|
|
"culled_timestamp": "2034-10-09T11:42:12.636Z",
|
|
"stale_timestamp": "2034-09-25T11:42:12.636Z",
|
|
"stale_warning_timestamp": "2034-10-02T11:42:12.636Z",
|
|
"updated": "2024-09-25T11:42:12.636Z",
|
|
"insights_id": null,
|
|
"tags": [
|
|
{
|
|
"key": "microchip",
|
|
"value": "back-end",
|
|
"namespace": "copying"
|
|
},
|
|
{
|
|
"key": "card",
|
|
"value": "cross-platform",
|
|
"namespace": "connecting"
|
|
},
|
|
{
|
|
"key": "protocol",
|
|
"value": "digital",
|
|
"namespace": "navigating"
|
|
},
|
|
{
|
|
"key": "firewall",
|
|
"value": "primary",
|
|
"namespace": "connecting"
|
|
},
|
|
{
|
|
"key": "hard drive",
|
|
"value": "solid state",
|
|
"namespace": "overriding"
|
|
}
|
|
],
|
|
"type": "system",
|
|
"os_major_version": 8,
|
|
"os_minor_version": 0
|
|
},
|
|
{
|
|
"id": "19cbee88-1d51-42a0-ba50-aea82980bed6",
|
|
"display_name": "muller-champlin.example",
|
|
"groups": [],
|
|
"culled_timestamp": "2034-10-09T11:42:12.609Z",
|
|
"stale_timestamp": "2034-09-25T11:42:12.609Z",
|
|
"stale_warning_timestamp": "2034-10-02T11:42:12.609Z",
|
|
"updated": "2024-09-25T11:42:12.609Z",
|
|
"insights_id": null,
|
|
"tags": [
|
|
{
|
|
"key": "protocol",
|
|
"value": "solid state",
|
|
"namespace": "hacking"
|
|
},
|
|
{
|
|
"key": "card",
|
|
"value": "auxiliary",
|
|
"namespace": "parsing"
|
|
},
|
|
{
|
|
"key": "sensor",
|
|
"value": "optical",
|
|
"namespace": "hacking"
|
|
},
|
|
{
|
|
"key": "application",
|
|
"value": "1080p",
|
|
"namespace": "synthesizing"
|
|
},
|
|
{
|
|
"key": "protocol",
|
|
"value": "1080p",
|
|
"namespace": "transmitting"
|
|
}
|
|
],
|
|
"type": "system",
|
|
"os_major_version": 8,
|
|
"os_minor_version": 0
|
|
},
|
|
{
|
|
"id": "1a3046f7-815a-4f0e-8ac9-5b4f7c40fd35",
|
|
"display_name": "collins.example",
|
|
"groups": [],
|
|
"culled_timestamp": "2034-10-09T11:42:12.563Z",
|
|
"stale_timestamp": "2034-09-25T11:42:12.563Z",
|
|
"stale_warning_timestamp": "2034-10-02T11:42:12.563Z",
|
|
"updated": "2024-09-25T11:42:12.563Z",
|
|
"insights_id": null,
|
|
"tags": [
|
|
{
|
|
"key": "bus",
|
|
"value": "1080p",
|
|
"namespace": "indexing"
|
|
},
|
|
{
|
|
"key": "panel",
|
|
"value": "cross-platform",
|
|
"namespace": "programming"
|
|
},
|
|
{
|
|
"key": "circuit",
|
|
"value": "multi-byte",
|
|
"namespace": "calculating"
|
|
},
|
|
{
|
|
"key": "protocol",
|
|
"value": "primary",
|
|
"namespace": "parsing"
|
|
},
|
|
{
|
|
"key": "interface",
|
|
"value": "haptic",
|
|
"namespace": "indexing"
|
|
}
|
|
],
|
|
"type": "system",
|
|
"os_major_version": 8,
|
|
"os_minor_version": 0
|
|
},
|
|
{
|
|
"id": "2382af42-3065-456c-8ef8-12a2fb70996f",
|
|
"display_name": "schaden.example",
|
|
"groups": [],
|
|
"culled_timestamp": "2034-10-09T11:42:12.537Z",
|
|
"stale_timestamp": "2034-09-25T11:42:12.537Z",
|
|
"stale_warning_timestamp": "2034-10-02T11:42:12.537Z",
|
|
"updated": "2024-09-25T11:42:12.537Z",
|
|
"insights_id": null,
|
|
"tags": [
|
|
{
|
|
"key": "pixel",
|
|
"value": "optical",
|
|
"namespace": "bypassing"
|
|
},
|
|
{
|
|
"key": "transmitter",
|
|
"value": "multi-byte",
|
|
"namespace": "backing up"
|
|
},
|
|
{
|
|
"key": "bus",
|
|
"value": "redundant",
|
|
"namespace": "indexing"
|
|
},
|
|
{
|
|
"key": "bus",
|
|
"value": "solid state",
|
|
"namespace": "copying"
|
|
},
|
|
{
|
|
"key": "circuit",
|
|
"value": "auxiliary",
|
|
"namespace": "calculating"
|
|
}
|
|
],
|
|
"type": "system",
|
|
"os_major_version": 8,
|
|
"os_minor_version": 0
|
|
},
|
|
{
|
|
"id": "2719feed-f228-418f-85eb-fdb15d9293e7",
|
|
"display_name": "lesch.test",
|
|
"groups": [],
|
|
"culled_timestamp": "2034-10-09T11:42:12.567Z",
|
|
"stale_timestamp": "2034-09-25T11:42:12.567Z",
|
|
"stale_warning_timestamp": "2034-10-02T11:42:12.567Z",
|
|
"updated": "2024-09-25T11:42:12.567Z",
|
|
"insights_id": null,
|
|
"tags": [
|
|
{
|
|
"key": "bandwidth",
|
|
"value": "open-source",
|
|
"namespace": "synthesizing"
|
|
},
|
|
{
|
|
"key": "firewall",
|
|
"value": "neural",
|
|
"namespace": "programming"
|
|
},
|
|
{
|
|
"key": "protocol",
|
|
"value": "mobile",
|
|
"namespace": "navigating"
|
|
},
|
|
{
|
|
"key": "protocol",
|
|
"value": "redundant",
|
|
"namespace": "hacking"
|
|
},
|
|
{
|
|
"key": "card",
|
|
"value": "wireless",
|
|
"namespace": "navigating"
|
|
}
|
|
],
|
|
"type": "system",
|
|
"os_major_version": 8,
|
|
"os_minor_version": 0
|
|
},
|
|
{
|
|
"id": "2bc25797-3731-4335-a696-539552dbef8f",
|
|
"display_name": "lueilwitz.example",
|
|
"groups": [],
|
|
"culled_timestamp": "2034-10-09T11:42:12.622Z",
|
|
"stale_timestamp": "2034-09-25T11:42:12.622Z",
|
|
"stale_warning_timestamp": "2034-10-02T11:42:12.622Z",
|
|
"updated": "2024-09-25T11:42:12.622Z",
|
|
"insights_id": null,
|
|
"tags": [
|
|
{
|
|
"key": "panel",
|
|
"value": "primary",
|
|
"namespace": "copying"
|
|
},
|
|
{
|
|
"key": "transmitter",
|
|
"value": "back-end",
|
|
"namespace": "indexing"
|
|
},
|
|
{
|
|
"key": "transmitter",
|
|
"value": "auxiliary",
|
|
"namespace": "synthesizing"
|
|
},
|
|
{
|
|
"key": "bandwidth",
|
|
"value": "virtual",
|
|
"namespace": "overriding"
|
|
},
|
|
{
|
|
"key": "monitor",
|
|
"value": "haptic",
|
|
"namespace": "parsing"
|
|
}
|
|
],
|
|
"type": "system",
|
|
"os_major_version": 8,
|
|
"os_minor_version": 0
|
|
},
|
|
{
|
|
"id": "2cde15a8-c36a-4aa8-8c81-5ef22e5ed73d",
|
|
"display_name": "jones.example",
|
|
"groups": [],
|
|
"culled_timestamp": "2034-10-09T11:42:12.613Z",
|
|
"stale_timestamp": "2034-09-25T11:42:12.613Z",
|
|
"stale_warning_timestamp": "2034-10-02T11:42:12.613Z",
|
|
"updated": "2024-09-25T11:42:12.613Z",
|
|
"insights_id": null,
|
|
"tags": [
|
|
{
|
|
"key": "alarm",
|
|
"value": "open-source",
|
|
"namespace": "parsing"
|
|
},
|
|
{
|
|
"key": "panel",
|
|
"value": "auxiliary",
|
|
"namespace": "hacking"
|
|
},
|
|
{
|
|
"key": "card",
|
|
"value": "solid state",
|
|
"namespace": "programming"
|
|
},
|
|
{
|
|
"key": "driver",
|
|
"value": "1080p",
|
|
"namespace": "compressing"
|
|
},
|
|
{
|
|
"key": "alarm",
|
|
"value": "optical",
|
|
"namespace": "backing up"
|
|
}
|
|
],
|
|
"type": "system",
|
|
"os_major_version": 8,
|
|
"os_minor_version": 0
|
|
},
|
|
{
|
|
"id": "51095892-0896-43f0-bc23-008d65ad610f",
|
|
"display_name": "dicki-conn.example",
|
|
"groups": [],
|
|
"culled_timestamp": "2034-10-09T11:42:12.631Z",
|
|
"stale_timestamp": "2034-09-25T11:42:12.631Z",
|
|
"stale_warning_timestamp": "2034-10-02T11:42:12.631Z",
|
|
"updated": "2024-09-25T11:42:12.631Z",
|
|
"insights_id": null,
|
|
"tags": [
|
|
{
|
|
"key": "panel",
|
|
"value": "redundant",
|
|
"namespace": "programming"
|
|
},
|
|
{
|
|
"key": "application",
|
|
"value": "neural",
|
|
"namespace": "transmitting"
|
|
},
|
|
{
|
|
"key": "port",
|
|
"value": "back-end",
|
|
"namespace": "navigating"
|
|
},
|
|
{
|
|
"key": "matrix",
|
|
"value": "neural",
|
|
"namespace": "compressing"
|
|
},
|
|
{
|
|
"key": "port",
|
|
"value": "primary",
|
|
"namespace": "copying"
|
|
}
|
|
],
|
|
"type": "system",
|
|
"os_major_version": 8,
|
|
"os_minor_version": 0
|
|
}
|
|
],
|
|
"meta": {
|
|
"total": 25,
|
|
"tags": [],
|
|
"limit": 10,
|
|
"offset": 0,
|
|
"sort_by": "os_minor_version"
|
|
},
|
|
"links": {
|
|
"first": "/api/compliance/v2/policies/86d78e2f-55b0-4fc8-b2b5-a12479f6d17a/systems?limit=10&offset=0&sort_by=os_minor_version",
|
|
"last": "/api/compliance/v2/policies/86d78e2f-55b0-4fc8-b2b5-a12479f6d17a/systems?limit=10&offset=20&sort_by=os_minor_version",
|
|
"next": "/api/compliance/v2/policies/86d78e2f-55b0-4fc8-b2b5-a12479f6d17a/systems?limit=10&offset=10&sort_by=os_minor_version"
|
|
}
|
|
},
|
|
"summary": "",
|
|
"description": ""
|
|
},
|
|
"List of Systems filtered by \"(os_minor_version=0)\"": {
|
|
"value": {
|
|
"data": [
|
|
{
|
|
"id": "096897d5-eff2-484a-9b96-e746f48207b7",
|
|
"display_name": "cummings.example",
|
|
"groups": [],
|
|
"culled_timestamp": "2034-10-09T11:42:12.667Z",
|
|
"stale_timestamp": "2034-09-25T11:42:12.667Z",
|
|
"stale_warning_timestamp": "2034-10-02T11:42:12.667Z",
|
|
"updated": "2024-09-25T11:42:12.667Z",
|
|
"insights_id": null,
|
|
"tags": [
|
|
{
|
|
"key": "port",
|
|
"value": "optical",
|
|
"namespace": "quantifying"
|
|
},
|
|
{
|
|
"key": "alarm",
|
|
"value": "redundant",
|
|
"namespace": "synthesizing"
|
|
},
|
|
{
|
|
"key": "driver",
|
|
"value": "bluetooth",
|
|
"namespace": "bypassing"
|
|
},
|
|
{
|
|
"key": "firewall",
|
|
"value": "bluetooth",
|
|
"namespace": "indexing"
|
|
},
|
|
{
|
|
"key": "matrix",
|
|
"value": "haptic",
|
|
"namespace": "connecting"
|
|
}
|
|
],
|
|
"type": "system",
|
|
"os_major_version": 8,
|
|
"os_minor_version": 0
|
|
},
|
|
{
|
|
"id": "0ff25da5-3ba8-476b-aa03-6cd603801b78",
|
|
"display_name": "graham-jenkins.test",
|
|
"groups": [],
|
|
"culled_timestamp": "2034-10-09T11:42:12.754Z",
|
|
"stale_timestamp": "2034-09-25T11:42:12.754Z",
|
|
"stale_warning_timestamp": "2034-10-02T11:42:12.754Z",
|
|
"updated": "2024-09-25T11:42:12.754Z",
|
|
"insights_id": null,
|
|
"tags": [
|
|
{
|
|
"key": "circuit",
|
|
"value": "1080p",
|
|
"namespace": "transmitting"
|
|
},
|
|
{
|
|
"key": "capacitor",
|
|
"value": "bluetooth",
|
|
"namespace": "navigating"
|
|
},
|
|
{
|
|
"key": "matrix",
|
|
"value": "mobile",
|
|
"namespace": "programming"
|
|
},
|
|
{
|
|
"key": "port",
|
|
"value": "neural",
|
|
"namespace": "bypassing"
|
|
},
|
|
{
|
|
"key": "bus",
|
|
"value": "mobile",
|
|
"namespace": "transmitting"
|
|
}
|
|
],
|
|
"type": "system",
|
|
"os_major_version": 8,
|
|
"os_minor_version": 0
|
|
},
|
|
{
|
|
"id": "20d0611a-011a-4cee-acc4-2fa117691567",
|
|
"display_name": "boehm.test",
|
|
"groups": [],
|
|
"culled_timestamp": "2034-10-09T11:42:12.749Z",
|
|
"stale_timestamp": "2034-09-25T11:42:12.749Z",
|
|
"stale_warning_timestamp": "2034-10-02T11:42:12.749Z",
|
|
"updated": "2024-09-25T11:42:12.749Z",
|
|
"insights_id": null,
|
|
"tags": [
|
|
{
|
|
"key": "feed",
|
|
"value": "bluetooth",
|
|
"namespace": "indexing"
|
|
},
|
|
{
|
|
"key": "monitor",
|
|
"value": "online",
|
|
"namespace": "compressing"
|
|
},
|
|
{
|
|
"key": "monitor",
|
|
"value": "solid state",
|
|
"namespace": "backing up"
|
|
},
|
|
{
|
|
"key": "interface",
|
|
"value": "solid state",
|
|
"namespace": "backing up"
|
|
},
|
|
{
|
|
"key": "program",
|
|
"value": "haptic",
|
|
"namespace": "bypassing"
|
|
}
|
|
],
|
|
"type": "system",
|
|
"os_major_version": 8,
|
|
"os_minor_version": 0
|
|
},
|
|
{
|
|
"id": "2b2f95e5-59d7-4b16-a473-9ea17440aa6f",
|
|
"display_name": "lueilwitz.test",
|
|
"groups": [],
|
|
"culled_timestamp": "2034-10-09T11:42:12.737Z",
|
|
"stale_timestamp": "2034-09-25T11:42:12.737Z",
|
|
"stale_warning_timestamp": "2034-10-02T11:42:12.737Z",
|
|
"updated": "2024-09-25T11:42:12.737Z",
|
|
"insights_id": null,
|
|
"tags": [
|
|
{
|
|
"key": "bus",
|
|
"value": "redundant",
|
|
"namespace": "overriding"
|
|
},
|
|
{
|
|
"key": "alarm",
|
|
"value": "back-end",
|
|
"namespace": "overriding"
|
|
},
|
|
{
|
|
"key": "application",
|
|
"value": "redundant",
|
|
"namespace": "programming"
|
|
},
|
|
{
|
|
"key": "interface",
|
|
"value": "primary",
|
|
"namespace": "transmitting"
|
|
},
|
|
{
|
|
"key": "program",
|
|
"value": "virtual",
|
|
"namespace": "copying"
|
|
}
|
|
],
|
|
"type": "system",
|
|
"os_major_version": 8,
|
|
"os_minor_version": 0
|
|
},
|
|
{
|
|
"id": "3503a9d5-e876-446c-bffb-0943ee5f27c0",
|
|
"display_name": "klocko.test",
|
|
"groups": [],
|
|
"culled_timestamp": "2034-10-09T11:42:12.699Z",
|
|
"stale_timestamp": "2034-09-25T11:42:12.699Z",
|
|
"stale_warning_timestamp": "2034-10-02T11:42:12.699Z",
|
|
"updated": "2024-09-25T11:42:12.699Z",
|
|
"insights_id": null,
|
|
"tags": [
|
|
{
|
|
"key": "firewall",
|
|
"value": "cross-platform",
|
|
"namespace": "transmitting"
|
|
},
|
|
{
|
|
"key": "pixel",
|
|
"value": "cross-platform",
|
|
"namespace": "copying"
|
|
},
|
|
{
|
|
"key": "protocol",
|
|
"value": "bluetooth",
|
|
"namespace": "transmitting"
|
|
},
|
|
{
|
|
"key": "feed",
|
|
"value": "virtual",
|
|
"namespace": "hacking"
|
|
},
|
|
{
|
|
"key": "interface",
|
|
"value": "back-end",
|
|
"namespace": "quantifying"
|
|
}
|
|
],
|
|
"type": "system",
|
|
"os_major_version": 8,
|
|
"os_minor_version": 0
|
|
},
|
|
{
|
|
"id": "3719a233-d163-47a6-97d9-ff31c92c482e",
|
|
"display_name": "spinka-steuber.example",
|
|
"groups": [],
|
|
"culled_timestamp": "2034-10-09T11:42:12.683Z",
|
|
"stale_timestamp": "2034-09-25T11:42:12.683Z",
|
|
"stale_warning_timestamp": "2034-10-02T11:42:12.683Z",
|
|
"updated": "2024-09-25T11:42:12.683Z",
|
|
"insights_id": null,
|
|
"tags": [
|
|
{
|
|
"key": "array",
|
|
"value": "multi-byte",
|
|
"namespace": "quantifying"
|
|
},
|
|
{
|
|
"key": "transmitter",
|
|
"value": "auxiliary",
|
|
"namespace": "synthesizing"
|
|
},
|
|
{
|
|
"key": "feed",
|
|
"value": "bluetooth",
|
|
"namespace": "copying"
|
|
},
|
|
{
|
|
"key": "program",
|
|
"value": "digital",
|
|
"namespace": "compressing"
|
|
},
|
|
{
|
|
"key": "matrix",
|
|
"value": "back-end",
|
|
"namespace": "backing up"
|
|
}
|
|
],
|
|
"type": "system",
|
|
"os_major_version": 8,
|
|
"os_minor_version": 0
|
|
},
|
|
{
|
|
"id": "5a21679f-7137-4f72-84b9-785da0b85a5f",
|
|
"display_name": "west.test",
|
|
"groups": [],
|
|
"culled_timestamp": "2034-10-09T11:42:12.687Z",
|
|
"stale_timestamp": "2034-09-25T11:42:12.687Z",
|
|
"stale_warning_timestamp": "2034-10-02T11:42:12.687Z",
|
|
"updated": "2024-09-25T11:42:12.687Z",
|
|
"insights_id": null,
|
|
"tags": [
|
|
{
|
|
"key": "matrix",
|
|
"value": "neural",
|
|
"namespace": "hacking"
|
|
},
|
|
{
|
|
"key": "monitor",
|
|
"value": "solid state",
|
|
"namespace": "backing up"
|
|
},
|
|
{
|
|
"key": "program",
|
|
"value": "online",
|
|
"namespace": "transmitting"
|
|
},
|
|
{
|
|
"key": "interface",
|
|
"value": "mobile",
|
|
"namespace": "indexing"
|
|
},
|
|
{
|
|
"key": "sensor",
|
|
"value": "optical",
|
|
"namespace": "navigating"
|
|
}
|
|
],
|
|
"type": "system",
|
|
"os_major_version": 8,
|
|
"os_minor_version": 0
|
|
},
|
|
{
|
|
"id": "71d7e2bb-106a-4778-a59f-42239a998267",
|
|
"display_name": "murray.test",
|
|
"groups": [],
|
|
"culled_timestamp": "2034-10-09T11:42:12.678Z",
|
|
"stale_timestamp": "2034-09-25T11:42:12.678Z",
|
|
"stale_warning_timestamp": "2034-10-02T11:42:12.678Z",
|
|
"updated": "2024-09-25T11:42:12.678Z",
|
|
"insights_id": null,
|
|
"tags": [
|
|
{
|
|
"key": "bandwidth",
|
|
"value": "redundant",
|
|
"namespace": "quantifying"
|
|
},
|
|
{
|
|
"key": "driver",
|
|
"value": "open-source",
|
|
"namespace": "calculating"
|
|
},
|
|
{
|
|
"key": "monitor",
|
|
"value": "multi-byte",
|
|
"namespace": "backing up"
|
|
},
|
|
{
|
|
"key": "protocol",
|
|
"value": "optical",
|
|
"namespace": "overriding"
|
|
},
|
|
{
|
|
"key": "circuit",
|
|
"value": "bluetooth",
|
|
"namespace": "generating"
|
|
}
|
|
],
|
|
"type": "system",
|
|
"os_major_version": 8,
|
|
"os_minor_version": 0
|
|
},
|
|
{
|
|
"id": "80848b34-8b2c-41b6-9724-f2045f02b230",
|
|
"display_name": "gutkowski.example",
|
|
"groups": [],
|
|
"culled_timestamp": "2034-10-09T11:42:12.703Z",
|
|
"stale_timestamp": "2034-09-25T11:42:12.703Z",
|
|
"stale_warning_timestamp": "2034-10-02T11:42:12.703Z",
|
|
"updated": "2024-09-25T11:42:12.704Z",
|
|
"insights_id": null,
|
|
"tags": [
|
|
{
|
|
"key": "application",
|
|
"value": "online",
|
|
"namespace": "quantifying"
|
|
},
|
|
{
|
|
"key": "alarm",
|
|
"value": "back-end",
|
|
"namespace": "compressing"
|
|
},
|
|
{
|
|
"key": "card",
|
|
"value": "mobile",
|
|
"namespace": "synthesizing"
|
|
},
|
|
{
|
|
"key": "driver",
|
|
"value": "back-end",
|
|
"namespace": "calculating"
|
|
},
|
|
{
|
|
"key": "feed",
|
|
"value": "1080p",
|
|
"namespace": "overriding"
|
|
}
|
|
],
|
|
"type": "system",
|
|
"os_major_version": 8,
|
|
"os_minor_version": 0
|
|
},
|
|
{
|
|
"id": "841503e1-3b25-4e93-b501-5d4acbb61f5a",
|
|
"display_name": "white.test",
|
|
"groups": [],
|
|
"culled_timestamp": "2034-10-09T11:42:12.716Z",
|
|
"stale_timestamp": "2034-09-25T11:42:12.716Z",
|
|
"stale_warning_timestamp": "2034-10-02T11:42:12.716Z",
|
|
"updated": "2024-09-25T11:42:12.716Z",
|
|
"insights_id": null,
|
|
"tags": [
|
|
{
|
|
"key": "application",
|
|
"value": "1080p",
|
|
"namespace": "parsing"
|
|
},
|
|
{
|
|
"key": "hard drive",
|
|
"value": "cross-platform",
|
|
"namespace": "transmitting"
|
|
},
|
|
{
|
|
"key": "hard drive",
|
|
"value": "back-end",
|
|
"namespace": "transmitting"
|
|
},
|
|
{
|
|
"key": "feed",
|
|
"value": "cross-platform",
|
|
"namespace": "synthesizing"
|
|
},
|
|
{
|
|
"key": "hard drive",
|
|
"value": "virtual",
|
|
"namespace": "copying"
|
|
}
|
|
],
|
|
"type": "system",
|
|
"os_major_version": 8,
|
|
"os_minor_version": 0
|
|
}
|
|
],
|
|
"meta": {
|
|
"total": 25,
|
|
"filter": "(os_minor_version=0)",
|
|
"tags": [],
|
|
"limit": 10,
|
|
"offset": 0
|
|
},
|
|
"links": {
|
|
"first": "/api/compliance/v2/policies/51e1e0cd-f391-4741-b916-d5ea5a23bbc1/systems?filter=%28os_minor_version%3D0%29&limit=10&offset=0",
|
|
"last": "/api/compliance/v2/policies/51e1e0cd-f391-4741-b916-d5ea5a23bbc1/systems?filter=%28os_minor_version%3D0%29&limit=10&offset=20",
|
|
"next": "/api/compliance/v2/policies/51e1e0cd-f391-4741-b916-d5ea5a23bbc1/systems?filter=%28os_minor_version%3D0%29&limit=10&offset=10"
|
|
}
|
|
},
|
|
"summary": "",
|
|
"description": ""
|
|
}
|
|
},
|
|
"schema": {
|
|
"type": "object",
|
|
"properties": {
|
|
"meta": {
|
|
"$ref": "#/components/schemas/metadata"
|
|
},
|
|
"links": {
|
|
"$ref": "#/components/schemas/links"
|
|
},
|
|
"data": {
|
|
"type": "array",
|
|
"items": {
|
|
"properties": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/system"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"422": {
|
|
"description": "Returns with Unprocessable Content",
|
|
"content": {
|
|
"application/vnd.api+json": {
|
|
"examples": {
|
|
"Description of an error when sorting by incorrect parameter": {
|
|
"value": {
|
|
"errors": [
|
|
"Result cannot be sorted by the 'description' column."
|
|
]
|
|
},
|
|
"summary": "",
|
|
"description": ""
|
|
},
|
|
"Description of an error when requesting higher limit than supported": {
|
|
"value": {
|
|
"errors": [
|
|
"Invalid parameter: limit must be less than or equal to 100"
|
|
]
|
|
},
|
|
"summary": "",
|
|
"description": ""
|
|
}
|
|
},
|
|
"schema": {
|
|
"$ref": "#/components/schemas/errors"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"post": {
|
|
"summary": "Bulk assign Systems to a Policy",
|
|
"parameters": [
|
|
{
|
|
"name": "X-RH-IDENTITY",
|
|
"in": "header",
|
|
"schema": {
|
|
"type": "string"
|
|
},
|
|
"description": "For internal use only"
|
|
},
|
|
{
|
|
"name": "policy_id",
|
|
"in": "path",
|
|
"required": true,
|
|
"schema": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
],
|
|
"tags": [
|
|
"Policies"
|
|
],
|
|
"description": "This feature is exclusively used by the frontend",
|
|
"deprecated": true,
|
|
"operationId": "AssignSystems",
|
|
"responses": {
|
|
"202": {
|
|
"description": "Assigns all specified systems and unassigns the rest",
|
|
"content": {
|
|
"application/vnd.api+json": {
|
|
"examples": {
|
|
"List of assigned Systems": {
|
|
"value": {
|
|
"data": [
|
|
{
|
|
"id": "0d7fb09f-5403-464c-bf7f-31949ef8d2cd",
|
|
"display_name": "hayes.example",
|
|
"groups": [],
|
|
"culled_timestamp": "2034-10-09T11:42:13.204Z",
|
|
"stale_timestamp": "2034-09-25T11:42:13.204Z",
|
|
"stale_warning_timestamp": "2034-10-02T11:42:13.204Z",
|
|
"updated": "2024-09-25T11:42:13.204Z",
|
|
"insights_id": null,
|
|
"tags": [
|
|
{
|
|
"key": "hard drive",
|
|
"value": "open-source",
|
|
"namespace": "parsing"
|
|
},
|
|
{
|
|
"key": "bandwidth",
|
|
"value": "multi-byte",
|
|
"namespace": "indexing"
|
|
},
|
|
{
|
|
"key": "system",
|
|
"value": "cross-platform",
|
|
"namespace": "copying"
|
|
},
|
|
{
|
|
"key": "capacitor",
|
|
"value": "bluetooth",
|
|
"namespace": "hacking"
|
|
},
|
|
{
|
|
"key": "bus",
|
|
"value": "mobile",
|
|
"namespace": "hacking"
|
|
}
|
|
],
|
|
"type": "system",
|
|
"os_major_version": 8,
|
|
"os_minor_version": 0
|
|
},
|
|
{
|
|
"id": "16c86226-64e5-4fe9-a4a0-93d1f8294585",
|
|
"display_name": "mccullough.example",
|
|
"groups": [],
|
|
"culled_timestamp": "2034-10-09T11:42:13.203Z",
|
|
"stale_timestamp": "2034-09-25T11:42:13.203Z",
|
|
"stale_warning_timestamp": "2034-10-02T11:42:13.203Z",
|
|
"updated": "2024-09-25T11:42:13.203Z",
|
|
"insights_id": null,
|
|
"tags": [
|
|
{
|
|
"key": "bandwidth",
|
|
"value": "solid state",
|
|
"namespace": "hacking"
|
|
},
|
|
{
|
|
"key": "card",
|
|
"value": "mobile",
|
|
"namespace": "programming"
|
|
},
|
|
{
|
|
"key": "microchip",
|
|
"value": "auxiliary",
|
|
"namespace": "connecting"
|
|
},
|
|
{
|
|
"key": "port",
|
|
"value": "neural",
|
|
"namespace": "overriding"
|
|
},
|
|
{
|
|
"key": "application",
|
|
"value": "back-end",
|
|
"namespace": "synthesizing"
|
|
}
|
|
],
|
|
"type": "system",
|
|
"os_major_version": 8,
|
|
"os_minor_version": 0
|
|
},
|
|
{
|
|
"id": "1b4dce04-69e1-43d8-96bb-2893bd02f850",
|
|
"display_name": "bogan-gerlach.example",
|
|
"groups": [],
|
|
"culled_timestamp": "2034-10-09T11:42:13.197Z",
|
|
"stale_timestamp": "2034-09-25T11:42:13.197Z",
|
|
"stale_warning_timestamp": "2034-10-02T11:42:13.197Z",
|
|
"updated": "2024-09-25T11:42:13.197Z",
|
|
"insights_id": null,
|
|
"tags": [
|
|
{
|
|
"key": "sensor",
|
|
"value": "neural",
|
|
"namespace": "copying"
|
|
},
|
|
{
|
|
"key": "bus",
|
|
"value": "solid state",
|
|
"namespace": "generating"
|
|
},
|
|
{
|
|
"key": "port",
|
|
"value": "mobile",
|
|
"namespace": "backing up"
|
|
},
|
|
{
|
|
"key": "feed",
|
|
"value": "optical",
|
|
"namespace": "copying"
|
|
},
|
|
{
|
|
"key": "pixel",
|
|
"value": "solid state",
|
|
"namespace": "quantifying"
|
|
}
|
|
],
|
|
"type": "system",
|
|
"os_major_version": 8,
|
|
"os_minor_version": 0
|
|
},
|
|
{
|
|
"id": "2a5a9ca7-ead7-42b4-929f-b9df02084c00",
|
|
"display_name": "jakubowski.example",
|
|
"groups": [],
|
|
"culled_timestamp": "2034-10-09T11:42:13.199Z",
|
|
"stale_timestamp": "2034-09-25T11:42:13.199Z",
|
|
"stale_warning_timestamp": "2034-10-02T11:42:13.199Z",
|
|
"updated": "2024-09-25T11:42:13.199Z",
|
|
"insights_id": null,
|
|
"tags": [
|
|
{
|
|
"key": "feed",
|
|
"value": "back-end",
|
|
"namespace": "generating"
|
|
},
|
|
{
|
|
"key": "firewall",
|
|
"value": "solid state",
|
|
"namespace": "programming"
|
|
},
|
|
{
|
|
"key": "pixel",
|
|
"value": "cross-platform",
|
|
"namespace": "bypassing"
|
|
},
|
|
{
|
|
"key": "pixel",
|
|
"value": "virtual",
|
|
"namespace": "connecting"
|
|
},
|
|
{
|
|
"key": "capacitor",
|
|
"value": "primary",
|
|
"namespace": "compressing"
|
|
}
|
|
],
|
|
"type": "system",
|
|
"os_major_version": 8,
|
|
"os_minor_version": 0
|
|
},
|
|
{
|
|
"id": "2b650885-dc0c-4139-84eb-e63a27943b2a",
|
|
"display_name": "klein-bechtelar.example",
|
|
"groups": [],
|
|
"culled_timestamp": "2034-10-09T11:42:13.193Z",
|
|
"stale_timestamp": "2034-09-25T11:42:13.193Z",
|
|
"stale_warning_timestamp": "2034-10-02T11:42:13.193Z",
|
|
"updated": "2024-09-25T11:42:13.193Z",
|
|
"insights_id": null,
|
|
"tags": [
|
|
{
|
|
"key": "port",
|
|
"value": "auxiliary",
|
|
"namespace": "bypassing"
|
|
},
|
|
{
|
|
"key": "interface",
|
|
"value": "1080p",
|
|
"namespace": "synthesizing"
|
|
},
|
|
{
|
|
"key": "bandwidth",
|
|
"value": "auxiliary",
|
|
"namespace": "connecting"
|
|
},
|
|
{
|
|
"key": "array",
|
|
"value": "bluetooth",
|
|
"namespace": "hacking"
|
|
},
|
|
{
|
|
"key": "bus",
|
|
"value": "back-end",
|
|
"namespace": "overriding"
|
|
}
|
|
],
|
|
"type": "system",
|
|
"os_major_version": 8,
|
|
"os_minor_version": 0
|
|
},
|
|
{
|
|
"id": "314d1a78-4360-4b1c-b0a0-df2de8badb42",
|
|
"display_name": "legros.test",
|
|
"groups": [],
|
|
"culled_timestamp": "2034-10-09T11:42:13.196Z",
|
|
"stale_timestamp": "2034-09-25T11:42:13.196Z",
|
|
"stale_warning_timestamp": "2034-10-02T11:42:13.196Z",
|
|
"updated": "2024-09-25T11:42:13.196Z",
|
|
"insights_id": null,
|
|
"tags": [
|
|
{
|
|
"key": "alarm",
|
|
"value": "haptic",
|
|
"namespace": "synthesizing"
|
|
},
|
|
{
|
|
"key": "panel",
|
|
"value": "auxiliary",
|
|
"namespace": "navigating"
|
|
},
|
|
{
|
|
"key": "port",
|
|
"value": "virtual",
|
|
"namespace": "quantifying"
|
|
},
|
|
{
|
|
"key": "firewall",
|
|
"value": "multi-byte",
|
|
"namespace": "synthesizing"
|
|
},
|
|
{
|
|
"key": "system",
|
|
"value": "optical",
|
|
"namespace": "bypassing"
|
|
}
|
|
],
|
|
"type": "system",
|
|
"os_major_version": 8,
|
|
"os_minor_version": 0
|
|
},
|
|
{
|
|
"id": "3b9d7837-130e-4527-ad50-fcda9b6132ff",
|
|
"display_name": "vandervort.example",
|
|
"groups": [],
|
|
"culled_timestamp": "2034-10-09T11:42:13.211Z",
|
|
"stale_timestamp": "2034-09-25T11:42:13.211Z",
|
|
"stale_warning_timestamp": "2034-10-02T11:42:13.211Z",
|
|
"updated": "2024-09-25T11:42:13.211Z",
|
|
"insights_id": null,
|
|
"tags": [
|
|
{
|
|
"key": "alarm",
|
|
"value": "1080p",
|
|
"namespace": "quantifying"
|
|
},
|
|
{
|
|
"key": "hard drive",
|
|
"value": "multi-byte",
|
|
"namespace": "bypassing"
|
|
},
|
|
{
|
|
"key": "program",
|
|
"value": "redundant",
|
|
"namespace": "compressing"
|
|
},
|
|
{
|
|
"key": "firewall",
|
|
"value": "digital",
|
|
"namespace": "generating"
|
|
},
|
|
{
|
|
"key": "interface",
|
|
"value": "online",
|
|
"namespace": "bypassing"
|
|
}
|
|
],
|
|
"type": "system",
|
|
"os_major_version": 8,
|
|
"os_minor_version": 0
|
|
},
|
|
{
|
|
"id": "3e2b1f8b-14ed-4f27-a76d-3dde3a119799",
|
|
"display_name": "larson.test",
|
|
"groups": [],
|
|
"culled_timestamp": "2034-10-09T11:42:13.201Z",
|
|
"stale_timestamp": "2034-09-25T11:42:13.201Z",
|
|
"stale_warning_timestamp": "2034-10-02T11:42:13.201Z",
|
|
"updated": "2024-09-25T11:42:13.201Z",
|
|
"insights_id": null,
|
|
"tags": [
|
|
{
|
|
"key": "monitor",
|
|
"value": "multi-byte",
|
|
"namespace": "overriding"
|
|
},
|
|
{
|
|
"key": "alarm",
|
|
"value": "solid state",
|
|
"namespace": "calculating"
|
|
},
|
|
{
|
|
"key": "alarm",
|
|
"value": "online",
|
|
"namespace": "navigating"
|
|
},
|
|
{
|
|
"key": "system",
|
|
"value": "online",
|
|
"namespace": "synthesizing"
|
|
},
|
|
{
|
|
"key": "monitor",
|
|
"value": "auxiliary",
|
|
"namespace": "navigating"
|
|
}
|
|
],
|
|
"type": "system",
|
|
"os_major_version": 8,
|
|
"os_minor_version": 0
|
|
},
|
|
{
|
|
"id": "4050815f-5d2c-4a05-9bd5-0ccfac25a0db",
|
|
"display_name": "bergstrom.test",
|
|
"groups": [],
|
|
"culled_timestamp": "2034-10-09T11:42:13.209Z",
|
|
"stale_timestamp": "2034-09-25T11:42:13.209Z",
|
|
"stale_warning_timestamp": "2034-10-02T11:42:13.209Z",
|
|
"updated": "2024-09-25T11:42:13.209Z",
|
|
"insights_id": null,
|
|
"tags": [
|
|
{
|
|
"key": "alarm",
|
|
"value": "online",
|
|
"namespace": "bypassing"
|
|
},
|
|
{
|
|
"key": "bus",
|
|
"value": "wireless",
|
|
"namespace": "navigating"
|
|
},
|
|
{
|
|
"key": "feed",
|
|
"value": "1080p",
|
|
"namespace": "hacking"
|
|
},
|
|
{
|
|
"key": "protocol",
|
|
"value": "primary",
|
|
"namespace": "programming"
|
|
},
|
|
{
|
|
"key": "capacitor",
|
|
"value": "virtual",
|
|
"namespace": "quantifying"
|
|
}
|
|
],
|
|
"type": "system",
|
|
"os_major_version": 8,
|
|
"os_minor_version": 0
|
|
},
|
|
{
|
|
"id": "4fbb6a77-0443-4813-88b1-234f889d1f2e",
|
|
"display_name": "swift-fahey.example",
|
|
"groups": [],
|
|
"culled_timestamp": "2034-10-09T11:42:13.193Z",
|
|
"stale_timestamp": "2034-09-25T11:42:13.193Z",
|
|
"stale_warning_timestamp": "2034-10-02T11:42:13.193Z",
|
|
"updated": "2024-09-25T11:42:13.193Z",
|
|
"insights_id": null,
|
|
"tags": [
|
|
{
|
|
"key": "hard drive",
|
|
"value": "open-source",
|
|
"namespace": "indexing"
|
|
},
|
|
{
|
|
"key": "circuit",
|
|
"value": "auxiliary",
|
|
"namespace": "programming"
|
|
},
|
|
{
|
|
"key": "circuit",
|
|
"value": "back-end",
|
|
"namespace": "parsing"
|
|
},
|
|
{
|
|
"key": "matrix",
|
|
"value": "redundant",
|
|
"namespace": "backing up"
|
|
},
|
|
{
|
|
"key": "feed",
|
|
"value": "virtual",
|
|
"namespace": "quantifying"
|
|
}
|
|
],
|
|
"type": "system",
|
|
"os_major_version": 8,
|
|
"os_minor_version": 0
|
|
}
|
|
],
|
|
"meta": {
|
|
"total": 25,
|
|
"tags": [],
|
|
"limit": 10,
|
|
"offset": 0
|
|
},
|
|
"links": {
|
|
"first": "/api/compliance/v2/policies/de82d894-f946-4f8e-906c-b0d236fbb94e/systems?limit=10&offset=0",
|
|
"last": "/api/compliance/v2/policies/de82d894-f946-4f8e-906c-b0d236fbb94e/systems?limit=10&offset=20",
|
|
"next": "/api/compliance/v2/policies/de82d894-f946-4f8e-906c-b0d236fbb94e/systems?limit=10&offset=10"
|
|
}
|
|
},
|
|
"summary": "",
|
|
"description": ""
|
|
}
|
|
},
|
|
"schema": {
|
|
"type": "object",
|
|
"properties": {
|
|
"meta": {
|
|
"$ref": "#/components/schemas/metadata"
|
|
},
|
|
"links": {
|
|
"$ref": "#/components/schemas/links"
|
|
},
|
|
"data": {
|
|
"type": "array",
|
|
"items": {
|
|
"properties": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/system"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"requestBody": {
|
|
"content": {
|
|
"application/vnd.api+json": {
|
|
"schema": {
|
|
"type": "object",
|
|
"properties": {
|
|
"ids": {
|
|
"type": "array",
|
|
"items": {
|
|
"type": "string",
|
|
"examples": [
|
|
"566b73e0-5485-4456-871d-c7655f3d5289"
|
|
]
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"/policies/{policy_id}/systems/os_versions": {
|
|
"get": {
|
|
"summary": "Request the list of available OS versions",
|
|
"parameters": [
|
|
{
|
|
"name": "X-RH-IDENTITY",
|
|
"in": "header",
|
|
"schema": {
|
|
"type": "string"
|
|
},
|
|
"description": "For internal use only"
|
|
},
|
|
{
|
|
"name": "filter",
|
|
"in": "query",
|
|
"required": false,
|
|
"description": "Query string to filter items by their attributes. Compliant with <a href=\"https://github.com/wvanbergen/scoped_search/wiki/Query-language\" target=\"_blank\" title=\"github.com/wvanbergen/scoped_search\">scoped_search query language</a>. However, only `=` or `!=` (resp. `<>`) operators are supported.<br><br>Systems are searchable using attributes `display_name`, `os_major_version`, `os_minor_version`, `assigned_or_scanned`, `never_reported`, `group_name`, `policies`, and `profile_ref_id`<br><br>(e.g.: `(field_1=something AND field_2!=\"something else\") OR field_3>40`)",
|
|
"schema": {
|
|
"type": "string"
|
|
}
|
|
},
|
|
{
|
|
"name": "policy_id",
|
|
"in": "path",
|
|
"required": true,
|
|
"schema": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
],
|
|
"tags": [
|
|
"Systems"
|
|
],
|
|
"description": "This feature is exclusively used by the frontend",
|
|
"operationId": "PolicySystemsOS",
|
|
"deprecated": true,
|
|
"responses": {
|
|
"200": {
|
|
"description": "Lists available OS versions",
|
|
"content": {
|
|
"application/vnd.api+json": {
|
|
"examples": {
|
|
"List of available OS versions": {
|
|
"value": [
|
|
"8.0"
|
|
],
|
|
"summary": "",
|
|
"description": ""
|
|
}
|
|
},
|
|
"schema": {
|
|
"type": "array",
|
|
"items": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"/policies/{policy_id}/systems/{system_id}": {
|
|
"patch": {
|
|
"summary": "Assign a System to a Policy",
|
|
"parameters": [
|
|
{
|
|
"name": "X-RH-IDENTITY",
|
|
"in": "header",
|
|
"schema": {
|
|
"type": "string"
|
|
},
|
|
"description": "For internal use only"
|
|
},
|
|
{
|
|
"name": "system_id",
|
|
"in": "path",
|
|
"required": true,
|
|
"schema": {
|
|
"type": "string"
|
|
}
|
|
},
|
|
{
|
|
"name": "policy_id",
|
|
"in": "path",
|
|
"required": true,
|
|
"schema": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
],
|
|
"tags": [
|
|
"Policies"
|
|
],
|
|
"description": "Assigns a System to a Policy",
|
|
"operationId": "AssignSystem",
|
|
"responses": {
|
|
"202": {
|
|
"description": "Assigns a System to a Policy",
|
|
"content": {
|
|
"application/vnd.api+json": {
|
|
"examples": {
|
|
"Assigns a System to a Policy": {
|
|
"value": {
|
|
"data": {
|
|
"id": "cb3351db-5e39-4d5a-ab70-8b17008482bd",
|
|
"display_name": "olson.test",
|
|
"groups": [],
|
|
"culled_timestamp": "2034-10-09T11:42:13.389Z",
|
|
"stale_timestamp": "2034-09-25T11:42:13.389Z",
|
|
"stale_warning_timestamp": "2034-10-02T11:42:13.389Z",
|
|
"updated": "2024-09-25T11:42:13.389Z",
|
|
"insights_id": null,
|
|
"tags": [
|
|
{
|
|
"key": "firewall",
|
|
"value": "solid state",
|
|
"namespace": "navigating"
|
|
},
|
|
{
|
|
"key": "circuit",
|
|
"value": "virtual",
|
|
"namespace": "backing up"
|
|
},
|
|
{
|
|
"key": "card",
|
|
"value": "redundant",
|
|
"namespace": "indexing"
|
|
},
|
|
{
|
|
"key": "matrix",
|
|
"value": "haptic",
|
|
"namespace": "quantifying"
|
|
},
|
|
{
|
|
"key": "microchip",
|
|
"value": "wireless",
|
|
"namespace": "bypassing"
|
|
}
|
|
],
|
|
"type": "system",
|
|
"os_major_version": 8,
|
|
"os_minor_version": 0
|
|
}
|
|
},
|
|
"summary": "",
|
|
"description": ""
|
|
}
|
|
},
|
|
"schema": {
|
|
"type": "object",
|
|
"properties": {
|
|
"data": {
|
|
"type": "object",
|
|
"properties": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/system"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"404": {
|
|
"description": "Returns with Not Found",
|
|
"content": {
|
|
"application/vnd.api+json": {
|
|
"examples": {
|
|
"Assigns a System to a Policy": {
|
|
"value": {
|
|
"errors": [
|
|
"V2::System not found with ID ddb83183-f760-4afa-a54e-3a112498d025"
|
|
]
|
|
},
|
|
"summary": "",
|
|
"description": ""
|
|
}
|
|
},
|
|
"schema": {
|
|
"$ref": "#/components/schemas/errors"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"delete": {
|
|
"summary": "Unassign a System from a Policy",
|
|
"parameters": [
|
|
{
|
|
"name": "X-RH-IDENTITY",
|
|
"in": "header",
|
|
"schema": {
|
|
"type": "string"
|
|
},
|
|
"description": "For internal use only"
|
|
},
|
|
{
|
|
"name": "system_id",
|
|
"in": "path",
|
|
"required": true,
|
|
"schema": {
|
|
"type": "string"
|
|
}
|
|
},
|
|
{
|
|
"name": "policy_id",
|
|
"in": "path",
|
|
"required": true,
|
|
"schema": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
],
|
|
"tags": [
|
|
"Policies"
|
|
],
|
|
"description": "Unassigns a System from a Policy",
|
|
"operationId": "UnassignSystem",
|
|
"responses": {
|
|
"202": {
|
|
"description": "Unassigns a System from a Policy",
|
|
"content": {
|
|
"application/vnd.api+json": {
|
|
"examples": {
|
|
"Unassigns a System from a Policy": {
|
|
"value": {
|
|
"data": {
|
|
"id": "20f1506e-38d7-44e1-a0b1-0401a5140b32",
|
|
"display_name": "bosco.test",
|
|
"groups": [],
|
|
"culled_timestamp": "2034-10-09T11:42:13.449Z",
|
|
"stale_timestamp": "2034-09-25T11:42:13.449Z",
|
|
"stale_warning_timestamp": "2034-10-02T11:42:13.449Z",
|
|
"updated": "2024-09-25T11:42:13.449Z",
|
|
"insights_id": null,
|
|
"tags": [
|
|
{
|
|
"key": "transmitter",
|
|
"value": "cross-platform",
|
|
"namespace": "indexing"
|
|
},
|
|
{
|
|
"key": "monitor",
|
|
"value": "haptic",
|
|
"namespace": "quantifying"
|
|
},
|
|
{
|
|
"key": "interface",
|
|
"value": "1080p",
|
|
"namespace": "connecting"
|
|
},
|
|
{
|
|
"key": "port",
|
|
"value": "cross-platform",
|
|
"namespace": "copying"
|
|
},
|
|
{
|
|
"key": "alarm",
|
|
"value": "redundant",
|
|
"namespace": "connecting"
|
|
}
|
|
],
|
|
"type": "system",
|
|
"os_major_version": 8,
|
|
"os_minor_version": 0
|
|
}
|
|
},
|
|
"summary": "",
|
|
"description": ""
|
|
}
|
|
},
|
|
"schema": {
|
|
"type": "object",
|
|
"properties": {
|
|
"data": {
|
|
"type": "object",
|
|
"properties": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/system"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"404": {
|
|
"description": "Returns with Not Found",
|
|
"content": {
|
|
"application/vnd.api+json": {
|
|
"examples": {
|
|
"Description of an error when unassigning a non-existing System": {
|
|
"value": {
|
|
"errors": [
|
|
"V2::System not found with ID f5283575-95db-4065-98eb-3fd77994ec45"
|
|
]
|
|
},
|
|
"summary": "",
|
|
"description": ""
|
|
}
|
|
},
|
|
"schema": {
|
|
"$ref": "#/components/schemas/errors"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"/reports/{report_id}/systems": {
|
|
"get": {
|
|
"summary": "Request Systems assigned to a Report",
|
|
"parameters": [
|
|
{
|
|
"name": "X-RH-IDENTITY",
|
|
"in": "header",
|
|
"schema": {
|
|
"type": "string"
|
|
},
|
|
"description": "For internal use only"
|
|
},
|
|
{
|
|
"name": "tags",
|
|
"in": "query",
|
|
"required": false,
|
|
"description": "An array of tags to narrow down the search results. In case the value contains symbols used for separators (`/` or `=`), they need to be encoded.<br>e.g.: `namespace/key=value`, `insights-client/selinux-config=SELINUX%3Denforcing`",
|
|
"schema": {
|
|
"type": "array",
|
|
"items": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"name": "limit",
|
|
"in": "query",
|
|
"required": false,
|
|
"description": "Number of items to return per page",
|
|
"schema": {
|
|
"type": "number",
|
|
"maximum": 100,
|
|
"minimum": 1,
|
|
"default": 10
|
|
}
|
|
},
|
|
{
|
|
"name": "offset",
|
|
"in": "query",
|
|
"required": false,
|
|
"description": "Offset of first item of paginated response",
|
|
"schema": {
|
|
"type": "integer",
|
|
"minimum": 0,
|
|
"default": 0
|
|
}
|
|
},
|
|
{
|
|
"name": "ids_only",
|
|
"in": "query",
|
|
"required": false,
|
|
"description": "Indicates whether to return only resource IDs.",
|
|
"schema": {
|
|
"type": "boolean"
|
|
}
|
|
},
|
|
{
|
|
"name": "sort_by",
|
|
"in": "query",
|
|
"required": false,
|
|
"description": "Attribute and direction to sort the items by. Represented by an array of fields with an optional direction (`<key>:asc` or `<key>:desc`).<br><br>If no direction is selected, `<key>:asc` is used by default.",
|
|
"schema": {
|
|
"type": "array",
|
|
"items": {
|
|
"enum": [
|
|
"display_name",
|
|
"os_minor_version",
|
|
"groups",
|
|
"display_name:asc",
|
|
"display_name:desc",
|
|
"os_minor_version:asc",
|
|
"os_minor_version:desc",
|
|
"groups:asc",
|
|
"groups:desc"
|
|
]
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"name": "filter",
|
|
"in": "query",
|
|
"required": false,
|
|
"description": "Query string to filter items by their attributes. Compliant with <a href=\"https://github.com/wvanbergen/scoped_search/wiki/Query-language\" target=\"_blank\" title=\"github.com/wvanbergen/scoped_search\">scoped_search query language</a>. However, only `=` or `!=` (resp. `<>`) operators are supported.<br><br>Systems are searchable using attributes `display_name`, `os_minor_version`, `never_reported`, and `group_name`<br><br>(e.g.: `(field_1=something AND field_2!=\"something else\") OR field_3>40`)",
|
|
"schema": {
|
|
"type": "string"
|
|
}
|
|
},
|
|
{
|
|
"name": "report_id",
|
|
"in": "path",
|
|
"required": true,
|
|
"schema": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
],
|
|
"tags": [
|
|
"Reports"
|
|
],
|
|
"description": "Lists Systems assigned to a Report",
|
|
"operationId": "ReportSystems",
|
|
"responses": {
|
|
"200": {
|
|
"description": "Lists Systems assigned to a Report",
|
|
"content": {
|
|
"application/vnd.api+json": {
|
|
"examples": {
|
|
"List of Systems": {
|
|
"value": {
|
|
"data": [
|
|
{
|
|
"id": "00aacaf5-f9ef-4f56-8d36-7c8ffacc3c39",
|
|
"display_name": "roberts.test",
|
|
"groups": [],
|
|
"culled_timestamp": "2034-10-09T11:42:13.787Z",
|
|
"stale_timestamp": "2034-09-25T11:42:13.787Z",
|
|
"stale_warning_timestamp": "2034-10-02T11:42:13.787Z",
|
|
"updated": "2024-09-25T11:42:13.787Z",
|
|
"insights_id": null,
|
|
"tags": [
|
|
{
|
|
"key": "system",
|
|
"value": "neural",
|
|
"namespace": "copying"
|
|
},
|
|
{
|
|
"key": "program",
|
|
"value": "optical",
|
|
"namespace": "indexing"
|
|
},
|
|
{
|
|
"key": "driver",
|
|
"value": "cross-platform",
|
|
"namespace": "backing up"
|
|
},
|
|
{
|
|
"key": "application",
|
|
"value": "mobile",
|
|
"namespace": "quantifying"
|
|
},
|
|
{
|
|
"key": "driver",
|
|
"value": "multi-byte",
|
|
"namespace": "calculating"
|
|
}
|
|
],
|
|
"type": "system",
|
|
"os_major_version": 8,
|
|
"os_minor_version": 0,
|
|
"policies": [
|
|
{
|
|
"id": "37b67144-3e54-4c3a-8982-1ce325962f19",
|
|
"title": "Culpa incidunt mollitia reiciendis."
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "097a59c5-4f63-4190-b832-a12d38e129eb",
|
|
"display_name": "waelchi.example",
|
|
"groups": [],
|
|
"culled_timestamp": "2034-10-09T11:42:13.726Z",
|
|
"stale_timestamp": "2034-09-25T11:42:13.726Z",
|
|
"stale_warning_timestamp": "2034-10-02T11:42:13.726Z",
|
|
"updated": "2024-09-25T11:42:13.726Z",
|
|
"insights_id": null,
|
|
"tags": [
|
|
{
|
|
"key": "array",
|
|
"value": "cross-platform",
|
|
"namespace": "backing up"
|
|
},
|
|
{
|
|
"key": "bandwidth",
|
|
"value": "wireless",
|
|
"namespace": "programming"
|
|
},
|
|
{
|
|
"key": "sensor",
|
|
"value": "redundant",
|
|
"namespace": "calculating"
|
|
},
|
|
{
|
|
"key": "sensor",
|
|
"value": "auxiliary",
|
|
"namespace": "parsing"
|
|
},
|
|
{
|
|
"key": "pixel",
|
|
"value": "bluetooth",
|
|
"namespace": "copying"
|
|
}
|
|
],
|
|
"type": "system",
|
|
"os_major_version": 8,
|
|
"os_minor_version": 0,
|
|
"policies": [
|
|
{
|
|
"id": "37b67144-3e54-4c3a-8982-1ce325962f19",
|
|
"title": "Culpa incidunt mollitia reiciendis."
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "0ebb4f29-fc07-419b-b668-9830dd4a0e9b",
|
|
"display_name": "rolfson-leannon.example",
|
|
"groups": [],
|
|
"culled_timestamp": "2034-10-09T11:42:13.735Z",
|
|
"stale_timestamp": "2034-09-25T11:42:13.735Z",
|
|
"stale_warning_timestamp": "2034-10-02T11:42:13.735Z",
|
|
"updated": "2024-09-25T11:42:13.735Z",
|
|
"insights_id": null,
|
|
"tags": [
|
|
{
|
|
"key": "program",
|
|
"value": "primary",
|
|
"namespace": "parsing"
|
|
},
|
|
{
|
|
"key": "card",
|
|
"value": "online",
|
|
"namespace": "quantifying"
|
|
},
|
|
{
|
|
"key": "firewall",
|
|
"value": "solid state",
|
|
"namespace": "quantifying"
|
|
},
|
|
{
|
|
"key": "hard drive",
|
|
"value": "mobile",
|
|
"namespace": "parsing"
|
|
},
|
|
{
|
|
"key": "driver",
|
|
"value": "back-end",
|
|
"namespace": "transmitting"
|
|
}
|
|
],
|
|
"type": "system",
|
|
"os_major_version": 8,
|
|
"os_minor_version": 0,
|
|
"policies": [
|
|
{
|
|
"id": "37b67144-3e54-4c3a-8982-1ce325962f19",
|
|
"title": "Culpa incidunt mollitia reiciendis."
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "19b80653-5b84-4916-80a4-4c02eb7184da",
|
|
"display_name": "baumbach-kuvalis.example",
|
|
"groups": [],
|
|
"culled_timestamp": "2034-10-09T11:42:13.792Z",
|
|
"stale_timestamp": "2034-09-25T11:42:13.792Z",
|
|
"stale_warning_timestamp": "2034-10-02T11:42:13.792Z",
|
|
"updated": "2024-09-25T11:42:13.792Z",
|
|
"insights_id": null,
|
|
"tags": [
|
|
{
|
|
"key": "driver",
|
|
"value": "bluetooth",
|
|
"namespace": "generating"
|
|
},
|
|
{
|
|
"key": "circuit",
|
|
"value": "redundant",
|
|
"namespace": "quantifying"
|
|
},
|
|
{
|
|
"key": "capacitor",
|
|
"value": "redundant",
|
|
"namespace": "copying"
|
|
},
|
|
{
|
|
"key": "program",
|
|
"value": "neural",
|
|
"namespace": "generating"
|
|
},
|
|
{
|
|
"key": "circuit",
|
|
"value": "neural",
|
|
"namespace": "calculating"
|
|
}
|
|
],
|
|
"type": "system",
|
|
"os_major_version": 8,
|
|
"os_minor_version": 0,
|
|
"policies": [
|
|
{
|
|
"id": "37b67144-3e54-4c3a-8982-1ce325962f19",
|
|
"title": "Culpa incidunt mollitia reiciendis."
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "1aeb54d3-60eb-4e27-b7de-387cda88a1c2",
|
|
"display_name": "mueller-ernser.test",
|
|
"groups": [],
|
|
"culled_timestamp": "2034-10-09T11:42:13.820Z",
|
|
"stale_timestamp": "2034-09-25T11:42:13.820Z",
|
|
"stale_warning_timestamp": "2034-10-02T11:42:13.820Z",
|
|
"updated": "2024-09-25T11:42:13.820Z",
|
|
"insights_id": null,
|
|
"tags": [
|
|
{
|
|
"key": "program",
|
|
"value": "wireless",
|
|
"namespace": "generating"
|
|
},
|
|
{
|
|
"key": "application",
|
|
"value": "digital",
|
|
"namespace": "indexing"
|
|
},
|
|
{
|
|
"key": "hard drive",
|
|
"value": "back-end",
|
|
"namespace": "parsing"
|
|
},
|
|
{
|
|
"key": "capacitor",
|
|
"value": "digital",
|
|
"namespace": "indexing"
|
|
},
|
|
{
|
|
"key": "matrix",
|
|
"value": "optical",
|
|
"namespace": "connecting"
|
|
}
|
|
],
|
|
"type": "system",
|
|
"os_major_version": 8,
|
|
"os_minor_version": 0,
|
|
"policies": [
|
|
{
|
|
"id": "37b67144-3e54-4c3a-8982-1ce325962f19",
|
|
"title": "Culpa incidunt mollitia reiciendis."
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "252e0529-13f2-4cdf-85e5-3384afc11473",
|
|
"display_name": "effertz.example",
|
|
"groups": [],
|
|
"culled_timestamp": "2034-10-09T11:42:13.839Z",
|
|
"stale_timestamp": "2034-09-25T11:42:13.839Z",
|
|
"stale_warning_timestamp": "2034-10-02T11:42:13.839Z",
|
|
"updated": "2024-09-25T11:42:13.839Z",
|
|
"insights_id": null,
|
|
"tags": [
|
|
{
|
|
"key": "bandwidth",
|
|
"value": "mobile",
|
|
"namespace": "navigating"
|
|
},
|
|
{
|
|
"key": "monitor",
|
|
"value": "optical",
|
|
"namespace": "parsing"
|
|
},
|
|
{
|
|
"key": "matrix",
|
|
"value": "open-source",
|
|
"namespace": "quantifying"
|
|
},
|
|
{
|
|
"key": "interface",
|
|
"value": "1080p",
|
|
"namespace": "synthesizing"
|
|
},
|
|
{
|
|
"key": "alarm",
|
|
"value": "haptic",
|
|
"namespace": "programming"
|
|
}
|
|
],
|
|
"type": "system",
|
|
"os_major_version": 8,
|
|
"os_minor_version": 0,
|
|
"policies": [
|
|
{
|
|
"id": "37b67144-3e54-4c3a-8982-1ce325962f19",
|
|
"title": "Culpa incidunt mollitia reiciendis."
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "2d38b56b-2b6b-48f9-bfbd-1bff96aa286e",
|
|
"display_name": "crona-swaniawski.test",
|
|
"groups": [],
|
|
"culled_timestamp": "2034-10-09T11:42:13.753Z",
|
|
"stale_timestamp": "2034-09-25T11:42:13.753Z",
|
|
"stale_warning_timestamp": "2034-10-02T11:42:13.753Z",
|
|
"updated": "2024-09-25T11:42:13.753Z",
|
|
"insights_id": null,
|
|
"tags": [
|
|
{
|
|
"key": "port",
|
|
"value": "online",
|
|
"namespace": "bypassing"
|
|
},
|
|
{
|
|
"key": "feed",
|
|
"value": "optical",
|
|
"namespace": "overriding"
|
|
},
|
|
{
|
|
"key": "capacitor",
|
|
"value": "open-source",
|
|
"namespace": "compressing"
|
|
},
|
|
{
|
|
"key": "bandwidth",
|
|
"value": "bluetooth",
|
|
"namespace": "synthesizing"
|
|
},
|
|
{
|
|
"key": "alarm",
|
|
"value": "wireless",
|
|
"namespace": "parsing"
|
|
}
|
|
],
|
|
"type": "system",
|
|
"os_major_version": 8,
|
|
"os_minor_version": 0,
|
|
"policies": [
|
|
{
|
|
"id": "37b67144-3e54-4c3a-8982-1ce325962f19",
|
|
"title": "Culpa incidunt mollitia reiciendis."
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "345aa496-b737-4fc8-9a81-3614e188b003",
|
|
"display_name": "robel-borer.test",
|
|
"groups": [],
|
|
"culled_timestamp": "2034-10-09T11:42:13.830Z",
|
|
"stale_timestamp": "2034-09-25T11:42:13.830Z",
|
|
"stale_warning_timestamp": "2034-10-02T11:42:13.830Z",
|
|
"updated": "2024-09-25T11:42:13.830Z",
|
|
"insights_id": null,
|
|
"tags": [
|
|
{
|
|
"key": "array",
|
|
"value": "optical",
|
|
"namespace": "bypassing"
|
|
},
|
|
{
|
|
"key": "circuit",
|
|
"value": "virtual",
|
|
"namespace": "copying"
|
|
},
|
|
{
|
|
"key": "card",
|
|
"value": "1080p",
|
|
"namespace": "navigating"
|
|
},
|
|
{
|
|
"key": "feed",
|
|
"value": "online",
|
|
"namespace": "parsing"
|
|
},
|
|
{
|
|
"key": "alarm",
|
|
"value": "mobile",
|
|
"namespace": "programming"
|
|
}
|
|
],
|
|
"type": "system",
|
|
"os_major_version": 8,
|
|
"os_minor_version": 0,
|
|
"policies": [
|
|
{
|
|
"id": "37b67144-3e54-4c3a-8982-1ce325962f19",
|
|
"title": "Culpa incidunt mollitia reiciendis."
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "3aca2a4b-0aa7-42fd-81e0-03c8112cc4c2",
|
|
"display_name": "pfeffer.example",
|
|
"groups": [],
|
|
"culled_timestamp": "2034-10-09T11:42:13.773Z",
|
|
"stale_timestamp": "2034-09-25T11:42:13.773Z",
|
|
"stale_warning_timestamp": "2034-10-02T11:42:13.773Z",
|
|
"updated": "2024-09-25T11:42:13.773Z",
|
|
"insights_id": null,
|
|
"tags": [
|
|
{
|
|
"key": "pixel",
|
|
"value": "auxiliary",
|
|
"namespace": "overriding"
|
|
},
|
|
{
|
|
"key": "alarm",
|
|
"value": "back-end",
|
|
"namespace": "connecting"
|
|
},
|
|
{
|
|
"key": "interface",
|
|
"value": "virtual",
|
|
"namespace": "copying"
|
|
},
|
|
{
|
|
"key": "alarm",
|
|
"value": "1080p",
|
|
"namespace": "transmitting"
|
|
},
|
|
{
|
|
"key": "feed",
|
|
"value": "neural",
|
|
"namespace": "bypassing"
|
|
}
|
|
],
|
|
"type": "system",
|
|
"os_major_version": 8,
|
|
"os_minor_version": 0,
|
|
"policies": [
|
|
{
|
|
"id": "37b67144-3e54-4c3a-8982-1ce325962f19",
|
|
"title": "Culpa incidunt mollitia reiciendis."
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "4c56e8f0-9c26-494a-b892-9d3c3ebe4472",
|
|
"display_name": "rath-hamill.example",
|
|
"groups": [],
|
|
"culled_timestamp": "2034-10-09T11:42:13.778Z",
|
|
"stale_timestamp": "2034-09-25T11:42:13.778Z",
|
|
"stale_warning_timestamp": "2034-10-02T11:42:13.778Z",
|
|
"updated": "2024-09-25T11:42:13.778Z",
|
|
"insights_id": null,
|
|
"tags": [
|
|
{
|
|
"key": "bandwidth",
|
|
"value": "neural",
|
|
"namespace": "parsing"
|
|
},
|
|
{
|
|
"key": "pixel",
|
|
"value": "multi-byte",
|
|
"namespace": "backing up"
|
|
},
|
|
{
|
|
"key": "monitor",
|
|
"value": "auxiliary",
|
|
"namespace": "bypassing"
|
|
},
|
|
{
|
|
"key": "feed",
|
|
"value": "1080p",
|
|
"namespace": "transmitting"
|
|
},
|
|
{
|
|
"key": "array",
|
|
"value": "wireless",
|
|
"namespace": "overriding"
|
|
}
|
|
],
|
|
"type": "system",
|
|
"os_major_version": 8,
|
|
"os_minor_version": 0,
|
|
"policies": [
|
|
{
|
|
"id": "37b67144-3e54-4c3a-8982-1ce325962f19",
|
|
"title": "Culpa incidunt mollitia reiciendis."
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"meta": {
|
|
"total": 25,
|
|
"tags": [],
|
|
"limit": 10,
|
|
"offset": 0
|
|
},
|
|
"links": {
|
|
"first": "/api/compliance/v2/reports/37b67144-3e54-4c3a-8982-1ce325962f19/systems?limit=10&offset=0",
|
|
"last": "/api/compliance/v2/reports/37b67144-3e54-4c3a-8982-1ce325962f19/systems?limit=10&offset=20",
|
|
"next": "/api/compliance/v2/reports/37b67144-3e54-4c3a-8982-1ce325962f19/systems?limit=10&offset=10"
|
|
}
|
|
},
|
|
"summary": "",
|
|
"description": ""
|
|
},
|
|
"List of Systems sorted by \"os_minor_version:asc\"": {
|
|
"value": {
|
|
"data": [
|
|
{
|
|
"id": "0a51228c-eec1-40d4-9825-8bab8fe06204",
|
|
"display_name": "padberg.example",
|
|
"groups": [],
|
|
"culled_timestamp": "2034-10-09T11:42:14.084Z",
|
|
"stale_timestamp": "2034-09-25T11:42:14.084Z",
|
|
"stale_warning_timestamp": "2034-10-02T11:42:14.084Z",
|
|
"updated": "2024-09-25T11:42:14.084Z",
|
|
"insights_id": null,
|
|
"tags": [
|
|
{
|
|
"key": "system",
|
|
"value": "bluetooth",
|
|
"namespace": "overriding"
|
|
},
|
|
{
|
|
"key": "bandwidth",
|
|
"value": "neural",
|
|
"namespace": "programming"
|
|
},
|
|
{
|
|
"key": "matrix",
|
|
"value": "optical",
|
|
"namespace": "parsing"
|
|
},
|
|
{
|
|
"key": "system",
|
|
"value": "primary",
|
|
"namespace": "calculating"
|
|
},
|
|
{
|
|
"key": "monitor",
|
|
"value": "solid state",
|
|
"namespace": "calculating"
|
|
}
|
|
],
|
|
"type": "system",
|
|
"os_major_version": 8,
|
|
"os_minor_version": 0,
|
|
"policies": [
|
|
{
|
|
"id": "b253fc3c-0df6-4bca-b49e-2c45be01b365",
|
|
"title": "Voluptatibus odio placeat deleniti."
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "16e400de-0f67-44d6-953b-547e15edea51",
|
|
"display_name": "veum.test",
|
|
"groups": [],
|
|
"culled_timestamp": "2034-10-09T11:42:14.047Z",
|
|
"stale_timestamp": "2034-09-25T11:42:14.047Z",
|
|
"stale_warning_timestamp": "2034-10-02T11:42:14.047Z",
|
|
"updated": "2024-09-25T11:42:14.047Z",
|
|
"insights_id": null,
|
|
"tags": [
|
|
{
|
|
"key": "sensor",
|
|
"value": "open-source",
|
|
"namespace": "transmitting"
|
|
},
|
|
{
|
|
"key": "capacitor",
|
|
"value": "open-source",
|
|
"namespace": "quantifying"
|
|
},
|
|
{
|
|
"key": "port",
|
|
"value": "multi-byte",
|
|
"namespace": "quantifying"
|
|
},
|
|
{
|
|
"key": "pixel",
|
|
"value": "multi-byte",
|
|
"namespace": "navigating"
|
|
},
|
|
{
|
|
"key": "sensor",
|
|
"value": "back-end",
|
|
"namespace": "calculating"
|
|
}
|
|
],
|
|
"type": "system",
|
|
"os_major_version": 8,
|
|
"os_minor_version": 0,
|
|
"policies": [
|
|
{
|
|
"id": "b253fc3c-0df6-4bca-b49e-2c45be01b365",
|
|
"title": "Voluptatibus odio placeat deleniti."
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "1eb69513-6442-4d25-a7b3-247189d1be36",
|
|
"display_name": "hickle-brakus.test",
|
|
"groups": [],
|
|
"culled_timestamp": "2034-10-09T11:42:14.125Z",
|
|
"stale_timestamp": "2034-09-25T11:42:14.125Z",
|
|
"stale_warning_timestamp": "2034-10-02T11:42:14.125Z",
|
|
"updated": "2024-09-25T11:42:14.125Z",
|
|
"insights_id": null,
|
|
"tags": [
|
|
{
|
|
"key": "panel",
|
|
"value": "multi-byte",
|
|
"namespace": "connecting"
|
|
},
|
|
{
|
|
"key": "microchip",
|
|
"value": "wireless",
|
|
"namespace": "synthesizing"
|
|
},
|
|
{
|
|
"key": "protocol",
|
|
"value": "solid state",
|
|
"namespace": "bypassing"
|
|
},
|
|
{
|
|
"key": "card",
|
|
"value": "neural",
|
|
"namespace": "calculating"
|
|
},
|
|
{
|
|
"key": "microchip",
|
|
"value": "neural",
|
|
"namespace": "connecting"
|
|
}
|
|
],
|
|
"type": "system",
|
|
"os_major_version": 8,
|
|
"os_minor_version": 0,
|
|
"policies": [
|
|
{
|
|
"id": "b253fc3c-0df6-4bca-b49e-2c45be01b365",
|
|
"title": "Voluptatibus odio placeat deleniti."
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "2270ea4d-c340-4738-8aa9-6fb10be23be5",
|
|
"display_name": "jenkins-steuber.test",
|
|
"groups": [],
|
|
"culled_timestamp": "2034-10-09T11:42:14.029Z",
|
|
"stale_timestamp": "2034-09-25T11:42:14.029Z",
|
|
"stale_warning_timestamp": "2034-10-02T11:42:14.029Z",
|
|
"updated": "2024-09-25T11:42:14.029Z",
|
|
"insights_id": null,
|
|
"tags": [
|
|
{
|
|
"key": "transmitter",
|
|
"value": "wireless",
|
|
"namespace": "parsing"
|
|
},
|
|
{
|
|
"key": "firewall",
|
|
"value": "redundant",
|
|
"namespace": "connecting"
|
|
},
|
|
{
|
|
"key": "microchip",
|
|
"value": "back-end",
|
|
"namespace": "programming"
|
|
},
|
|
{
|
|
"key": "hard drive",
|
|
"value": "primary",
|
|
"namespace": "transmitting"
|
|
},
|
|
{
|
|
"key": "port",
|
|
"value": "redundant",
|
|
"namespace": "transmitting"
|
|
}
|
|
],
|
|
"type": "system",
|
|
"os_major_version": 8,
|
|
"os_minor_version": 0,
|
|
"policies": [
|
|
{
|
|
"id": "b253fc3c-0df6-4bca-b49e-2c45be01b365",
|
|
"title": "Voluptatibus odio placeat deleniti."
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "2d081817-664a-4978-a523-b22eceeaaac7",
|
|
"display_name": "pfeffer.example",
|
|
"groups": [],
|
|
"culled_timestamp": "2034-10-09T11:42:14.130Z",
|
|
"stale_timestamp": "2034-09-25T11:42:14.130Z",
|
|
"stale_warning_timestamp": "2034-10-02T11:42:14.130Z",
|
|
"updated": "2024-09-25T11:42:14.130Z",
|
|
"insights_id": null,
|
|
"tags": [
|
|
{
|
|
"key": "firewall",
|
|
"value": "redundant",
|
|
"namespace": "connecting"
|
|
},
|
|
{
|
|
"key": "feed",
|
|
"value": "open-source",
|
|
"namespace": "connecting"
|
|
},
|
|
{
|
|
"key": "interface",
|
|
"value": "online",
|
|
"namespace": "backing up"
|
|
},
|
|
{
|
|
"key": "protocol",
|
|
"value": "neural",
|
|
"namespace": "parsing"
|
|
},
|
|
{
|
|
"key": "protocol",
|
|
"value": "neural",
|
|
"namespace": "navigating"
|
|
}
|
|
],
|
|
"type": "system",
|
|
"os_major_version": 8,
|
|
"os_minor_version": 0,
|
|
"policies": [
|
|
{
|
|
"id": "b253fc3c-0df6-4bca-b49e-2c45be01b365",
|
|
"title": "Voluptatibus odio placeat deleniti."
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "2fd32465-079c-45a4-8622-2f9baa0542d4",
|
|
"display_name": "gorczany.test",
|
|
"groups": [],
|
|
"culled_timestamp": "2034-10-09T11:42:14.038Z",
|
|
"stale_timestamp": "2034-09-25T11:42:14.038Z",
|
|
"stale_warning_timestamp": "2034-10-02T11:42:14.038Z",
|
|
"updated": "2024-09-25T11:42:14.038Z",
|
|
"insights_id": null,
|
|
"tags": [
|
|
{
|
|
"key": "interface",
|
|
"value": "optical",
|
|
"namespace": "hacking"
|
|
},
|
|
{
|
|
"key": "capacitor",
|
|
"value": "wireless",
|
|
"namespace": "backing up"
|
|
},
|
|
{
|
|
"key": "pixel",
|
|
"value": "multi-byte",
|
|
"namespace": "overriding"
|
|
},
|
|
{
|
|
"key": "bandwidth",
|
|
"value": "cross-platform",
|
|
"namespace": "programming"
|
|
},
|
|
{
|
|
"key": "port",
|
|
"value": "multi-byte",
|
|
"namespace": "calculating"
|
|
}
|
|
],
|
|
"type": "system",
|
|
"os_major_version": 8,
|
|
"os_minor_version": 0,
|
|
"policies": [
|
|
{
|
|
"id": "b253fc3c-0df6-4bca-b49e-2c45be01b365",
|
|
"title": "Voluptatibus odio placeat deleniti."
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "362e8dfb-99bc-45be-aa7f-fd312271b113",
|
|
"display_name": "effertz.test",
|
|
"groups": [],
|
|
"culled_timestamp": "2034-10-09T11:42:14.088Z",
|
|
"stale_timestamp": "2034-09-25T11:42:14.088Z",
|
|
"stale_warning_timestamp": "2034-10-02T11:42:14.088Z",
|
|
"updated": "2024-09-25T11:42:14.088Z",
|
|
"insights_id": null,
|
|
"tags": [
|
|
{
|
|
"key": "bus",
|
|
"value": "haptic",
|
|
"namespace": "connecting"
|
|
},
|
|
{
|
|
"key": "card",
|
|
"value": "neural",
|
|
"namespace": "copying"
|
|
},
|
|
{
|
|
"key": "bus",
|
|
"value": "multi-byte",
|
|
"namespace": "calculating"
|
|
},
|
|
{
|
|
"key": "interface",
|
|
"value": "open-source",
|
|
"namespace": "navigating"
|
|
},
|
|
{
|
|
"key": "driver",
|
|
"value": "neural",
|
|
"namespace": "transmitting"
|
|
}
|
|
],
|
|
"type": "system",
|
|
"os_major_version": 8,
|
|
"os_minor_version": 0,
|
|
"policies": [
|
|
{
|
|
"id": "b253fc3c-0df6-4bca-b49e-2c45be01b365",
|
|
"title": "Voluptatibus odio placeat deleniti."
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "396f4b9d-cf2a-4879-9b18-6b6d155e30b6",
|
|
"display_name": "ziemann-mckenzie.example",
|
|
"groups": [],
|
|
"culled_timestamp": "2034-10-09T11:42:14.105Z",
|
|
"stale_timestamp": "2034-09-25T11:42:14.105Z",
|
|
"stale_warning_timestamp": "2034-10-02T11:42:14.105Z",
|
|
"updated": "2024-09-25T11:42:14.105Z",
|
|
"insights_id": null,
|
|
"tags": [
|
|
{
|
|
"key": "pixel",
|
|
"value": "haptic",
|
|
"namespace": "synthesizing"
|
|
},
|
|
{
|
|
"key": "hard drive",
|
|
"value": "optical",
|
|
"namespace": "transmitting"
|
|
},
|
|
{
|
|
"key": "port",
|
|
"value": "redundant",
|
|
"namespace": "calculating"
|
|
},
|
|
{
|
|
"key": "capacitor",
|
|
"value": "haptic",
|
|
"namespace": "quantifying"
|
|
},
|
|
{
|
|
"key": "application",
|
|
"value": "bluetooth",
|
|
"namespace": "programming"
|
|
}
|
|
],
|
|
"type": "system",
|
|
"os_major_version": 8,
|
|
"os_minor_version": 0,
|
|
"policies": [
|
|
{
|
|
"id": "b253fc3c-0df6-4bca-b49e-2c45be01b365",
|
|
"title": "Voluptatibus odio placeat deleniti."
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "3ecde8a6-a2a3-41fd-948f-356893e9acbb",
|
|
"display_name": "gutkowski-labadie.example",
|
|
"groups": [],
|
|
"culled_timestamp": "2034-10-09T11:42:14.051Z",
|
|
"stale_timestamp": "2034-09-25T11:42:14.051Z",
|
|
"stale_warning_timestamp": "2034-10-02T11:42:14.051Z",
|
|
"updated": "2024-09-25T11:42:14.051Z",
|
|
"insights_id": null,
|
|
"tags": [
|
|
{
|
|
"key": "card",
|
|
"value": "haptic",
|
|
"namespace": "transmitting"
|
|
},
|
|
{
|
|
"key": "system",
|
|
"value": "1080p",
|
|
"namespace": "bypassing"
|
|
},
|
|
{
|
|
"key": "feed",
|
|
"value": "open-source",
|
|
"namespace": "navigating"
|
|
},
|
|
{
|
|
"key": "protocol",
|
|
"value": "cross-platform",
|
|
"namespace": "parsing"
|
|
},
|
|
{
|
|
"key": "circuit",
|
|
"value": "neural",
|
|
"namespace": "transmitting"
|
|
}
|
|
],
|
|
"type": "system",
|
|
"os_major_version": 8,
|
|
"os_minor_version": 0,
|
|
"policies": [
|
|
{
|
|
"id": "b253fc3c-0df6-4bca-b49e-2c45be01b365",
|
|
"title": "Voluptatibus odio placeat deleniti."
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "4bf60189-123a-46dc-8903-ba3066b6a06c",
|
|
"display_name": "adams.test",
|
|
"groups": [],
|
|
"culled_timestamp": "2034-10-09T11:42:14.116Z",
|
|
"stale_timestamp": "2034-09-25T11:42:14.116Z",
|
|
"stale_warning_timestamp": "2034-10-02T11:42:14.116Z",
|
|
"updated": "2024-09-25T11:42:14.116Z",
|
|
"insights_id": null,
|
|
"tags": [
|
|
{
|
|
"key": "application",
|
|
"value": "bluetooth",
|
|
"namespace": "transmitting"
|
|
},
|
|
{
|
|
"key": "sensor",
|
|
"value": "open-source",
|
|
"namespace": "quantifying"
|
|
},
|
|
{
|
|
"key": "capacitor",
|
|
"value": "auxiliary",
|
|
"namespace": "transmitting"
|
|
},
|
|
{
|
|
"key": "sensor",
|
|
"value": "multi-byte",
|
|
"namespace": "backing up"
|
|
},
|
|
{
|
|
"key": "bandwidth",
|
|
"value": "mobile",
|
|
"namespace": "programming"
|
|
}
|
|
],
|
|
"type": "system",
|
|
"os_major_version": 8,
|
|
"os_minor_version": 0,
|
|
"policies": [
|
|
{
|
|
"id": "b253fc3c-0df6-4bca-b49e-2c45be01b365",
|
|
"title": "Voluptatibus odio placeat deleniti."
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"meta": {
|
|
"total": 25,
|
|
"tags": [],
|
|
"limit": 10,
|
|
"offset": 0,
|
|
"sort_by": "os_minor_version"
|
|
},
|
|
"links": {
|
|
"first": "/api/compliance/v2/reports/b253fc3c-0df6-4bca-b49e-2c45be01b365/systems?limit=10&offset=0&sort_by=os_minor_version",
|
|
"last": "/api/compliance/v2/reports/b253fc3c-0df6-4bca-b49e-2c45be01b365/systems?limit=10&offset=20&sort_by=os_minor_version",
|
|
"next": "/api/compliance/v2/reports/b253fc3c-0df6-4bca-b49e-2c45be01b365/systems?limit=10&offset=10&sort_by=os_minor_version"
|
|
}
|
|
},
|
|
"summary": "",
|
|
"description": ""
|
|
},
|
|
"List of Systems filtered by \"(os_minor_version=0)\"": {
|
|
"value": {
|
|
"data": [
|
|
{
|
|
"id": "191bbcde-1393-4f0a-86cc-f05c2f0cb90f",
|
|
"display_name": "vonrueden.test",
|
|
"groups": [],
|
|
"culled_timestamp": "2034-10-09T11:42:14.443Z",
|
|
"stale_timestamp": "2034-09-25T11:42:14.443Z",
|
|
"stale_warning_timestamp": "2034-10-02T11:42:14.443Z",
|
|
"updated": "2024-09-25T11:42:14.443Z",
|
|
"insights_id": null,
|
|
"tags": [
|
|
{
|
|
"key": "sensor",
|
|
"value": "mobile",
|
|
"namespace": "copying"
|
|
},
|
|
{
|
|
"key": "matrix",
|
|
"value": "back-end",
|
|
"namespace": "quantifying"
|
|
},
|
|
{
|
|
"key": "feed",
|
|
"value": "1080p",
|
|
"namespace": "hacking"
|
|
},
|
|
{
|
|
"key": "firewall",
|
|
"value": "multi-byte",
|
|
"namespace": "quantifying"
|
|
},
|
|
{
|
|
"key": "alarm",
|
|
"value": "mobile",
|
|
"namespace": "backing up"
|
|
}
|
|
],
|
|
"type": "system",
|
|
"os_major_version": 8,
|
|
"os_minor_version": 0,
|
|
"policies": [
|
|
{
|
|
"id": "2e54c897-77ae-4c6e-8834-c468325967b8",
|
|
"title": "Eligendi temporibus repellat et."
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "1a67d272-aea0-40fa-a86a-f41365aba126",
|
|
"display_name": "prosacco.example",
|
|
"groups": [],
|
|
"culled_timestamp": "2034-10-09T11:42:14.422Z",
|
|
"stale_timestamp": "2034-09-25T11:42:14.422Z",
|
|
"stale_warning_timestamp": "2034-10-02T11:42:14.422Z",
|
|
"updated": "2024-09-25T11:42:14.422Z",
|
|
"insights_id": null,
|
|
"tags": [
|
|
{
|
|
"key": "transmitter",
|
|
"value": "multi-byte",
|
|
"namespace": "calculating"
|
|
},
|
|
{
|
|
"key": "microchip",
|
|
"value": "redundant",
|
|
"namespace": "compressing"
|
|
},
|
|
{
|
|
"key": "circuit",
|
|
"value": "wireless",
|
|
"namespace": "calculating"
|
|
},
|
|
{
|
|
"key": "feed",
|
|
"value": "cross-platform",
|
|
"namespace": "navigating"
|
|
},
|
|
{
|
|
"key": "circuit",
|
|
"value": "redundant",
|
|
"namespace": "programming"
|
|
}
|
|
],
|
|
"type": "system",
|
|
"os_major_version": 8,
|
|
"os_minor_version": 0,
|
|
"policies": [
|
|
{
|
|
"id": "2e54c897-77ae-4c6e-8834-c468325967b8",
|
|
"title": "Eligendi temporibus repellat et."
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "1a8cdba1-4bb4-42ee-8aa6-c2dbb3b9180e",
|
|
"display_name": "anderson.test",
|
|
"groups": [],
|
|
"culled_timestamp": "2034-10-09T11:42:14.391Z",
|
|
"stale_timestamp": "2034-09-25T11:42:14.391Z",
|
|
"stale_warning_timestamp": "2034-10-02T11:42:14.391Z",
|
|
"updated": "2024-09-25T11:42:14.391Z",
|
|
"insights_id": null,
|
|
"tags": [
|
|
{
|
|
"key": "panel",
|
|
"value": "digital",
|
|
"namespace": "programming"
|
|
},
|
|
{
|
|
"key": "interface",
|
|
"value": "back-end",
|
|
"namespace": "hacking"
|
|
},
|
|
{
|
|
"key": "matrix",
|
|
"value": "bluetooth",
|
|
"namespace": "hacking"
|
|
},
|
|
{
|
|
"key": "driver",
|
|
"value": "multi-byte",
|
|
"namespace": "calculating"
|
|
},
|
|
{
|
|
"key": "feed",
|
|
"value": "virtual",
|
|
"namespace": "overriding"
|
|
}
|
|
],
|
|
"type": "system",
|
|
"os_major_version": 8,
|
|
"os_minor_version": 0,
|
|
"policies": [
|
|
{
|
|
"id": "2e54c897-77ae-4c6e-8834-c468325967b8",
|
|
"title": "Eligendi temporibus repellat et."
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "21d78ac3-d569-40a7-b15c-d5ca6d05a7ba",
|
|
"display_name": "herzog.test",
|
|
"groups": [],
|
|
"culled_timestamp": "2034-10-09T11:42:14.359Z",
|
|
"stale_timestamp": "2034-09-25T11:42:14.359Z",
|
|
"stale_warning_timestamp": "2034-10-02T11:42:14.359Z",
|
|
"updated": "2024-09-25T11:42:14.359Z",
|
|
"insights_id": null,
|
|
"tags": [
|
|
{
|
|
"key": "transmitter",
|
|
"value": "wireless",
|
|
"namespace": "calculating"
|
|
},
|
|
{
|
|
"key": "transmitter",
|
|
"value": "bluetooth",
|
|
"namespace": "navigating"
|
|
},
|
|
{
|
|
"key": "matrix",
|
|
"value": "haptic",
|
|
"namespace": "hacking"
|
|
},
|
|
{
|
|
"key": "driver",
|
|
"value": "neural",
|
|
"namespace": "calculating"
|
|
},
|
|
{
|
|
"key": "sensor",
|
|
"value": "neural",
|
|
"namespace": "transmitting"
|
|
}
|
|
],
|
|
"type": "system",
|
|
"os_major_version": 8,
|
|
"os_minor_version": 0,
|
|
"policies": [
|
|
{
|
|
"id": "2e54c897-77ae-4c6e-8834-c468325967b8",
|
|
"title": "Eligendi temporibus repellat et."
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "2b64070d-91d4-437d-b302-cd43d7718175",
|
|
"display_name": "huel.example",
|
|
"groups": [],
|
|
"culled_timestamp": "2034-10-09T11:42:14.448Z",
|
|
"stale_timestamp": "2034-09-25T11:42:14.448Z",
|
|
"stale_warning_timestamp": "2034-10-02T11:42:14.448Z",
|
|
"updated": "2024-09-25T11:42:14.448Z",
|
|
"insights_id": null,
|
|
"tags": [
|
|
{
|
|
"key": "circuit",
|
|
"value": "bluetooth",
|
|
"namespace": "connecting"
|
|
},
|
|
{
|
|
"key": "capacitor",
|
|
"value": "neural",
|
|
"namespace": "parsing"
|
|
},
|
|
{
|
|
"key": "pixel",
|
|
"value": "multi-byte",
|
|
"namespace": "transmitting"
|
|
},
|
|
{
|
|
"key": "pixel",
|
|
"value": "wireless",
|
|
"namespace": "parsing"
|
|
},
|
|
{
|
|
"key": "card",
|
|
"value": "online",
|
|
"namespace": "indexing"
|
|
}
|
|
],
|
|
"type": "system",
|
|
"os_major_version": 8,
|
|
"os_minor_version": 0,
|
|
"policies": [
|
|
{
|
|
"id": "2e54c897-77ae-4c6e-8834-c468325967b8",
|
|
"title": "Eligendi temporibus repellat et."
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "2fb8675d-ccf5-43b6-85bf-9faea6b51d3a",
|
|
"display_name": "torp.example",
|
|
"groups": [],
|
|
"culled_timestamp": "2034-10-09T11:42:14.452Z",
|
|
"stale_timestamp": "2034-09-25T11:42:14.452Z",
|
|
"stale_warning_timestamp": "2034-10-02T11:42:14.452Z",
|
|
"updated": "2024-09-25T11:42:14.452Z",
|
|
"insights_id": null,
|
|
"tags": [
|
|
{
|
|
"key": "sensor",
|
|
"value": "primary",
|
|
"namespace": "backing up"
|
|
},
|
|
{
|
|
"key": "application",
|
|
"value": "multi-byte",
|
|
"namespace": "compressing"
|
|
},
|
|
{
|
|
"key": "application",
|
|
"value": "mobile",
|
|
"namespace": "synthesizing"
|
|
},
|
|
{
|
|
"key": "application",
|
|
"value": "open-source",
|
|
"namespace": "programming"
|
|
},
|
|
{
|
|
"key": "protocol",
|
|
"value": "multi-byte",
|
|
"namespace": "programming"
|
|
}
|
|
],
|
|
"type": "system",
|
|
"os_major_version": 8,
|
|
"os_minor_version": 0,
|
|
"policies": [
|
|
{
|
|
"id": "2e54c897-77ae-4c6e-8834-c468325967b8",
|
|
"title": "Eligendi temporibus repellat et."
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "3639ecb2-b108-4cd3-b248-6900e87c58ff",
|
|
"display_name": "hahn.example",
|
|
"groups": [],
|
|
"culled_timestamp": "2034-10-09T11:42:14.395Z",
|
|
"stale_timestamp": "2034-09-25T11:42:14.395Z",
|
|
"stale_warning_timestamp": "2034-10-02T11:42:14.395Z",
|
|
"updated": "2024-09-25T11:42:14.395Z",
|
|
"insights_id": null,
|
|
"tags": [
|
|
{
|
|
"key": "feed",
|
|
"value": "auxiliary",
|
|
"namespace": "transmitting"
|
|
},
|
|
{
|
|
"key": "application",
|
|
"value": "digital",
|
|
"namespace": "calculating"
|
|
},
|
|
{
|
|
"key": "driver",
|
|
"value": "neural",
|
|
"namespace": "quantifying"
|
|
},
|
|
{
|
|
"key": "bandwidth",
|
|
"value": "neural",
|
|
"namespace": "bypassing"
|
|
},
|
|
{
|
|
"key": "protocol",
|
|
"value": "online",
|
|
"namespace": "quantifying"
|
|
}
|
|
],
|
|
"type": "system",
|
|
"os_major_version": 8,
|
|
"os_minor_version": 0,
|
|
"policies": [
|
|
{
|
|
"id": "2e54c897-77ae-4c6e-8834-c468325967b8",
|
|
"title": "Eligendi temporibus repellat et."
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "4120776a-9807-4ef6-842a-74dc9059d7c5",
|
|
"display_name": "hoeger.test",
|
|
"groups": [],
|
|
"culled_timestamp": "2034-10-09T11:42:14.399Z",
|
|
"stale_timestamp": "2034-09-25T11:42:14.399Z",
|
|
"stale_warning_timestamp": "2034-10-02T11:42:14.399Z",
|
|
"updated": "2024-09-25T11:42:14.399Z",
|
|
"insights_id": null,
|
|
"tags": [
|
|
{
|
|
"key": "bandwidth",
|
|
"value": "1080p",
|
|
"namespace": "parsing"
|
|
},
|
|
{
|
|
"key": "application",
|
|
"value": "back-end",
|
|
"namespace": "connecting"
|
|
},
|
|
{
|
|
"key": "system",
|
|
"value": "auxiliary",
|
|
"namespace": "parsing"
|
|
},
|
|
{
|
|
"key": "protocol",
|
|
"value": "digital",
|
|
"namespace": "navigating"
|
|
},
|
|
{
|
|
"key": "matrix",
|
|
"value": "haptic",
|
|
"namespace": "hacking"
|
|
}
|
|
],
|
|
"type": "system",
|
|
"os_major_version": 8,
|
|
"os_minor_version": 0,
|
|
"policies": [
|
|
{
|
|
"id": "2e54c897-77ae-4c6e-8834-c468325967b8",
|
|
"title": "Eligendi temporibus repellat et."
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "450fd893-5567-4edf-9529-8ebbcc6123b9",
|
|
"display_name": "lueilwitz.example",
|
|
"groups": [],
|
|
"culled_timestamp": "2034-10-09T11:42:14.343Z",
|
|
"stale_timestamp": "2034-09-25T11:42:14.343Z",
|
|
"stale_warning_timestamp": "2034-10-02T11:42:14.343Z",
|
|
"updated": "2024-09-25T11:42:14.343Z",
|
|
"insights_id": null,
|
|
"tags": [
|
|
{
|
|
"key": "hard drive",
|
|
"value": "neural",
|
|
"namespace": "bypassing"
|
|
},
|
|
{
|
|
"key": "card",
|
|
"value": "wireless",
|
|
"namespace": "backing up"
|
|
},
|
|
{
|
|
"key": "capacitor",
|
|
"value": "open-source",
|
|
"namespace": "generating"
|
|
},
|
|
{
|
|
"key": "program",
|
|
"value": "digital",
|
|
"namespace": "synthesizing"
|
|
},
|
|
{
|
|
"key": "array",
|
|
"value": "wireless",
|
|
"namespace": "compressing"
|
|
}
|
|
],
|
|
"type": "system",
|
|
"os_major_version": 8,
|
|
"os_minor_version": 0,
|
|
"policies": [
|
|
{
|
|
"id": "2e54c897-77ae-4c6e-8834-c468325967b8",
|
|
"title": "Eligendi temporibus repellat et."
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "4bd0f112-7a02-4235-bde1-b66071d4c34b",
|
|
"display_name": "haley.test",
|
|
"groups": [],
|
|
"culled_timestamp": "2034-10-09T11:42:14.386Z",
|
|
"stale_timestamp": "2034-09-25T11:42:14.386Z",
|
|
"stale_warning_timestamp": "2034-10-02T11:42:14.386Z",
|
|
"updated": "2024-09-25T11:42:14.386Z",
|
|
"insights_id": null,
|
|
"tags": [
|
|
{
|
|
"key": "alarm",
|
|
"value": "auxiliary",
|
|
"namespace": "navigating"
|
|
},
|
|
{
|
|
"key": "microchip",
|
|
"value": "bluetooth",
|
|
"namespace": "overriding"
|
|
},
|
|
{
|
|
"key": "feed",
|
|
"value": "open-source",
|
|
"namespace": "quantifying"
|
|
},
|
|
{
|
|
"key": "driver",
|
|
"value": "cross-platform",
|
|
"namespace": "indexing"
|
|
},
|
|
{
|
|
"key": "alarm",
|
|
"value": "digital",
|
|
"namespace": "programming"
|
|
}
|
|
],
|
|
"type": "system",
|
|
"os_major_version": 8,
|
|
"os_minor_version": 0,
|
|
"policies": [
|
|
{
|
|
"id": "2e54c897-77ae-4c6e-8834-c468325967b8",
|
|
"title": "Eligendi temporibus repellat et."
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"meta": {
|
|
"total": 25,
|
|
"filter": "(os_minor_version=0)",
|
|
"tags": [],
|
|
"limit": 10,
|
|
"offset": 0
|
|
},
|
|
"links": {
|
|
"first": "/api/compliance/v2/reports/2e54c897-77ae-4c6e-8834-c468325967b8/systems?filter=%28os_minor_version%3D0%29&limit=10&offset=0",
|
|
"last": "/api/compliance/v2/reports/2e54c897-77ae-4c6e-8834-c468325967b8/systems?filter=%28os_minor_version%3D0%29&limit=10&offset=20",
|
|
"next": "/api/compliance/v2/reports/2e54c897-77ae-4c6e-8834-c468325967b8/systems?filter=%28os_minor_version%3D0%29&limit=10&offset=10"
|
|
}
|
|
},
|
|
"summary": "",
|
|
"description": ""
|
|
}
|
|
},
|
|
"schema": {
|
|
"type": "object",
|
|
"properties": {
|
|
"meta": {
|
|
"$ref": "#/components/schemas/metadata"
|
|
},
|
|
"links": {
|
|
"$ref": "#/components/schemas/links"
|
|
},
|
|
"data": {
|
|
"type": "array",
|
|
"items": {
|
|
"properties": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/system"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"422": {
|
|
"description": "Returns with Unprocessable Content",
|
|
"content": {
|
|
"application/vnd.api+json": {
|
|
"examples": {
|
|
"Description of an error when sorting by incorrect parameter": {
|
|
"value": {
|
|
"errors": [
|
|
"Result cannot be sorted by the 'description' column."
|
|
]
|
|
},
|
|
"summary": "",
|
|
"description": ""
|
|
},
|
|
"Description of an error when requesting higher limit than supported": {
|
|
"value": {
|
|
"errors": [
|
|
"Invalid parameter: limit must be less than or equal to 100"
|
|
]
|
|
},
|
|
"summary": "",
|
|
"description": ""
|
|
}
|
|
},
|
|
"schema": {
|
|
"$ref": "#/components/schemas/errors"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"/reports/{report_id}/systems/os_versions": {
|
|
"get": {
|
|
"summary": "Request the list of available OS versions",
|
|
"parameters": [
|
|
{
|
|
"name": "X-RH-IDENTITY",
|
|
"in": "header",
|
|
"schema": {
|
|
"type": "string"
|
|
},
|
|
"description": "For internal use only"
|
|
},
|
|
{
|
|
"name": "filter",
|
|
"in": "query",
|
|
"required": false,
|
|
"description": "Query string to filter items by their attributes. Compliant with <a href=\"https://github.com/wvanbergen/scoped_search/wiki/Query-language\" target=\"_blank\" title=\"github.com/wvanbergen/scoped_search\">scoped_search query language</a>. However, only `=` or `!=` (resp. `<>`) operators are supported.<br><br>Systems are searchable using attributes `display_name`, `os_major_version`, `os_minor_version`, `assigned_or_scanned`, `never_reported`, `group_name`, `policies`, and `profile_ref_id`<br><br>(e.g.: `(field_1=something AND field_2!=\"something else\") OR field_3>40`)",
|
|
"schema": {
|
|
"type": "string"
|
|
}
|
|
},
|
|
{
|
|
"name": "report_id",
|
|
"in": "path",
|
|
"required": true,
|
|
"schema": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
],
|
|
"tags": [
|
|
"Systems"
|
|
],
|
|
"description": "This feature is exclusively used by the frontend",
|
|
"operationId": "ReportSystemsOS",
|
|
"deprecated": true,
|
|
"responses": {
|
|
"200": {
|
|
"description": "Lists available OS versions",
|
|
"content": {
|
|
"application/vnd.api+json": {
|
|
"examples": {
|
|
"List of available OS versions": {
|
|
"value": [
|
|
"8.0"
|
|
],
|
|
"summary": "",
|
|
"description": ""
|
|
}
|
|
},
|
|
"schema": {
|
|
"type": "array",
|
|
"items": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"/reports/{report_id}/systems/{system_id}": {
|
|
"get": {
|
|
"summary": "Request a System",
|
|
"parameters": [
|
|
{
|
|
"name": "X-RH-IDENTITY",
|
|
"in": "header",
|
|
"schema": {
|
|
"type": "string"
|
|
},
|
|
"description": "For internal use only"
|
|
},
|
|
{
|
|
"name": "system_id",
|
|
"in": "path",
|
|
"required": true,
|
|
"schema": {
|
|
"type": "string"
|
|
}
|
|
},
|
|
{
|
|
"name": "report_id",
|
|
"in": "path",
|
|
"required": true,
|
|
"schema": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
],
|
|
"tags": [
|
|
"Reports"
|
|
],
|
|
"description": "Returns a System under a Report",
|
|
"operationId": "ReportSystem",
|
|
"responses": {
|
|
"200": {
|
|
"description": "Returns a System under a Report",
|
|
"content": {
|
|
"application/vnd.api+json": {
|
|
"examples": {
|
|
"Returns a System under a Report": {
|
|
"value": {
|
|
"data": {
|
|
"id": "66b7c2f2-855c-45b2-9ec8-fd419f58dda4",
|
|
"display_name": "botsford.test",
|
|
"groups": [],
|
|
"culled_timestamp": "2034-10-09T11:42:15.558Z",
|
|
"stale_timestamp": "2034-09-25T11:42:15.558Z",
|
|
"stale_warning_timestamp": "2034-10-02T11:42:15.558Z",
|
|
"updated": "2024-09-25T11:42:15.558Z",
|
|
"insights_id": null,
|
|
"tags": [
|
|
{
|
|
"key": "bus",
|
|
"value": "back-end",
|
|
"namespace": "programming"
|
|
},
|
|
{
|
|
"key": "system",
|
|
"value": "neural",
|
|
"namespace": "backing up"
|
|
},
|
|
{
|
|
"key": "transmitter",
|
|
"value": "solid state",
|
|
"namespace": "generating"
|
|
},
|
|
{
|
|
"key": "transmitter",
|
|
"value": "multi-byte",
|
|
"namespace": "hacking"
|
|
},
|
|
{
|
|
"key": "circuit",
|
|
"value": "1080p",
|
|
"namespace": "copying"
|
|
}
|
|
],
|
|
"type": "system",
|
|
"os_major_version": 8,
|
|
"os_minor_version": 0,
|
|
"policies": [
|
|
{
|
|
"id": "dc75c961-d2db-40a2-8b32-23846680812a",
|
|
"title": "Doloribus at repudiandae voluptatem."
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"summary": "",
|
|
"description": ""
|
|
}
|
|
},
|
|
"schema": {
|
|
"type": "object",
|
|
"properties": {
|
|
"data": {
|
|
"type": "object",
|
|
"properties": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/system"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"404": {
|
|
"description": "Returns with Not Found",
|
|
"content": {
|
|
"application/vnd.api+json": {
|
|
"examples": {
|
|
"Description of an error when requesting a non-existing System": {
|
|
"value": {
|
|
"errors": [
|
|
"V2::System not found with ID be1be2a1-7087-4e00-a8db-ade7eb00c1c7"
|
|
]
|
|
},
|
|
"summary": "",
|
|
"description": ""
|
|
}
|
|
},
|
|
"schema": {
|
|
"$ref": "#/components/schemas/errors"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"/policies/{policy_id}/tailorings": {
|
|
"get": {
|
|
"summary": "Request Tailorings",
|
|
"parameters": [
|
|
{
|
|
"name": "X-RH-IDENTITY",
|
|
"in": "header",
|
|
"schema": {
|
|
"type": "string"
|
|
},
|
|
"description": "For internal use only"
|
|
},
|
|
{
|
|
"name": "limit",
|
|
"in": "query",
|
|
"required": false,
|
|
"description": "Number of items to return per page",
|
|
"schema": {
|
|
"type": "number",
|
|
"maximum": 100,
|
|
"minimum": 1,
|
|
"default": 10
|
|
}
|
|
},
|
|
{
|
|
"name": "offset",
|
|
"in": "query",
|
|
"required": false,
|
|
"description": "Offset of first item of paginated response",
|
|
"schema": {
|
|
"type": "integer",
|
|
"minimum": 0,
|
|
"default": 0
|
|
}
|
|
},
|
|
{
|
|
"name": "ids_only",
|
|
"in": "query",
|
|
"required": false,
|
|
"description": "Indicates whether to return only resource IDs.",
|
|
"schema": {
|
|
"type": "boolean"
|
|
}
|
|
},
|
|
{
|
|
"name": "sort_by",
|
|
"in": "query",
|
|
"required": false,
|
|
"description": "Attribute and direction to sort the items by. Represented by an array of fields with an optional direction (`<key>:asc` or `<key>:desc`).<br><br>If no direction is selected, `<key>:asc` is used by default.",
|
|
"schema": {
|
|
"type": "array",
|
|
"items": {
|
|
"enum": [
|
|
"os_minor_version",
|
|
"os_minor_version:asc",
|
|
"os_minor_version:desc"
|
|
]
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"name": "filter",
|
|
"in": "query",
|
|
"required": false,
|
|
"description": "Query string to filter items by their attributes. Compliant with <a href=\"https://github.com/wvanbergen/scoped_search/wiki/Query-language\" target=\"_blank\" title=\"github.com/wvanbergen/scoped_search\">scoped_search query language</a>. However, only `=` or `!=` (resp. `<>`) operators are supported.<br><br>Tailorings are searchable using attributes `os_minor_version`<br><br>(e.g.: `(field_1=something AND field_2!=\"something else\") OR field_3>40`)",
|
|
"schema": {
|
|
"type": "string"
|
|
}
|
|
},
|
|
{
|
|
"name": "policy_id",
|
|
"in": "path",
|
|
"required": true,
|
|
"schema": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
],
|
|
"tags": [
|
|
"Policies"
|
|
],
|
|
"description": "Lists Tailorings",
|
|
"operationId": "Tailorings",
|
|
"responses": {
|
|
"200": {
|
|
"description": "Lists Tailorings",
|
|
"content": {
|
|
"application/vnd.api+json": {
|
|
"examples": {
|
|
"List of Tailorings": {
|
|
"value": {
|
|
"data": [
|
|
{
|
|
"id": "0b4576be-41dc-4f92-88e2-efcf36282e23",
|
|
"profile_id": "48c3ada7-a7e4-4c4d-9702-964e30b7fa2d",
|
|
"os_minor_version": 17,
|
|
"value_overrides": {},
|
|
"type": "tailoring",
|
|
"os_major_version": 7,
|
|
"security_guide_id": "46d06bee-2a26-461b-9421-95552be460b4",
|
|
"security_guide_version": "100.97.5"
|
|
},
|
|
{
|
|
"id": "1bc5f30c-8ad8-40e5-a254-f6d7729f011d",
|
|
"profile_id": "6d2550d8-a17b-468e-a58f-728c0b96b5e9",
|
|
"os_minor_version": 3,
|
|
"value_overrides": {},
|
|
"type": "tailoring",
|
|
"os_major_version": 7,
|
|
"security_guide_id": "e2b34335-0121-41af-9628-77b9a7284667",
|
|
"security_guide_version": "100.96.41"
|
|
},
|
|
{
|
|
"id": "1c5ff20e-2fc9-4535-a034-4b5efdd2bb44",
|
|
"profile_id": "9736349f-1e3d-4d27-a3cf-69ba90a561e0",
|
|
"os_minor_version": 1,
|
|
"value_overrides": {},
|
|
"type": "tailoring",
|
|
"os_major_version": 7,
|
|
"security_guide_id": "bd433e2e-ade3-4229-a1b2-9d74ecea2620",
|
|
"security_guide_version": "100.96.39"
|
|
},
|
|
{
|
|
"id": "1d4edf2b-adc2-4939-b83a-c7570cb8f0f9",
|
|
"profile_id": "a4049a78-747d-404b-b696-25f7a76f2c0d",
|
|
"os_minor_version": 9,
|
|
"value_overrides": {},
|
|
"type": "tailoring",
|
|
"os_major_version": 7,
|
|
"security_guide_id": "7ba8fdaf-3d91-4a2f-8ca6-1324f2e9f105",
|
|
"security_guide_version": "100.96.47"
|
|
},
|
|
{
|
|
"id": "2c3a459a-6225-4c1a-9d75-d8abb8bce1bf",
|
|
"profile_id": "b1dc8355-090c-40b8-959a-89d83899217d",
|
|
"os_minor_version": 12,
|
|
"value_overrides": {},
|
|
"type": "tailoring",
|
|
"os_major_version": 7,
|
|
"security_guide_id": "ba83b12b-ce71-479f-b1f7-bcc46103e53a",
|
|
"security_guide_version": "100.97.0"
|
|
},
|
|
{
|
|
"id": "2e618e59-a1bb-49aa-97ee-b59b3f3d5c6c",
|
|
"profile_id": "6bb41196-fdac-40fa-92d3-516c516e98c5",
|
|
"os_minor_version": 6,
|
|
"value_overrides": {},
|
|
"type": "tailoring",
|
|
"os_major_version": 7,
|
|
"security_guide_id": "c50d1d35-9a15-4a4d-8221-2d89c5c41ac9",
|
|
"security_guide_version": "100.96.44"
|
|
},
|
|
{
|
|
"id": "31c9a261-8787-48c4-a359-086bf2e6b853",
|
|
"profile_id": "d4bb9f3b-eebb-4c58-a6e4-4a7b4bb14dad",
|
|
"os_minor_version": 14,
|
|
"value_overrides": {},
|
|
"type": "tailoring",
|
|
"os_major_version": 7,
|
|
"security_guide_id": "ba92fb20-a696-4ecb-a509-c9eef51f739e",
|
|
"security_guide_version": "100.97.2"
|
|
},
|
|
{
|
|
"id": "322cd80c-6505-4933-a6aa-b1c68c1cc1e9",
|
|
"profile_id": "bc34c5cd-5e89-48d2-80fc-8a4f64d1beca",
|
|
"os_minor_version": 19,
|
|
"value_overrides": {},
|
|
"type": "tailoring",
|
|
"os_major_version": 7,
|
|
"security_guide_id": "6e4ac3c9-2f14-4aa4-af88-6bf61d881e4a",
|
|
"security_guide_version": "100.97.7"
|
|
},
|
|
{
|
|
"id": "35c3444b-1215-49c3-b3c0-5a2ece24613d",
|
|
"profile_id": "df089169-3779-4a0b-832f-de2f95018a6d",
|
|
"os_minor_version": 24,
|
|
"value_overrides": {},
|
|
"type": "tailoring",
|
|
"os_major_version": 7,
|
|
"security_guide_id": "daabe53b-4605-4b7d-b19c-50704fdc240a",
|
|
"security_guide_version": "100.97.12"
|
|
},
|
|
{
|
|
"id": "39389939-f58b-40e1-8909-8ad09f60ed31",
|
|
"profile_id": "ba557875-9750-4d29-b01b-d5006814d44a",
|
|
"os_minor_version": 21,
|
|
"value_overrides": {},
|
|
"type": "tailoring",
|
|
"os_major_version": 7,
|
|
"security_guide_id": "0470928f-756b-4f6d-b3a1-7b57e336baab",
|
|
"security_guide_version": "100.97.9"
|
|
}
|
|
],
|
|
"meta": {
|
|
"total": 25,
|
|
"limit": 10,
|
|
"offset": 0
|
|
},
|
|
"links": {
|
|
"first": "/api/compliance/v2/policies/52e68ad8-67aa-4415-8c08-bba7cd55fdff/tailorings?limit=10&offset=0",
|
|
"last": "/api/compliance/v2/policies/52e68ad8-67aa-4415-8c08-bba7cd55fdff/tailorings?limit=10&offset=20",
|
|
"next": "/api/compliance/v2/policies/52e68ad8-67aa-4415-8c08-bba7cd55fdff/tailorings?limit=10&offset=10"
|
|
}
|
|
},
|
|
"summary": "",
|
|
"description": ""
|
|
},
|
|
"List of Tailorings sorted by \"os_minor_version:asc\"": {
|
|
"value": {
|
|
"data": [
|
|
{
|
|
"id": "4e5e614b-64a3-4cbe-9156-4166b5154b2a",
|
|
"profile_id": "2b11d126-3633-4772-9007-2e762c43d203",
|
|
"os_minor_version": 0,
|
|
"value_overrides": {},
|
|
"type": "tailoring",
|
|
"os_major_version": 7,
|
|
"security_guide_id": "525845f5-dbed-400e-9b23-15c0f5051009",
|
|
"security_guide_version": "100.97.13"
|
|
},
|
|
{
|
|
"id": "f1045269-c530-4704-913f-ba6e792aee9b",
|
|
"profile_id": "49e87acb-2d7d-40eb-b9ab-f4d932a6656f",
|
|
"os_minor_version": 1,
|
|
"value_overrides": {},
|
|
"type": "tailoring",
|
|
"os_major_version": 7,
|
|
"security_guide_id": "cdde7e96-9800-482c-99d5-82b403d0758d",
|
|
"security_guide_version": "100.97.14"
|
|
},
|
|
{
|
|
"id": "fd3be094-3f36-4acc-ae68-4ddc3f0c6278",
|
|
"profile_id": "d445b5e1-b41f-42e8-9173-153dd938fb24",
|
|
"os_minor_version": 2,
|
|
"value_overrides": {},
|
|
"type": "tailoring",
|
|
"os_major_version": 7,
|
|
"security_guide_id": "2ca9a4f1-70d4-48b7-9d40-1db2029fa98a",
|
|
"security_guide_version": "100.97.15"
|
|
},
|
|
{
|
|
"id": "a3b4f4a3-f349-41f3-9550-10680fc76e14",
|
|
"profile_id": "e5eedc71-df72-4e60-8de1-08b69a3d8c3b",
|
|
"os_minor_version": 3,
|
|
"value_overrides": {},
|
|
"type": "tailoring",
|
|
"os_major_version": 7,
|
|
"security_guide_id": "6cdae5fd-6170-4e72-afb5-18ff656b2b03",
|
|
"security_guide_version": "100.97.16"
|
|
},
|
|
{
|
|
"id": "8193e76f-456f-4ce9-bd68-f8ea8ca75520",
|
|
"profile_id": "cf6db00c-42f7-4bf4-9654-28a237a21c83",
|
|
"os_minor_version": 4,
|
|
"value_overrides": {},
|
|
"type": "tailoring",
|
|
"os_major_version": 7,
|
|
"security_guide_id": "0cfb3cf7-13cb-4abb-930f-862a3163c006",
|
|
"security_guide_version": "100.97.17"
|
|
},
|
|
{
|
|
"id": "3e5b03fa-6585-4972-8075-3445b60a6a4c",
|
|
"profile_id": "ca279ef5-8443-4251-b8b7-e67753dee736",
|
|
"os_minor_version": 5,
|
|
"value_overrides": {},
|
|
"type": "tailoring",
|
|
"os_major_version": 7,
|
|
"security_guide_id": "0efe6c58-ea0b-4d1f-a3b9-6ec0107c2f75",
|
|
"security_guide_version": "100.97.18"
|
|
},
|
|
{
|
|
"id": "0ee00efb-0d29-4ca6-970a-dfa804ccd03e",
|
|
"profile_id": "64b86a87-950f-49de-89d4-f2070775ec0d",
|
|
"os_minor_version": 6,
|
|
"value_overrides": {},
|
|
"type": "tailoring",
|
|
"os_major_version": 7,
|
|
"security_guide_id": "ac566eea-8f40-4d24-a9da-5faf34f56c42",
|
|
"security_guide_version": "100.97.19"
|
|
},
|
|
{
|
|
"id": "8a388814-11c2-4cb5-ac0e-9b597fd684eb",
|
|
"profile_id": "26abf576-6bc6-4dfc-a8a4-23c4238a811d",
|
|
"os_minor_version": 7,
|
|
"value_overrides": {},
|
|
"type": "tailoring",
|
|
"os_major_version": 7,
|
|
"security_guide_id": "13bb8185-ce4d-4328-a342-60a8836fe88e",
|
|
"security_guide_version": "100.97.20"
|
|
},
|
|
{
|
|
"id": "286a7d86-fbff-4060-b6b2-4040f4c4aa12",
|
|
"profile_id": "e6e5e0bb-8248-4f43-bdb7-0f72dd2c144f",
|
|
"os_minor_version": 8,
|
|
"value_overrides": {},
|
|
"type": "tailoring",
|
|
"os_major_version": 7,
|
|
"security_guide_id": "d2940cff-7ed0-4dbd-857f-5a7c8723dccf",
|
|
"security_guide_version": "100.97.21"
|
|
},
|
|
{
|
|
"id": "53c570cc-4345-4ca2-a19d-ff0ee05552d9",
|
|
"profile_id": "afb5e0f0-81f6-43ce-ab87-ff978d5e2dfc",
|
|
"os_minor_version": 9,
|
|
"value_overrides": {},
|
|
"type": "tailoring",
|
|
"os_major_version": 7,
|
|
"security_guide_id": "6281092c-56ed-4427-9982-784822a30808",
|
|
"security_guide_version": "100.97.22"
|
|
}
|
|
],
|
|
"meta": {
|
|
"total": 25,
|
|
"limit": 10,
|
|
"offset": 0,
|
|
"sort_by": "os_minor_version"
|
|
},
|
|
"links": {
|
|
"first": "/api/compliance/v2/policies/c95bc678-ac61-469b-9742-aa444a69aeb2/tailorings?limit=10&offset=0&sort_by=os_minor_version",
|
|
"last": "/api/compliance/v2/policies/c95bc678-ac61-469b-9742-aa444a69aeb2/tailorings?limit=10&offset=20&sort_by=os_minor_version",
|
|
"next": "/api/compliance/v2/policies/c95bc678-ac61-469b-9742-aa444a69aeb2/tailorings?limit=10&offset=10&sort_by=os_minor_version"
|
|
}
|
|
},
|
|
"summary": "",
|
|
"description": ""
|
|
},
|
|
"List of Tailorings filtered by '(os_minor_version=23)'": {
|
|
"value": {
|
|
"data": [
|
|
{
|
|
"id": "1428f36d-6f33-4894-b769-fda56a9f6098",
|
|
"profile_id": "51fab45e-86cb-41da-a69d-c1565a551381",
|
|
"os_minor_version": 23,
|
|
"value_overrides": {},
|
|
"type": "tailoring",
|
|
"os_major_version": 7,
|
|
"security_guide_id": "2f3126f3-a339-44c8-8438-659bc672184b",
|
|
"security_guide_version": "100.98.11"
|
|
}
|
|
],
|
|
"meta": {
|
|
"total": 1,
|
|
"filter": "(os_minor_version=23)",
|
|
"limit": 10,
|
|
"offset": 0
|
|
},
|
|
"links": {
|
|
"first": "/api/compliance/v2/policies/b64594a2-4eea-4f62-839e-ce629cec241b/tailorings?filter=%28os_minor_version%3D23%29&limit=10&offset=0",
|
|
"last": "/api/compliance/v2/policies/b64594a2-4eea-4f62-839e-ce629cec241b/tailorings?filter=%28os_minor_version%3D23%29&limit=10&offset=0"
|
|
}
|
|
},
|
|
"summary": "",
|
|
"description": ""
|
|
}
|
|
},
|
|
"schema": {
|
|
"type": "object",
|
|
"properties": {
|
|
"meta": {
|
|
"$ref": "#/components/schemas/metadata"
|
|
},
|
|
"links": {
|
|
"$ref": "#/components/schemas/links"
|
|
},
|
|
"data": {
|
|
"type": "array",
|
|
"items": {
|
|
"properties": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/tailoring"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"422": {
|
|
"description": "Returns with Unprocessable Content",
|
|
"content": {
|
|
"application/vnd.api+json": {
|
|
"examples": {
|
|
"Description of an error when sorting by incorrect parameter": {
|
|
"value": {
|
|
"errors": [
|
|
"Result cannot be sorted by the 'description' column."
|
|
]
|
|
},
|
|
"summary": "",
|
|
"description": ""
|
|
},
|
|
"Description of an error when requesting higher limit than supported": {
|
|
"value": {
|
|
"errors": [
|
|
"Invalid parameter: limit must be less than or equal to 100"
|
|
]
|
|
},
|
|
"summary": "",
|
|
"description": ""
|
|
}
|
|
},
|
|
"schema": {
|
|
"$ref": "#/components/schemas/errors"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"/policies/{policy_id}/tailorings/{tailoring_id}": {
|
|
"get": {
|
|
"summary": "Request a Tailoring",
|
|
"parameters": [
|
|
{
|
|
"name": "X-RH-IDENTITY",
|
|
"in": "header",
|
|
"schema": {
|
|
"type": "string"
|
|
},
|
|
"description": "For internal use only"
|
|
},
|
|
{
|
|
"name": "policy_id",
|
|
"in": "path",
|
|
"required": true,
|
|
"schema": {
|
|
"type": "string"
|
|
}
|
|
},
|
|
{
|
|
"name": "tailoring_id",
|
|
"in": "path",
|
|
"required": true,
|
|
"description": "UUID or OS minor version number",
|
|
"schema": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
],
|
|
"tags": [
|
|
"Policies"
|
|
],
|
|
"description": "Returns a Tailoring",
|
|
"operationId": "Tailoring",
|
|
"responses": {
|
|
"200": {
|
|
"description": "Returns a Tailoring",
|
|
"content": {
|
|
"application/vnd.api+json": {
|
|
"examples": {
|
|
"Returns a Tailoring": {
|
|
"value": {
|
|
"data": {
|
|
"id": "62a55e16-8c7d-4a0d-afdd-0f4354d4fdcd",
|
|
"profile_id": "bf476b0b-28cd-4038-8297-882e88d1e6ab",
|
|
"os_minor_version": 1,
|
|
"value_overrides": {},
|
|
"type": "tailoring",
|
|
"os_major_version": 7,
|
|
"security_guide_id": "77e31ad2-4d73-473a-b4b3-3e04b261a1ef",
|
|
"security_guide_version": "100.99.13"
|
|
}
|
|
},
|
|
"summary": "",
|
|
"description": ""
|
|
}
|
|
},
|
|
"schema": {
|
|
"type": "object",
|
|
"properties": {
|
|
"data": {
|
|
"type": "object",
|
|
"properties": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/tailoring"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"404": {
|
|
"description": "Returns with Not Found",
|
|
"content": {
|
|
"application/vnd.api+json": {
|
|
"examples": {
|
|
"Description of an error when requesting a non-existing Tailoring": {
|
|
"value": {
|
|
"errors": [
|
|
"V2::Tailoring not found with ID 1cf3710b-7bfb-418c-8300-e322ffadf8ed"
|
|
]
|
|
},
|
|
"summary": "",
|
|
"description": ""
|
|
}
|
|
},
|
|
"schema": {
|
|
"$ref": "#/components/schemas/errors"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"patch": {
|
|
"summary": "Update a Tailoring",
|
|
"parameters": [
|
|
{
|
|
"name": "X-RH-IDENTITY",
|
|
"in": "header",
|
|
"schema": {
|
|
"type": "string"
|
|
},
|
|
"description": "For internal use only"
|
|
},
|
|
{
|
|
"name": "policy_id",
|
|
"in": "path",
|
|
"required": true,
|
|
"schema": {
|
|
"type": "string"
|
|
}
|
|
},
|
|
{
|
|
"name": "tailoring_id",
|
|
"in": "path",
|
|
"required": true,
|
|
"description": "UUID or OS minor version number",
|
|
"schema": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
],
|
|
"tags": [
|
|
"Policies"
|
|
],
|
|
"description": "Updates a Tailoring with the provided value_overrides",
|
|
"operationId": "UpdateTailoring",
|
|
"responses": {
|
|
"202": {
|
|
"description": "Updates a Tailoring",
|
|
"content": {
|
|
"application/vnd.api+json": {
|
|
"examples": {
|
|
"Returns the updated Tailoring": {
|
|
"value": {
|
|
"data": {
|
|
"id": "563a7c7d-9b71-43df-828b-16923c71dc7a",
|
|
"profile_id": "7ee878e5-5af2-425d-a147-e448d0c5c5af",
|
|
"os_minor_version": 1,
|
|
"value_overrides": {
|
|
"5ab2f3f3-867f-4118-a363-19619f079bf7": "123"
|
|
},
|
|
"type": "tailoring",
|
|
"os_major_version": 7,
|
|
"security_guide_id": "fd862ad7-b3cb-424c-ba49-839008ee38c2",
|
|
"security_guide_version": "100.99.14"
|
|
}
|
|
},
|
|
"summary": "",
|
|
"description": ""
|
|
}
|
|
},
|
|
"schema": {
|
|
"type": "object",
|
|
"properties": {
|
|
"data": {
|
|
"type": "object",
|
|
"properties": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/tailoring"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"requestBody": {
|
|
"content": {
|
|
"application/vnd.api+json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/tailoring"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"/policies/{policy_id}/tailorings/{tailoring_id}/tailoring_file.json": {
|
|
"get": {
|
|
"summary": "Request a Tailoring file",
|
|
"parameters": [
|
|
{
|
|
"name": "X-RH-IDENTITY",
|
|
"in": "header",
|
|
"schema": {
|
|
"type": "string"
|
|
},
|
|
"description": "For internal use only"
|
|
},
|
|
{
|
|
"name": "policy_id",
|
|
"in": "path",
|
|
"required": true,
|
|
"schema": {
|
|
"type": "string"
|
|
}
|
|
},
|
|
{
|
|
"name": "tailoring_id",
|
|
"in": "path",
|
|
"required": true,
|
|
"description": "UUID or OS minor version number",
|
|
"schema": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
],
|
|
"tags": [
|
|
"Policies"
|
|
],
|
|
"description": "Returns a Tailoring File",
|
|
"operationId": "TailoringFile",
|
|
"responses": {
|
|
"200": {
|
|
"description": "Returns a Tailoring File",
|
|
"content": {
|
|
"application/vnd.api+json": {
|
|
"examples": {
|
|
"Returns a Tailoring File": {
|
|
"value": {
|
|
"profiles": [
|
|
{
|
|
"id": "xccdf_org.ssgproject.content_profile_c9263efb0aa3fc9bb4e9118c799541a0",
|
|
"title": "Laudantium quod atque fugiat.",
|
|
"groups": {},
|
|
"rules": {},
|
|
"variables": {
|
|
"foo_value_d782712a-9820-4588-bbef-dcaf8f7d5c7b": {
|
|
"value": "357884"
|
|
},
|
|
"foo_value_113a1dbb-74a5-4e2f-a884-45c94c010030": {
|
|
"value": "788234"
|
|
}
|
|
}
|
|
}
|
|
]
|
|
},
|
|
"summary": "",
|
|
"description": ""
|
|
}
|
|
},
|
|
"schema": {
|
|
"$ref": "#/components/schemas/tailoring_file"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"/reports/{report_id}/test_results": {
|
|
"get": {
|
|
"summary": "Request Test Results under a Report",
|
|
"parameters": [
|
|
{
|
|
"name": "X-RH-IDENTITY",
|
|
"in": "header",
|
|
"schema": {
|
|
"type": "string"
|
|
},
|
|
"description": "For internal use only"
|
|
},
|
|
{
|
|
"name": "limit",
|
|
"in": "query",
|
|
"required": false,
|
|
"description": "Number of items to return per page",
|
|
"schema": {
|
|
"type": "number",
|
|
"maximum": 100,
|
|
"minimum": 1,
|
|
"default": 10
|
|
}
|
|
},
|
|
{
|
|
"name": "offset",
|
|
"in": "query",
|
|
"required": false,
|
|
"description": "Offset of first item of paginated response",
|
|
"schema": {
|
|
"type": "integer",
|
|
"minimum": 0,
|
|
"default": 0
|
|
}
|
|
},
|
|
{
|
|
"name": "ids_only",
|
|
"in": "query",
|
|
"required": false,
|
|
"description": "Indicates whether to return only resource IDs.",
|
|
"schema": {
|
|
"type": "boolean"
|
|
}
|
|
},
|
|
{
|
|
"name": "sort_by",
|
|
"in": "query",
|
|
"required": false,
|
|
"description": "Attribute and direction to sort the items by. Represented by an array of fields with an optional direction (`<key>:asc` or `<key>:desc`).<br><br>If no direction is selected, `<key>:asc` is used by default.",
|
|
"schema": {
|
|
"type": "array",
|
|
"items": {
|
|
"enum": [
|
|
"display_name",
|
|
"security_guide_version",
|
|
"groups",
|
|
"score",
|
|
"end_time",
|
|
"failed_rule_count",
|
|
"display_name:asc",
|
|
"display_name:desc",
|
|
"security_guide_version:asc",
|
|
"security_guide_version:desc",
|
|
"groups:asc",
|
|
"groups:desc",
|
|
"score:asc",
|
|
"score:desc",
|
|
"end_time:asc",
|
|
"end_time:desc",
|
|
"failed_rule_count:asc",
|
|
"failed_rule_count:desc"
|
|
]
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"name": "filter",
|
|
"in": "query",
|
|
"required": false,
|
|
"description": "Query string to filter items by their attributes. Compliant with <a href=\"https://github.com/wvanbergen/scoped_search/wiki/Query-language\" target=\"_blank\" title=\"github.com/wvanbergen/scoped_search\">scoped_search query language</a>. However, only `=` or `!=` (resp. `<>`) operators are supported.<br><br>Test Results are searchable using attributes `score`, `supported`, `system_id`, `display_name`, `os_minor_version`, `security_guide_version`, `compliant`, `group_name`, and `failed_rule_severity`<br><br>(e.g.: `(field_1=something AND field_2!=\"something else\") OR field_3>40`)",
|
|
"schema": {
|
|
"type": "string"
|
|
}
|
|
},
|
|
{
|
|
"name": "report_id",
|
|
"in": "path",
|
|
"required": true,
|
|
"schema": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
],
|
|
"tags": [
|
|
"Reports"
|
|
],
|
|
"description": "Lists Test Results under a Report",
|
|
"operationId": "ReportTestResults",
|
|
"responses": {
|
|
"200": {
|
|
"description": "Lists Test Results under a Report",
|
|
"content": {
|
|
"application/vnd.api+json": {
|
|
"examples": {
|
|
"List of Test Results": {
|
|
"value": {
|
|
"data": [
|
|
{
|
|
"id": "094e37a3-70d2-474c-8067-893332d0aca8",
|
|
"end_time": "2024-09-25T11:41:17.107Z",
|
|
"failed_rule_count": 0,
|
|
"supported": true,
|
|
"score": 49.87329940920298,
|
|
"type": "test_result",
|
|
"display_name": "fay.test",
|
|
"groups": [],
|
|
"tags": [
|
|
{
|
|
"key": "firewall",
|
|
"value": "bluetooth",
|
|
"namespace": "synthesizing"
|
|
},
|
|
{
|
|
"key": "circuit",
|
|
"value": "multi-byte",
|
|
"namespace": "quantifying"
|
|
},
|
|
{
|
|
"key": "card",
|
|
"value": "virtual",
|
|
"namespace": "backing up"
|
|
},
|
|
{
|
|
"key": "bus",
|
|
"value": "auxiliary",
|
|
"namespace": "compressing"
|
|
},
|
|
{
|
|
"key": "microchip",
|
|
"value": "redundant",
|
|
"namespace": "overriding"
|
|
}
|
|
],
|
|
"os_major_version": 8,
|
|
"os_minor_version": 0,
|
|
"compliant": false,
|
|
"system_id": "220c36a4-255c-4ba3-96c3-af48be147631",
|
|
"security_guide_version": "100.100.24"
|
|
},
|
|
{
|
|
"id": "139f633d-5780-41ad-8742-8e94dffe4321",
|
|
"end_time": "2024-09-25T11:41:17.097Z",
|
|
"failed_rule_count": 0,
|
|
"supported": true,
|
|
"score": 7.137332761318182,
|
|
"type": "test_result",
|
|
"display_name": "ebert.test",
|
|
"groups": [],
|
|
"tags": [
|
|
{
|
|
"key": "capacitor",
|
|
"value": "wireless",
|
|
"namespace": "calculating"
|
|
},
|
|
{
|
|
"key": "monitor",
|
|
"value": "cross-platform",
|
|
"namespace": "programming"
|
|
},
|
|
{
|
|
"key": "card",
|
|
"value": "online",
|
|
"namespace": "backing up"
|
|
},
|
|
{
|
|
"key": "firewall",
|
|
"value": "solid state",
|
|
"namespace": "navigating"
|
|
},
|
|
{
|
|
"key": "firewall",
|
|
"value": "cross-platform",
|
|
"namespace": "synthesizing"
|
|
}
|
|
],
|
|
"os_major_version": 8,
|
|
"os_minor_version": 0,
|
|
"compliant": false,
|
|
"system_id": "e905aeda-7051-46fe-9627-a3c6c0622bf9",
|
|
"security_guide_version": "100.100.24"
|
|
},
|
|
{
|
|
"id": "152db98f-008f-48ec-8242-30f785797ea1",
|
|
"end_time": "2024-09-25T11:41:17.077Z",
|
|
"failed_rule_count": 0,
|
|
"supported": true,
|
|
"score": 22.56235836381171,
|
|
"type": "test_result",
|
|
"display_name": "sanford-frami.example",
|
|
"groups": [],
|
|
"tags": [
|
|
{
|
|
"key": "capacitor",
|
|
"value": "solid state",
|
|
"namespace": "hacking"
|
|
},
|
|
{
|
|
"key": "capacitor",
|
|
"value": "bluetooth",
|
|
"namespace": "indexing"
|
|
},
|
|
{
|
|
"key": "application",
|
|
"value": "neural",
|
|
"namespace": "synthesizing"
|
|
},
|
|
{
|
|
"key": "application",
|
|
"value": "primary",
|
|
"namespace": "transmitting"
|
|
},
|
|
{
|
|
"key": "sensor",
|
|
"value": "bluetooth",
|
|
"namespace": "backing up"
|
|
}
|
|
],
|
|
"os_major_version": 8,
|
|
"os_minor_version": 0,
|
|
"compliant": false,
|
|
"system_id": "4caf64b5-3014-4097-8619-d03be8494058",
|
|
"security_guide_version": "100.100.24"
|
|
},
|
|
{
|
|
"id": "15829f78-2651-4b1a-93e1-5d257a6d5b1c",
|
|
"end_time": "2024-09-25T11:41:17.001Z",
|
|
"failed_rule_count": 0,
|
|
"supported": true,
|
|
"score": 48.26297842557384,
|
|
"type": "test_result",
|
|
"display_name": "sanford.example",
|
|
"groups": [],
|
|
"tags": [
|
|
{
|
|
"key": "bandwidth",
|
|
"value": "digital",
|
|
"namespace": "navigating"
|
|
},
|
|
{
|
|
"key": "interface",
|
|
"value": "haptic",
|
|
"namespace": "quantifying"
|
|
},
|
|
{
|
|
"key": "firewall",
|
|
"value": "neural",
|
|
"namespace": "indexing"
|
|
},
|
|
{
|
|
"key": "sensor",
|
|
"value": "cross-platform",
|
|
"namespace": "generating"
|
|
},
|
|
{
|
|
"key": "capacitor",
|
|
"value": "1080p",
|
|
"namespace": "transmitting"
|
|
}
|
|
],
|
|
"os_major_version": 8,
|
|
"os_minor_version": 0,
|
|
"compliant": false,
|
|
"system_id": "d010ca7b-f8ce-433d-a3e8-fc42533e2c5d",
|
|
"security_guide_version": "100.100.24"
|
|
},
|
|
{
|
|
"id": "1ffcd257-55bb-41c8-968f-6941f9759073",
|
|
"end_time": "2024-09-25T11:41:17.043Z",
|
|
"failed_rule_count": 0,
|
|
"supported": true,
|
|
"score": 49.40233515718005,
|
|
"type": "test_result",
|
|
"display_name": "abshire.test",
|
|
"groups": [],
|
|
"tags": [
|
|
{
|
|
"key": "transmitter",
|
|
"value": "1080p",
|
|
"namespace": "programming"
|
|
},
|
|
{
|
|
"key": "sensor",
|
|
"value": "bluetooth",
|
|
"namespace": "programming"
|
|
},
|
|
{
|
|
"key": "card",
|
|
"value": "neural",
|
|
"namespace": "quantifying"
|
|
},
|
|
{
|
|
"key": "port",
|
|
"value": "digital",
|
|
"namespace": "quantifying"
|
|
},
|
|
{
|
|
"key": "array",
|
|
"value": "multi-byte",
|
|
"namespace": "indexing"
|
|
}
|
|
],
|
|
"os_major_version": 8,
|
|
"os_minor_version": 0,
|
|
"compliant": false,
|
|
"system_id": "3e444e32-f037-4f76-91e7-1a3d189cab1b",
|
|
"security_guide_version": "100.100.24"
|
|
},
|
|
{
|
|
"id": "4296923f-4dbd-422c-ad6b-6a7ef71fd67c",
|
|
"end_time": "2024-09-25T11:41:17.033Z",
|
|
"failed_rule_count": 0,
|
|
"supported": true,
|
|
"score": 23.41372018527985,
|
|
"type": "test_result",
|
|
"display_name": "mann.example",
|
|
"groups": [],
|
|
"tags": [
|
|
{
|
|
"key": "monitor",
|
|
"value": "redundant",
|
|
"namespace": "hacking"
|
|
},
|
|
{
|
|
"key": "firewall",
|
|
"value": "1080p",
|
|
"namespace": "indexing"
|
|
},
|
|
{
|
|
"key": "feed",
|
|
"value": "wireless",
|
|
"namespace": "connecting"
|
|
},
|
|
{
|
|
"key": "sensor",
|
|
"value": "multi-byte",
|
|
"namespace": "compressing"
|
|
},
|
|
{
|
|
"key": "circuit",
|
|
"value": "primary",
|
|
"namespace": "bypassing"
|
|
}
|
|
],
|
|
"os_major_version": 8,
|
|
"os_minor_version": 0,
|
|
"compliant": false,
|
|
"system_id": "11ba8824-7fbd-4a61-b460-ef2a279afa36",
|
|
"security_guide_version": "100.100.24"
|
|
},
|
|
{
|
|
"id": "4d037748-a720-4835-b14e-5ad4ae008ba5",
|
|
"end_time": "2024-09-25T11:41:17.027Z",
|
|
"failed_rule_count": 0,
|
|
"supported": true,
|
|
"score": 13.1950724107912,
|
|
"type": "test_result",
|
|
"display_name": "beier.example",
|
|
"groups": [],
|
|
"tags": [
|
|
{
|
|
"key": "matrix",
|
|
"value": "digital",
|
|
"namespace": "connecting"
|
|
},
|
|
{
|
|
"key": "panel",
|
|
"value": "back-end",
|
|
"namespace": "bypassing"
|
|
},
|
|
{
|
|
"key": "feed",
|
|
"value": "open-source",
|
|
"namespace": "navigating"
|
|
},
|
|
{
|
|
"key": "capacitor",
|
|
"value": "digital",
|
|
"namespace": "connecting"
|
|
},
|
|
{
|
|
"key": "card",
|
|
"value": "solid state",
|
|
"namespace": "copying"
|
|
}
|
|
],
|
|
"os_major_version": 8,
|
|
"os_minor_version": 0,
|
|
"compliant": false,
|
|
"system_id": "178b23e6-6189-4b0c-8a45-84e40420246f",
|
|
"security_guide_version": "100.100.24"
|
|
},
|
|
{
|
|
"id": "50ff9cd9-1f74-4450-9138-80188626af04",
|
|
"end_time": "2024-09-25T11:41:16.979Z",
|
|
"failed_rule_count": 0,
|
|
"supported": true,
|
|
"score": 37.82714382013168,
|
|
"type": "test_result",
|
|
"display_name": "macejkovic.example",
|
|
"groups": [],
|
|
"tags": [
|
|
{
|
|
"key": "interface",
|
|
"value": "open-source",
|
|
"namespace": "overriding"
|
|
},
|
|
{
|
|
"key": "hard drive",
|
|
"value": "virtual",
|
|
"namespace": "parsing"
|
|
},
|
|
{
|
|
"key": "array",
|
|
"value": "back-end",
|
|
"namespace": "generating"
|
|
},
|
|
{
|
|
"key": "interface",
|
|
"value": "1080p",
|
|
"namespace": "compressing"
|
|
},
|
|
{
|
|
"key": "matrix",
|
|
"value": "cross-platform",
|
|
"namespace": "compressing"
|
|
}
|
|
],
|
|
"os_major_version": 8,
|
|
"os_minor_version": 0,
|
|
"compliant": false,
|
|
"system_id": "102a6ed4-d5a3-4658-a6e2-e9737c21e8f2",
|
|
"security_guide_version": "100.100.24"
|
|
},
|
|
{
|
|
"id": "67da7632-9b4c-4517-bc3a-8ba059bda786",
|
|
"end_time": "2024-09-25T11:41:16.995Z",
|
|
"failed_rule_count": 0,
|
|
"supported": true,
|
|
"score": 25.61994326653861,
|
|
"type": "test_result",
|
|
"display_name": "cartwright.test",
|
|
"groups": [],
|
|
"tags": [
|
|
{
|
|
"key": "port",
|
|
"value": "haptic",
|
|
"namespace": "programming"
|
|
},
|
|
{
|
|
"key": "transmitter",
|
|
"value": "virtual",
|
|
"namespace": "connecting"
|
|
},
|
|
{
|
|
"key": "matrix",
|
|
"value": "optical",
|
|
"namespace": "indexing"
|
|
},
|
|
{
|
|
"key": "hard drive",
|
|
"value": "solid state",
|
|
"namespace": "synthesizing"
|
|
},
|
|
{
|
|
"key": "port",
|
|
"value": "digital",
|
|
"namespace": "compressing"
|
|
}
|
|
],
|
|
"os_major_version": 8,
|
|
"os_minor_version": 0,
|
|
"compliant": false,
|
|
"system_id": "d46b8c3d-aed1-4b1f-a42f-725aa7890a26",
|
|
"security_guide_version": "100.100.24"
|
|
},
|
|
{
|
|
"id": "67e3e4d9-0c60-4c44-a148-7daa9d5251e6",
|
|
"end_time": "2024-09-25T11:41:17.054Z",
|
|
"failed_rule_count": 0,
|
|
"supported": true,
|
|
"score": 59.72677773354331,
|
|
"type": "test_result",
|
|
"display_name": "torp.test",
|
|
"groups": [],
|
|
"tags": [
|
|
{
|
|
"key": "interface",
|
|
"value": "neural",
|
|
"namespace": "navigating"
|
|
},
|
|
{
|
|
"key": "panel",
|
|
"value": "auxiliary",
|
|
"namespace": "transmitting"
|
|
},
|
|
{
|
|
"key": "bus",
|
|
"value": "auxiliary",
|
|
"namespace": "connecting"
|
|
},
|
|
{
|
|
"key": "pixel",
|
|
"value": "virtual",
|
|
"namespace": "calculating"
|
|
},
|
|
{
|
|
"key": "transmitter",
|
|
"value": "online",
|
|
"namespace": "parsing"
|
|
}
|
|
],
|
|
"os_major_version": 8,
|
|
"os_minor_version": 0,
|
|
"compliant": false,
|
|
"system_id": "9bda32f0-12a8-49ca-a3c6-24a6a42dd4a4",
|
|
"security_guide_version": "100.100.24"
|
|
}
|
|
],
|
|
"meta": {
|
|
"total": 25,
|
|
"limit": 10,
|
|
"offset": 0
|
|
},
|
|
"links": {
|
|
"first": "/api/compliance/v2/reports/fec6c710-938e-4084-b536-7ee0ea29eced/test_results?limit=10&offset=0",
|
|
"last": "/api/compliance/v2/reports/fec6c710-938e-4084-b536-7ee0ea29eced/test_results?limit=10&offset=20",
|
|
"next": "/api/compliance/v2/reports/fec6c710-938e-4084-b536-7ee0ea29eced/test_results?limit=10&offset=10"
|
|
}
|
|
},
|
|
"summary": "",
|
|
"description": ""
|
|
},
|
|
"List of Test Results sorted by \"score:asc\"": {
|
|
"value": {
|
|
"data": [
|
|
{
|
|
"id": "247b4588-b572-46ad-b6f3-c906c3c20935",
|
|
"end_time": "2024-09-25T11:41:17.466Z",
|
|
"failed_rule_count": 0,
|
|
"supported": true,
|
|
"score": 3.469591818981476,
|
|
"type": "test_result",
|
|
"display_name": "bernhard-weissnat.example",
|
|
"groups": [],
|
|
"tags": [
|
|
{
|
|
"key": "application",
|
|
"value": "online",
|
|
"namespace": "copying"
|
|
},
|
|
{
|
|
"key": "port",
|
|
"value": "digital",
|
|
"namespace": "overriding"
|
|
},
|
|
{
|
|
"key": "feed",
|
|
"value": "primary",
|
|
"namespace": "overriding"
|
|
},
|
|
{
|
|
"key": "card",
|
|
"value": "1080p",
|
|
"namespace": "navigating"
|
|
},
|
|
{
|
|
"key": "firewall",
|
|
"value": "mobile",
|
|
"namespace": "navigating"
|
|
}
|
|
],
|
|
"os_major_version": 8,
|
|
"os_minor_version": 0,
|
|
"compliant": false,
|
|
"system_id": "303bee2a-1ec3-411f-ba46-77e209503b4e",
|
|
"security_guide_version": "100.101.39"
|
|
},
|
|
{
|
|
"id": "77a428b4-e7ae-4322-ba15-9e1b84ec1d82",
|
|
"end_time": "2024-09-25T11:41:17.348Z",
|
|
"failed_rule_count": 0,
|
|
"supported": true,
|
|
"score": 4.487718881693691,
|
|
"type": "test_result",
|
|
"display_name": "conn-rempel.test",
|
|
"groups": [],
|
|
"tags": [
|
|
{
|
|
"key": "hard drive",
|
|
"value": "primary",
|
|
"namespace": "parsing"
|
|
},
|
|
{
|
|
"key": "application",
|
|
"value": "primary",
|
|
"namespace": "overriding"
|
|
},
|
|
{
|
|
"key": "hard drive",
|
|
"value": "solid state",
|
|
"namespace": "backing up"
|
|
},
|
|
{
|
|
"key": "monitor",
|
|
"value": "primary",
|
|
"namespace": "hacking"
|
|
},
|
|
{
|
|
"key": "pixel",
|
|
"value": "cross-platform",
|
|
"namespace": "bypassing"
|
|
}
|
|
],
|
|
"os_major_version": 8,
|
|
"os_minor_version": 0,
|
|
"compliant": false,
|
|
"system_id": "aab088d3-dce4-484a-96a1-2e0a9c88b1d0",
|
|
"security_guide_version": "100.101.39"
|
|
},
|
|
{
|
|
"id": "9a9cd90e-d0ac-4216-93b1-075ef4566ffe",
|
|
"end_time": "2024-09-25T11:41:17.396Z",
|
|
"failed_rule_count": 0,
|
|
"supported": true,
|
|
"score": 4.772400968065726,
|
|
"type": "test_result",
|
|
"display_name": "carroll.example",
|
|
"groups": [],
|
|
"tags": [
|
|
{
|
|
"key": "bus",
|
|
"value": "optical",
|
|
"namespace": "transmitting"
|
|
},
|
|
{
|
|
"key": "matrix",
|
|
"value": "optical",
|
|
"namespace": "overriding"
|
|
},
|
|
{
|
|
"key": "transmitter",
|
|
"value": "online",
|
|
"namespace": "indexing"
|
|
},
|
|
{
|
|
"key": "circuit",
|
|
"value": "redundant",
|
|
"namespace": "copying"
|
|
},
|
|
{
|
|
"key": "firewall",
|
|
"value": "mobile",
|
|
"namespace": "calculating"
|
|
}
|
|
],
|
|
"os_major_version": 8,
|
|
"os_minor_version": 0,
|
|
"compliant": false,
|
|
"system_id": "ac1f7aac-52c1-4c49-9459-a335dd671c32",
|
|
"security_guide_version": "100.101.39"
|
|
},
|
|
{
|
|
"id": "01859c97-0a95-4986-9f9f-1259e0face24",
|
|
"end_time": "2024-09-25T11:41:17.353Z",
|
|
"failed_rule_count": 0,
|
|
"supported": true,
|
|
"score": 11.25318118858627,
|
|
"type": "test_result",
|
|
"display_name": "pfeffer-nienow.example",
|
|
"groups": [],
|
|
"tags": [
|
|
{
|
|
"key": "firewall",
|
|
"value": "back-end",
|
|
"namespace": "copying"
|
|
},
|
|
{
|
|
"key": "sensor",
|
|
"value": "wireless",
|
|
"namespace": "programming"
|
|
},
|
|
{
|
|
"key": "matrix",
|
|
"value": "wireless",
|
|
"namespace": "backing up"
|
|
},
|
|
{
|
|
"key": "array",
|
|
"value": "virtual",
|
|
"namespace": "indexing"
|
|
},
|
|
{
|
|
"key": "bus",
|
|
"value": "cross-platform",
|
|
"namespace": "synthesizing"
|
|
}
|
|
],
|
|
"os_major_version": 8,
|
|
"os_minor_version": 0,
|
|
"compliant": false,
|
|
"system_id": "492cf3c0-8c1b-4f9c-8bd0-90f9f6f81ca6",
|
|
"security_guide_version": "100.101.39"
|
|
},
|
|
{
|
|
"id": "949b2a8f-773c-4f40-85d9-b84f84113dd6",
|
|
"end_time": "2024-09-25T11:41:17.402Z",
|
|
"failed_rule_count": 0,
|
|
"supported": true,
|
|
"score": 12.34864427685453,
|
|
"type": "test_result",
|
|
"display_name": "daniel.test",
|
|
"groups": [],
|
|
"tags": [
|
|
{
|
|
"key": "bus",
|
|
"value": "multi-byte",
|
|
"namespace": "programming"
|
|
},
|
|
{
|
|
"key": "program",
|
|
"value": "bluetooth",
|
|
"namespace": "copying"
|
|
},
|
|
{
|
|
"key": "capacitor",
|
|
"value": "multi-byte",
|
|
"namespace": "copying"
|
|
},
|
|
{
|
|
"key": "application",
|
|
"value": "1080p",
|
|
"namespace": "compressing"
|
|
},
|
|
{
|
|
"key": "transmitter",
|
|
"value": "auxiliary",
|
|
"namespace": "navigating"
|
|
}
|
|
],
|
|
"os_major_version": 8,
|
|
"os_minor_version": 0,
|
|
"compliant": false,
|
|
"system_id": "ac2b63ab-f200-4e59-a81a-27451f5105e6",
|
|
"security_guide_version": "100.101.39"
|
|
},
|
|
{
|
|
"id": "edf05597-c5b0-4895-be3e-84e6636fcafe",
|
|
"end_time": "2024-09-25T11:41:17.408Z",
|
|
"failed_rule_count": 0,
|
|
"supported": true,
|
|
"score": 21.27294863863432,
|
|
"type": "test_result",
|
|
"display_name": "harris.example",
|
|
"groups": [],
|
|
"tags": [
|
|
{
|
|
"key": "microchip",
|
|
"value": "digital",
|
|
"namespace": "programming"
|
|
},
|
|
{
|
|
"key": "array",
|
|
"value": "multi-byte",
|
|
"namespace": "copying"
|
|
},
|
|
{
|
|
"key": "system",
|
|
"value": "virtual",
|
|
"namespace": "indexing"
|
|
},
|
|
{
|
|
"key": "system",
|
|
"value": "back-end",
|
|
"namespace": "synthesizing"
|
|
},
|
|
{
|
|
"key": "feed",
|
|
"value": "haptic",
|
|
"namespace": "indexing"
|
|
}
|
|
],
|
|
"os_major_version": 8,
|
|
"os_minor_version": 0,
|
|
"compliant": false,
|
|
"system_id": "6578085b-de2f-4cc9-af2a-6594e9309456",
|
|
"security_guide_version": "100.101.39"
|
|
},
|
|
{
|
|
"id": "f12a6fa5-4b4d-42f8-8282-be036d16de8f",
|
|
"end_time": "2024-09-25T11:41:17.378Z",
|
|
"failed_rule_count": 0,
|
|
"supported": true,
|
|
"score": 25.30470248366856,
|
|
"type": "test_result",
|
|
"display_name": "reichel-erdman.test",
|
|
"groups": [],
|
|
"tags": [
|
|
{
|
|
"key": "port",
|
|
"value": "1080p",
|
|
"namespace": "hacking"
|
|
},
|
|
{
|
|
"key": "hard drive",
|
|
"value": "cross-platform",
|
|
"namespace": "parsing"
|
|
},
|
|
{
|
|
"key": "capacitor",
|
|
"value": "digital",
|
|
"namespace": "synthesizing"
|
|
},
|
|
{
|
|
"key": "feed",
|
|
"value": "auxiliary",
|
|
"namespace": "programming"
|
|
},
|
|
{
|
|
"key": "bandwidth",
|
|
"value": "1080p",
|
|
"namespace": "synthesizing"
|
|
}
|
|
],
|
|
"os_major_version": 8,
|
|
"os_minor_version": 0,
|
|
"compliant": false,
|
|
"system_id": "d28a01cf-6345-4a3e-8cc0-8a103dba844a",
|
|
"security_guide_version": "100.101.39"
|
|
},
|
|
{
|
|
"id": "56368254-637b-4bb5-8a6e-7594ed229d0f",
|
|
"end_time": "2024-09-25T11:41:17.342Z",
|
|
"failed_rule_count": 0,
|
|
"supported": true,
|
|
"score": 28.05547053560399,
|
|
"type": "test_result",
|
|
"display_name": "sporer.example",
|
|
"groups": [],
|
|
"tags": [
|
|
{
|
|
"key": "protocol",
|
|
"value": "1080p",
|
|
"namespace": "hacking"
|
|
},
|
|
{
|
|
"key": "application",
|
|
"value": "primary",
|
|
"namespace": "navigating"
|
|
},
|
|
{
|
|
"key": "interface",
|
|
"value": "optical",
|
|
"namespace": "overriding"
|
|
},
|
|
{
|
|
"key": "hard drive",
|
|
"value": "neural",
|
|
"namespace": "programming"
|
|
},
|
|
{
|
|
"key": "system",
|
|
"value": "back-end",
|
|
"namespace": "navigating"
|
|
}
|
|
],
|
|
"os_major_version": 8,
|
|
"os_minor_version": 0,
|
|
"compliant": false,
|
|
"system_id": "b4d49c6b-efa2-45ca-9850-ea31a07bdcf7",
|
|
"security_guide_version": "100.101.39"
|
|
},
|
|
{
|
|
"id": "272dd548-4092-4498-a2bd-e391e3da62b0",
|
|
"end_time": "2024-09-25T11:41:17.435Z",
|
|
"failed_rule_count": 0,
|
|
"supported": true,
|
|
"score": 32.08012623377915,
|
|
"type": "test_result",
|
|
"display_name": "zulauf-leffler.test",
|
|
"groups": [],
|
|
"tags": [
|
|
{
|
|
"key": "protocol",
|
|
"value": "open-source",
|
|
"namespace": "generating"
|
|
},
|
|
{
|
|
"key": "transmitter",
|
|
"value": "back-end",
|
|
"namespace": "programming"
|
|
},
|
|
{
|
|
"key": "monitor",
|
|
"value": "mobile",
|
|
"namespace": "hacking"
|
|
},
|
|
{
|
|
"key": "circuit",
|
|
"value": "mobile",
|
|
"namespace": "backing up"
|
|
},
|
|
{
|
|
"key": "application",
|
|
"value": "redundant",
|
|
"namespace": "quantifying"
|
|
}
|
|
],
|
|
"os_major_version": 8,
|
|
"os_minor_version": 0,
|
|
"compliant": false,
|
|
"system_id": "6e80a196-3abd-4720-a283-1b4d35684a46",
|
|
"security_guide_version": "100.101.39"
|
|
},
|
|
{
|
|
"id": "41a78584-ca9a-4486-8aa9-a62a5248918d",
|
|
"end_time": "2024-09-25T11:41:17.424Z",
|
|
"failed_rule_count": 0,
|
|
"supported": true,
|
|
"score": 33.00673012866084,
|
|
"type": "test_result",
|
|
"display_name": "brakus.example",
|
|
"groups": [],
|
|
"tags": [
|
|
{
|
|
"key": "driver",
|
|
"value": "wireless",
|
|
"namespace": "synthesizing"
|
|
},
|
|
{
|
|
"key": "matrix",
|
|
"value": "online",
|
|
"namespace": "overriding"
|
|
},
|
|
{
|
|
"key": "bandwidth",
|
|
"value": "optical",
|
|
"namespace": "quantifying"
|
|
},
|
|
{
|
|
"key": "driver",
|
|
"value": "multi-byte",
|
|
"namespace": "generating"
|
|
},
|
|
{
|
|
"key": "transmitter",
|
|
"value": "bluetooth",
|
|
"namespace": "connecting"
|
|
}
|
|
],
|
|
"os_major_version": 8,
|
|
"os_minor_version": 0,
|
|
"compliant": false,
|
|
"system_id": "7863a4b8-15a2-4cb1-b478-eafc4546e1e0",
|
|
"security_guide_version": "100.101.39"
|
|
}
|
|
],
|
|
"meta": {
|
|
"total": 25,
|
|
"limit": 10,
|
|
"offset": 0,
|
|
"sort_by": "score"
|
|
},
|
|
"links": {
|
|
"first": "/api/compliance/v2/reports/95edb18a-49b5-42f8-84b8-b5ec4f12c065/test_results?limit=10&offset=0&sort_by=score",
|
|
"last": "/api/compliance/v2/reports/95edb18a-49b5-42f8-84b8-b5ec4f12c065/test_results?limit=10&offset=20&sort_by=score",
|
|
"next": "/api/compliance/v2/reports/95edb18a-49b5-42f8-84b8-b5ec4f12c065/test_results?limit=10&offset=10&sort_by=score"
|
|
}
|
|
},
|
|
"summary": "",
|
|
"description": ""
|
|
},
|
|
"List of Test Results filtered by \"(os_minor_version=8)\"": {
|
|
"value": {
|
|
"data": [],
|
|
"meta": {
|
|
"total": 0,
|
|
"filter": "(os_minor_version=8)",
|
|
"limit": 10,
|
|
"offset": 0
|
|
},
|
|
"links": {
|
|
"first": "/api/compliance/v2/reports/81d325bf-d783-436d-be00-16b9b36e2d70/test_results?filter=%28os_minor_version%3D8%29&limit=10&offset=0",
|
|
"last": "/api/compliance/v2/reports/81d325bf-d783-436d-be00-16b9b36e2d70/test_results?filter=%28os_minor_version%3D8%29&limit=10&offset=0"
|
|
}
|
|
},
|
|
"summary": "",
|
|
"description": ""
|
|
}
|
|
},
|
|
"schema": {
|
|
"type": "object",
|
|
"properties": {
|
|
"meta": {
|
|
"$ref": "#/components/schemas/metadata"
|
|
},
|
|
"links": {
|
|
"$ref": "#/components/schemas/links"
|
|
},
|
|
"data": {
|
|
"type": "array",
|
|
"items": {
|
|
"properties": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/test_result"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"422": {
|
|
"description": "Returns with Unprocessable Content",
|
|
"content": {
|
|
"application/vnd.api+json": {
|
|
"examples": {
|
|
"Description of an error when sorting by incorrect parameter": {
|
|
"value": {
|
|
"errors": [
|
|
"Result cannot be sorted by the 'description' column."
|
|
]
|
|
},
|
|
"summary": "",
|
|
"description": ""
|
|
},
|
|
"Description of an error when requesting higher limit than supported": {
|
|
"value": {
|
|
"errors": [
|
|
"Invalid parameter: limit must be less than or equal to 100"
|
|
]
|
|
},
|
|
"summary": "",
|
|
"description": ""
|
|
}
|
|
},
|
|
"schema": {
|
|
"$ref": "#/components/schemas/errors"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"/reports/{report_id}/test_results/os_versions": {
|
|
"get": {
|
|
"summary": "Request the list of available OS versions",
|
|
"parameters": [
|
|
{
|
|
"name": "X-RH-IDENTITY",
|
|
"in": "header",
|
|
"schema": {
|
|
"type": "string"
|
|
},
|
|
"description": "For internal use only"
|
|
},
|
|
{
|
|
"name": "filter",
|
|
"in": "query",
|
|
"required": false,
|
|
"description": "Query string to filter items by their attributes. Compliant with <a href=\"https://github.com/wvanbergen/scoped_search/wiki/Query-language\" target=\"_blank\" title=\"github.com/wvanbergen/scoped_search\">scoped_search query language</a>. However, only `=` or `!=` (resp. `<>`) operators are supported.<br><br>Test Results are searchable using attributes `score`, `supported`, `system_id`, `display_name`, `os_minor_version`, `security_guide_version`, `compliant`, `group_name`, and `failed_rule_severity`<br><br>(e.g.: `(field_1=something AND field_2!=\"something else\") OR field_3>40`)",
|
|
"schema": {
|
|
"type": "string"
|
|
}
|
|
},
|
|
{
|
|
"name": "report_id",
|
|
"in": "path",
|
|
"required": true,
|
|
"schema": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
],
|
|
"tags": [
|
|
"Reports"
|
|
],
|
|
"description": "This feature is exclusively used by the frontend",
|
|
"operationId": "ReportTestResultsOS",
|
|
"deprecated": true,
|
|
"responses": {
|
|
"200": {
|
|
"description": "Lists available OS versions",
|
|
"content": {
|
|
"application/vnd.api+json": {
|
|
"examples": {
|
|
"List of available OS versions": {
|
|
"value": [
|
|
"8.0"
|
|
],
|
|
"summary": "",
|
|
"description": ""
|
|
}
|
|
},
|
|
"schema": {
|
|
"type": "array",
|
|
"items": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"/reports/{report_id}/test_results/{test_result_id}": {
|
|
"get": {
|
|
"summary": "Request a Test Result",
|
|
"parameters": [
|
|
{
|
|
"name": "X-RH-IDENTITY",
|
|
"in": "header",
|
|
"schema": {
|
|
"type": "string"
|
|
},
|
|
"description": "For internal use only"
|
|
},
|
|
{
|
|
"name": "test_result_id",
|
|
"in": "path",
|
|
"required": true,
|
|
"schema": {
|
|
"type": "string"
|
|
}
|
|
},
|
|
{
|
|
"name": "report_id",
|
|
"in": "path",
|
|
"required": true,
|
|
"schema": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
],
|
|
"tags": [
|
|
"Reports"
|
|
],
|
|
"description": "Returns a Test Result under a Report",
|
|
"operationId": "ReportTestResult",
|
|
"responses": {
|
|
"200": {
|
|
"description": "Returns a Test Result under a Report",
|
|
"content": {
|
|
"application/vnd.api+json": {
|
|
"examples": {
|
|
"Returns a Test Result under a Report": {
|
|
"value": {
|
|
"data": {
|
|
"id": "df30a205-8652-4f90-9a40-171877aba6fb",
|
|
"end_time": "2024-09-25T11:41:19.058Z",
|
|
"failed_rule_count": 0,
|
|
"supported": true,
|
|
"score": 12.17746738807808,
|
|
"type": "test_result",
|
|
"display_name": "christiansen-heathcote.test",
|
|
"groups": [],
|
|
"tags": [
|
|
{
|
|
"key": "protocol",
|
|
"value": "primary",
|
|
"namespace": "programming"
|
|
},
|
|
{
|
|
"key": "microchip",
|
|
"value": "bluetooth",
|
|
"namespace": "programming"
|
|
},
|
|
{
|
|
"key": "array",
|
|
"value": "wireless",
|
|
"namespace": "backing up"
|
|
},
|
|
{
|
|
"key": "driver",
|
|
"value": "cross-platform",
|
|
"namespace": "hacking"
|
|
},
|
|
{
|
|
"key": "card",
|
|
"value": "digital",
|
|
"namespace": "hacking"
|
|
}
|
|
],
|
|
"os_major_version": 8,
|
|
"os_minor_version": 0,
|
|
"compliant": false,
|
|
"system_id": "efc5b892-f74f-4a31-8728-03ccb146b04f",
|
|
"security_guide_version": "100.108.16"
|
|
}
|
|
},
|
|
"summary": "",
|
|
"description": ""
|
|
}
|
|
},
|
|
"schema": {
|
|
"type": "object",
|
|
"properties": {
|
|
"data": {
|
|
"type": "object",
|
|
"properties": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/system"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"404": {
|
|
"description": "Returns with Not Found",
|
|
"content": {
|
|
"application/vnd.api+json": {
|
|
"examples": {
|
|
"Description of an error when requesting a non-existing Test Result": {
|
|
"value": {
|
|
"errors": [
|
|
"V2::TestResult not found with ID f09e1407-b8c5-4784-b2d3-40e6ec07a539"
|
|
]
|
|
},
|
|
"summary": "",
|
|
"description": ""
|
|
}
|
|
},
|
|
"schema": {
|
|
"$ref": "#/components/schemas/errors"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"/security_guides/{security_guide_id}/value_definitions": {
|
|
"get": {
|
|
"summary": "Request Value Definitions",
|
|
"parameters": [
|
|
{
|
|
"name": "X-RH-IDENTITY",
|
|
"in": "header",
|
|
"schema": {
|
|
"type": "string"
|
|
},
|
|
"description": "For internal use only"
|
|
},
|
|
{
|
|
"name": "limit",
|
|
"in": "query",
|
|
"required": false,
|
|
"description": "Number of items to return per page",
|
|
"schema": {
|
|
"type": "number",
|
|
"maximum": 100,
|
|
"minimum": 1,
|
|
"default": 10
|
|
}
|
|
},
|
|
{
|
|
"name": "offset",
|
|
"in": "query",
|
|
"required": false,
|
|
"description": "Offset of first item of paginated response",
|
|
"schema": {
|
|
"type": "integer",
|
|
"minimum": 0,
|
|
"default": 0
|
|
}
|
|
},
|
|
{
|
|
"name": "ids_only",
|
|
"in": "query",
|
|
"required": false,
|
|
"description": "Indicates whether to return only resource IDs.",
|
|
"schema": {
|
|
"type": "boolean"
|
|
}
|
|
},
|
|
{
|
|
"name": "sort_by",
|
|
"in": "query",
|
|
"required": false,
|
|
"description": "Attribute and direction to sort the items by. Represented by an array of fields with an optional direction (`<key>:asc` or `<key>:desc`).<br><br>If no direction is selected, `<key>:asc` is used by default.",
|
|
"schema": {
|
|
"type": "array",
|
|
"items": {
|
|
"enum": [
|
|
"title",
|
|
"title:asc",
|
|
"title:desc"
|
|
]
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"name": "filter",
|
|
"in": "query",
|
|
"required": false,
|
|
"description": "Query string to filter items by their attributes. Compliant with <a href=\"https://github.com/wvanbergen/scoped_search/wiki/Query-language\" target=\"_blank\" title=\"github.com/wvanbergen/scoped_search\">scoped_search query language</a>. However, only `=` or `!=` (resp. `<>`) operators are supported.<br><br>Value Definitions are searchable using attributes `title` and `ref_id`<br><br>(e.g.: `(field_1=something AND field_2!=\"something else\") OR field_3>40`)",
|
|
"schema": {
|
|
"type": "string"
|
|
}
|
|
},
|
|
{
|
|
"name": "security_guide_id",
|
|
"in": "path",
|
|
"required": true,
|
|
"schema": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
],
|
|
"tags": [
|
|
"Content"
|
|
],
|
|
"description": "Lists Value Definitions",
|
|
"operationId": "ValueDefinitions",
|
|
"responses": {
|
|
"200": {
|
|
"description": "Lists Value Definitions",
|
|
"content": {
|
|
"application/vnd.api+json": {
|
|
"examples": {
|
|
"List of Value Definitions": {
|
|
"value": {
|
|
"data": [
|
|
{
|
|
"id": "0c28b583-3f40-463c-92bb-1eb4f98d3bc5",
|
|
"ref_id": "foo_value_9ad80e7c-03a7-4a1a-99b1-6702a14d38fa",
|
|
"title": "Nam quidem omnis tempora.",
|
|
"description": "Aliquid quis quia. Rem dolorum explicabo. Qui est ut.",
|
|
"value_type": "number",
|
|
"default_value": "0.4737312148369711",
|
|
"type": "value_definition"
|
|
},
|
|
{
|
|
"id": "1f72b163-66be-4cec-a8b5-a99ddd6f9b08",
|
|
"ref_id": "foo_value_ec4e553b-c3d8-4846-aa73-f22f84ac628a",
|
|
"title": "Voluptatibus qui nobis ex.",
|
|
"description": "Rerum dolorem quis. Ut accusantium velit. Repellendus quam ut.",
|
|
"value_type": "number",
|
|
"default_value": "0.021013258278910873",
|
|
"type": "value_definition"
|
|
},
|
|
{
|
|
"id": "29f30a0d-2066-493f-b23f-7bc7c663c80a",
|
|
"ref_id": "foo_value_4423b678-a460-4245-8d7d-c5d261920390",
|
|
"title": "Doloribus voluptas velit praesentium.",
|
|
"description": "Quis rerum quis. Impedit omnis illo. Unde eum officia.",
|
|
"value_type": "number",
|
|
"default_value": "0.23036547146049124",
|
|
"type": "value_definition"
|
|
},
|
|
{
|
|
"id": "30bb6cdd-6af7-4b65-9ebe-560fb7c33af2",
|
|
"ref_id": "foo_value_24b8fa9d-6a13-4b87-8cc4-dd6c3294aa3e",
|
|
"title": "Ea rerum velit in.",
|
|
"description": "In rem explicabo. Veritatis velit aut. Minima error numquam.",
|
|
"value_type": "number",
|
|
"default_value": "0.23256745164249626",
|
|
"type": "value_definition"
|
|
},
|
|
{
|
|
"id": "3757e478-acbf-4c3c-8794-8848f6c7faf0",
|
|
"ref_id": "foo_value_2e619c8a-3c22-4158-8ee9-13f52d878fe4",
|
|
"title": "Error nam dicta labore.",
|
|
"description": "Ea et omnis. Aliquid corporis voluptatem. Est hic repudiandae.",
|
|
"value_type": "number",
|
|
"default_value": "0.6603409082089645",
|
|
"type": "value_definition"
|
|
},
|
|
{
|
|
"id": "378a15ad-ece0-46bb-9157-07d6980564ac",
|
|
"ref_id": "foo_value_c49784f7-bb8b-49b8-9223-d4aadd458a22",
|
|
"title": "Nesciunt amet incidunt vel.",
|
|
"description": "Corporis nihil incidunt. Nisi et sunt. Quisquam laborum et.",
|
|
"value_type": "number",
|
|
"default_value": "0.9043573754952958",
|
|
"type": "value_definition"
|
|
},
|
|
{
|
|
"id": "4037cdd9-0936-46e6-9d1e-44611744cc74",
|
|
"ref_id": "foo_value_cef04084-304a-4ff8-a7ac-d271dc7d949c",
|
|
"title": "Et non reprehenderit quo.",
|
|
"description": "Veritatis molestias sit. Quia voluptates aut. Aut cum molestias.",
|
|
"value_type": "number",
|
|
"default_value": "0.7053156918639588",
|
|
"type": "value_definition"
|
|
},
|
|
{
|
|
"id": "43290be4-09a6-40ea-b1f7-425657402f4a",
|
|
"ref_id": "foo_value_62ea77d4-6b6a-4465-84f9-2084289daac8",
|
|
"title": "Dignissimos amet ut quis.",
|
|
"description": "Aspernatur doloribus esse. Fugit minima dolor. Facere quis similique.",
|
|
"value_type": "number",
|
|
"default_value": "0.5676535669598908",
|
|
"type": "value_definition"
|
|
},
|
|
{
|
|
"id": "4efb95fe-555a-49bc-a8bf-29092779199d",
|
|
"ref_id": "foo_value_811290b4-d027-4bd7-af72-d5783e9d9692",
|
|
"title": "Impedit dignissimos qui ipsum.",
|
|
"description": "Quia quaerat ut. Dignissimos consequatur eaque. Molestias quis laudantium.",
|
|
"value_type": "number",
|
|
"default_value": "0.5523002796649437",
|
|
"type": "value_definition"
|
|
},
|
|
{
|
|
"id": "50cb4e2c-3339-4214-a6ae-eefe0297ec52",
|
|
"ref_id": "foo_value_8acb4a12-5d14-489e-92f8-b00bcd8208b5",
|
|
"title": "Qui rem porro et.",
|
|
"description": "Cum eveniet et. Magnam voluptate rem. Laboriosam atque voluptas.",
|
|
"value_type": "number",
|
|
"default_value": "0.47638554113649645",
|
|
"type": "value_definition"
|
|
}
|
|
],
|
|
"meta": {
|
|
"total": 25,
|
|
"limit": 10,
|
|
"offset": 0
|
|
},
|
|
"links": {
|
|
"first": "/api/compliance/v2/security_guides/47294baf-5bd7-4095-baab-a0120001f7e3/value_definitions?limit=10&offset=0",
|
|
"last": "/api/compliance/v2/security_guides/47294baf-5bd7-4095-baab-a0120001f7e3/value_definitions?limit=10&offset=20",
|
|
"next": "/api/compliance/v2/security_guides/47294baf-5bd7-4095-baab-a0120001f7e3/value_definitions?limit=10&offset=10"
|
|
}
|
|
},
|
|
"summary": "",
|
|
"description": ""
|
|
},
|
|
"List of Value Definitions sorted by \"title:asc\"": {
|
|
"value": {
|
|
"data": [
|
|
{
|
|
"id": "a7522cc7-04fe-439b-91a5-772b9af7d21d",
|
|
"ref_id": "foo_value_cf205509-b510-4b50-98b9-3fbea83636ae",
|
|
"title": "A quas eum alias.",
|
|
"description": "Quasi quia magni. Iure deleniti similique. Ex vel voluptatibus.",
|
|
"value_type": "number",
|
|
"default_value": "0.1348646109113829",
|
|
"type": "value_definition"
|
|
},
|
|
{
|
|
"id": "eb7bff36-8d47-4f96-8dd5-0021a0163e9f",
|
|
"ref_id": "foo_value_7e032da7-6525-470e-9f17-6144b666911d",
|
|
"title": "Adipisci officiis delectus itaque.",
|
|
"description": "Sed molestias asperiores. Enim molestiae hic. Et assumenda voluptatem.",
|
|
"value_type": "number",
|
|
"default_value": "0.5854490977472722",
|
|
"type": "value_definition"
|
|
},
|
|
{
|
|
"id": "8fc882aa-40c1-45b5-88ef-4144c32de84c",
|
|
"ref_id": "foo_value_7def3d0a-d965-44a6-977d-37986b2c995d",
|
|
"title": "Amet ea ullam dicta.",
|
|
"description": "Dolor ea sed. Quidem nihil quia. Cumque dignissimos dolorem.",
|
|
"value_type": "number",
|
|
"default_value": "0.9663501701237333",
|
|
"type": "value_definition"
|
|
},
|
|
{
|
|
"id": "ad6ea53e-01a7-4e46-b208-dc052e64c106",
|
|
"ref_id": "foo_value_f92b71a0-bf58-4e0d-bc7b-b274e5f2d4b7",
|
|
"title": "Aut est enim dolorem.",
|
|
"description": "Consectetur ullam eius. Voluptas sit est. Quos iste delectus.",
|
|
"value_type": "number",
|
|
"default_value": "0.8598707736351828",
|
|
"type": "value_definition"
|
|
},
|
|
{
|
|
"id": "492f2f18-417c-48b2-9026-3e806f4ebaff",
|
|
"ref_id": "foo_value_91eec424-ab2a-49ee-be83-02b2060dcb4e",
|
|
"title": "Aut nostrum molestiae dignissimos.",
|
|
"description": "Eius perferendis aut. Qui est est. Optio ea labore.",
|
|
"value_type": "number",
|
|
"default_value": "0.6263624943251128",
|
|
"type": "value_definition"
|
|
},
|
|
{
|
|
"id": "0b300686-3635-412e-8be8-83e8b46c5023",
|
|
"ref_id": "foo_value_69378338-d3ff-4f0d-90d4-0183cfdfb67c",
|
|
"title": "Blanditiis similique in doloremque.",
|
|
"description": "Repudiandae perferendis quasi. Rerum corrupti ut. Ut id consequatur.",
|
|
"value_type": "number",
|
|
"default_value": "0.659996537151899",
|
|
"type": "value_definition"
|
|
},
|
|
{
|
|
"id": "66eb2f8d-7200-4329-9d6f-42f0e5b4af94",
|
|
"ref_id": "foo_value_53242d9b-d316-40b5-9b63-97ad221a83c8",
|
|
"title": "Cum dolores magni deserunt.",
|
|
"description": "Modi et mollitia. Porro et rerum. Similique et quos.",
|
|
"value_type": "number",
|
|
"default_value": "0.3984494249857866",
|
|
"type": "value_definition"
|
|
},
|
|
{
|
|
"id": "4184995f-c954-4f11-84f0-f6a92d777a55",
|
|
"ref_id": "foo_value_7ae0bd4f-e65a-4a01-9fc0-7443b2a0dd90",
|
|
"title": "Cupiditate in tenetur sunt.",
|
|
"description": "Atque debitis qui. Dolores ex distinctio. Necessitatibus esse voluptas.",
|
|
"value_type": "number",
|
|
"default_value": "0.3413993434436289",
|
|
"type": "value_definition"
|
|
},
|
|
{
|
|
"id": "1dd461df-9226-48a0-94f3-81fae1ba882c",
|
|
"ref_id": "foo_value_4385c785-86e0-4e97-85b4-a56616beae80",
|
|
"title": "Debitis quod repellendus sed.",
|
|
"description": "Non incidunt quos. Iure deserunt asperiores. Soluta quis iusto.",
|
|
"value_type": "number",
|
|
"default_value": "0.6258231432136291",
|
|
"type": "value_definition"
|
|
},
|
|
{
|
|
"id": "76e58286-d4ca-463c-a8fd-3304f5cc4698",
|
|
"ref_id": "foo_value_76be97fa-c95c-4130-a7c9-a7884eb7c593",
|
|
"title": "Enim dolor eaque aut.",
|
|
"description": "Sapiente atque eum. Exercitationem velit consectetur. Quam perferendis enim.",
|
|
"value_type": "number",
|
|
"default_value": "0.9977362023562771",
|
|
"type": "value_definition"
|
|
}
|
|
],
|
|
"meta": {
|
|
"total": 25,
|
|
"limit": 10,
|
|
"offset": 0,
|
|
"sort_by": "title"
|
|
},
|
|
"links": {
|
|
"first": "/api/compliance/v2/security_guides/3b981bde-9b2c-43a0-a4f3-617d2d8eeee8/value_definitions?limit=10&offset=0&sort_by=title",
|
|
"last": "/api/compliance/v2/security_guides/3b981bde-9b2c-43a0-a4f3-617d2d8eeee8/value_definitions?limit=10&offset=20&sort_by=title",
|
|
"next": "/api/compliance/v2/security_guides/3b981bde-9b2c-43a0-a4f3-617d2d8eeee8/value_definitions?limit=10&offset=10&sort_by=title"
|
|
}
|
|
},
|
|
"summary": "",
|
|
"description": ""
|
|
},
|
|
"List of Value Definitions filtered by '(title=Dolorem perspiciatis mollitia cumque.)'": {
|
|
"value": {
|
|
"data": [
|
|
{
|
|
"id": "09f87a40-044b-4950-8864-578f701fdb66",
|
|
"ref_id": "foo_value_d73c4c8f-c181-4584-b7c8-d15d4e475f6e",
|
|
"title": "Dolorem perspiciatis mollitia cumque.",
|
|
"description": "Corrupti nesciunt enim. Quia eius sed. Tenetur amet et.",
|
|
"value_type": "number",
|
|
"default_value": "0.6836081325716746",
|
|
"type": "value_definition"
|
|
}
|
|
],
|
|
"meta": {
|
|
"total": 1,
|
|
"filter": "(title=\"Dolorem perspiciatis mollitia cumque.\")",
|
|
"limit": 10,
|
|
"offset": 0
|
|
},
|
|
"links": {
|
|
"first": "/api/compliance/v2/security_guides/79f6f777-0816-41bc-ad9d-a2572d3403a7/value_definitions?filter=%28title%3D%22Dolorem+perspiciatis+mollitia+cumque.%22%29&limit=10&offset=0",
|
|
"last": "/api/compliance/v2/security_guides/79f6f777-0816-41bc-ad9d-a2572d3403a7/value_definitions?filter=%28title%3D%22Dolorem+perspiciatis+mollitia+cumque.%22%29&limit=10&offset=0"
|
|
}
|
|
},
|
|
"summary": "",
|
|
"description": ""
|
|
}
|
|
},
|
|
"schema": {
|
|
"type": "object",
|
|
"properties": {
|
|
"meta": {
|
|
"$ref": "#/components/schemas/metadata"
|
|
},
|
|
"links": {
|
|
"$ref": "#/components/schemas/links"
|
|
},
|
|
"data": {
|
|
"type": "array",
|
|
"items": {
|
|
"properties": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/value_definition"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"422": {
|
|
"description": "Returns with Unprocessable Content",
|
|
"content": {
|
|
"application/vnd.api+json": {
|
|
"examples": {
|
|
"Description of an error when sorting by incorrect parameter": {
|
|
"value": {
|
|
"errors": [
|
|
"Result cannot be sorted by the 'description' column."
|
|
]
|
|
},
|
|
"summary": "",
|
|
"description": ""
|
|
},
|
|
"Description of an error when requesting higher limit than supported": {
|
|
"value": {
|
|
"errors": [
|
|
"Invalid parameter: limit must be less than or equal to 100"
|
|
]
|
|
},
|
|
"summary": "",
|
|
"description": ""
|
|
}
|
|
},
|
|
"schema": {
|
|
"$ref": "#/components/schemas/errors"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"/security_guides/{security_guide_id}/value_definitions/{value_definition_id}": {
|
|
"get": {
|
|
"summary": "Request a Value Definition",
|
|
"parameters": [
|
|
{
|
|
"name": "X-RH-IDENTITY",
|
|
"in": "header",
|
|
"schema": {
|
|
"type": "string"
|
|
},
|
|
"description": "For internal use only"
|
|
},
|
|
{
|
|
"name": "security_guide_id",
|
|
"in": "path",
|
|
"required": true,
|
|
"schema": {
|
|
"type": "string"
|
|
}
|
|
},
|
|
{
|
|
"name": "value_definition_id",
|
|
"in": "path",
|
|
"required": true,
|
|
"schema": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
],
|
|
"tags": [
|
|
"Content"
|
|
],
|
|
"description": "Returns a Value Definition",
|
|
"operationId": "ValueDefinition",
|
|
"responses": {
|
|
"200": {
|
|
"description": "Returns a Value Definition",
|
|
"content": {
|
|
"application/vnd.api+json": {
|
|
"examples": {
|
|
"Returns a Value Definition": {
|
|
"value": {
|
|
"data": {
|
|
"id": "27be6567-96e6-4661-8b44-064240e3b7ab",
|
|
"ref_id": "foo_value_1b9b8de0-e22d-4079-8517-3481e8c9bc5e",
|
|
"title": "Reprehenderit vel dolores laudantium.",
|
|
"description": "Voluptas dolor sequi. Sed asperiores dolor. Nihil voluptatem eum.",
|
|
"value_type": "number",
|
|
"default_value": "0.8061020066237128",
|
|
"type": "value_definition"
|
|
}
|
|
},
|
|
"summary": "",
|
|
"description": ""
|
|
}
|
|
},
|
|
"schema": {
|
|
"type": "object",
|
|
"properties": {
|
|
"data": {
|
|
"type": "object",
|
|
"properties": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/value_definition"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"404": {
|
|
"description": "Returns with Not Found",
|
|
"content": {
|
|
"application/vnd.api+json": {
|
|
"examples": {
|
|
"Description of an error when requesting a non-existing Value Definition": {
|
|
"value": {
|
|
"errors": [
|
|
"V2::ValueDefinition not found with ID 71ba61b4-4feb-4b88-8c08-01ebf2220287"
|
|
]
|
|
},
|
|
"summary": "",
|
|
"description": ""
|
|
}
|
|
},
|
|
"schema": {
|
|
"$ref": "#/components/schemas/errors"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"components": {
|
|
"schemas": {
|
|
"errors": {
|
|
"type": "object",
|
|
"required": [
|
|
"errors"
|
|
],
|
|
"properties": {
|
|
"errors": {
|
|
"type": "array",
|
|
"items": {
|
|
"type": "string",
|
|
"examples": [
|
|
"V2::SecurityGuide not found with ID a4708198-9d00-4035-bf57-1e7aaad217c5"
|
|
]
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"id": {
|
|
"type": "string",
|
|
"format": "uuid",
|
|
"readOnly": true
|
|
},
|
|
"links": {
|
|
"type": "object",
|
|
"properties": {
|
|
"first": {
|
|
"type": "string",
|
|
"format": "uri",
|
|
"readOnly": true,
|
|
"description": "Link to first page"
|
|
},
|
|
"last": {
|
|
"type": "string",
|
|
"format": "uri",
|
|
"readOnly": true,
|
|
"description": "Link to last page"
|
|
},
|
|
"previous": {
|
|
"type": "string",
|
|
"format": "uri",
|
|
"readOnly": true,
|
|
"description": "Link to previous page"
|
|
},
|
|
"next": {
|
|
"type": "string",
|
|
"format": "uri",
|
|
"readOnly": true,
|
|
"description": "Link to next page"
|
|
}
|
|
}
|
|
},
|
|
"metadata": {
|
|
"type": "object",
|
|
"properties": {
|
|
"total": {
|
|
"type": "number",
|
|
"examples": [
|
|
1,
|
|
42,
|
|
770
|
|
],
|
|
"readOnly": true,
|
|
"description": "Total number of items"
|
|
},
|
|
"limit": {
|
|
"type": "number",
|
|
"maximum": 100,
|
|
"minimum": 1,
|
|
"default": 10,
|
|
"examples": [
|
|
10,
|
|
100
|
|
],
|
|
"readOnly": true,
|
|
"description": "Number of items returned per page"
|
|
},
|
|
"offset": {
|
|
"type": "number",
|
|
"minimum": 0,
|
|
"default": 0,
|
|
"examples": [
|
|
15,
|
|
90
|
|
],
|
|
"readOnly": true,
|
|
"description": "Offset of the first item of paginated response"
|
|
},
|
|
"sort_by": {
|
|
"type": "string",
|
|
"examples": [
|
|
"version:asc"
|
|
],
|
|
"description": "Attribute and direction the items are sorted by"
|
|
},
|
|
"filter": {
|
|
"type": "string",
|
|
"default": "",
|
|
"examples": [
|
|
"title='Standard System Security Profile for Fedora'"
|
|
],
|
|
"description": "Query string used to filter items by their attributes"
|
|
}
|
|
}
|
|
},
|
|
"policy": {
|
|
"type": "object",
|
|
"required": [
|
|
"compliance_threshold",
|
|
"profile_id"
|
|
],
|
|
"properties": {
|
|
"id": {
|
|
"$ref": "#/components/schemas/id"
|
|
},
|
|
"type": {
|
|
"type": "string",
|
|
"enum": [
|
|
"policy"
|
|
],
|
|
"readOnly": true
|
|
},
|
|
"title": {
|
|
"type": "string",
|
|
"examples": [
|
|
"CIS Red Hat Enterprise Linux 7 Benchmark"
|
|
],
|
|
"description": "Short title of the Policy"
|
|
},
|
|
"description": {
|
|
"type": "string",
|
|
"examples": [
|
|
"This profile defines a baseline that aligns to the Center for Internet Security®Red Hat Enterprise Linux 7 Benchmark™, v2.2.0, released 12-27-2017."
|
|
],
|
|
"description": "Longer description of the Policy"
|
|
},
|
|
"business_objective": {
|
|
"type": "string",
|
|
"examples": [
|
|
"Guide to the Secure Configuration of Red Hat Enterprise Linux 7"
|
|
],
|
|
"description": "The Business Objective associated to the Policy"
|
|
},
|
|
"compliance_threshold": {
|
|
"type": "number",
|
|
"examples": [
|
|
90
|
|
],
|
|
"maximum": 100,
|
|
"minimum": 0,
|
|
"description": "The percentage above which the Policy meets compliance requirements"
|
|
},
|
|
"profile_id": {
|
|
"type": "string",
|
|
"format": "uuid",
|
|
"writeOnly": true,
|
|
"examples": [
|
|
"9c4bccad-eb1f-473f-bd3d-2de6e125f725"
|
|
],
|
|
"description": "Identifier of the underlying Profile"
|
|
},
|
|
"os_major_version": {
|
|
"type": "number",
|
|
"minimum": 6,
|
|
"examples": [
|
|
7
|
|
],
|
|
"description": "Major version of the Operating System that the Policy covers",
|
|
"readOnly": true
|
|
},
|
|
"ref_id": {
|
|
"type": "string",
|
|
"examples": [
|
|
"xccdf_org.ssgproject.content_profile_pci-dss"
|
|
],
|
|
"description": "Identificator of the Profile",
|
|
"readOnly": true
|
|
},
|
|
"profile_title": {
|
|
"type": "string",
|
|
"examples": [
|
|
"CIS Red Hat Enterprise Linux 7 Benchmark"
|
|
],
|
|
"description": "Title of the associated Policy",
|
|
"readOnly": true
|
|
},
|
|
"total_system_count": {
|
|
"type": "number",
|
|
"minium": 0,
|
|
"examples": [
|
|
3
|
|
],
|
|
"description": "The number of Systems assigned to this Policy",
|
|
"readOnly": true
|
|
}
|
|
}
|
|
},
|
|
"policy_update": {
|
|
"type": "object",
|
|
"properties": {
|
|
"description": {
|
|
"type": "string",
|
|
"examples": [
|
|
"This profile defines a baseline that aligns to the Center for Internet Security®Red Hat Enterprise Linux 7 Benchmark™, v2.2.0, released 12-27-2017."
|
|
],
|
|
"description": "Longer description of the Policy"
|
|
},
|
|
"business_objective": {
|
|
"type": "string",
|
|
"examples": [
|
|
"Guide to the Secure Configuration of Red Hat Enterprise Linux 7"
|
|
],
|
|
"description": "The Business Objective associated to the Policy"
|
|
},
|
|
"compliance_threshold": {
|
|
"type": "number",
|
|
"examples": [
|
|
90
|
|
],
|
|
"maximum": 100,
|
|
"minimum": 0,
|
|
"description": "The percentage above which the Policy meets compliance requirements"
|
|
}
|
|
}
|
|
},
|
|
"profile": {
|
|
"type": "object",
|
|
"properties": {
|
|
"id": {
|
|
"$ref": "#/components/schemas/id"
|
|
},
|
|
"type": {
|
|
"type": "string",
|
|
"readOnly": true,
|
|
"enum": [
|
|
"profile"
|
|
]
|
|
},
|
|
"ref_id": {
|
|
"type": "string",
|
|
"examples": [
|
|
"xccdf_org.ssgproject.content_profile_pci-dss"
|
|
],
|
|
"readOnly": true,
|
|
"description": "Identificator of the Profile"
|
|
},
|
|
"title": {
|
|
"type": "string",
|
|
"examples": [
|
|
"CIS Red Hat Enterprise Linux 7 Benchmark"
|
|
],
|
|
"readOnly": true,
|
|
"description": "Short title of the Profile"
|
|
},
|
|
"description": {
|
|
"type": "string",
|
|
"examples": [
|
|
"This profile defines a baseline that aligns to the Center for Internet Security®Red Hat Enterprise Linux 7 Benchmark™, v2.2.0, released 12-27-2017."
|
|
],
|
|
"readOnly": true,
|
|
"description": "Longer description of the Profile"
|
|
},
|
|
"value_overrides": {
|
|
"type": "object",
|
|
"readOnly": true,
|
|
"description": "Pair of keys and values for Value Definition customizations"
|
|
}
|
|
}
|
|
},
|
|
"report": {
|
|
"type": "object",
|
|
"properties": {
|
|
"id": {
|
|
"$ref": "#/components/schemas/id"
|
|
},
|
|
"type": {
|
|
"type": "string",
|
|
"enum": [
|
|
"report"
|
|
],
|
|
"readOnly": true
|
|
},
|
|
"title": {
|
|
"type": "string",
|
|
"examples": [
|
|
"CIS Red Hat Enterprise Linux 7 Benchmark"
|
|
],
|
|
"description": "Short title of the Report",
|
|
"readOnly": true
|
|
},
|
|
"business_objective": {
|
|
"type": "string",
|
|
"examples": [
|
|
"Guide to the Secure Configuration of Red Hat Enterprise Linux 7"
|
|
],
|
|
"description": "The Business Objective associated to the Policy",
|
|
"readOnly": true
|
|
},
|
|
"compliance_threshold": {
|
|
"type": "number",
|
|
"examples": [
|
|
90
|
|
],
|
|
"maximum": 100,
|
|
"minimum": 0,
|
|
"description": "The percentage above which the Policy meets compliance requirements",
|
|
"readOnly": true
|
|
},
|
|
"os_major_version": {
|
|
"type": "number",
|
|
"minimum": 6,
|
|
"examples": [
|
|
7
|
|
],
|
|
"description": "Major version of the Operating System that the Report covers",
|
|
"readOnly": true
|
|
},
|
|
"ref_id": {
|
|
"type": "string",
|
|
"examples": [
|
|
"xccdf_org.ssgproject.content_profile_pci-dss"
|
|
],
|
|
"description": "Identificator of the Profile",
|
|
"readOnly": true
|
|
},
|
|
"profile_title": {
|
|
"type": "string",
|
|
"examples": [
|
|
"CIS Red Hat Enterprise Linux 7 Benchmark"
|
|
],
|
|
"description": "Title of the associated Profile",
|
|
"readOnly": true
|
|
},
|
|
"percent_compliant": {
|
|
"type": "number",
|
|
"minimum": 0,
|
|
"maximum": 100,
|
|
"examples": [
|
|
68
|
|
],
|
|
"description": "Describes percentage of compliant systems",
|
|
"readOnly": true
|
|
},
|
|
"assigned_system_count": {
|
|
"type": "number",
|
|
"minium": 1,
|
|
"examples": [
|
|
42
|
|
],
|
|
"description": "The number of Systems assigned to this Report. Not visible under the Systems endpoint.",
|
|
"readOnly": true
|
|
},
|
|
"compliant_system_count": {
|
|
"type": "number",
|
|
"minium": 0,
|
|
"examples": [
|
|
21
|
|
],
|
|
"description": "The number of compliant Systems in this Report. Inconsistent under the Systems endpoint.",
|
|
"readOnly": true
|
|
},
|
|
"all_systems_exposed": {
|
|
"type": "boolean",
|
|
"description": "Informs if the user has access to all the Systems under the Report. \\\n Inconsistent under the Systems endpoint.",
|
|
"examples": [
|
|
false
|
|
],
|
|
"readOnly": true
|
|
},
|
|
"unsupported_system_count": {
|
|
"type": "number",
|
|
"minium": 0,
|
|
"examples": [
|
|
3
|
|
],
|
|
"description": "The number of unsupported Systems in this Report. \\\n Inconsistent under the Systems endpoint.",
|
|
"readOnly": true
|
|
},
|
|
"reported_system_count": {
|
|
"type": "number",
|
|
"minium": 0,
|
|
"examples": [
|
|
3
|
|
],
|
|
"description": "The number of Systems in this Report that have Test Results available. \\\n Inconsistent under the Systems endpoint.",
|
|
"readOnly": true
|
|
}
|
|
}
|
|
},
|
|
"report_stats": {
|
|
"type": "array",
|
|
"items": {
|
|
"type": "object",
|
|
"properties": {
|
|
"title": {
|
|
"type": "string",
|
|
"examples": [
|
|
"Remove tftp"
|
|
],
|
|
"readOnly": true,
|
|
"description": "Short title of the Rule"
|
|
},
|
|
"ref_id": {
|
|
"type": "string",
|
|
"examples": [
|
|
"xccdf_org.ssgproject.content_rule_package_tftp_removed"
|
|
],
|
|
"readOnly": true,
|
|
"description": "Identificator of the Rule"
|
|
},
|
|
"identifier": {
|
|
"type": "object",
|
|
"readOnly": true,
|
|
"description": "Identifier of the Rule",
|
|
"properties": {
|
|
"label": {
|
|
"type": "string",
|
|
"readOnly": true,
|
|
"examples": [
|
|
"CCE-80798-2"
|
|
]
|
|
},
|
|
"system": {
|
|
"type": "string",
|
|
"readOnly": true,
|
|
"examples": [
|
|
"https://nvd.nist.gov/cce/index.cfm"
|
|
]
|
|
}
|
|
},
|
|
"examples": [
|
|
"CEE-1234-123"
|
|
]
|
|
},
|
|
"severity": {
|
|
"type": "string",
|
|
"examples": [
|
|
"low"
|
|
],
|
|
"readOnly": true,
|
|
"description": "The severity of the Rule"
|
|
},
|
|
"count": {
|
|
"type": "integer",
|
|
"examples": [
|
|
102
|
|
],
|
|
"readOnly": true,
|
|
"description": "Number of failures"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"rule": {
|
|
"type": "object",
|
|
"properties": {
|
|
"id": {
|
|
"$ref": "#/components/schemas/id"
|
|
},
|
|
"type": {
|
|
"type": "string",
|
|
"readOnly": true,
|
|
"enum": [
|
|
"rule"
|
|
]
|
|
},
|
|
"ref_id": {
|
|
"type": "string",
|
|
"examples": [
|
|
"xccdf_org.ssgproject.content_rule_package_tftp_removed"
|
|
],
|
|
"readOnly": true,
|
|
"description": "Identificator of the Rule"
|
|
},
|
|
"title": {
|
|
"type": "string",
|
|
"examples": [
|
|
"Remove tftp"
|
|
],
|
|
"readOnly": true,
|
|
"description": "Short title of the Rule"
|
|
},
|
|
"rationale": {
|
|
"type": "string",
|
|
"examples": [
|
|
"It is recommended that TFTP be remvoed, unless there is a specific need for TFTP (such as a boot server). In that case, use extreme caution when configuring the services."
|
|
],
|
|
"readOnly": true,
|
|
"description": "Rationale of the Rule"
|
|
},
|
|
"description": {
|
|
"type": "string",
|
|
"examples": [
|
|
"Trivial File Transfer Protocol (TFTP) is a simple file transfer protocol, typically used to automatically transfer configuration or boot files between machines. TFTP does not support authentication and can be easily hacked. The package tftp is a client program that allows for connections to a tftp server."
|
|
],
|
|
"readOnly": true,
|
|
"description": "Longer description of the Rule"
|
|
},
|
|
"precedence": {
|
|
"type": "integer",
|
|
"examples": [
|
|
3
|
|
],
|
|
"readOnly": true,
|
|
"description": "The original sorting precedence of the Rule in the Security Guide"
|
|
},
|
|
"severity": {
|
|
"type": "string",
|
|
"examples": [
|
|
"low"
|
|
],
|
|
"readOnly": true,
|
|
"description": "The severity of the Rule"
|
|
},
|
|
"identifier": {
|
|
"type": "object",
|
|
"readOnly": true,
|
|
"description": "Identifier of the Rule",
|
|
"properties": {
|
|
"label": {
|
|
"type": "string",
|
|
"readOnly": true,
|
|
"examples": [
|
|
"CCE-80798-2"
|
|
]
|
|
},
|
|
"system": {
|
|
"type": "string",
|
|
"readOnly": true,
|
|
"examples": [
|
|
"https://nvd.nist.gov/cce/index.cfm"
|
|
]
|
|
}
|
|
},
|
|
"examples": [
|
|
"CEE-1234-123"
|
|
]
|
|
},
|
|
"references": {
|
|
"type": "array",
|
|
"items": {
|
|
"type": "object",
|
|
"readOnly": true,
|
|
"description": "List of Tags assigned to the System",
|
|
"properties": {
|
|
"label": {
|
|
"type": "string",
|
|
"readOnly": true,
|
|
"examples": [
|
|
"APO01.06"
|
|
]
|
|
},
|
|
"href": {
|
|
"type": "string",
|
|
"readOnly": true,
|
|
"examples": [
|
|
"https://www.isaca.org/resources/cobit"
|
|
]
|
|
}
|
|
}
|
|
},
|
|
"readOnly": true,
|
|
"description": "Array of the Rule References"
|
|
},
|
|
"remediation_available": {
|
|
"type": "boolean",
|
|
"examples": [
|
|
true,
|
|
false
|
|
],
|
|
"readOnly": true,
|
|
"description": "Whether or not a remediation is available for the given rule."
|
|
},
|
|
"remediation_issue_id": {
|
|
"type": [
|
|
"string",
|
|
"null"
|
|
],
|
|
"examples": [
|
|
"ssg:rhel6|rht-ccp|xccdf_org.ssgproject.content_rule_sshd_disable_rhosts"
|
|
],
|
|
"readOnly": true,
|
|
"description": "The idenfitier of the remediation associated to this rule, only available under profiles."
|
|
}
|
|
}
|
|
},
|
|
"rule_group": {
|
|
"type": "object",
|
|
"properties": {
|
|
"id": {
|
|
"$ref": "#/components/schemas/id"
|
|
},
|
|
"type": {
|
|
"type": "string",
|
|
"readOnly": true,
|
|
"enum": [
|
|
"rule_group"
|
|
]
|
|
},
|
|
"ref_id": {
|
|
"type": "string",
|
|
"examples": [
|
|
"xccdf_org.ssgproject.content_group_locking_out_password_attempts"
|
|
],
|
|
"readOnly": true,
|
|
"description": "Identificator of the Rule Group"
|
|
},
|
|
"title": {
|
|
"type": "string",
|
|
"examples": [
|
|
"Set Lockouts for Failed Password Attempt"
|
|
],
|
|
"readOnly": true,
|
|
"description": "Short title of the Rule Group"
|
|
},
|
|
"rationale": {
|
|
"type": "string",
|
|
"examples": [
|
|
"By limiting the number of failed logon attempts, the risk of unauthorized system access via user password guessing, otherwise known as brute-forcing, is reduced. Limits are imposed by locking the account."
|
|
],
|
|
"readOnly": true,
|
|
"description": "Rationale of the Rule Group"
|
|
},
|
|
"description": {
|
|
"type": "string",
|
|
"examples": [
|
|
"The pam_faillock PAM module provides the capability to lock out user accounts after a number of failed login attempts. Its documentation is available in /usr/share/doc/pam-VERSION/txts/README.pam_faillock."
|
|
],
|
|
"readOnly": true,
|
|
"description": "Longer description of the Rule Group"
|
|
},
|
|
"precedence": {
|
|
"type": "integer",
|
|
"examples": [
|
|
3
|
|
],
|
|
"readOnly": true,
|
|
"description": "The original sorting precedence of the Rule Group in the Security Guide"
|
|
}
|
|
}
|
|
},
|
|
"rule_result": {
|
|
"type": "object",
|
|
"properties": {
|
|
"id": {
|
|
"$ref": "#/components/schemas/id"
|
|
},
|
|
"type": {
|
|
"type": "string",
|
|
"readOnly": true,
|
|
"enum": [
|
|
"rule"
|
|
]
|
|
},
|
|
"result": {
|
|
"type": "string",
|
|
"enum": [
|
|
"pass",
|
|
"fail",
|
|
"error",
|
|
"unknown",
|
|
"fixed",
|
|
"notapplicable",
|
|
"notchecked",
|
|
"informational",
|
|
"notselected"
|
|
],
|
|
"readOnly": true,
|
|
"description": "Status of the Rule Result"
|
|
},
|
|
"rule_id": {
|
|
"type": "string",
|
|
"format": "uuid",
|
|
"examples": [
|
|
"ac0475d7-043c-439b-abef-606f02531e10"
|
|
],
|
|
"readOnly": true,
|
|
"description": "UUID of the affected Rule"
|
|
},
|
|
"system_id": {
|
|
"type": "string",
|
|
"format": "uuid",
|
|
"examples": [
|
|
"e6ba5c79-48af-4899-bb1d-964116b58c7a"
|
|
],
|
|
"readOnly": true,
|
|
"description": "UUID of the affected System"
|
|
},
|
|
"ref_id": {
|
|
"type": "string",
|
|
"examples": [
|
|
"xccdf_org.ssgproject.content_rule_package_tftp_removed"
|
|
],
|
|
"readOnly": true,
|
|
"description": "Identificator of the Rule"
|
|
},
|
|
"title": {
|
|
"type": "string",
|
|
"examples": [
|
|
"Remove tftp"
|
|
],
|
|
"readOnly": true,
|
|
"description": "Short title of the Rule"
|
|
},
|
|
"rationale": {
|
|
"type": "string",
|
|
"examples": [
|
|
"It is recommended that TFTP be remvoed, unless there is a specific need for TFTP (such as a boot server). In that case, use extreme caution when configuring the services."
|
|
],
|
|
"readOnly": true,
|
|
"description": "Rationale of the Rule"
|
|
},
|
|
"description": {
|
|
"type": "string",
|
|
"examples": [
|
|
"Trivial File Transfer Protocol (TFTP) is a simple file transfer protocol, typically used to automatically transfer configuration or boot files between machines. TFTP does not support authentication and can be easily hacked. The package tftp is a client program that allows for connections to a tftp server."
|
|
],
|
|
"readOnly": true,
|
|
"description": "Longer description of the Rule"
|
|
},
|
|
"precedence": {
|
|
"type": "integer",
|
|
"examples": [
|
|
3
|
|
],
|
|
"readOnly": true,
|
|
"description": "The original sorting precedence of the Rule in the Security Guide"
|
|
},
|
|
"severity": {
|
|
"type": "string",
|
|
"examples": [
|
|
"low"
|
|
],
|
|
"readOnly": true,
|
|
"description": "The severity of the Rule"
|
|
},
|
|
"remediation_issue_id": {
|
|
"type": [
|
|
"string",
|
|
"null"
|
|
],
|
|
"examples": [
|
|
"ssg:rhel6|rht-ccp|xccdf_org.ssgproject.content_rule_sshd_disable_rhosts"
|
|
],
|
|
"readOnly": true,
|
|
"description": "The idenfitier of the remediation associated to this rule, only available under profiles."
|
|
}
|
|
}
|
|
},
|
|
"rule_tree": {
|
|
"type": "array",
|
|
"items": {
|
|
"oneOf": [
|
|
{
|
|
"type": "object",
|
|
"properties": {
|
|
"id": {
|
|
"$ref": "#/components/schemas/id"
|
|
},
|
|
"type": {
|
|
"type": "string",
|
|
"enum": [
|
|
"rule_group"
|
|
]
|
|
},
|
|
"children": {
|
|
"$ref": "#/components/schemas/rule_tree"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": "object",
|
|
"properties": {
|
|
"id": {
|
|
"$ref": "#/components/schemas/id"
|
|
},
|
|
"type": {
|
|
"type": "string",
|
|
"enum": [
|
|
"rule"
|
|
]
|
|
}
|
|
}
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"security_guide": {
|
|
"type": "object",
|
|
"properties": {
|
|
"id": {
|
|
"$ref": "#/components/schemas/id"
|
|
},
|
|
"type": {
|
|
"type": "string",
|
|
"readOnly": true,
|
|
"enum": [
|
|
"security_guide"
|
|
]
|
|
},
|
|
"ref_id": {
|
|
"type": "string",
|
|
"examples": [
|
|
"xccdf_org.ssgproject.content_benchmark_RHEL-7"
|
|
],
|
|
"readOnly": true,
|
|
"description": "Identificator of the Security Guide"
|
|
},
|
|
"title": {
|
|
"type": "string",
|
|
"examples": [
|
|
"Guide to the Secure Configuration of Red Hat Enterprise Linux 7"
|
|
],
|
|
"readOnly": true,
|
|
"description": "Short title of the Security Guide"
|
|
},
|
|
"version": {
|
|
"type": "string",
|
|
"examples": [
|
|
"0.1.46"
|
|
],
|
|
"readOnly": true,
|
|
"description": "Version of the Security Guide"
|
|
},
|
|
"description": {
|
|
"type": "string",
|
|
"examples": [
|
|
"This guide presents a catalog of security-relevant configuration settings for Red Hat Enterprise Linux 7."
|
|
],
|
|
"readOnly": true,
|
|
"description": "Longer description of the Security Guide"
|
|
},
|
|
"os_major_version": {
|
|
"type": "number",
|
|
"minimum": 6,
|
|
"examples": [
|
|
7
|
|
],
|
|
"readOnly": true,
|
|
"description": "Major version of the Operating System that the Security Guide covers"
|
|
}
|
|
}
|
|
},
|
|
"supported_profile": {
|
|
"type": "object",
|
|
"properties": {
|
|
"id": {
|
|
"$ref": "#/components/schemas/id"
|
|
},
|
|
"type": {
|
|
"type": "string",
|
|
"readOnly": true,
|
|
"enum": [
|
|
"supported_profile"
|
|
]
|
|
},
|
|
"ref_id": {
|
|
"type": "string",
|
|
"examples": [
|
|
"xccdf_org.ssgproject.content_profile_cis"
|
|
],
|
|
"readOnly": true,
|
|
"description": "Identificator of the latest supported Profile"
|
|
},
|
|
"title": {
|
|
"type": "string",
|
|
"examples": [
|
|
"CIS Red Hat Enterprise Linux 7 Benchmark"
|
|
],
|
|
"readOnly": true,
|
|
"description": "Short title of the Profile"
|
|
},
|
|
"security_guide_id": {
|
|
"type": "string",
|
|
"format": "uuid",
|
|
"examples": [
|
|
"e6ba5c79-48af-4899-bb1d-964116b58c7a"
|
|
],
|
|
"readOnly": true,
|
|
"description": "UUID of the latest Security Guide supporting this Profile"
|
|
},
|
|
"security_guide_version": {
|
|
"type": "string",
|
|
"examples": [
|
|
"0.1.72"
|
|
],
|
|
"readOnly": true,
|
|
"description": "Version of the latest Security Guide supporting this Profile"
|
|
},
|
|
"os_major_version": {
|
|
"type": "number",
|
|
"examples": [
|
|
7
|
|
],
|
|
"readOnly": true,
|
|
"description": "Major version of the Operating System that the Profile covers"
|
|
},
|
|
"os_minor_versions": {
|
|
"type": "array",
|
|
"items": {
|
|
"type": "number",
|
|
"examples": [
|
|
1
|
|
]
|
|
},
|
|
"readOnly": true,
|
|
"description": "List of the supported Operating System minor versions that the Profile covers"
|
|
}
|
|
}
|
|
},
|
|
"system": {
|
|
"type": "object",
|
|
"properties": {
|
|
"id": {
|
|
"$ref": "#/components/schemas/id"
|
|
},
|
|
"type": {
|
|
"type": "string",
|
|
"enum": [
|
|
"system"
|
|
],
|
|
"readOnly": true
|
|
},
|
|
"display_name": {
|
|
"type": "string",
|
|
"readOnly": true,
|
|
"examples": [
|
|
"localhost"
|
|
],
|
|
"description": "Display Name of the System"
|
|
},
|
|
"groups": {
|
|
"type": "array",
|
|
"readOnly": true,
|
|
"items": {
|
|
"type": "object",
|
|
"description": "List of Inventory Groups the System belongs to",
|
|
"properties": {
|
|
"id": {
|
|
"$ref": "#/components/schemas/id"
|
|
},
|
|
"name": {
|
|
"type": "string",
|
|
"readOnly": true,
|
|
"examples": [
|
|
"production"
|
|
]
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"culled_timestamp": {
|
|
"type": "string",
|
|
"readOnly": true,
|
|
"examples": [
|
|
"2020-06-04T19:31:55Z"
|
|
]
|
|
},
|
|
"stale_timestamp": {
|
|
"type": "string",
|
|
"readOnly": true,
|
|
"examples": [
|
|
"2020-06-04T19:31:55Z"
|
|
]
|
|
},
|
|
"stale_warning_timestamp": {
|
|
"type": "string",
|
|
"readOnly": true,
|
|
"examples": [
|
|
"2020-06-04T19:31:55Z"
|
|
]
|
|
},
|
|
"updated": {
|
|
"type": "string",
|
|
"readOnly": true,
|
|
"examples": [
|
|
"2020-06-04T19:31:55Z"
|
|
]
|
|
},
|
|
"insights_id": {
|
|
"$ref": "#/components/schemas/id"
|
|
},
|
|
"tags": {
|
|
"type": "array",
|
|
"readOnly": true,
|
|
"items": {
|
|
"type": "object",
|
|
"readOnly": true,
|
|
"description": "List of Tags assigned to the System",
|
|
"properties": {
|
|
"namespace": {
|
|
"type": "string",
|
|
"readOnly": true,
|
|
"examples": [
|
|
"insights"
|
|
]
|
|
},
|
|
"key": {
|
|
"type": "string",
|
|
"readOnly": true,
|
|
"examples": [
|
|
"environment"
|
|
]
|
|
},
|
|
"value": {
|
|
"type": "string",
|
|
"readOnly": true,
|
|
"examples": [
|
|
"production"
|
|
]
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"os_major_version": {
|
|
"type": "number",
|
|
"examples": [
|
|
7
|
|
],
|
|
"readOnly": true,
|
|
"description": "Major version of the Operating System"
|
|
},
|
|
"os_minor_version": {
|
|
"type": "number",
|
|
"examples": [
|
|
1
|
|
],
|
|
"readOnly": true,
|
|
"description": "Minor version of the Operating System"
|
|
},
|
|
"policies": {
|
|
"type": "array",
|
|
"readOnly": true,
|
|
"description": "List of Policies assigned to the System, visible only when not listing Systems under a given Policy",
|
|
"items": {
|
|
"type": "object",
|
|
"readOnly": true,
|
|
"properties": {
|
|
"id": {
|
|
"$ref": "#/components/schemas/id"
|
|
},
|
|
"title": {
|
|
"type": "string",
|
|
"readOnly": true,
|
|
"examples": [
|
|
"CIS Red Hat Enterprise Linux 7 Benchmark"
|
|
],
|
|
"description": "Short title of the Policy"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"tailoring": {
|
|
"type": "object",
|
|
"properties": {
|
|
"id": {
|
|
"$ref": "#/components/schemas/id"
|
|
},
|
|
"type": {
|
|
"type": "string",
|
|
"readOnly": true,
|
|
"enum": [
|
|
"tailoring"
|
|
]
|
|
},
|
|
"profile_id": {
|
|
"type": "string",
|
|
"examples": [
|
|
"cde8be06-74bc-4a2d-9e7f-11d30c5ea588"
|
|
],
|
|
"readOnly": true,
|
|
"description": "Identificator of the Profile from which the Tailoring was cloned"
|
|
},
|
|
"security_guide_id": {
|
|
"type": "string",
|
|
"examples": [
|
|
"8800e1d8-70da-4e62-8cf0-16e8cee784c7"
|
|
],
|
|
"readOnly": true,
|
|
"description": "Identificator of the Security Guide that contains the parent Profile"
|
|
},
|
|
"security_guide_version": {
|
|
"type": "string",
|
|
"examples": [
|
|
"0.1.210"
|
|
],
|
|
"readOnly": true,
|
|
"description": "Version of the Security Guide that contains the parent Profile"
|
|
},
|
|
"os_major_version": {
|
|
"type": "number",
|
|
"examples": [
|
|
7
|
|
],
|
|
"readOnly": true,
|
|
"description": "Major version of the Operating System that the Tailoring covers"
|
|
},
|
|
"os_minor_version": {
|
|
"type": "number",
|
|
"examples": [
|
|
1
|
|
],
|
|
"readOnly": true,
|
|
"description": "Minor version of the Operating System that the Tailoring covers"
|
|
},
|
|
"value_overrides": {
|
|
"type": "object",
|
|
"description": "Pair of keys and values for Value Definition customizations",
|
|
"examples": [
|
|
{
|
|
"c8468d15-bc16-4f36-90ae-b02559bd562c": "foo",
|
|
"776690ad-824e-418d-8dce-4c1aa474e81a": "123",
|
|
"6c3cd147-f6d5-4b29-a269-037df08f4ab8": "false"
|
|
}
|
|
]
|
|
}
|
|
}
|
|
},
|
|
"tailoring_file": {
|
|
"title": "Tailoring File",
|
|
"description": "Defines customizations of rules and variables for a set of profiles",
|
|
"type": "object",
|
|
"additionalProperties": true,
|
|
"properties": {
|
|
"profiles": {
|
|
"type": "array",
|
|
"items": {
|
|
"type": "object",
|
|
"title": "Profile",
|
|
"description": "A new tailored profile with modifications",
|
|
"additionalProperties": true,
|
|
"anyOf": [
|
|
{
|
|
"required": [
|
|
"id",
|
|
"base_profile_id"
|
|
]
|
|
},
|
|
{
|
|
"required": [
|
|
"id",
|
|
"title"
|
|
]
|
|
}
|
|
],
|
|
"properties": {
|
|
"id": {
|
|
"type": "string",
|
|
"description": "New profile identifier, can be same as 'base_profile_id', to 'shadow' the origin"
|
|
},
|
|
"base_profile_id": {
|
|
"type": "string",
|
|
"description": "Original profile identifier, the base for modifications"
|
|
},
|
|
"title": {
|
|
"type": "string",
|
|
"description": "Title for the new profile, inherited from base profile if not given, required if there is no base profile"
|
|
},
|
|
"groups": {
|
|
"type": "object",
|
|
"description": "Group modifications, keys are identifiers",
|
|
"additionalProperties": {
|
|
"type": "object",
|
|
"additionalProperties": true,
|
|
"anyOf": [
|
|
{
|
|
"required": [
|
|
"evaluate"
|
|
]
|
|
}
|
|
],
|
|
"properties": {
|
|
"evaluate": {
|
|
"type": "boolean",
|
|
"description": "Includes or excludes a group of rules from evaluation"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"rules": {
|
|
"type": "object",
|
|
"description": "Rule modifications, keys are identifiers",
|
|
"additionalProperties": {
|
|
"type": "object",
|
|
"additionalProperties": true,
|
|
"anyOf": [
|
|
{
|
|
"required": [
|
|
"evaluate"
|
|
]
|
|
},
|
|
{
|
|
"required": [
|
|
"severity"
|
|
]
|
|
},
|
|
{
|
|
"required": [
|
|
"role"
|
|
]
|
|
}
|
|
],
|
|
"properties": {
|
|
"evaluate": {
|
|
"type": "boolean",
|
|
"description": "Includes or excludes a rule from evaluation"
|
|
},
|
|
"severity": {
|
|
"type": "string",
|
|
"enum": [
|
|
"unknown",
|
|
"info",
|
|
"low",
|
|
"medium",
|
|
"high"
|
|
],
|
|
"description": "Overrides severity level of the rule"
|
|
},
|
|
"role": {
|
|
"type": "string",
|
|
"enum": [
|
|
"full",
|
|
"unscored",
|
|
"unchecked"
|
|
],
|
|
"description": "Overrides role of the rule"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"variables": {
|
|
"type": "object",
|
|
"description": "Variables modifications, keys are identifiers",
|
|
"additionalProperties": {
|
|
"type": "object",
|
|
"additionalProperties": true,
|
|
"oneOf": [
|
|
{
|
|
"required": [
|
|
"value"
|
|
]
|
|
},
|
|
{
|
|
"required": [
|
|
"option_id"
|
|
]
|
|
}
|
|
],
|
|
"properties": {
|
|
"value": {
|
|
"type": [
|
|
"string",
|
|
"integer",
|
|
"boolean"
|
|
],
|
|
"description": "Directly overrides variable's value with a given value"
|
|
},
|
|
"option_id": {
|
|
"type": "string",
|
|
"description": "Overrides variable's value with a predefined value identified by 'option_id'"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"test_result": {
|
|
"type": "object",
|
|
"properties": {
|
|
"id": {
|
|
"$ref": "#/components/schemas/id"
|
|
},
|
|
"type": {
|
|
"type": "string",
|
|
"enum": [
|
|
"test_result"
|
|
],
|
|
"readOnly": true
|
|
},
|
|
"display_name": {
|
|
"type": "string",
|
|
"readOnly": true,
|
|
"examples": [
|
|
"localhost"
|
|
],
|
|
"description": "Display Name of the System"
|
|
},
|
|
"groups": {
|
|
"type": "array",
|
|
"readOnly": true,
|
|
"items": {
|
|
"type": "object",
|
|
"description": "List of Inventory Groups the System belongs to",
|
|
"properties": {
|
|
"id": {
|
|
"$ref": "#/components/schemas/id"
|
|
},
|
|
"name": {
|
|
"type": "string",
|
|
"readOnly": true,
|
|
"examples": [
|
|
"production"
|
|
]
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"tags": {
|
|
"type": "array",
|
|
"readOnly": true,
|
|
"items": {
|
|
"type": "object",
|
|
"readOnly": true,
|
|
"description": "List of Tags assigned to the System",
|
|
"properties": {
|
|
"namespace": {
|
|
"type": "string",
|
|
"readOnly": true,
|
|
"examples": [
|
|
"insights"
|
|
]
|
|
},
|
|
"key": {
|
|
"type": "string",
|
|
"readOnly": true,
|
|
"examples": [
|
|
"environment"
|
|
]
|
|
},
|
|
"value": {
|
|
"type": "string",
|
|
"readOnly": true,
|
|
"examples": [
|
|
"production"
|
|
]
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"system_id": {
|
|
"type": "string",
|
|
"format": "uuid",
|
|
"examples": [
|
|
"e6ba5c79-48af-4899-bb1d-964116b58c7a"
|
|
],
|
|
"readOnly": true,
|
|
"description": "UUID of the underlying System"
|
|
},
|
|
"os_major_version": {
|
|
"type": "number",
|
|
"examples": [
|
|
7
|
|
],
|
|
"readOnly": true,
|
|
"description": "Major version of the Operating System"
|
|
},
|
|
"os_minor_version": {
|
|
"type": "number",
|
|
"examples": [
|
|
1
|
|
],
|
|
"readOnly": true,
|
|
"description": "Minor version of the Operating System"
|
|
},
|
|
"compliant": {
|
|
"type": [
|
|
"boolean",
|
|
"null"
|
|
],
|
|
"examples": [
|
|
false,
|
|
true
|
|
],
|
|
"readOnly": true,
|
|
"description": "Whether the Test Result is compliant or not within a given Report."
|
|
},
|
|
"score": {
|
|
"type": "number",
|
|
"examples": [
|
|
99.99
|
|
],
|
|
"readOnly": true,
|
|
"description": "Compliance Score of the System within a given Report."
|
|
},
|
|
"supported": {
|
|
"type": [
|
|
"boolean",
|
|
"null"
|
|
],
|
|
"examples": [
|
|
false,
|
|
true
|
|
],
|
|
"readOnly": true,
|
|
"description": "Whether the System is supported or not by a Profile within a given Policy."
|
|
},
|
|
"failed_rule_count": {
|
|
"type": [
|
|
"integer",
|
|
"null"
|
|
],
|
|
"examples": [
|
|
3
|
|
],
|
|
"readOnly": true,
|
|
"description": "Number of failed rules in the Test Result"
|
|
},
|
|
"last_scanned": {
|
|
"type": "string",
|
|
"examples": [
|
|
"2020-06-04T19:31:55Z"
|
|
],
|
|
"readOnly": true,
|
|
"description": "The date when the System has been reported a Test Result for the last time."
|
|
}
|
|
}
|
|
},
|
|
"value_definition": {
|
|
"type": "object",
|
|
"properties": {
|
|
"id": {
|
|
"$ref": "#/components/schemas/id"
|
|
},
|
|
"type": {
|
|
"type": "string",
|
|
"enum": [
|
|
"value_definition"
|
|
]
|
|
},
|
|
"ref_id": {
|
|
"type": "string",
|
|
"examples": [
|
|
"xccdf_org.ssgproject.content_value_var_rekey_limit_size"
|
|
],
|
|
"readOnly": true,
|
|
"description": "Identificator of the Value Definition"
|
|
},
|
|
"title": {
|
|
"type": "string",
|
|
"examples": [
|
|
"SSH RekeyLimit - size"
|
|
],
|
|
"readOnly": true,
|
|
"description": "Short title of the Value Definition"
|
|
},
|
|
"value_type": {
|
|
"type": "string",
|
|
"examples": [
|
|
"string"
|
|
],
|
|
"readOnly": true,
|
|
"description": "Type of the Value Definition"
|
|
},
|
|
"description": {
|
|
"type": "string",
|
|
"examples": [
|
|
"Specify the size component of the rekey limit."
|
|
],
|
|
"readOnly": true,
|
|
"description": "Longer description of the Value Definition"
|
|
},
|
|
"default_value": {
|
|
"type": "string",
|
|
"examples": [
|
|
"512M"
|
|
],
|
|
"readOnly": true,
|
|
"description": "Default value of the Value Definition"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
} |