16821 lines
No EOL
702 KiB
JSON
16821 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": "146f5a39-be16-487b-a465-b3140bf9e36a",
|
|
"title": "Sint tenetur totam rerum.",
|
|
"description": "Eveniet sequi voluptatibus. Dolorem vero iste. Rerum aspernatur deserunt.",
|
|
"business_objective": null,
|
|
"compliance_threshold": 85.0,
|
|
"total_system_count": 0,
|
|
"type": "policy",
|
|
"os_major_version": 7,
|
|
"profile_title": "Eligendi a et qui.",
|
|
"ref_id": "xccdf_org.ssgproject.content_profile_4703e0bda385ac5a1552aa0cbde38aab"
|
|
},
|
|
{
|
|
"id": "28ff381f-6a25-452e-b3d1-78a2a64d3965",
|
|
"title": "Sed aut enim aut.",
|
|
"description": "Et repudiandae esse. Ea distinctio laborum. Eius non nihil.",
|
|
"business_objective": null,
|
|
"compliance_threshold": 50.0,
|
|
"total_system_count": 0,
|
|
"type": "policy",
|
|
"os_major_version": 7,
|
|
"profile_title": "Neque minima accusamus praesentium.",
|
|
"ref_id": "xccdf_org.ssgproject.content_profile_7223b6d7fdf922f5841ad63654ff668f"
|
|
},
|
|
{
|
|
"id": "30270cd0-9958-4cfb-85f7-9c8c12aac6ff",
|
|
"title": "Omnis voluptatem et laboriosam.",
|
|
"description": "Voluptatem nesciunt laboriosam. Debitis repudiandae quo. Quibusdam occaecati sit.",
|
|
"business_objective": null,
|
|
"compliance_threshold": 73.0,
|
|
"total_system_count": 0,
|
|
"type": "policy",
|
|
"os_major_version": 7,
|
|
"profile_title": "Quam aut rem et.",
|
|
"ref_id": "xccdf_org.ssgproject.content_profile_f3cfcdd2c85a2f8816646b2e8aafce25"
|
|
},
|
|
{
|
|
"id": "54068943-4451-4350-a80a-10dc991c88d2",
|
|
"title": "Et ratione asperiores minus.",
|
|
"description": "In quos hic. Omnis quis ipsam. Voluptas dolore sunt.",
|
|
"business_objective": null,
|
|
"compliance_threshold": 72.0,
|
|
"total_system_count": 0,
|
|
"type": "policy",
|
|
"os_major_version": 7,
|
|
"profile_title": "Quidem accusantium animi ducimus.",
|
|
"ref_id": "xccdf_org.ssgproject.content_profile_16d423c762e90414ba9dc4d6b7592bb6"
|
|
},
|
|
{
|
|
"id": "5c420d17-9373-4f8b-a469-c6f356bba6c1",
|
|
"title": "Dolor repellat nemo ex.",
|
|
"description": "Cupiditate laborum rerum. Beatae et et. Laboriosam blanditiis quos.",
|
|
"business_objective": null,
|
|
"compliance_threshold": 54.0,
|
|
"total_system_count": 0,
|
|
"type": "policy",
|
|
"os_major_version": 7,
|
|
"profile_title": "Explicabo voluptates quis aliquam.",
|
|
"ref_id": "xccdf_org.ssgproject.content_profile_ea75caf1906b50ea8773583cde3f55b3"
|
|
},
|
|
{
|
|
"id": "5f1ba416-3f07-4dff-852e-8ce06b7cfe14",
|
|
"title": "Animi accusamus ab doloribus.",
|
|
"description": "Non quasi omnis. Velit recusandae labore. Expedita tempora vitae.",
|
|
"business_objective": null,
|
|
"compliance_threshold": 53.0,
|
|
"total_system_count": 0,
|
|
"type": "policy",
|
|
"os_major_version": 7,
|
|
"profile_title": "Sint dolores in rerum.",
|
|
"ref_id": "xccdf_org.ssgproject.content_profile_14d36c92724fc06115db20851be8ee75"
|
|
},
|
|
{
|
|
"id": "61ee5bee-8b95-493d-b58d-38cd55a33332",
|
|
"title": "Et modi dolores culpa.",
|
|
"description": "Consequatur dolor adipisci. Necessitatibus officia ea. Explicabo commodi suscipit.",
|
|
"business_objective": null,
|
|
"compliance_threshold": 56.0,
|
|
"total_system_count": 0,
|
|
"type": "policy",
|
|
"os_major_version": 7,
|
|
"profile_title": "Dolores sint quasi eligendi.",
|
|
"ref_id": "xccdf_org.ssgproject.content_profile_6c25a05ecf4da61799befc5dee6b0321"
|
|
},
|
|
{
|
|
"id": "62ca4d1a-94da-4d4c-aa22-23bfbfd4cb2c",
|
|
"title": "Nemo fugiat sed fuga.",
|
|
"description": "Eos molestiae reprehenderit. Numquam voluptatem quisquam. Fugit minus non.",
|
|
"business_objective": null,
|
|
"compliance_threshold": 47.0,
|
|
"total_system_count": 0,
|
|
"type": "policy",
|
|
"os_major_version": 7,
|
|
"profile_title": "Aut aut consequuntur odit.",
|
|
"ref_id": "xccdf_org.ssgproject.content_profile_eab353ed4ec31a47eaa5165cf97f4c9b"
|
|
},
|
|
{
|
|
"id": "6be50ede-088d-4eba-bc22-b7665e6e5a95",
|
|
"title": "Laboriosam atque deserunt consequatur.",
|
|
"description": "Quos nesciunt ut. Voluptatibus minus sapiente. Aliquid itaque necessitatibus.",
|
|
"business_objective": null,
|
|
"compliance_threshold": 16.0,
|
|
"total_system_count": 0,
|
|
"type": "policy",
|
|
"os_major_version": 7,
|
|
"profile_title": "Et sit dolore voluptatem.",
|
|
"ref_id": "xccdf_org.ssgproject.content_profile_48e06d9964c3d93918db9e22b5efbf93"
|
|
},
|
|
{
|
|
"id": "7e2219d9-838a-4b81-86be-55d630edb505",
|
|
"title": "Harum voluptatem labore eius.",
|
|
"description": "Quo totam dicta. Autem dolor voluptatum. Dolor quos ullam.",
|
|
"business_objective": null,
|
|
"compliance_threshold": 79.0,
|
|
"total_system_count": 0,
|
|
"type": "policy",
|
|
"os_major_version": 7,
|
|
"profile_title": "Id minima dolore explicabo.",
|
|
"ref_id": "xccdf_org.ssgproject.content_profile_7f66280581e6c4e55377700af039d4e3"
|
|
}
|
|
],
|
|
"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": "0a473dd7-62ef-4e0b-89ce-794c702ad03e",
|
|
"title": "Eveniet dolores libero et.",
|
|
"description": "Ut explicabo iste. Placeat eveniet odio. Minus corrupti sapiente.",
|
|
"business_objective": null,
|
|
"compliance_threshold": 78.0,
|
|
"total_system_count": 0,
|
|
"type": "policy",
|
|
"os_major_version": 7,
|
|
"profile_title": "Eos et ab laboriosam.",
|
|
"ref_id": "xccdf_org.ssgproject.content_profile_ef07892bc3afe9dbaf4f5bd975877eb5"
|
|
},
|
|
{
|
|
"id": "12df26a5-ee20-4779-8248-09ac9189b91c",
|
|
"title": "Quis fuga id sed.",
|
|
"description": "Nulla earum laboriosam. Nulla cum nemo. Iure praesentium error.",
|
|
"business_objective": null,
|
|
"compliance_threshold": 18.0,
|
|
"total_system_count": 0,
|
|
"type": "policy",
|
|
"os_major_version": 7,
|
|
"profile_title": "Sit vel nostrum officiis.",
|
|
"ref_id": "xccdf_org.ssgproject.content_profile_4ade3247117e5729131e8d1090a97eab"
|
|
},
|
|
{
|
|
"id": "1d22d6dd-9068-40d0-98d5-703d120d352c",
|
|
"title": "Consequatur deserunt sit at.",
|
|
"description": "Eius et vel. Illum magnam hic. Voluptas in id.",
|
|
"business_objective": null,
|
|
"compliance_threshold": 18.0,
|
|
"total_system_count": 0,
|
|
"type": "policy",
|
|
"os_major_version": 7,
|
|
"profile_title": "Recusandae expedita aliquam est.",
|
|
"ref_id": "xccdf_org.ssgproject.content_profile_60366f48d1765f24c082bec3e26f20a0"
|
|
},
|
|
{
|
|
"id": "1f8674af-2144-42aa-9940-da393f509fd9",
|
|
"title": "Vitae praesentium veritatis est.",
|
|
"description": "Aut voluptas quos. Et autem similique. Aliquid commodi deserunt.",
|
|
"business_objective": null,
|
|
"compliance_threshold": 37.0,
|
|
"total_system_count": 0,
|
|
"type": "policy",
|
|
"os_major_version": 7,
|
|
"profile_title": "Vero qui tempora alias.",
|
|
"ref_id": "xccdf_org.ssgproject.content_profile_9d849554b27ddf2981a5fa8bbeefd545"
|
|
},
|
|
{
|
|
"id": "1fba63e2-8901-4643-a8ad-fbc52a4c58fe",
|
|
"title": "Itaque est possimus voluptatibus.",
|
|
"description": "Molestiae nulla perferendis. Modi voluptatum et. Soluta consequatur est.",
|
|
"business_objective": null,
|
|
"compliance_threshold": 63.0,
|
|
"total_system_count": 0,
|
|
"type": "policy",
|
|
"os_major_version": 7,
|
|
"profile_title": "Est eligendi neque eum.",
|
|
"ref_id": "xccdf_org.ssgproject.content_profile_4024ab5f223b2b98960aa6c2e0950384"
|
|
},
|
|
{
|
|
"id": "2072879f-62a9-4b58-a956-bec351c01aea",
|
|
"title": "Quis maiores nihil eaque.",
|
|
"description": "Eum ullam eos. Culpa eaque sint. Enim molestiae odio.",
|
|
"business_objective": null,
|
|
"compliance_threshold": 66.0,
|
|
"total_system_count": 0,
|
|
"type": "policy",
|
|
"os_major_version": 7,
|
|
"profile_title": "Dignissimos ut quo non.",
|
|
"ref_id": "xccdf_org.ssgproject.content_profile_00ad549f155d8ddf3ac0a535721bf957"
|
|
},
|
|
{
|
|
"id": "2a7a7f8c-ba6e-4fca-a205-9c69fd5abe73",
|
|
"title": "Aut vel tempore aliquid.",
|
|
"description": "Et et quis. Molestiae iusto magnam. Sit voluptas fugit.",
|
|
"business_objective": null,
|
|
"compliance_threshold": 54.0,
|
|
"total_system_count": 0,
|
|
"type": "policy",
|
|
"os_major_version": 7,
|
|
"profile_title": "Vel vel praesentium rerum.",
|
|
"ref_id": "xccdf_org.ssgproject.content_profile_2c41ec9ad34e1b0f145b82bb32c60bed"
|
|
},
|
|
{
|
|
"id": "2c67b727-1633-4e96-8ac5-f922925207fa",
|
|
"title": "Accusantium est at nulla.",
|
|
"description": "Voluptas commodi rerum. Fugiat eveniet doloribus. Exercitationem sit repudiandae.",
|
|
"business_objective": null,
|
|
"compliance_threshold": 59.0,
|
|
"total_system_count": 0,
|
|
"type": "policy",
|
|
"os_major_version": 7,
|
|
"profile_title": "Dolores magni voluptatem soluta.",
|
|
"ref_id": "xccdf_org.ssgproject.content_profile_5391217b4cbd70b3fbae3a335fedb579"
|
|
},
|
|
{
|
|
"id": "379f0126-4e18-42e3-ad43-1ace0182ae54",
|
|
"title": "Aut sapiente quia cum.",
|
|
"description": "Vitae nihil consequatur. Blanditiis exercitationem suscipit. Nihil et pariatur.",
|
|
"business_objective": null,
|
|
"compliance_threshold": 99.0,
|
|
"total_system_count": 0,
|
|
"type": "policy",
|
|
"os_major_version": 7,
|
|
"profile_title": "Voluptatem facilis dolor quas.",
|
|
"ref_id": "xccdf_org.ssgproject.content_profile_223296a231a43c5bfa826e5794e71551"
|
|
},
|
|
{
|
|
"id": "3d3797a2-446a-4784-af3c-7abb24eb57b3",
|
|
"title": "Molestiae nisi soluta dolorem.",
|
|
"description": "Id molestias vitae. Molestiae quis dicta. Velit quidem odio.",
|
|
"business_objective": null,
|
|
"compliance_threshold": 54.0,
|
|
"total_system_count": 0,
|
|
"type": "policy",
|
|
"os_major_version": 7,
|
|
"profile_title": "Laborum qui possimus quod.",
|
|
"ref_id": "xccdf_org.ssgproject.content_profile_40e48b3067a17ec0defeb99f303f338f"
|
|
}
|
|
],
|
|
"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": "3b813a81-2e87-450f-9136-1a08387dea58",
|
|
"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": "Magnam perspiciatis soluta fugit.",
|
|
"ref_id": "xccdf_org.ssgproject.content_profile_e5c62e6fda7aa6aa9cd5f26b3a64f5d9"
|
|
}
|
|
},
|
|
"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": "92ef3359-e61e-40d5-ba76-642b5e3cb150",
|
|
"title": "Dolorum nesciunt est veniam.",
|
|
"description": "Molestiae consequuntur tenetur. Autem rerum doloremque. Accusantium unde quas.",
|
|
"business_objective": null,
|
|
"compliance_threshold": 85.0,
|
|
"total_system_count": 0,
|
|
"type": "policy",
|
|
"os_major_version": 7,
|
|
"profile_title": "Aut suscipit aliquam deserunt.",
|
|
"ref_id": "xccdf_org.ssgproject.content_profile_61c04cbe9f02c1d021d4875acee66847"
|
|
}
|
|
},
|
|
"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 8cb89f30-1e69-4b06-83a6-d874f871f5a8"
|
|
]
|
|
},
|
|
"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": "4a5d7aae-eabd-4128-aa0a-2b39aab12edb",
|
|
"title": "Rerum earum repellendus atque.",
|
|
"description": "Debitis voluptatum et. Voluptas et fugiat. Eum possimus deserunt.",
|
|
"business_objective": null,
|
|
"compliance_threshold": 100.0,
|
|
"total_system_count": 0,
|
|
"type": "policy",
|
|
"os_major_version": 7,
|
|
"profile_title": "Molestiae aut incidunt voluptatibus.",
|
|
"ref_id": "xccdf_org.ssgproject.content_profile_1d54d0634cc7a21157aa318360c50017"
|
|
}
|
|
},
|
|
"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": "4e88dbf4-78c9-4b08-8ce4-a5d17fb3905a",
|
|
"title": "Quaerat et voluptatem ad.",
|
|
"description": "Iste unde accusamus. Nesciunt nulla tempore. Cumque ea quibusdam.",
|
|
"business_objective": null,
|
|
"compliance_threshold": 60.0,
|
|
"total_system_count": 0,
|
|
"type": "policy",
|
|
"os_major_version": 7,
|
|
"profile_title": "Non quisquam sunt numquam.",
|
|
"ref_id": "xccdf_org.ssgproject.content_profile_e01bb1269b05f76a1ed696ed8fbe2488"
|
|
}
|
|
},
|
|
"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": "03280db6-bc44-4b00-82da-9e0936c4b997",
|
|
"title": "Voluptas itaque sequi quis.",
|
|
"description": "Qui iure ut. Mollitia corrupti rerum. Nesciunt asperiores ut.",
|
|
"business_objective": null,
|
|
"compliance_threshold": 28.0,
|
|
"total_system_count": 1,
|
|
"type": "policy",
|
|
"os_major_version": 7,
|
|
"profile_title": "Voluptas fugiat rerum amet.",
|
|
"ref_id": "xccdf_org.ssgproject.content_profile_e684618fc7cef2272cf27314b685f0fa"
|
|
},
|
|
{
|
|
"id": "13bb1a48-b6e5-4d5e-a05b-60b3e65428cd",
|
|
"title": "Sunt tenetur suscipit error.",
|
|
"description": "Iste et et. Sit quasi dolores. Voluptas occaecati beatae.",
|
|
"business_objective": null,
|
|
"compliance_threshold": 73.0,
|
|
"total_system_count": 1,
|
|
"type": "policy",
|
|
"os_major_version": 7,
|
|
"profile_title": "Quibusdam tempore et aut.",
|
|
"ref_id": "xccdf_org.ssgproject.content_profile_6f41f822c3361d3342f703b6483cb184"
|
|
},
|
|
{
|
|
"id": "2f0bf79f-0de0-439d-adef-6fdc1f65bb2f",
|
|
"title": "Est aut id numquam.",
|
|
"description": "Veniam inventore ut. Odit quia distinctio. Illo aut debitis.",
|
|
"business_objective": null,
|
|
"compliance_threshold": 60.0,
|
|
"total_system_count": 1,
|
|
"type": "policy",
|
|
"os_major_version": 7,
|
|
"profile_title": "Ex dolor sit aut.",
|
|
"ref_id": "xccdf_org.ssgproject.content_profile_20137518f4d4cdf13941cbfbbb9356fd"
|
|
},
|
|
{
|
|
"id": "309eaf15-7d60-49d0-a2bb-d2a07eda3c13",
|
|
"title": "Eos aut vel officiis.",
|
|
"description": "Qui optio voluptate. Animi cupiditate quasi. Mollitia aut rerum.",
|
|
"business_objective": null,
|
|
"compliance_threshold": 78.0,
|
|
"total_system_count": 1,
|
|
"type": "policy",
|
|
"os_major_version": 7,
|
|
"profile_title": "Repellendus delectus aperiam ut.",
|
|
"ref_id": "xccdf_org.ssgproject.content_profile_0205f3e4b94aa75d407831d3b0755316"
|
|
},
|
|
{
|
|
"id": "310c8c3f-d0c0-418e-9e20-fded83988a9d",
|
|
"title": "Itaque ad sunt non.",
|
|
"description": "Quisquam qui amet. Ipsam consequuntur incidunt. Natus hic corrupti.",
|
|
"business_objective": null,
|
|
"compliance_threshold": 54.0,
|
|
"total_system_count": 1,
|
|
"type": "policy",
|
|
"os_major_version": 7,
|
|
"profile_title": "Magni ut ipsam est.",
|
|
"ref_id": "xccdf_org.ssgproject.content_profile_402b47a327b1de5b8d08bd9950cae4f9"
|
|
},
|
|
{
|
|
"id": "33775a3d-aa22-4a97-9286-03fe63ef9364",
|
|
"title": "Fugiat sed alias id.",
|
|
"description": "Et omnis eius. Cupiditate eum voluptates. Excepturi nesciunt corrupti.",
|
|
"business_objective": null,
|
|
"compliance_threshold": 65.0,
|
|
"total_system_count": 1,
|
|
"type": "policy",
|
|
"os_major_version": 7,
|
|
"profile_title": "Facere est ut a.",
|
|
"ref_id": "xccdf_org.ssgproject.content_profile_06f05a53a74fd381aead248d9d01f891"
|
|
},
|
|
{
|
|
"id": "3ba06154-60f1-4c0b-a0a7-85f6e65cb8f9",
|
|
"title": "Voluptatem architecto omnis eius.",
|
|
"description": "Deleniti quia sunt. Iure cum nostrum. Ut distinctio unde.",
|
|
"business_objective": null,
|
|
"compliance_threshold": 79.0,
|
|
"total_system_count": 1,
|
|
"type": "policy",
|
|
"os_major_version": 7,
|
|
"profile_title": "Et exercitationem provident deleniti.",
|
|
"ref_id": "xccdf_org.ssgproject.content_profile_49372ae7b7a22a46ef0cab9e9bacb378"
|
|
},
|
|
{
|
|
"id": "41477ef3-3e31-4938-a44e-04b823eb830f",
|
|
"title": "Sequi consectetur possimus aut.",
|
|
"description": "Quas veritatis libero. Odit suscipit doloremque. Ullam molestias voluptatem.",
|
|
"business_objective": null,
|
|
"compliance_threshold": 82.0,
|
|
"total_system_count": 1,
|
|
"type": "policy",
|
|
"os_major_version": 7,
|
|
"profile_title": "Quo ullam illum consequatur.",
|
|
"ref_id": "xccdf_org.ssgproject.content_profile_73eb7f66702bcb40ae357eb626aee887"
|
|
},
|
|
{
|
|
"id": "445adea6-dfe3-45db-b428-a9ab202cf5d7",
|
|
"title": "Eos aut reiciendis quis.",
|
|
"description": "Vel accusantium molestiae. Fuga dolorem a. Repellat numquam consectetur.",
|
|
"business_objective": null,
|
|
"compliance_threshold": 33.0,
|
|
"total_system_count": 1,
|
|
"type": "policy",
|
|
"os_major_version": 7,
|
|
"profile_title": "Est odit possimus in.",
|
|
"ref_id": "xccdf_org.ssgproject.content_profile_7c7cfcc3a36f44ab99d21a4d8132eaf6"
|
|
},
|
|
{
|
|
"id": "507f3c8e-69db-48db-8696-a5a7f0dad14c",
|
|
"title": "Eum qui et corrupti.",
|
|
"description": "Ex ea nostrum. Neque optio molestiae. Consequatur eum aliquid.",
|
|
"business_objective": null,
|
|
"compliance_threshold": 83.0,
|
|
"total_system_count": 1,
|
|
"type": "policy",
|
|
"os_major_version": 7,
|
|
"profile_title": "Libero ipsa nobis voluptates.",
|
|
"ref_id": "xccdf_org.ssgproject.content_profile_b245b1f72f0f56b475e220318ba54d2a"
|
|
}
|
|
],
|
|
"meta": {
|
|
"total": 25,
|
|
"limit": 10,
|
|
"offset": 0
|
|
},
|
|
"links": {
|
|
"first": "/api/compliance/v2/systems/d4cf433c-e400-4039-8536-c1f188229853/policies?limit=10&offset=0",
|
|
"last": "/api/compliance/v2/systems/d4cf433c-e400-4039-8536-c1f188229853/policies?limit=10&offset=20",
|
|
"next": "/api/compliance/v2/systems/d4cf433c-e400-4039-8536-c1f188229853/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": "0d30cc26-3f56-46b9-8a2c-4b23bb808624",
|
|
"ref_id": "xccdf_org.ssgproject.content_profile_19598f55d1b4d9ca4c19188c58a7af56",
|
|
"title": "Pariatur assumenda et sint.",
|
|
"description": "Expedita corporis quo. Repellat ut non. Et voluptate rem.",
|
|
"value_overrides": {},
|
|
"type": "profile"
|
|
},
|
|
{
|
|
"id": "11252ea4-c59e-4feb-9b76-00e75f4b3da8",
|
|
"ref_id": "xccdf_org.ssgproject.content_profile_3a7ae9e055f31f52075a19ed732ac3f5",
|
|
"title": "Harum corrupti sit cum.",
|
|
"description": "Eligendi minus mollitia. Adipisci ut rem. Et enim sint.",
|
|
"value_overrides": {},
|
|
"type": "profile"
|
|
},
|
|
{
|
|
"id": "252edb1c-9261-48d5-87bf-3b1a028b3561",
|
|
"ref_id": "xccdf_org.ssgproject.content_profile_82c98271dbb9c3cd80a9a1c268f31d25",
|
|
"title": "Sint itaque ut vel.",
|
|
"description": "Eveniet officia ut. Quod excepturi aut. Aliquam et vitae.",
|
|
"value_overrides": {},
|
|
"type": "profile"
|
|
},
|
|
{
|
|
"id": "2be8fcf2-0858-49fb-bacc-c1d7b7ad0f98",
|
|
"ref_id": "xccdf_org.ssgproject.content_profile_26c89296c89b13df990ead3171874165",
|
|
"title": "A repellat rem sequi.",
|
|
"description": "Eveniet cumque a. Consequatur vero fuga. Voluptas recusandae sed.",
|
|
"value_overrides": {},
|
|
"type": "profile"
|
|
},
|
|
{
|
|
"id": "2cebb1e0-5457-4e40-b783-dc628b41d7cb",
|
|
"ref_id": "xccdf_org.ssgproject.content_profile_a632452bf878ad637944bc5758a3bbc0",
|
|
"title": "Reprehenderit et beatae vel.",
|
|
"description": "Recusandae laborum itaque. Ipsam reiciendis distinctio. Eveniet dolores sint.",
|
|
"value_overrides": {},
|
|
"type": "profile"
|
|
},
|
|
{
|
|
"id": "3865a613-1803-485c-bc25-a741ad9a07cb",
|
|
"ref_id": "xccdf_org.ssgproject.content_profile_9967ac9f2fc3f3e79245fd4f58fe2061",
|
|
"title": "Illo quaerat ullam voluptatibus.",
|
|
"description": "Et qui voluptatem. Delectus aliquam omnis. Omnis ut est.",
|
|
"value_overrides": {},
|
|
"type": "profile"
|
|
},
|
|
{
|
|
"id": "53097b81-bd36-4585-8aa8-ec840106c080",
|
|
"ref_id": "xccdf_org.ssgproject.content_profile_adbf5f4a8a93af550c29998d6777d85c",
|
|
"title": "Deleniti eveniet laudantium consequatur.",
|
|
"description": "Sit ad consequatur. Quidem eos ipsam. Quisquam iure aut.",
|
|
"value_overrides": {},
|
|
"type": "profile"
|
|
},
|
|
{
|
|
"id": "6bc46765-782c-474b-a825-fb5ef4355329",
|
|
"ref_id": "xccdf_org.ssgproject.content_profile_23909353e6956f8066d8fbedd43c17d5",
|
|
"title": "Molestiae enim magnam qui.",
|
|
"description": "Aliquid et adipisci. Quis non in. Dolore laboriosam voluptate.",
|
|
"value_overrides": {},
|
|
"type": "profile"
|
|
},
|
|
{
|
|
"id": "7f15a5ee-719b-42ec-bc29-71353e0df627",
|
|
"ref_id": "xccdf_org.ssgproject.content_profile_ad0ffcc356122f8981abce66be78464b",
|
|
"title": "Aut dolorum nemo ea.",
|
|
"description": "Sed voluptates iste. Fugit aut odio. Tempora sit vitae.",
|
|
"value_overrides": {},
|
|
"type": "profile"
|
|
},
|
|
{
|
|
"id": "8dd361d3-1312-4593-8c23-b200daa1b7bb",
|
|
"ref_id": "xccdf_org.ssgproject.content_profile_7fa89b57239f1828712afd0671df44b6",
|
|
"title": "Omnis ratione vel ea.",
|
|
"description": "Est sit sunt. Illo quo tempore. Voluptatem qui eum.",
|
|
"value_overrides": {},
|
|
"type": "profile"
|
|
}
|
|
],
|
|
"meta": {
|
|
"total": 25,
|
|
"limit": 10,
|
|
"offset": 0
|
|
},
|
|
"links": {
|
|
"first": "/api/compliance/v2/security_guides/5402a95f-15a8-49e5-b6e4-df484745bbf0/profiles?limit=10&offset=0",
|
|
"last": "/api/compliance/v2/security_guides/5402a95f-15a8-49e5-b6e4-df484745bbf0/profiles?limit=10&offset=20",
|
|
"next": "/api/compliance/v2/security_guides/5402a95f-15a8-49e5-b6e4-df484745bbf0/profiles?limit=10&offset=10"
|
|
}
|
|
},
|
|
"summary": "",
|
|
"description": ""
|
|
},
|
|
"List of Profiles sorted by \"title:asc\"": {
|
|
"value": {
|
|
"data": [
|
|
{
|
|
"id": "abf8cb78-d72c-43f1-891f-6c9898f3ba81",
|
|
"ref_id": "xccdf_org.ssgproject.content_profile_4a894b06c144512a38bd988f9ef161ba",
|
|
"title": "Accusamus nemo odit vel.",
|
|
"description": "Dolor reiciendis doloribus. Assumenda autem laudantium. Temporibus recusandae doloremque.",
|
|
"value_overrides": {},
|
|
"type": "profile"
|
|
},
|
|
{
|
|
"id": "a712630f-1a07-49ab-ba86-b9996cdf770b",
|
|
"ref_id": "xccdf_org.ssgproject.content_profile_7cb9542a8962918a6908185de9213b11",
|
|
"title": "Architecto vitae iste et.",
|
|
"description": "Placeat optio aut. Quia itaque voluptas. Possimus quo aut.",
|
|
"value_overrides": {},
|
|
"type": "profile"
|
|
},
|
|
{
|
|
"id": "03e94906-cc58-443d-a5b4-485dbbde171c",
|
|
"ref_id": "xccdf_org.ssgproject.content_profile_d4453ebaa667471f555a44faf40bc5d6",
|
|
"title": "Asperiores sit iste dolores.",
|
|
"description": "Qui suscipit assumenda. Occaecati deserunt eius. Quisquam quo at.",
|
|
"value_overrides": {},
|
|
"type": "profile"
|
|
},
|
|
{
|
|
"id": "a64d7e90-42af-456c-91bd-e3638d8d38e3",
|
|
"ref_id": "xccdf_org.ssgproject.content_profile_05a8d1e0e11be9c922b9f37cc23b0c38",
|
|
"title": "Aut eos cum ipsa.",
|
|
"description": "Consectetur illum rerum. Velit saepe molestiae. Sint tempora dolorum.",
|
|
"value_overrides": {},
|
|
"type": "profile"
|
|
},
|
|
{
|
|
"id": "147245b9-af14-4027-b6fb-0eafa138c357",
|
|
"ref_id": "xccdf_org.ssgproject.content_profile_a9dd70190f710cef02c007fc8dd8b328",
|
|
"title": "Blanditiis nihil voluptatem cum.",
|
|
"description": "Voluptates eligendi vel. Sint corporis quos. Harum exercitationem id.",
|
|
"value_overrides": {},
|
|
"type": "profile"
|
|
},
|
|
{
|
|
"id": "88037beb-9c0d-401e-b4d2-02c1ce95a352",
|
|
"ref_id": "xccdf_org.ssgproject.content_profile_c459c942f889943f7a2500383fa38d9d",
|
|
"title": "Delectus dolorum libero laudantium.",
|
|
"description": "Voluptas velit id. Consectetur sit labore. Tempore recusandae ducimus.",
|
|
"value_overrides": {},
|
|
"type": "profile"
|
|
},
|
|
{
|
|
"id": "b30198e9-92f4-4913-8052-5e7b6c798f81",
|
|
"ref_id": "xccdf_org.ssgproject.content_profile_7cce54c2b19ea26d8bb828243efb196d",
|
|
"title": "Ducimus magni soluta enim.",
|
|
"description": "Optio minima consequuntur. Et non unde. Nihil pariatur est.",
|
|
"value_overrides": {},
|
|
"type": "profile"
|
|
},
|
|
{
|
|
"id": "cf4a1831-974d-4c85-8139-e6bcbe312182",
|
|
"ref_id": "xccdf_org.ssgproject.content_profile_aa1fbeea881c8e88302e1922e1e602aa",
|
|
"title": "Ea voluptas velit voluptate.",
|
|
"description": "Nulla et aliquam. Molestias doloribus natus. Nam eius dignissimos.",
|
|
"value_overrides": {},
|
|
"type": "profile"
|
|
},
|
|
{
|
|
"id": "bd7cb19e-1465-405f-8362-7a3273424bd3",
|
|
"ref_id": "xccdf_org.ssgproject.content_profile_ab99a35643b61364da8aaf06b0475d70",
|
|
"title": "Eos corporis et perferendis.",
|
|
"description": "Et et id. Dolorum animi dignissimos. Itaque excepturi vel.",
|
|
"value_overrides": {},
|
|
"type": "profile"
|
|
},
|
|
{
|
|
"id": "1b3512e3-7f3f-4c73-ad90-a486d000ff7a",
|
|
"ref_id": "xccdf_org.ssgproject.content_profile_3cefa03636bfc549d8e6cb644ba8c40d",
|
|
"title": "Esse qui cupiditate eos.",
|
|
"description": "Est repudiandae rem. Tenetur earum ducimus. Quo aliquam doloremque.",
|
|
"value_overrides": {},
|
|
"type": "profile"
|
|
}
|
|
],
|
|
"meta": {
|
|
"total": 25,
|
|
"limit": 10,
|
|
"offset": 0,
|
|
"sort_by": "title"
|
|
},
|
|
"links": {
|
|
"first": "/api/compliance/v2/security_guides/803053f0-5954-4a69-87e2-6ce9a1482491/profiles?limit=10&offset=0&sort_by=title",
|
|
"last": "/api/compliance/v2/security_guides/803053f0-5954-4a69-87e2-6ce9a1482491/profiles?limit=10&offset=20&sort_by=title",
|
|
"next": "/api/compliance/v2/security_guides/803053f0-5954-4a69-87e2-6ce9a1482491/profiles?limit=10&offset=10&sort_by=title"
|
|
}
|
|
},
|
|
"summary": "",
|
|
"description": ""
|
|
},
|
|
"List of Profiles filtered by '(title=Sint qui dolore enim.)'": {
|
|
"value": {
|
|
"data": [
|
|
{
|
|
"id": "0fa8c451-f6d8-4382-b0c5-add82352a373",
|
|
"ref_id": "xccdf_org.ssgproject.content_profile_7b7606170b01031f8eee6f959275b0b6",
|
|
"title": "Sint qui dolore enim.",
|
|
"description": "Nulla aspernatur ut. Explicabo incidunt laborum. Aperiam nobis hic.",
|
|
"value_overrides": {},
|
|
"type": "profile"
|
|
}
|
|
],
|
|
"meta": {
|
|
"total": 1,
|
|
"filter": "(title=\"Sint qui dolore enim.\")",
|
|
"limit": 10,
|
|
"offset": 0
|
|
},
|
|
"links": {
|
|
"first": "/api/compliance/v2/security_guides/7d223b5a-458b-48a2-98ce-cf2005d0003d/profiles?filter=%28title%3D%22Sint+qui+dolore+enim.%22%29&limit=10&offset=0",
|
|
"last": "/api/compliance/v2/security_guides/7d223b5a-458b-48a2-98ce-cf2005d0003d/profiles?filter=%28title%3D%22Sint+qui+dolore+enim.%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": "521ec4e5-030a-4007-be21-e1d2a4fd9f90",
|
|
"ref_id": "xccdf_org.ssgproject.content_profile_7b5c4b4f7a075fe54ee53f3c7a527bed",
|
|
"title": "Id tempora et est.",
|
|
"description": "Rerum perspiciatis est. Et praesentium aut. Rem laboriosam ipsa.",
|
|
"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 6705eceb-e334-4ca3-b272-e477fed24fc3"
|
|
]
|
|
},
|
|
"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": "7e59f384-1dab-4252-b749-e96202b08c5a",
|
|
"title": "Animi suscipit ut cum.",
|
|
"description": "Sunt nostrum voluptatum. Maiores dolor temporibus. Perferendis aut accusantium.",
|
|
"business_objective": "card",
|
|
"compliance_threshold": 90.0,
|
|
"type": "report",
|
|
"os_major_version": 8,
|
|
"profile_title": "Neque incidunt dolorem eum.",
|
|
"ref_id": "xccdf_org.ssgproject.content_profile_78a564a4b9cb03a59c13a99cb5362090",
|
|
"all_systems_exposed": true,
|
|
"percent_compliant": 25,
|
|
"assigned_system_count": 4,
|
|
"compliant_system_count": 1,
|
|
"unsupported_system_count": 2,
|
|
"reported_system_count": 4
|
|
},
|
|
{
|
|
"id": "879f7e24-4e7f-4ed3-a303-5a223654401c",
|
|
"title": "Sapiente enim magnam maxime.",
|
|
"description": "Ut corrupti quisquam. Sapiente quam quas. Quis totam voluptatibus.",
|
|
"business_objective": "monitor",
|
|
"compliance_threshold": 90.0,
|
|
"type": "report",
|
|
"os_major_version": 8,
|
|
"profile_title": "Earum at est qui.",
|
|
"ref_id": "xccdf_org.ssgproject.content_profile_98991f453195d404def52537b9a6985b",
|
|
"all_systems_exposed": true,
|
|
"percent_compliant": 25,
|
|
"assigned_system_count": 4,
|
|
"compliant_system_count": 1,
|
|
"unsupported_system_count": 2,
|
|
"reported_system_count": 4
|
|
},
|
|
{
|
|
"id": "a32619c2-c975-4961-91a5-404685ae03a9",
|
|
"title": "Molestiae quo aut repudiandae.",
|
|
"description": "Quos maiores neque. Soluta a magni. Harum aspernatur et.",
|
|
"business_objective": "bus",
|
|
"compliance_threshold": 90.0,
|
|
"type": "report",
|
|
"os_major_version": 8,
|
|
"profile_title": "Porro consequatur doloribus dolores.",
|
|
"ref_id": "xccdf_org.ssgproject.content_profile_19dc0391e447a66ae6fdcf702046c7c4",
|
|
"all_systems_exposed": true,
|
|
"percent_compliant": 25,
|
|
"assigned_system_count": 4,
|
|
"compliant_system_count": 1,
|
|
"unsupported_system_count": 2,
|
|
"reported_system_count": 4
|
|
},
|
|
{
|
|
"id": "a60b7023-7191-4f88-b2cd-351a4bdd7355",
|
|
"title": "Delectus nihil enim impedit.",
|
|
"description": "Sint eius voluptatibus. Quisquam aperiam voluptatem. Nisi minus ut.",
|
|
"business_objective": "matrix",
|
|
"compliance_threshold": 90.0,
|
|
"type": "report",
|
|
"os_major_version": 8,
|
|
"profile_title": "Incidunt sunt eos reiciendis.",
|
|
"ref_id": "xccdf_org.ssgproject.content_profile_bd1236f9712c35cbbbe4cf2f4987634f",
|
|
"all_systems_exposed": true,
|
|
"percent_compliant": 25,
|
|
"assigned_system_count": 4,
|
|
"compliant_system_count": 1,
|
|
"unsupported_system_count": 2,
|
|
"reported_system_count": 4
|
|
},
|
|
{
|
|
"id": "f53e61aa-81f1-4bd4-bc2d-445a225cc283",
|
|
"title": "Quod tempora quos fugiat.",
|
|
"description": "A commodi qui. Eveniet repudiandae quae. Sed et cum.",
|
|
"business_objective": "alarm",
|
|
"compliance_threshold": 90.0,
|
|
"type": "report",
|
|
"os_major_version": 8,
|
|
"profile_title": "Rerum aut dolorum voluptates.",
|
|
"ref_id": "xccdf_org.ssgproject.content_profile_87000510459d3d03a87090fd053f1a8b",
|
|
"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": "2fad3e08-ea03-480f-b225-a5fa58a69630",
|
|
"title": "Voluptas nam occaecati deleniti.",
|
|
"description": "Mollitia facilis aperiam. Molestias et ipsam. Est minima libero.",
|
|
"business_objective": "feed",
|
|
"compliance_threshold": 90.0,
|
|
"type": "report",
|
|
"os_major_version": 8,
|
|
"profile_title": "Doloribus dolores sequi voluptas.",
|
|
"ref_id": "xccdf_org.ssgproject.content_profile_f705fd53b4675a2a7d9d92aa86c9a8e4",
|
|
"all_systems_exposed": true,
|
|
"percent_compliant": 25,
|
|
"assigned_system_count": 4,
|
|
"compliant_system_count": 1,
|
|
"unsupported_system_count": 2,
|
|
"reported_system_count": 4
|
|
},
|
|
{
|
|
"id": "6f2d1713-a7bd-4862-b4d4-44df843d89be",
|
|
"title": "Ea id aut fuga.",
|
|
"description": "Ea sunt ut. Occaecati voluptas dignissimos. Aut eius necessitatibus.",
|
|
"business_objective": "panel",
|
|
"compliance_threshold": 90.0,
|
|
"type": "report",
|
|
"os_major_version": 8,
|
|
"profile_title": "Eos sequi odit quis.",
|
|
"ref_id": "xccdf_org.ssgproject.content_profile_f07078bd4ba8e48a8da96cc88b613930",
|
|
"all_systems_exposed": true,
|
|
"percent_compliant": 25,
|
|
"assigned_system_count": 4,
|
|
"compliant_system_count": 1,
|
|
"unsupported_system_count": 2,
|
|
"reported_system_count": 4
|
|
},
|
|
{
|
|
"id": "9369675b-2a74-47ea-afc0-357c636111ef",
|
|
"title": "Sit et animi minima.",
|
|
"description": "Hic placeat corrupti. Vel eaque eum. Est nemo dolores.",
|
|
"business_objective": "bus",
|
|
"compliance_threshold": 90.0,
|
|
"type": "report",
|
|
"os_major_version": 8,
|
|
"profile_title": "Quam aliquam nisi aut.",
|
|
"ref_id": "xccdf_org.ssgproject.content_profile_c58b675adf2d4d518b400d02c402ca95",
|
|
"all_systems_exposed": true,
|
|
"percent_compliant": 25,
|
|
"assigned_system_count": 4,
|
|
"compliant_system_count": 1,
|
|
"unsupported_system_count": 2,
|
|
"reported_system_count": 4
|
|
},
|
|
{
|
|
"id": "c461854d-d896-4f4f-9fb7-2051f609309a",
|
|
"title": "Dolor dicta quis sed.",
|
|
"description": "Qui veritatis assumenda. Impedit voluptas natus. At similique corrupti.",
|
|
"business_objective": "alarm",
|
|
"compliance_threshold": 90.0,
|
|
"type": "report",
|
|
"os_major_version": 8,
|
|
"profile_title": "Blanditiis sit quia reprehenderit.",
|
|
"ref_id": "xccdf_org.ssgproject.content_profile_fe6d09841daebc65baf6d77831eb3dc1",
|
|
"all_systems_exposed": true,
|
|
"percent_compliant": 25,
|
|
"assigned_system_count": 4,
|
|
"compliant_system_count": 1,
|
|
"unsupported_system_count": 2,
|
|
"reported_system_count": 4
|
|
},
|
|
{
|
|
"id": "dbdda1cf-0aa3-4402-8267-9f21d9419e41",
|
|
"title": "Beatae iure numquam quo.",
|
|
"description": "Delectus pariatur mollitia. Illum et rerum. Adipisci iusto suscipit.",
|
|
"business_objective": "matrix",
|
|
"compliance_threshold": 90.0,
|
|
"type": "report",
|
|
"os_major_version": 8,
|
|
"profile_title": "Nulla sit est tenetur.",
|
|
"ref_id": "xccdf_org.ssgproject.content_profile_b2118c67c90d0094c88b9dd9c456b9bb",
|
|
"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": "1d6f8765-37bd-41ff-ac53-809b02d864bb",
|
|
"title": "In reprehenderit aut est.",
|
|
"description": "Autem et quaerat. Quos suscipit iure. Incidunt voluptas ut.",
|
|
"business_objective": "pixel",
|
|
"compliance_threshold": 90.0,
|
|
"type": "report",
|
|
"os_major_version": 9,
|
|
"profile_title": "Itaque reprehenderit molestiae placeat.",
|
|
"ref_id": "xccdf_org.ssgproject.content_profile_8eba867cd34a3c2d6ff493f659be33f8",
|
|
"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 1b04d06c-f395-47f9-b5d8-e4bd1679d7d5"
|
|
]
|
|
},
|
|
"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": "a6abc06a-484d-4607-a559-8a2fb6231e57",
|
|
"title": "Aut maxime labore est.",
|
|
"description": "Autem eligendi illum. Minima iste veritatis. Et cumque non.",
|
|
"business_objective": "program",
|
|
"compliance_threshold": 90.0,
|
|
"type": "report",
|
|
"os_major_version": 9,
|
|
"profile_title": "Perspiciatis aliquid omnis eaque.",
|
|
"ref_id": "xccdf_org.ssgproject.content_profile_9b44c0ec6ba2b610718af04b048c239e",
|
|
"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 4b2a9c35-1f19-4f1c-81cf-d177a46b3a43"
|
|
]
|
|
},
|
|
"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": "237934b4-85c6-4980-9587-43d17794ed24",
|
|
"title": "Iure qui nobis eos.",
|
|
"description": "Et enim ratione. Quas id iste. Ducimus veritatis voluptatum.",
|
|
"business_objective": "interface",
|
|
"compliance_threshold": 90.0,
|
|
"type": "report",
|
|
"os_major_version": 8,
|
|
"profile_title": "Delectus quibusdam dolor atque.",
|
|
"ref_id": "xccdf_org.ssgproject.content_profile_f9f1707e6119fe241c2997312cd97302",
|
|
"all_systems_exposed": false,
|
|
"percent_compliant": 0,
|
|
"compliant_system_count": 0,
|
|
"unsupported_system_count": 0,
|
|
"reported_system_count": 0
|
|
},
|
|
{
|
|
"id": "70ca843e-b4a1-42a3-a426-7e0cf85d4316",
|
|
"title": "Non explicabo maxime numquam.",
|
|
"description": "Sed dolores possimus. Assumenda et quam. Dolore quibusdam maxime.",
|
|
"business_objective": "application",
|
|
"compliance_threshold": 90.0,
|
|
"type": "report",
|
|
"os_major_version": 8,
|
|
"profile_title": "Saepe optio rem occaecati.",
|
|
"ref_id": "xccdf_org.ssgproject.content_profile_d3d56915d27da43647b7d55c22ed6853",
|
|
"all_systems_exposed": false,
|
|
"percent_compliant": 0,
|
|
"compliant_system_count": 0,
|
|
"unsupported_system_count": 0,
|
|
"reported_system_count": 0
|
|
},
|
|
{
|
|
"id": "a932ae47-b7d8-4b72-8910-141edb277fda",
|
|
"title": "Dolorem ut inventore voluptatum.",
|
|
"description": "Mollitia ipsum inventore. Quis et alias. Quasi deserunt fuga.",
|
|
"business_objective": "card",
|
|
"compliance_threshold": 90.0,
|
|
"type": "report",
|
|
"os_major_version": 8,
|
|
"profile_title": "Similique nobis eaque impedit.",
|
|
"ref_id": "xccdf_org.ssgproject.content_profile_f8024483a579398948e6461c5b414e1a",
|
|
"all_systems_exposed": false,
|
|
"percent_compliant": 0,
|
|
"compliant_system_count": 0,
|
|
"unsupported_system_count": 0,
|
|
"reported_system_count": 0
|
|
},
|
|
{
|
|
"id": "c57f512e-c694-4666-b267-23395f585d72",
|
|
"title": "Ipsum non eaque natus.",
|
|
"description": "Laborum beatae optio. Laboriosam cum voluptatem. Cupiditate ab ut.",
|
|
"business_objective": "driver",
|
|
"compliance_threshold": 90.0,
|
|
"type": "report",
|
|
"os_major_version": 8,
|
|
"profile_title": "Natus omnis dolorem velit.",
|
|
"ref_id": "xccdf_org.ssgproject.content_profile_81915372998e6936a03c0b9c13fe5616",
|
|
"all_systems_exposed": false,
|
|
"percent_compliant": 0,
|
|
"compliant_system_count": 0,
|
|
"unsupported_system_count": 0,
|
|
"reported_system_count": 0
|
|
},
|
|
{
|
|
"id": "ca554248-4882-4b47-9569-7b77b0e0b883",
|
|
"title": "Neque perferendis vel culpa.",
|
|
"description": "Officia et repellendus. Architecto et fugit. Nemo occaecati perspiciatis.",
|
|
"business_objective": "feed",
|
|
"compliance_threshold": 90.0,
|
|
"type": "report",
|
|
"os_major_version": 8,
|
|
"profile_title": "Id ea ipsam maxime.",
|
|
"ref_id": "xccdf_org.ssgproject.content_profile_fee83a38bfc976f70a47c6700968087a",
|
|
"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/4171073d-675e-4988-83b0-143e8197d845/reports?limit=10&offset=0",
|
|
"last": "/api/compliance/v2/systems/4171073d-675e-4988-83b0-143e8197d845/reports?limit=10&offset=0"
|
|
}
|
|
},
|
|
"summary": "",
|
|
"description": ""
|
|
},
|
|
"List of Reports sorted by \"title:asc\"": {
|
|
"value": {
|
|
"data": [
|
|
{
|
|
"id": "88ecce98-c5d7-4283-8692-169db37665ea",
|
|
"title": "Doloribus architecto omnis ipsa.",
|
|
"description": "Quod quas maxime. Laudantium distinctio dignissimos. Nesciunt ipsum soluta.",
|
|
"business_objective": "panel",
|
|
"compliance_threshold": 90.0,
|
|
"type": "report",
|
|
"os_major_version": 8,
|
|
"profile_title": "Quo voluptatum provident et.",
|
|
"ref_id": "xccdf_org.ssgproject.content_profile_c898ec737f37207e4472ecbe71beebf3",
|
|
"all_systems_exposed": false,
|
|
"percent_compliant": 0,
|
|
"compliant_system_count": 0,
|
|
"unsupported_system_count": 0,
|
|
"reported_system_count": 0
|
|
},
|
|
{
|
|
"id": "2fc03049-713a-4d2b-92e9-5585c8534b70",
|
|
"title": "Fuga cupiditate ipsa consequuntur.",
|
|
"description": "Possimus officia magnam. Qui sit nihil. Praesentium aut libero.",
|
|
"business_objective": "monitor",
|
|
"compliance_threshold": 90.0,
|
|
"type": "report",
|
|
"os_major_version": 8,
|
|
"profile_title": "Vero eum voluptas maiores.",
|
|
"ref_id": "xccdf_org.ssgproject.content_profile_88b9c7eed61efabf259ef78051a86cc1",
|
|
"all_systems_exposed": false,
|
|
"percent_compliant": 0,
|
|
"compliant_system_count": 0,
|
|
"unsupported_system_count": 0,
|
|
"reported_system_count": 0
|
|
},
|
|
{
|
|
"id": "5df63571-821a-45e8-8e86-1232cde2924b",
|
|
"title": "Natus voluptas qui soluta.",
|
|
"description": "Doloribus ad voluptatibus. Necessitatibus ad deserunt. Beatae eveniet rerum.",
|
|
"business_objective": "interface",
|
|
"compliance_threshold": 90.0,
|
|
"type": "report",
|
|
"os_major_version": 8,
|
|
"profile_title": "Distinctio blanditiis voluptatem et.",
|
|
"ref_id": "xccdf_org.ssgproject.content_profile_4f4fe7c76fc0f9aac2b0eb35b3f11fad",
|
|
"all_systems_exposed": false,
|
|
"percent_compliant": 0,
|
|
"compliant_system_count": 0,
|
|
"unsupported_system_count": 0,
|
|
"reported_system_count": 0
|
|
},
|
|
{
|
|
"id": "ba630b7b-f827-4d5b-b94e-d11b7004bf5e",
|
|
"title": "Qui voluptatibus nulla placeat.",
|
|
"description": "In omnis dignissimos. Praesentium quod fugiat. Tenetur enim reiciendis.",
|
|
"business_objective": "array",
|
|
"compliance_threshold": 90.0,
|
|
"type": "report",
|
|
"os_major_version": 8,
|
|
"profile_title": "Rem ea voluptatibus quia.",
|
|
"ref_id": "xccdf_org.ssgproject.content_profile_38830a1d19370f74b77cd1acb8c92e2a",
|
|
"all_systems_exposed": false,
|
|
"percent_compliant": 0,
|
|
"compliant_system_count": 0,
|
|
"unsupported_system_count": 0,
|
|
"reported_system_count": 0
|
|
},
|
|
{
|
|
"id": "bc81df98-0eb2-4e88-9193-e7937807c670",
|
|
"title": "Velit dolore ea eos.",
|
|
"description": "Omnis accusamus aut. Facilis nostrum id. Iure ut eaque.",
|
|
"business_objective": "firewall",
|
|
"compliance_threshold": 90.0,
|
|
"type": "report",
|
|
"os_major_version": 8,
|
|
"profile_title": "Enim optio et distinctio.",
|
|
"ref_id": "xccdf_org.ssgproject.content_profile_4e13425f492aff318e4ee7076f2b99f6",
|
|
"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/dcc01bc1-e5d1-422f-9e96-36134a33948e/reports?limit=10&offset=0&sort_by=title",
|
|
"last": "/api/compliance/v2/systems/dcc01bc1-e5d1-422f-9e96-36134a33948e/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": "16962f3b-3bfc-44f3-b399-0eff851a10db",
|
|
"ref_id": "xccdf_org.ssgproject.content_rule_group_e7c98c96235fb23cd376053bf1aa9507",
|
|
"title": "Sed aspernatur facilis qui.",
|
|
"rationale": "Excepturi pariatur sunt. Asperiores aut blanditiis. Reiciendis sint laborum.",
|
|
"description": "Inventore sint aliquam. Maxime laudantium qui. Omnis ratione qui.",
|
|
"precedence": null,
|
|
"type": "rule_group"
|
|
},
|
|
{
|
|
"id": "1aad549b-685b-4a39-96f7-15e5344c1613",
|
|
"ref_id": "xccdf_org.ssgproject.content_rule_group_c068b72d4e7d81717ab869ca952a8d5e",
|
|
"title": "Assumenda sint voluptatem possimus.",
|
|
"rationale": "Maiores ipsum voluptate. Neque vel ullam. In quaerat consequuntur.",
|
|
"description": "Est perferendis eveniet. Similique quasi reprehenderit. Rerum porro recusandae.",
|
|
"precedence": null,
|
|
"type": "rule_group"
|
|
},
|
|
{
|
|
"id": "2baec4f5-68fa-4879-bf4f-54916184b435",
|
|
"ref_id": "xccdf_org.ssgproject.content_rule_group_ade7c33dd2056bb0dc6b1c795b7cce73",
|
|
"title": "Velit amet repellendus ullam.",
|
|
"rationale": "Nam fugiat commodi. Quas qui facilis. Aspernatur necessitatibus velit.",
|
|
"description": "Molestias odit sit. Asperiores provident occaecati. Qui dicta sunt.",
|
|
"precedence": null,
|
|
"type": "rule_group"
|
|
},
|
|
{
|
|
"id": "34df7272-2812-49d2-b76e-26a01c4859d4",
|
|
"ref_id": "xccdf_org.ssgproject.content_rule_group_a767ec6d88eb4257dea1609d0dc34315",
|
|
"title": "Ut vero quidem iure.",
|
|
"rationale": "Velit consequuntur ut. Vel voluptas exercitationem. Nobis dolores unde.",
|
|
"description": "Voluptatem placeat sint. Eveniet ut eos. Aut quasi corrupti.",
|
|
"precedence": null,
|
|
"type": "rule_group"
|
|
},
|
|
{
|
|
"id": "4729eef1-d982-4365-aedb-9e3a747ee4b7",
|
|
"ref_id": "xccdf_org.ssgproject.content_rule_group_1b5ec1681a036b614ddfa0bcd16dad36",
|
|
"title": "Adipisci est perferendis rerum.",
|
|
"rationale": "Distinctio necessitatibus et. Ipsum ipsam minima. Doloribus reprehenderit nihil.",
|
|
"description": "Molestiae non doloremque. Facere dolores explicabo. Facere hic minima.",
|
|
"precedence": null,
|
|
"type": "rule_group"
|
|
},
|
|
{
|
|
"id": "5fb44b39-bafe-4684-8719-9675a3f5f5a5",
|
|
"ref_id": "xccdf_org.ssgproject.content_rule_group_be65949be8433e7b646651f1693cee73",
|
|
"title": "Doloribus quasi pariatur libero.",
|
|
"rationale": "Et ut quidem. Et minima dolore. Rem deleniti odio.",
|
|
"description": "Quia delectus consectetur. Ipsam non veniam. Et iste possimus.",
|
|
"precedence": null,
|
|
"type": "rule_group"
|
|
},
|
|
{
|
|
"id": "6a947269-ca5c-4309-910a-8d03ca676224",
|
|
"ref_id": "xccdf_org.ssgproject.content_rule_group_4ce5f11693b410cbf8dc867c6b639932",
|
|
"title": "Et ad harum maxime.",
|
|
"rationale": "Provident nihil ea. Neque sunt esse. Quia voluptate dicta.",
|
|
"description": "Distinctio quibusdam ea. Ab numquam rerum. Nemo blanditiis expedita.",
|
|
"precedence": null,
|
|
"type": "rule_group"
|
|
},
|
|
{
|
|
"id": "6bd87aeb-4cf8-4b3c-8f74-4aab7d6ab0e2",
|
|
"ref_id": "xccdf_org.ssgproject.content_rule_group_acf8f07e1d70f39cf6125a426d8adcff",
|
|
"title": "Voluptates necessitatibus animi voluptate.",
|
|
"rationale": "Odit et sit. Saepe non et. Adipisci voluptatem maxime.",
|
|
"description": "Fugit sint asperiores. Eligendi in facere. Eos optio molestias.",
|
|
"precedence": null,
|
|
"type": "rule_group"
|
|
},
|
|
{
|
|
"id": "753d78bd-28b2-4238-b97c-df50e029c24d",
|
|
"ref_id": "xccdf_org.ssgproject.content_rule_group_822203fbba11fbde3eea26444d1555cc",
|
|
"title": "In velit quisquam quaerat.",
|
|
"rationale": "Et voluptatibus repellat. Quo vitae cum. At deleniti natus.",
|
|
"description": "Sed nobis et. Nisi voluptatem iste. Esse quo vero.",
|
|
"precedence": null,
|
|
"type": "rule_group"
|
|
},
|
|
{
|
|
"id": "7acb97a2-2e70-41e5-bb52-140efbc6f163",
|
|
"ref_id": "xccdf_org.ssgproject.content_rule_group_43dada83026906ca8310e3d8f564eab6",
|
|
"title": "Fuga ut quo provident.",
|
|
"rationale": "Sed libero incidunt. Dolores sit quia. Id autem nesciunt.",
|
|
"description": "Ducimus dolorum consequuntur. Vero pariatur non. Consequuntur ut et.",
|
|
"precedence": null,
|
|
"type": "rule_group"
|
|
}
|
|
],
|
|
"meta": {
|
|
"total": 25,
|
|
"limit": 10,
|
|
"offset": 0
|
|
},
|
|
"links": {
|
|
"first": "/api/compliance/v2/security_guides/b6362499-ed64-4fc7-8edd-3716c9794568/rule_groups?limit=10&offset=0",
|
|
"last": "/api/compliance/v2/security_guides/b6362499-ed64-4fc7-8edd-3716c9794568/rule_groups?limit=10&offset=20",
|
|
"next": "/api/compliance/v2/security_guides/b6362499-ed64-4fc7-8edd-3716c9794568/rule_groups?limit=10&offset=10"
|
|
}
|
|
},
|
|
"summary": "",
|
|
"description": ""
|
|
},
|
|
"List of Rule Groups sorted by \"precedence:asc\"": {
|
|
"value": {
|
|
"data": [
|
|
{
|
|
"id": "2c3e6a44-4aa1-4349-bf31-929d47628b3b",
|
|
"ref_id": "xccdf_org.ssgproject.content_rule_group_cc0d589a5529f39fd4d29e54399dae47",
|
|
"title": "Reiciendis quisquam dolorem rerum.",
|
|
"rationale": "Cum neque dolorum. Nam expedita modi. Voluptatibus ut rerum.",
|
|
"description": "Deleniti inventore quam. Omnis eum velit. In magnam placeat.",
|
|
"precedence": null,
|
|
"type": "rule_group"
|
|
},
|
|
{
|
|
"id": "2de1e546-d2a8-4898-a450-eb0cd2bbee19",
|
|
"ref_id": "xccdf_org.ssgproject.content_rule_group_4df295b13cdb8eda82b792c830e94d25",
|
|
"title": "Itaque voluptas ipsum illum.",
|
|
"rationale": "Corporis eaque maxime. Veniam voluptas quibusdam. Non minus tempore.",
|
|
"description": "Enim quisquam soluta. Voluptatibus necessitatibus possimus. Excepturi sit libero.",
|
|
"precedence": null,
|
|
"type": "rule_group"
|
|
},
|
|
{
|
|
"id": "43e4b0b2-a1be-48e5-9919-18380f012a3a",
|
|
"ref_id": "xccdf_org.ssgproject.content_rule_group_85c3887193c510e9c0facaa2eec9d502",
|
|
"title": "Corporis impedit quia dolores.",
|
|
"rationale": "Magnam est est. Reprehenderit adipisci magnam. Mollitia ea qui.",
|
|
"description": "Maxime in minima. Alias sint quis. Sed quod deleniti.",
|
|
"precedence": null,
|
|
"type": "rule_group"
|
|
},
|
|
{
|
|
"id": "47fca511-f345-485c-a717-5ebe17093b70",
|
|
"ref_id": "xccdf_org.ssgproject.content_rule_group_16b166f8cfe09a45be5570fcd40c8d2f",
|
|
"title": "Aut voluptate esse totam.",
|
|
"rationale": "Et odio non. Placeat qui omnis. Aperiam eius libero.",
|
|
"description": "Magnam dicta laboriosam. Natus sit facilis. Omnis aut laborum.",
|
|
"precedence": null,
|
|
"type": "rule_group"
|
|
},
|
|
{
|
|
"id": "622098b9-da27-461a-b393-0a8a5d8bc288",
|
|
"ref_id": "xccdf_org.ssgproject.content_rule_group_d0fbd3831ce89e09a60a6a551172364e",
|
|
"title": "Quaerat deleniti et omnis.",
|
|
"rationale": "Sit repudiandae aperiam. Reiciendis error et. Unde reprehenderit qui.",
|
|
"description": "Asperiores nulla laboriosam. Magnam qui eveniet. Voluptas in veniam.",
|
|
"precedence": null,
|
|
"type": "rule_group"
|
|
},
|
|
{
|
|
"id": "65a61c62-d88c-41d8-94ba-3d7884dae5f5",
|
|
"ref_id": "xccdf_org.ssgproject.content_rule_group_6afba625d7df2790d1bfffbff4be01dc",
|
|
"title": "Molestiae veniam vitae culpa.",
|
|
"rationale": "Eos sit impedit. Nam voluptates dolor. Praesentium esse ipsa.",
|
|
"description": "Maxime corporis laudantium. Maiores rerum voluptatibus. Minus cum amet.",
|
|
"precedence": null,
|
|
"type": "rule_group"
|
|
},
|
|
{
|
|
"id": "6991dffc-2710-48d3-a4e6-d24061c8a37b",
|
|
"ref_id": "xccdf_org.ssgproject.content_rule_group_679b4744e328e19c2bec3461ef9cdbee",
|
|
"title": "Sed numquam id fugit.",
|
|
"rationale": "Ex est molestias. Consectetur ratione dolore. Unde cumque fugiat.",
|
|
"description": "Enim voluptatem et. Temporibus natus et. Debitis sint et.",
|
|
"precedence": null,
|
|
"type": "rule_group"
|
|
},
|
|
{
|
|
"id": "73188cfa-6450-4e9a-a1ba-e148ba1f05b0",
|
|
"ref_id": "xccdf_org.ssgproject.content_rule_group_fb208bcd2a5b6d9c3c8189dd5ab4331c",
|
|
"title": "Nulla adipisci distinctio voluptates.",
|
|
"rationale": "Vel dolores est. Esse id omnis. Consectetur omnis eum.",
|
|
"description": "Aliquam quidem error. Voluptas nisi facilis. Nisi quod adipisci.",
|
|
"precedence": null,
|
|
"type": "rule_group"
|
|
},
|
|
{
|
|
"id": "7cdb1718-2706-46b0-9212-a20b199393b3",
|
|
"ref_id": "xccdf_org.ssgproject.content_rule_group_b2059aeab8ea4ca37016d9ac7c6f17dd",
|
|
"title": "Voluptatem et quis harum.",
|
|
"rationale": "Quam cum explicabo. Enim sit iusto. Aut voluptatem accusamus.",
|
|
"description": "Possimus consequuntur voluptatem. Ratione iure quia. Rem dolorum autem.",
|
|
"precedence": null,
|
|
"type": "rule_group"
|
|
},
|
|
{
|
|
"id": "7e2da2e7-1b59-4aea-90f8-7cadaefa6cb6",
|
|
"ref_id": "xccdf_org.ssgproject.content_rule_group_51df8d2900f67db806daf1757fa5a992",
|
|
"title": "Culpa ut qui est.",
|
|
"rationale": "Hic perspiciatis sunt. Quibusdam recusandae dolores. Saepe iure dolor.",
|
|
"description": "Ad ut et. Sit voluptatem non. Facilis est excepturi.",
|
|
"precedence": null,
|
|
"type": "rule_group"
|
|
}
|
|
],
|
|
"meta": {
|
|
"total": 25,
|
|
"limit": 10,
|
|
"offset": 0,
|
|
"sort_by": "precedence"
|
|
},
|
|
"links": {
|
|
"first": "/api/compliance/v2/security_guides/b7137d61-81d8-4ccb-b7a9-4f9ba451286e/rule_groups?limit=10&offset=0&sort_by=precedence",
|
|
"last": "/api/compliance/v2/security_guides/b7137d61-81d8-4ccb-b7a9-4f9ba451286e/rule_groups?limit=10&offset=20&sort_by=precedence",
|
|
"next": "/api/compliance/v2/security_guides/b7137d61-81d8-4ccb-b7a9-4f9ba451286e/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": "15e7daed-428a-429b-9671-e35d4d6ac31c",
|
|
"ref_id": "xccdf_org.ssgproject.content_rule_group_8d0e17ba76e010efa6dce3cc1b862cbf",
|
|
"title": "Ipsum quam eligendi dolore.",
|
|
"rationale": "Maxime debitis quasi. Vel amet necessitatibus. Repellendus doloribus est.",
|
|
"description": "Sit dolores necessitatibus. Et nobis ut. Ut dolore non.",
|
|
"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 3d9188eb-52ac-49e8-a64a-35e045bbd502"
|
|
]
|
|
},
|
|
"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/5bb3070c-b392-4bfe-af09-a4dc885ec904/test_results/d282457c-65c8-4326-acf6-8179e0f7d032/rule_results?limit=10&offset=0",
|
|
"last": "/api/compliance/v2/reports/5bb3070c-b392-4bfe-af09-a4dc885ec904/test_results/d282457c-65c8-4326-acf6-8179e0f7d032/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/23bb7e55-1c8d-44b4-8234-f7b8ea88add6/test_results/1a823683-6b9d-41e9-948c-6137c8412838/rule_results?limit=10&offset=0&sort_by=result",
|
|
"last": "/api/compliance/v2/reports/23bb7e55-1c8d-44b4-8234-f7b8ea88add6/test_results/1a823683-6b9d-41e9-948c-6137c8412838/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/53237f5d-4ca4-479b-b234-9c20d35e7177/test_results/744061cb-af76-44dc-8013-4ae2b1d1e3a3/rule_results?filter=%28title%3Dfoo%29&limit=10&offset=0",
|
|
"last": "/api/compliance/v2/reports/53237f5d-4ca4-479b-b234-9c20d35e7177/test_results/744061cb-af76-44dc-8013-4ae2b1d1e3a3/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": "071a0d46-a270-4891-95bc-71b209b25c97",
|
|
"ref_id": "xccdf_org.ssgproject.content_rule_72a5c47c5ce5fd2405ad85a5f8bfe742",
|
|
"title": "Accusantium aut ex sint.",
|
|
"rationale": "Molestiae amet suscipit. Aut magnam voluptatem. Illo labore tempora.",
|
|
"description": "Qui ducimus neque. Omnis sint a. Quos repellendus qui.",
|
|
"severity": "low",
|
|
"precedence": 4051,
|
|
"identifier": {
|
|
"href": "http://bartoletti.example/mervin",
|
|
"label": "Eilinel"
|
|
},
|
|
"references": [
|
|
{
|
|
"href": "http://orn.example/son",
|
|
"label": "Dorlas"
|
|
},
|
|
{
|
|
"href": "http://farrell.test/elliot",
|
|
"label": "Lindissë"
|
|
},
|
|
{
|
|
"href": "http://champlin-walter.example/graig",
|
|
"label": "Thrór"
|
|
},
|
|
{
|
|
"href": "http://sporer-torp.test/audria_sauer",
|
|
"label": "Lenwë"
|
|
},
|
|
{
|
|
"href": "http://kunde.example/alyson_kuhic",
|
|
"label": "Orchaldor"
|
|
}
|
|
],
|
|
"value_checks": null,
|
|
"remediation_available": false,
|
|
"type": "rule"
|
|
},
|
|
{
|
|
"id": "149197ba-4395-4113-97eb-cbe31c0db184",
|
|
"ref_id": "xccdf_org.ssgproject.content_rule_56467a443bf5b5fbcf21f9de6053df2d",
|
|
"title": "Fugiat id sit quisquam.",
|
|
"rationale": "Voluptatibus iure tempora. Quod ad labore. Odio nemo recusandae.",
|
|
"description": "Dolore id qui. Odio quam commodi. Voluptatibus aut tenetur.",
|
|
"severity": "low",
|
|
"precedence": 1027,
|
|
"identifier": {
|
|
"href": "http://nikolaus.example/lashon_wilkinson",
|
|
"label": "Ragnor"
|
|
},
|
|
"references": [
|
|
{
|
|
"href": "http://bahringer.test/dwight",
|
|
"label": "Fíriel Fairbairn"
|
|
},
|
|
{
|
|
"href": "http://cummerata.test/markus",
|
|
"label": "Balin"
|
|
},
|
|
{
|
|
"href": "http://davis-koss.test/korey",
|
|
"label": "Nolondil"
|
|
},
|
|
{
|
|
"href": "http://mclaughlin.example/cortez",
|
|
"label": "Hardang"
|
|
},
|
|
{
|
|
"href": "http://gusikowski.example/sammie",
|
|
"label": "Manwendil"
|
|
}
|
|
],
|
|
"value_checks": null,
|
|
"remediation_available": false,
|
|
"type": "rule"
|
|
},
|
|
{
|
|
"id": "22565ba8-c497-4b3b-b58b-c273df454f41",
|
|
"ref_id": "xccdf_org.ssgproject.content_rule_c1c7e0d492004e8ffdca84e879309b02",
|
|
"title": "Ut totam aut rerum.",
|
|
"rationale": "Esse quasi aut. Excepturi expedita sit. Odit tempore pariatur.",
|
|
"description": "Quod nisi delectus. Et consequatur accusamus. Illum vel et.",
|
|
"severity": "medium",
|
|
"precedence": 9137,
|
|
"identifier": {
|
|
"href": "http://toy.example/mario",
|
|
"label": "Húrin"
|
|
},
|
|
"references": [
|
|
{
|
|
"href": "http://corwin.test/lance_lemke",
|
|
"label": "Odo Proudfoot"
|
|
},
|
|
{
|
|
"href": "http://crona-ruecker.example/stan",
|
|
"label": "Théodwyn"
|
|
},
|
|
{
|
|
"href": "http://lehner-herman.test/chang",
|
|
"label": "Forthwini"
|
|
},
|
|
{
|
|
"href": "http://goldner-kertzmann.example/antione",
|
|
"label": "Melian"
|
|
},
|
|
{
|
|
"href": "http://lakin-lakin.example/blaine",
|
|
"label": "Reginard Took"
|
|
}
|
|
],
|
|
"value_checks": null,
|
|
"remediation_available": false,
|
|
"type": "rule"
|
|
},
|
|
{
|
|
"id": "2375197f-fbc2-47bf-a0ed-288b33d7ea39",
|
|
"ref_id": "xccdf_org.ssgproject.content_rule_18c378188d18f73074d5f17868f0c56d",
|
|
"title": "Vitae eum illum libero.",
|
|
"rationale": "Vel aspernatur asperiores. Sint rerum ut. Nulla laboriosam consectetur.",
|
|
"description": "Laboriosam sunt et. Ea non velit. Itaque est qui.",
|
|
"severity": "low",
|
|
"precedence": 2156,
|
|
"identifier": {
|
|
"href": "http://sipes-metz.test/phillip.stroman",
|
|
"label": "Barliman Butterbur"
|
|
},
|
|
"references": [
|
|
{
|
|
"href": "http://bailey.example/ima",
|
|
"label": "Ragnir"
|
|
},
|
|
{
|
|
"href": "http://king.example/romona",
|
|
"label": "Poldor"
|
|
},
|
|
{
|
|
"href": "http://beahan.test/roni_smitham",
|
|
"label": "Almiel"
|
|
},
|
|
{
|
|
"href": "http://balistreri-luettgen.example/moses",
|
|
"label": "Fíriel Fairbairn"
|
|
},
|
|
{
|
|
"href": "http://auer-barton.test/graham",
|
|
"label": "Dior"
|
|
}
|
|
],
|
|
"value_checks": null,
|
|
"remediation_available": false,
|
|
"type": "rule"
|
|
},
|
|
{
|
|
"id": "272fe482-8d96-4801-af11-172e92489af3",
|
|
"ref_id": "xccdf_org.ssgproject.content_rule_d1275e7e06d6cea7c9b0240200230128",
|
|
"title": "Reiciendis cupiditate aut consequatur.",
|
|
"rationale": "Cumque autem quia. Nesciunt ut ipsum. Ab eveniet sit.",
|
|
"description": "Sapiente at enim. Et facere tempora. Accusantium velit ut.",
|
|
"severity": "low",
|
|
"precedence": 357,
|
|
"identifier": {
|
|
"href": "http://schultz.example/glady",
|
|
"label": "Tar-Palantir"
|
|
},
|
|
"references": [
|
|
{
|
|
"href": "http://schneider.test/drusilla",
|
|
"label": "Ciryandil"
|
|
},
|
|
{
|
|
"href": "http://champlin-effertz.test/corey",
|
|
"label": "Arvedui"
|
|
},
|
|
{
|
|
"href": "http://cole.test/markita",
|
|
"label": "Gimilzagar"
|
|
},
|
|
{
|
|
"href": "http://hand.example/whitney.schmeler",
|
|
"label": "Bergil"
|
|
},
|
|
{
|
|
"href": "http://kautzer.test/claire",
|
|
"label": "Iminyë"
|
|
}
|
|
],
|
|
"value_checks": null,
|
|
"remediation_available": false,
|
|
"type": "rule"
|
|
},
|
|
{
|
|
"id": "2d4e260b-9085-4c9b-81a2-8a606b69ec8f",
|
|
"ref_id": "xccdf_org.ssgproject.content_rule_7e2bce4910e8b42bea949b5f7020e51c",
|
|
"title": "Facilis voluptatem magni saepe.",
|
|
"rationale": "Officia quasi possimus. Harum sit omnis. Aut ad saepe.",
|
|
"description": "Minus provident ut. Earum quod maxime. Qui eos delectus.",
|
|
"severity": "high",
|
|
"precedence": 7816,
|
|
"identifier": {
|
|
"href": "http://morar.test/salvatore",
|
|
"label": "Ulfang"
|
|
},
|
|
"references": [
|
|
{
|
|
"href": "http://heller.example/wilbur_waelchi",
|
|
"label": "Tar-Amandil"
|
|
},
|
|
{
|
|
"href": "http://carroll-schneider.test/elena",
|
|
"label": "Fíriel Fairbairn"
|
|
},
|
|
{
|
|
"href": "http://beier-renner.example/geoffrey_wolff",
|
|
"label": "Ornil"
|
|
},
|
|
{
|
|
"href": "http://cormier.test/jan",
|
|
"label": "Náin"
|
|
},
|
|
{
|
|
"href": "http://hyatt.example/candelaria",
|
|
"label": "Fosco Baggins"
|
|
}
|
|
],
|
|
"value_checks": null,
|
|
"remediation_available": false,
|
|
"type": "rule"
|
|
},
|
|
{
|
|
"id": "2d8e66e0-957d-46de-9ddf-d262e445fd67",
|
|
"ref_id": "xccdf_org.ssgproject.content_rule_c79c0b0b2e1e2a120b633a059a183082",
|
|
"title": "Odit officiis vitae iure.",
|
|
"rationale": "Modi excepturi quam. Quia similique pariatur. Quasi et sed.",
|
|
"description": "Non at vel. Ea perferendis doloremque. Temporibus id eligendi.",
|
|
"severity": "low",
|
|
"precedence": 1786,
|
|
"identifier": {
|
|
"href": "http://schuster-oberbrunner.example/mikki.runolfsson",
|
|
"label": "Elfstan Fairbairn"
|
|
},
|
|
"references": [
|
|
{
|
|
"href": "http://boyle.example/armando_fahey",
|
|
"label": "Ori"
|
|
},
|
|
{
|
|
"href": "http://weissnat-grimes.example/jon.stoltenberg",
|
|
"label": "Holdwine"
|
|
},
|
|
{
|
|
"href": "http://kuvalis-tremblay.example/marilee_turcotte",
|
|
"label": "Haldir"
|
|
},
|
|
{
|
|
"href": "http://lemke-stokes.example/isabell_schmidt",
|
|
"label": "Aravir"
|
|
},
|
|
{
|
|
"href": "http://hammes-sporer.example/natasha",
|
|
"label": "Marhari"
|
|
}
|
|
],
|
|
"value_checks": null,
|
|
"remediation_available": false,
|
|
"type": "rule"
|
|
},
|
|
{
|
|
"id": "33f93f87-fe52-4031-be61-5f591ecf04e5",
|
|
"ref_id": "xccdf_org.ssgproject.content_rule_1ee0c2927dad6a9b1d74feda2673113e",
|
|
"title": "Eveniet voluptatem optio et.",
|
|
"rationale": "Qui iure repudiandae. Quia et eum. Ea voluptatum eligendi.",
|
|
"description": "Earum voluptas quae. Fuga aut aut. Exercitationem laudantium quisquam.",
|
|
"severity": "low",
|
|
"precedence": 3214,
|
|
"identifier": {
|
|
"href": "http://vonrueden.test/arielle.lowe",
|
|
"label": "Largo Baggins"
|
|
},
|
|
"references": [
|
|
{
|
|
"href": "http://feest.example/carlena",
|
|
"label": "Bór"
|
|
},
|
|
{
|
|
"href": "http://kshlerin.example/kenneth",
|
|
"label": "Melilot Brandybuck"
|
|
},
|
|
{
|
|
"href": "http://cartwright.test/raeann",
|
|
"label": "Eärwen"
|
|
},
|
|
{
|
|
"href": "http://brakus.example/micki_kshlerin",
|
|
"label": "Éowyn"
|
|
},
|
|
{
|
|
"href": "http://prohaska.example/terica",
|
|
"label": "Carc"
|
|
}
|
|
],
|
|
"value_checks": null,
|
|
"remediation_available": false,
|
|
"type": "rule"
|
|
},
|
|
{
|
|
"id": "3a914110-3662-48eb-985d-d2c9f8de2910",
|
|
"ref_id": "xccdf_org.ssgproject.content_rule_9a5dd1dbecb1ad60ec1d134396978c7f",
|
|
"title": "Facere voluptas aut quasi.",
|
|
"rationale": "Ut quidem quia. Qui reiciendis veritatis. Quia natus et.",
|
|
"description": "Dolor neque ut. Nam nisi quia. Debitis et temporibus.",
|
|
"severity": "low",
|
|
"precedence": 2673,
|
|
"identifier": {
|
|
"href": "http://wiza-zboncak.test/paola_murphy",
|
|
"label": "Siriondil"
|
|
},
|
|
"references": [
|
|
{
|
|
"href": "http://bechtelar.example/man",
|
|
"label": "Hugo Bracegirdle"
|
|
},
|
|
{
|
|
"href": "http://steuber-johnston.example/hipolito",
|
|
"label": "Ivorwen"
|
|
},
|
|
{
|
|
"href": "http://bartell.example/ulrike.jacobson",
|
|
"label": "Gimilzagar"
|
|
},
|
|
{
|
|
"href": "http://medhurst.test/kizzy.pagac",
|
|
"label": "Arwen"
|
|
},
|
|
{
|
|
"href": "http://johns.test/perry",
|
|
"label": "Minohtar"
|
|
}
|
|
],
|
|
"value_checks": null,
|
|
"remediation_available": false,
|
|
"type": "rule"
|
|
},
|
|
{
|
|
"id": "4f6d0429-b5d9-4cb1-9f8d-31f6848a203c",
|
|
"ref_id": "xccdf_org.ssgproject.content_rule_d44e0c866c11bd87fd742b7d9bf8dbbb",
|
|
"title": "Est occaecati enim ad.",
|
|
"rationale": "Aspernatur cumque aut. Illum consectetur neque. Quia ut et.",
|
|
"description": "Quae magni cum. Natus voluptatem quaerat. Molestias quis vero.",
|
|
"severity": "medium",
|
|
"precedence": 8756,
|
|
"identifier": {
|
|
"href": "http://blanda-barrows.example/mariela",
|
|
"label": "Fram"
|
|
},
|
|
"references": [
|
|
{
|
|
"href": "http://walker.example/cornelia",
|
|
"label": "Éomer"
|
|
},
|
|
{
|
|
"href": "http://gerlach-crooks.test/sonny.mante",
|
|
"label": "Lotho Sackville-Baggins"
|
|
},
|
|
{
|
|
"href": "http://mclaughlin.test/caroyln",
|
|
"label": "Almáriel"
|
|
},
|
|
{
|
|
"href": "http://kling.test/aubrey.legros",
|
|
"label": "King of the Dead"
|
|
},
|
|
{
|
|
"href": "http://langosh.test/kyung.abbott",
|
|
"label": "Inzilbêth"
|
|
}
|
|
],
|
|
"value_checks": null,
|
|
"remediation_available": false,
|
|
"type": "rule"
|
|
}
|
|
],
|
|
"meta": {
|
|
"total": 25,
|
|
"limit": 10,
|
|
"offset": 0
|
|
},
|
|
"links": {
|
|
"first": "/api/compliance/v2/security_guides/89ac3ea4-e2a6-4ee1-a608-693260f0ee23/rules?limit=10&offset=0",
|
|
"last": "/api/compliance/v2/security_guides/89ac3ea4-e2a6-4ee1-a608-693260f0ee23/rules?limit=10&offset=20",
|
|
"next": "/api/compliance/v2/security_guides/89ac3ea4-e2a6-4ee1-a608-693260f0ee23/rules?limit=10&offset=10"
|
|
}
|
|
},
|
|
"summary": "",
|
|
"description": ""
|
|
},
|
|
"List of Rules sorted by \"precedence:asc\"": {
|
|
"value": {
|
|
"data": [
|
|
{
|
|
"id": "4699ace1-a985-4024-a11d-026c78a3e218",
|
|
"ref_id": "xccdf_org.ssgproject.content_rule_7000014ca8eec29cde92af37774d2dd7",
|
|
"title": "Et dolor maxime sequi.",
|
|
"rationale": "Et voluptas rerum. Et id repellendus. Velit voluptate adipisci.",
|
|
"description": "Voluptatem dolores totam. Delectus cumque natus. Vitae laboriosam culpa.",
|
|
"severity": "medium",
|
|
"precedence": 237,
|
|
"identifier": {
|
|
"href": "http://murray.test/alyse",
|
|
"label": "Flambard Took"
|
|
},
|
|
"references": [
|
|
{
|
|
"href": "http://morar-abernathy.test/donn_bernhard",
|
|
"label": "Glaurung"
|
|
},
|
|
{
|
|
"href": "http://torphy.test/margarito_orn",
|
|
"label": "Fastolph Bolger"
|
|
},
|
|
{
|
|
"href": "http://collier-wintheiser.test/keith_gerhold",
|
|
"label": "Nori"
|
|
},
|
|
{
|
|
"href": "http://will.test/marjory",
|
|
"label": "Malbeth"
|
|
},
|
|
{
|
|
"href": "http://hauck.test/adam.larson",
|
|
"label": "Baragund"
|
|
}
|
|
],
|
|
"value_checks": null,
|
|
"remediation_available": false,
|
|
"type": "rule"
|
|
},
|
|
{
|
|
"id": "06bd63c3-f92d-497e-b96f-210e5e35ca74",
|
|
"ref_id": "xccdf_org.ssgproject.content_rule_7dcd07c2ee1c6e9bfab9289e0a3ecdfa",
|
|
"title": "Hic aut nisi sequi.",
|
|
"rationale": "Magni laudantium eligendi. Iste aliquam consequatur. Est architecto enim.",
|
|
"description": "Doloremque nobis sit. Culpa aliquid rerum. Et reiciendis porro.",
|
|
"severity": "low",
|
|
"precedence": 898,
|
|
"identifier": {
|
|
"href": "http://collins.example/tomas",
|
|
"label": "Finwë"
|
|
},
|
|
"references": [
|
|
{
|
|
"href": "http://bahringer-sipes.example/paulita.stoltenberg",
|
|
"label": "Óin"
|
|
},
|
|
{
|
|
"href": "http://lesch-cronin.example/tajuana_hyatt",
|
|
"label": "Bodo Proudfoot"
|
|
},
|
|
{
|
|
"href": "http://hintz-bosco.test/luciano.ferry",
|
|
"label": "Brodda"
|
|
},
|
|
{
|
|
"href": "http://bosco.test/sammie.stroman",
|
|
"label": "Cotman"
|
|
},
|
|
{
|
|
"href": "http://marquardt.test/lakesha.bartoletti",
|
|
"label": "Bert"
|
|
}
|
|
],
|
|
"value_checks": null,
|
|
"remediation_available": false,
|
|
"type": "rule"
|
|
},
|
|
{
|
|
"id": "0ed9ab02-2222-4663-be01-8dcb87a3e407",
|
|
"ref_id": "xccdf_org.ssgproject.content_rule_7f382e4f4c26c393935b9bfe3daa10bd",
|
|
"title": "Laboriosam id qui eaque.",
|
|
"rationale": "Qui quia fugiat. Exercitationem explicabo nostrum. Totam est necessitatibus.",
|
|
"description": "Eius repellat at. Rerum aut ut. Dicta dolorem voluptatem.",
|
|
"severity": "low",
|
|
"precedence": 1677,
|
|
"identifier": {
|
|
"href": "http://tillman-rogahn.test/jeneva_haag",
|
|
"label": "Bereg"
|
|
},
|
|
"references": [
|
|
{
|
|
"href": "http://roberts.test/landon_kunde",
|
|
"label": "Haleth"
|
|
},
|
|
{
|
|
"href": "http://oreilly.test/summer",
|
|
"label": "Khamûl"
|
|
},
|
|
{
|
|
"href": "http://hackett.test/rosina_pagac",
|
|
"label": "Porto Baggins"
|
|
},
|
|
{
|
|
"href": "http://schowalter.example/kiyoko_roberts",
|
|
"label": "Erien"
|
|
},
|
|
{
|
|
"href": "http://crona.test/breanna.hills",
|
|
"label": "Urthel"
|
|
}
|
|
],
|
|
"value_checks": null,
|
|
"remediation_available": false,
|
|
"type": "rule"
|
|
},
|
|
{
|
|
"id": "16c5ea02-eeb0-4079-a8ea-57039ee9b9d8",
|
|
"ref_id": "xccdf_org.ssgproject.content_rule_7de791b8477ba5ec43121c3a42260353",
|
|
"title": "Incidunt quia ipsum qui.",
|
|
"rationale": "Tenetur eligendi non. Magni pariatur aut. Tempore quas consectetur.",
|
|
"description": "Aut eum et. Voluptates commodi quasi. Aut maiores autem.",
|
|
"severity": "low",
|
|
"precedence": 2102,
|
|
"identifier": {
|
|
"href": "http://pfannerstill.test/conrad_tillman",
|
|
"label": "Hatholdir"
|
|
},
|
|
"references": [
|
|
{
|
|
"href": "http://gerhold.example/dwain",
|
|
"label": "Gormadoc Brandybuck"
|
|
},
|
|
{
|
|
"href": "http://schneider-cassin.example/ludie_larson",
|
|
"label": "Éomund"
|
|
},
|
|
{
|
|
"href": "http://abbott.test/tyler_ebert",
|
|
"label": "Beechbone"
|
|
},
|
|
{
|
|
"href": "http://williamson-mueller.test/waltraud",
|
|
"label": "Círdan"
|
|
},
|
|
{
|
|
"href": "http://gulgowski.example/paris_renner",
|
|
"label": "Hildifons Took"
|
|
}
|
|
],
|
|
"value_checks": null,
|
|
"remediation_available": false,
|
|
"type": "rule"
|
|
},
|
|
{
|
|
"id": "02aa0674-129e-46d0-8311-6afc485fd80b",
|
|
"ref_id": "xccdf_org.ssgproject.content_rule_fc886e43817943ec05a005b34fcc4d5f",
|
|
"title": "In officia et sit.",
|
|
"rationale": "A qui error. Eligendi voluptatem quod. Nemo ab nulla.",
|
|
"description": "Voluptate quae deserunt. In qui delectus. Itaque aut facilis.",
|
|
"severity": "high",
|
|
"precedence": 2532,
|
|
"identifier": {
|
|
"href": "http://kihn.test/santana.balistreri",
|
|
"label": "Celeborn"
|
|
},
|
|
"references": [
|
|
{
|
|
"href": "http://turner.example/darin.altenwerth",
|
|
"label": "Halfred of Overhill"
|
|
},
|
|
{
|
|
"href": "http://swift-rogahn.test/rosamaria",
|
|
"label": "Maglor"
|
|
},
|
|
{
|
|
"href": "http://tillman.example/jamel_rice",
|
|
"label": "Togo Goodbody"
|
|
},
|
|
{
|
|
"href": "http://rau.test/ayesha.kassulke",
|
|
"label": "Elboron"
|
|
},
|
|
{
|
|
"href": "http://spencer-johns.test/micheline_konopelski",
|
|
"label": "Vëantur"
|
|
}
|
|
],
|
|
"value_checks": null,
|
|
"remediation_available": false,
|
|
"type": "rule"
|
|
},
|
|
{
|
|
"id": "7258e4e2-9484-442a-ad3c-d6601736ae91",
|
|
"ref_id": "xccdf_org.ssgproject.content_rule_19b06c2855ea5e2641a887a6ef923711",
|
|
"title": "Non libero quam officia.",
|
|
"rationale": "Cupiditate distinctio libero. Error enim sed. Explicabo praesentium et.",
|
|
"description": "Et quibusdam consequuntur. Dolorum et dolorem. Qui in ab.",
|
|
"severity": "medium",
|
|
"precedence": 2647,
|
|
"identifier": {
|
|
"href": "http://lynch.example/tim_oreilly",
|
|
"label": "Gorgol"
|
|
},
|
|
"references": [
|
|
{
|
|
"href": "http://schaefer.test/shelby",
|
|
"label": "Elendur"
|
|
},
|
|
{
|
|
"href": "http://moen.test/noma",
|
|
"label": "Dora Baggins"
|
|
},
|
|
{
|
|
"href": "http://davis.test/jude",
|
|
"label": "Frodo Baggins"
|
|
},
|
|
{
|
|
"href": "http://lockman.test/jackqueline_lind",
|
|
"label": "Aredhel"
|
|
},
|
|
{
|
|
"href": "http://erdman.test/brock",
|
|
"label": "Emeldir"
|
|
}
|
|
],
|
|
"value_checks": null,
|
|
"remediation_available": false,
|
|
"type": "rule"
|
|
},
|
|
{
|
|
"id": "77793afd-b4a9-4448-a4ac-3c989dffde08",
|
|
"ref_id": "xccdf_org.ssgproject.content_rule_14a7c435007cb8ceefb8429b26a6fa6f",
|
|
"title": "Blanditiis quia voluptate esse.",
|
|
"rationale": "Omnis quia quas. Quisquam eaque natus. Accusamus excepturi qui.",
|
|
"description": "Reprehenderit dolores alias. Velit qui nihil. Facere maxime eligendi.",
|
|
"severity": "high",
|
|
"precedence": 2657,
|
|
"identifier": {
|
|
"href": "http://steuber-ernser.test/hortensia.medhurst",
|
|
"label": "Indor"
|
|
},
|
|
"references": [
|
|
{
|
|
"href": "http://ernser-gutkowski.test/hildred.windler",
|
|
"label": "Pervinca Took"
|
|
},
|
|
{
|
|
"href": "http://haag.example/jay",
|
|
"label": "Tanta Hornblower"
|
|
},
|
|
{
|
|
"href": "http://rowe-thiel.example/teisha",
|
|
"label": "Nori"
|
|
},
|
|
{
|
|
"href": "http://smitham-runte.example/coy",
|
|
"label": "Saradoc Brandybuck"
|
|
},
|
|
{
|
|
"href": "http://schamberger.example/hyacinth.streich",
|
|
"label": "Hob Hayward"
|
|
}
|
|
],
|
|
"value_checks": null,
|
|
"remediation_available": false,
|
|
"type": "rule"
|
|
},
|
|
{
|
|
"id": "34ec4f30-9e6e-4913-b48b-ece79c00c9a7",
|
|
"ref_id": "xccdf_org.ssgproject.content_rule_e068dedca66d67a18709e6de978dc8b9",
|
|
"title": "Voluptatem quidem consequatur suscipit.",
|
|
"rationale": "Alias voluptatem iure. Sunt ratione nostrum. Molestiae voluptatum iure.",
|
|
"description": "Quia iste doloribus. Porro quasi nesciunt. Ea culpa perspiciatis.",
|
|
"severity": "high",
|
|
"precedence": 3248,
|
|
"identifier": {
|
|
"href": "http://friesen.test/gary_collins",
|
|
"label": "Dwalin"
|
|
},
|
|
"references": [
|
|
{
|
|
"href": "http://ondricka.test/hallie",
|
|
"label": "Mat Heathertoes"
|
|
},
|
|
{
|
|
"href": "http://hansen.test/everett",
|
|
"label": "Rudibert Bolger"
|
|
},
|
|
{
|
|
"href": "http://mraz.example/marylee_hills",
|
|
"label": "Lóni"
|
|
},
|
|
{
|
|
"href": "http://daniel-schumm.example/duane.schuppe",
|
|
"label": "Adalbert Bolger"
|
|
},
|
|
{
|
|
"href": "http://walker.example/usha_reichert",
|
|
"label": "Tom Pickthorn"
|
|
}
|
|
],
|
|
"value_checks": null,
|
|
"remediation_available": false,
|
|
"type": "rule"
|
|
},
|
|
{
|
|
"id": "bf925d00-6ae0-4166-b79f-cbefb7f0b33c",
|
|
"ref_id": "xccdf_org.ssgproject.content_rule_5603115cd08b66891f4901c34a50f702",
|
|
"title": "Ducimus omnis id soluta.",
|
|
"rationale": "Voluptatibus sit neque. Quia minus ut. Asperiores rem quam.",
|
|
"description": "Neque nam recusandae. Ipsum id velit. Porro perferendis excepturi.",
|
|
"severity": "medium",
|
|
"precedence": 3552,
|
|
"identifier": {
|
|
"href": "http://ortiz-nolan.example/renate",
|
|
"label": "Tar-Atanamir"
|
|
},
|
|
"references": [
|
|
{
|
|
"href": "http://brown.test/nohemi",
|
|
"label": "Lenwë"
|
|
},
|
|
{
|
|
"href": "http://cole-beier.test/wilburn.beer",
|
|
"label": "Adaldrida Bolger"
|
|
},
|
|
{
|
|
"href": "http://dare.test/rema_cremin",
|
|
"label": "Ori"
|
|
},
|
|
{
|
|
"href": "http://fisher-greenfelder.test/jon",
|
|
"label": "Fundin"
|
|
},
|
|
{
|
|
"href": "http://heathcote-nikolaus.example/yulanda_mitchell",
|
|
"label": "Vëantur"
|
|
}
|
|
],
|
|
"value_checks": null,
|
|
"remediation_available": false,
|
|
"type": "rule"
|
|
},
|
|
{
|
|
"id": "1438a961-e070-4b29-9ef8-085e5b750563",
|
|
"ref_id": "xccdf_org.ssgproject.content_rule_69580da37585373f9e5dc8e28ab30609",
|
|
"title": "Est quibusdam aperiam enim.",
|
|
"rationale": "Corrupti totam veniam. Nihil ea vitae. Dolorum sequi non.",
|
|
"description": "Qui et voluptatem. Quos ut adipisci. Adipisci minima velit.",
|
|
"severity": "high",
|
|
"precedence": 3615,
|
|
"identifier": {
|
|
"href": "http://botsford.example/ernie.ziemann",
|
|
"label": "Pott the Mayor"
|
|
},
|
|
"references": [
|
|
{
|
|
"href": "http://frami.example/pat",
|
|
"label": "Írildë"
|
|
},
|
|
{
|
|
"href": "http://nader-altenwerth.example/harry",
|
|
"label": "Forhend"
|
|
},
|
|
{
|
|
"href": "http://will.example/shae.flatley",
|
|
"label": "Éothain"
|
|
},
|
|
{
|
|
"href": "http://koch.example/anya.legros",
|
|
"label": "Tar-Atanamir"
|
|
},
|
|
{
|
|
"href": "http://kessler.test/caridad_marks",
|
|
"label": "Elrond"
|
|
}
|
|
],
|
|
"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/7ff8885e-b1db-4b51-a73c-611be5813f92/rules?limit=10&offset=0&sort_by=precedence",
|
|
"last": "/api/compliance/v2/security_guides/7ff8885e-b1db-4b51-a73c-611be5813f92/rules?limit=10&offset=20&sort_by=precedence",
|
|
"next": "/api/compliance/v2/security_guides/7ff8885e-b1db-4b51-a73c-611be5813f92/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": "4e0cdf17-e1bb-4099-ab26-84957462438e",
|
|
"ref_id": "xccdf_org.ssgproject.content_rule_dcf424d5c81399a0c279974004113f42",
|
|
"title": "Debitis expedita doloribus maxime.",
|
|
"rationale": "Repellendus vel rem. Cumque et facilis. Consectetur quo minima.",
|
|
"description": "Dolorem similique vel. Non dignissimos dolor. Totam odit molestiae.",
|
|
"severity": "low",
|
|
"precedence": 6179,
|
|
"identifier": {
|
|
"href": "http://champlin.example/vincent",
|
|
"label": "Aranarth"
|
|
},
|
|
"references": [
|
|
{
|
|
"href": "http://zemlak.example/angelina.larson",
|
|
"label": "Mahtan"
|
|
},
|
|
{
|
|
"href": "http://roob.test/alvera",
|
|
"label": "Andvír"
|
|
},
|
|
{
|
|
"href": "http://bode-collier.example/august.metz",
|
|
"label": "Tata"
|
|
},
|
|
{
|
|
"href": "http://huels.example/keisha",
|
|
"label": "Estelmo"
|
|
},
|
|
{
|
|
"href": "http://adams.example/will_boehm",
|
|
"label": "Tom Pickthorn"
|
|
}
|
|
],
|
|
"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 720ad9ec-77ab-4ecf-9124-3e6962828ea3"
|
|
]
|
|
},
|
|
"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": "003fb450-64f2-4cbd-b443-d7947d4f9b0f",
|
|
"ref_id": "xccdf_org.ssgproject.content_rule_7999e2d8228f2296a8b00fd38a337ba7",
|
|
"title": "A eaque sequi dolores.",
|
|
"rationale": "Aliquid sint officiis. Quaerat quidem maxime. Esse necessitatibus at.",
|
|
"description": "Ratione magni ex. Saepe dignissimos nesciunt. Et qui voluptas.",
|
|
"severity": "high",
|
|
"precedence": 4986,
|
|
"identifier": {
|
|
"href": "http://kessler.test/chase",
|
|
"label": "Eöl"
|
|
},
|
|
"references": [
|
|
{
|
|
"href": "http://donnelly.test/leesa_boyer",
|
|
"label": "Elboron"
|
|
},
|
|
{
|
|
"href": "http://orn.test/gavin",
|
|
"label": "Elmo"
|
|
},
|
|
{
|
|
"href": "http://kreiger.test/andrea_schulist",
|
|
"label": "Torhir Ifant"
|
|
},
|
|
{
|
|
"href": "http://hudson.example/hassan",
|
|
"label": "Annael"
|
|
},
|
|
{
|
|
"href": "http://denesik-adams.example/isaiah_metz",
|
|
"label": "Tuor"
|
|
}
|
|
],
|
|
"value_checks": null,
|
|
"remediation_available": false,
|
|
"type": "rule",
|
|
"remediation_issue_id": null
|
|
},
|
|
{
|
|
"id": "04870026-1ebd-45a0-a64a-edb5339d714f",
|
|
"ref_id": "xccdf_org.ssgproject.content_rule_aaa8d7dcd39be09e6c7716356e4e06b1",
|
|
"title": "Et aut saepe voluptatem.",
|
|
"rationale": "Dolor laboriosam et. Animi quia sapiente. Quod ducimus et.",
|
|
"description": "Quo nulla voluptate. Pariatur enim vel. Magni vel nemo.",
|
|
"severity": "medium",
|
|
"precedence": 7344,
|
|
"identifier": {
|
|
"href": "http://borer-cruickshank.example/reyes",
|
|
"label": "Hathol"
|
|
},
|
|
"references": [
|
|
{
|
|
"href": "http://kunze.example/silvana",
|
|
"label": "Lobelia Sackville-Baggins"
|
|
},
|
|
{
|
|
"href": "http://shields-schmeler.example/cathey",
|
|
"label": "Iago Grubb"
|
|
},
|
|
{
|
|
"href": "http://hilll.example/merry",
|
|
"label": "Aegnor"
|
|
},
|
|
{
|
|
"href": "http://turner.test/gena.rath",
|
|
"label": "Bucca of the Marish"
|
|
},
|
|
{
|
|
"href": "http://heidenreich-heidenreich.test/kaye",
|
|
"label": "Tolman Gardner"
|
|
}
|
|
],
|
|
"value_checks": null,
|
|
"remediation_available": false,
|
|
"type": "rule",
|
|
"remediation_issue_id": null
|
|
},
|
|
{
|
|
"id": "074b52ac-34fb-4f6e-8289-4295f221eb0d",
|
|
"ref_id": "xccdf_org.ssgproject.content_rule_d96f9f43e34d9da7c83aa0948e743c67",
|
|
"title": "Est nulla qui dolores.",
|
|
"rationale": "Aut fugiat tempora. Sunt quidem accusamus. Asperiores error nobis.",
|
|
"description": "Qui dolorum illo. Sed mollitia laudantium. Nobis incidunt dolores.",
|
|
"severity": "medium",
|
|
"precedence": 5845,
|
|
"identifier": {
|
|
"href": "http://kunze.test/cordie_bailey",
|
|
"label": "Forthwini"
|
|
},
|
|
"references": [
|
|
{
|
|
"href": "http://moen-volkman.example/samual.rice",
|
|
"label": "Radagast"
|
|
},
|
|
{
|
|
"href": "http://lind.test/wilburn_wyman",
|
|
"label": "Vinitharya"
|
|
},
|
|
{
|
|
"href": "http://russel-swaniawski.example/ivan_kuhlman",
|
|
"label": "Mablung"
|
|
},
|
|
{
|
|
"href": "http://emard.test/rueben",
|
|
"label": "Hobson"
|
|
},
|
|
{
|
|
"href": "http://koelpin.example/alaine",
|
|
"label": "Calimmacil"
|
|
}
|
|
],
|
|
"value_checks": null,
|
|
"remediation_available": false,
|
|
"type": "rule",
|
|
"remediation_issue_id": null
|
|
},
|
|
{
|
|
"id": "0b7f570e-097b-4e48-b45f-aa9ce2615388",
|
|
"ref_id": "xccdf_org.ssgproject.content_rule_a697f587a4cfcbc483f0ffc075203ab8",
|
|
"title": "Accusantium occaecati ipsum earum.",
|
|
"rationale": "Ut et asperiores. Mollitia aut voluptatem. Deserunt enim odio.",
|
|
"description": "Illum error eum. Distinctio modi sed. Quasi nulla voluptates.",
|
|
"severity": "low",
|
|
"precedence": 7660,
|
|
"identifier": {
|
|
"href": "http://franecki.example/cherly",
|
|
"label": "Radbug"
|
|
},
|
|
"references": [
|
|
{
|
|
"href": "http://mitchell.example/lionel",
|
|
"label": "Wilimar Bolger"
|
|
},
|
|
{
|
|
"href": "http://kshlerin.test/bernardo",
|
|
"label": "Holman Cotton"
|
|
},
|
|
{
|
|
"href": "http://hettinger.example/jere",
|
|
"label": "Elwing"
|
|
},
|
|
{
|
|
"href": "http://schuster.example/jeanene",
|
|
"label": "Arahad"
|
|
},
|
|
{
|
|
"href": "http://balistreri-connelly.example/trula",
|
|
"label": "Ioreth"
|
|
}
|
|
],
|
|
"value_checks": null,
|
|
"remediation_available": false,
|
|
"type": "rule",
|
|
"remediation_issue_id": null
|
|
},
|
|
{
|
|
"id": "1cefd449-1500-459b-877e-805fa92adb38",
|
|
"ref_id": "xccdf_org.ssgproject.content_rule_92c2d3d91601dcd35df7ca51e681dc94",
|
|
"title": "Est error ducimus quia.",
|
|
"rationale": "Repellendus nobis eos. A culpa corporis. Dolore nulla perspiciatis.",
|
|
"description": "Magni quidem quis. Culpa quidem et. Qui velit voluptatibus.",
|
|
"severity": "high",
|
|
"precedence": 6151,
|
|
"identifier": {
|
|
"href": "http://cruickshank.example/fatimah",
|
|
"label": "Celebrían"
|
|
},
|
|
"references": [
|
|
{
|
|
"href": "http://walsh-swaniawski.example/willie",
|
|
"label": "Huan"
|
|
},
|
|
{
|
|
"href": "http://kovacek.example/allene_schimmel",
|
|
"label": "Idis"
|
|
},
|
|
{
|
|
"href": "http://kub-fritsch.test/samella_robel",
|
|
"label": "Grishnákh"
|
|
},
|
|
{
|
|
"href": "http://smitham-mante.test/fred.oberbrunner",
|
|
"label": "Herugar Bolger"
|
|
},
|
|
{
|
|
"href": "http://grimes.test/silvia",
|
|
"label": "Gimilkhâd"
|
|
}
|
|
],
|
|
"value_checks": null,
|
|
"remediation_available": false,
|
|
"type": "rule",
|
|
"remediation_issue_id": null
|
|
},
|
|
{
|
|
"id": "228e6aab-36a7-4999-a88c-b4bb63e3773f",
|
|
"ref_id": "xccdf_org.ssgproject.content_rule_120c1588c4709965af496588dc0d8316",
|
|
"title": "Et id repellendus recusandae.",
|
|
"rationale": "Quisquam natus repellendus. Voluptatibus ut neque. Alias perferendis rerum.",
|
|
"description": "Sunt ut voluptatem. Omnis id repellendus. Necessitatibus autem et.",
|
|
"severity": "low",
|
|
"precedence": 6379,
|
|
"identifier": {
|
|
"href": "http://goodwin-hansen.test/shirl_haley",
|
|
"label": "Adamanta Chubb"
|
|
},
|
|
"references": [
|
|
{
|
|
"href": "http://crona-cummings.example/patricia_powlowski",
|
|
"label": "Elendil"
|
|
},
|
|
{
|
|
"href": "http://bartell.example/laurel_kovacek",
|
|
"label": "Harding"
|
|
},
|
|
{
|
|
"href": "http://koss.test/wayne_sanford",
|
|
"label": "Filibert Bolger"
|
|
},
|
|
{
|
|
"href": "http://davis.test/lakesha_schulist",
|
|
"label": "Bruno Bracegirdle"
|
|
},
|
|
{
|
|
"href": "http://hettinger.test/marcela",
|
|
"label": "Imin"
|
|
}
|
|
],
|
|
"value_checks": null,
|
|
"remediation_available": false,
|
|
"type": "rule",
|
|
"remediation_issue_id": null
|
|
},
|
|
{
|
|
"id": "22d75a4c-d3f0-4757-8610-9600413f3b77",
|
|
"ref_id": "xccdf_org.ssgproject.content_rule_77d6363ee82ba98685a6e33b20fd3b77",
|
|
"title": "Possimus autem omnis excepturi.",
|
|
"rationale": "Possimus quia debitis. Earum rerum saepe. In qui tempore.",
|
|
"description": "Perferendis ut enim. Sed tempora eaque. Eaque magnam rerum.",
|
|
"severity": "high",
|
|
"precedence": 583,
|
|
"identifier": {
|
|
"href": "http://stroman.test/duane.parisian",
|
|
"label": "Berilac Brandybuck"
|
|
},
|
|
"references": [
|
|
{
|
|
"href": "http://barrows.example/patricia_stark",
|
|
"label": "Bert"
|
|
},
|
|
{
|
|
"href": "http://ullrich-wilkinson.test/vern",
|
|
"label": "Magor"
|
|
},
|
|
{
|
|
"href": "http://blanda.example/jeramy",
|
|
"label": "Gollum"
|
|
},
|
|
{
|
|
"href": "http://morar.example/huey_hartmann",
|
|
"label": "Sapphira Brockhouse"
|
|
},
|
|
{
|
|
"href": "http://boehm-smitham.example/carli",
|
|
"label": "Tar-Ciryatan"
|
|
}
|
|
],
|
|
"value_checks": null,
|
|
"remediation_available": false,
|
|
"type": "rule",
|
|
"remediation_issue_id": null
|
|
},
|
|
{
|
|
"id": "2374c5aa-2adf-40af-b026-1a453df39dc7",
|
|
"ref_id": "xccdf_org.ssgproject.content_rule_814ca69f1593e89ea3b43e022a76de51",
|
|
"title": "Perspiciatis dolores sed hic.",
|
|
"rationale": "Veniam laudantium enim. Ad deleniti ut. Exercitationem vitae sequi.",
|
|
"description": "Sunt non accusamus. Et quaerat magnam. Distinctio modi qui.",
|
|
"severity": "high",
|
|
"precedence": 2578,
|
|
"identifier": {
|
|
"href": "http://batz.example/jonas",
|
|
"label": "Peeping Jack"
|
|
},
|
|
"references": [
|
|
{
|
|
"href": "http://smith.example/colby",
|
|
"label": "Draugluin"
|
|
},
|
|
{
|
|
"href": "http://yundt.example/vincent.ullrich",
|
|
"label": "Araval"
|
|
},
|
|
{
|
|
"href": "http://waelchi.test/lindsay_stiedemann",
|
|
"label": "Lenwë"
|
|
},
|
|
{
|
|
"href": "http://stamm.example/roscoe.keeling",
|
|
"label": "Bruno Bracegirdle"
|
|
},
|
|
{
|
|
"href": "http://gleichner.test/jeffry",
|
|
"label": "Sador"
|
|
}
|
|
],
|
|
"value_checks": null,
|
|
"remediation_available": false,
|
|
"type": "rule",
|
|
"remediation_issue_id": null
|
|
},
|
|
{
|
|
"id": "2d3d1010-c31e-423e-9b33-9d648b9658e6",
|
|
"ref_id": "xccdf_org.ssgproject.content_rule_0c9231f66d4982b691e24a5c5574f51e",
|
|
"title": "Quia quo et ut.",
|
|
"rationale": "Quia itaque aut. Reiciendis doloribus est. Quia quae ex.",
|
|
"description": "Nulla sed provident. Magni qui dicta. Eaque in vel.",
|
|
"severity": "medium",
|
|
"precedence": 7044,
|
|
"identifier": {
|
|
"href": "http://leuschke.test/cody.goodwin",
|
|
"label": "Golasgil"
|
|
},
|
|
"references": [
|
|
{
|
|
"href": "http://kreiger.test/toney",
|
|
"label": "Brodda"
|
|
},
|
|
{
|
|
"href": "http://rosenbaum.test/justin",
|
|
"label": "Amrod"
|
|
},
|
|
{
|
|
"href": "http://bernhard.test/jeremy_gleason",
|
|
"label": "Adalgrim Took"
|
|
},
|
|
{
|
|
"href": "http://gibson.example/luigi.rosenbaum",
|
|
"label": "Meneldor"
|
|
},
|
|
{
|
|
"href": "http://bednar.test/claud_graham",
|
|
"label": "Artamir"
|
|
}
|
|
],
|
|
"value_checks": null,
|
|
"remediation_available": false,
|
|
"type": "rule",
|
|
"remediation_issue_id": null
|
|
},
|
|
{
|
|
"id": "324ace09-e41c-4cea-9a40-b5fd937f888e",
|
|
"ref_id": "xccdf_org.ssgproject.content_rule_6cf1fb2a553e35b9a440fb7e3de61214",
|
|
"title": "Adipisci eligendi voluptatem nemo.",
|
|
"rationale": "Quo dicta iste. Quia animi suscipit. Itaque accusantium ut.",
|
|
"description": "Eum dicta minima. Aperiam incidunt amet. Est distinctio ea.",
|
|
"severity": "low",
|
|
"precedence": 5315,
|
|
"identifier": {
|
|
"href": "http://witting.test/dorie",
|
|
"label": "Meleth"
|
|
},
|
|
"references": [
|
|
{
|
|
"href": "http://volkman.example/marilee_hirthe",
|
|
"label": "Alphros"
|
|
},
|
|
{
|
|
"href": "http://treutel-hintz.test/rolando",
|
|
"label": "Lobelia Sackville-Baggins"
|
|
},
|
|
{
|
|
"href": "http://bernhard.example/kandi",
|
|
"label": "Gildor"
|
|
},
|
|
{
|
|
"href": "http://mayert.example/rayna",
|
|
"label": "Radagast"
|
|
},
|
|
{
|
|
"href": "http://gleichner.example/breanne.ritchie",
|
|
"label": "Gandalf"
|
|
}
|
|
],
|
|
"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/057fb7bf-278b-4b63-8504-054baa0c2c97/profiles/84a83413-b758-46da-8474-3ac50d0fd437/rules?limit=10&offset=0",
|
|
"last": "/api/compliance/v2/security_guides/057fb7bf-278b-4b63-8504-054baa0c2c97/profiles/84a83413-b758-46da-8474-3ac50d0fd437/rules?limit=10&offset=20",
|
|
"next": "/api/compliance/v2/security_guides/057fb7bf-278b-4b63-8504-054baa0c2c97/profiles/84a83413-b758-46da-8474-3ac50d0fd437/rules?limit=10&offset=10"
|
|
}
|
|
},
|
|
"summary": "",
|
|
"description": ""
|
|
},
|
|
"List of Rules sorted by \"precedence:asc\"": {
|
|
"value": {
|
|
"data": [
|
|
{
|
|
"id": "81ad5ffb-7675-4aba-a4e3-902a484e568e",
|
|
"ref_id": "xccdf_org.ssgproject.content_rule_cd1e4a96fdcf5976ea1aadd52a3b8d05",
|
|
"title": "Nihil ad doloremque quos.",
|
|
"rationale": "Officiis voluptatem est. Enim sit hic. Dolores quidem et.",
|
|
"description": "Ex rerum consequuntur. Dicta itaque atque. Incidunt laboriosam odio.",
|
|
"severity": "high",
|
|
"precedence": 110,
|
|
"identifier": {
|
|
"href": "http://rogahn-hayes.example/pierre",
|
|
"label": "Balbo Baggins"
|
|
},
|
|
"references": [
|
|
{
|
|
"href": "http://wisoky-cormier.example/mariano",
|
|
"label": "Tom Pickthorn"
|
|
},
|
|
{
|
|
"href": "http://kessler.test/woodrow.wiza",
|
|
"label": "Belecthor"
|
|
},
|
|
{
|
|
"href": "http://anderson-torphy.example/sha_goldner",
|
|
"label": "Dáin"
|
|
},
|
|
{
|
|
"href": "http://maggio-emard.example/tyron",
|
|
"label": "Arahad"
|
|
},
|
|
{
|
|
"href": "http://moen.test/lavada",
|
|
"label": "Bolg"
|
|
}
|
|
],
|
|
"value_checks": null,
|
|
"remediation_available": false,
|
|
"type": "rule",
|
|
"remediation_issue_id": null
|
|
},
|
|
{
|
|
"id": "027a8bba-89e8-4b2b-be3e-91159628a1f7",
|
|
"ref_id": "xccdf_org.ssgproject.content_rule_2b7eb1940d70d31211eddfd9856ed43d",
|
|
"title": "Quo autem repellendus et.",
|
|
"rationale": "Dolor culpa ut. Dolore omnis consequatur. In eligendi laudantium.",
|
|
"description": "Porro omnis accusantium. Ut nam possimus. Fugiat ea architecto.",
|
|
"severity": "low",
|
|
"precedence": 202,
|
|
"identifier": {
|
|
"href": "http://russel.test/david",
|
|
"label": "Rose Cotton"
|
|
},
|
|
"references": [
|
|
{
|
|
"href": "http://block.test/brad",
|
|
"label": "Halfred Gamgee"
|
|
},
|
|
{
|
|
"href": "http://mclaughlin.test/quiana",
|
|
"label": "Radbug"
|
|
},
|
|
{
|
|
"href": "http://schiller-bins.test/klara",
|
|
"label": "Elentir"
|
|
},
|
|
{
|
|
"href": "http://christiansen.test/lenna_satterfield",
|
|
"label": "May Gamgee"
|
|
},
|
|
{
|
|
"href": "http://bayer.test/tesha_bernhard",
|
|
"label": "Saradas Brandybuck"
|
|
}
|
|
],
|
|
"value_checks": null,
|
|
"remediation_available": false,
|
|
"type": "rule",
|
|
"remediation_issue_id": null
|
|
},
|
|
{
|
|
"id": "4d0a63cf-d808-4847-be0d-8a4973dc63ae",
|
|
"ref_id": "xccdf_org.ssgproject.content_rule_93ec39006c30aa63238b0155e640779a",
|
|
"title": "Culpa ut et in.",
|
|
"rationale": "Soluta consequuntur modi. Harum a modi. Nam modi nobis.",
|
|
"description": "Aliquam ipsam accusantium. Delectus sit praesentium. In ut blanditiis.",
|
|
"severity": "high",
|
|
"precedence": 335,
|
|
"identifier": {
|
|
"href": "http://keebler.test/anderson",
|
|
"label": "Hundar"
|
|
},
|
|
"references": [
|
|
{
|
|
"href": "http://corwin.test/tyrell.armstrong",
|
|
"label": "Elwing"
|
|
},
|
|
{
|
|
"href": "http://barrows.test/hassan_paucek",
|
|
"label": "Daisy Baggins"
|
|
},
|
|
{
|
|
"href": "http://walker.example/hank",
|
|
"label": "Arahad"
|
|
},
|
|
{
|
|
"href": "http://harvey.example/larry",
|
|
"label": "Thorondor"
|
|
},
|
|
{
|
|
"href": "http://douglas.test/rosenda",
|
|
"label": "Bert"
|
|
}
|
|
],
|
|
"value_checks": null,
|
|
"remediation_available": false,
|
|
"type": "rule",
|
|
"remediation_issue_id": null
|
|
},
|
|
{
|
|
"id": "5d3f69fa-09ce-4d42-b3f5-aa1221b36942",
|
|
"ref_id": "xccdf_org.ssgproject.content_rule_04635719009aefbd8bc35e13197e5754",
|
|
"title": "Aut doloremque molestiae quisquam.",
|
|
"rationale": "Voluptatem unde commodi. Modi laborum autem. Suscipit qui et.",
|
|
"description": "Omnis consectetur est. Beatae quo nostrum. Voluptatem consectetur eos.",
|
|
"severity": "low",
|
|
"precedence": 365,
|
|
"identifier": {
|
|
"href": "http://wilderman-durgan.example/ellis_moore",
|
|
"label": "Almáriel"
|
|
},
|
|
"references": [
|
|
{
|
|
"href": "http://jones.example/ayanna.steuber",
|
|
"label": "Ancalagon"
|
|
},
|
|
{
|
|
"href": "http://bruen.test/edwin",
|
|
"label": "Elfwine"
|
|
},
|
|
{
|
|
"href": "http://olson.test/earnest",
|
|
"label": "Halbarad"
|
|
},
|
|
{
|
|
"href": "http://ullrich.test/forest_casper",
|
|
"label": "Theobald Bolger"
|
|
},
|
|
{
|
|
"href": "http://boyle.test/adolfo",
|
|
"label": "Fíriel Fairbairn"
|
|
}
|
|
],
|
|
"value_checks": null,
|
|
"remediation_available": false,
|
|
"type": "rule",
|
|
"remediation_issue_id": null
|
|
},
|
|
{
|
|
"id": "45b23299-1617-441f-b770-4803908f8c01",
|
|
"ref_id": "xccdf_org.ssgproject.content_rule_640708aa4fde62733411ec4ba89920cc",
|
|
"title": "Suscipit iste eveniet eos.",
|
|
"rationale": "Officiis voluptatem inventore. Exercitationem nihil doloribus. Voluptate minus consequuntur.",
|
|
"description": "Excepturi in eum. Ea cumque optio. Aut non ut.",
|
|
"severity": "medium",
|
|
"precedence": 516,
|
|
"identifier": {
|
|
"href": "http://auer.test/candace.cole",
|
|
"label": "Sauron"
|
|
},
|
|
"references": [
|
|
{
|
|
"href": "http://homenick-mills.example/anne.mayert",
|
|
"label": "Laura Grubb"
|
|
},
|
|
{
|
|
"href": "http://ritchie.test/theodore.wilkinson",
|
|
"label": "Durin"
|
|
},
|
|
{
|
|
"href": "http://wisoky.example/joleen",
|
|
"label": "Hiril"
|
|
},
|
|
{
|
|
"href": "http://ullrich-treutel.test/mahalia",
|
|
"label": "Aegnor"
|
|
},
|
|
{
|
|
"href": "http://sporer.test/jamal_altenwerth",
|
|
"label": "Odo Proudfoot"
|
|
}
|
|
],
|
|
"value_checks": null,
|
|
"remediation_available": false,
|
|
"type": "rule",
|
|
"remediation_issue_id": null
|
|
},
|
|
{
|
|
"id": "d42e76d2-0d83-4747-847f-1698bd98da49",
|
|
"ref_id": "xccdf_org.ssgproject.content_rule_dcff7d9e6628844c62c86157fb2a8c79",
|
|
"title": "Laborum omnis eaque voluptas.",
|
|
"rationale": "Voluptates quis sequi. Deleniti perferendis totam. Nihil nostrum aut.",
|
|
"description": "Aperiam placeat exercitationem. Perspiciatis quos labore. Ab est nihil.",
|
|
"severity": "low",
|
|
"precedence": 1571,
|
|
"identifier": {
|
|
"href": "http://rippin.example/luke_abbott",
|
|
"label": "Aratan"
|
|
},
|
|
"references": [
|
|
{
|
|
"href": "http://mayer.example/lizabeth_gislason",
|
|
"label": "Ragnir"
|
|
},
|
|
{
|
|
"href": "http://block-wisoky.example/lester",
|
|
"label": "Telumehtar Umbardacil"
|
|
},
|
|
{
|
|
"href": "http://herzog.example/gwyn",
|
|
"label": "Morwen"
|
|
},
|
|
{
|
|
"href": "http://kuvalis.test/ai_luettgen",
|
|
"label": "Mallor"
|
|
},
|
|
{
|
|
"href": "http://moore-kuphal.example/shawnda",
|
|
"label": "Polo Baggins"
|
|
}
|
|
],
|
|
"value_checks": null,
|
|
"remediation_available": false,
|
|
"type": "rule",
|
|
"remediation_issue_id": null
|
|
},
|
|
{
|
|
"id": "11443748-10f1-4bd1-978c-537210ff3011",
|
|
"ref_id": "xccdf_org.ssgproject.content_rule_ea0f552001333885ec65537734d3a278",
|
|
"title": "Quia autem omnis adipisci.",
|
|
"rationale": "Et cumque suscipit. Quidem voluptatem animi. Nam sunt incidunt.",
|
|
"description": "Molestiae est accusamus. Dolore aliquam deserunt. Id impedit quo.",
|
|
"severity": "high",
|
|
"precedence": 1882,
|
|
"identifier": {
|
|
"href": "http://parisian.example/connie_skiles",
|
|
"label": "Cotman"
|
|
},
|
|
"references": [
|
|
{
|
|
"href": "http://lind.test/trang",
|
|
"label": "Adanel"
|
|
},
|
|
{
|
|
"href": "http://trantow.example/grady",
|
|
"label": "Pippin Gardner"
|
|
},
|
|
{
|
|
"href": "http://cassin-okon.test/sol_hammes",
|
|
"label": "Goldwine"
|
|
},
|
|
{
|
|
"href": "http://bechtelar.test/deloras.ledner",
|
|
"label": "Ibun"
|
|
},
|
|
{
|
|
"href": "http://langworth.example/cinderella.baumbach",
|
|
"label": "Fimbrethil"
|
|
}
|
|
],
|
|
"value_checks": null,
|
|
"remediation_available": false,
|
|
"type": "rule",
|
|
"remediation_issue_id": null
|
|
},
|
|
{
|
|
"id": "d5f3b509-5318-48c4-931f-f63b9396a052",
|
|
"ref_id": "xccdf_org.ssgproject.content_rule_04b992bf4505cc6d6bef2e73705877fa",
|
|
"title": "Necessitatibus velit aut est.",
|
|
"rationale": "Eius a nisi. Nihil quis at. Eius sint in.",
|
|
"description": "Similique et quos. Dolorum deleniti assumenda. Ipsum in soluta.",
|
|
"severity": "low",
|
|
"precedence": 2435,
|
|
"identifier": {
|
|
"href": "http://jones.example/dinorah",
|
|
"label": "Daisy Gardner"
|
|
},
|
|
"references": [
|
|
{
|
|
"href": "http://dicki.example/opal",
|
|
"label": "Scatha"
|
|
},
|
|
{
|
|
"href": "http://herman.example/preston",
|
|
"label": "Eradan"
|
|
},
|
|
{
|
|
"href": "http://klocko.example/rayna.howell",
|
|
"label": "Buldar"
|
|
},
|
|
{
|
|
"href": "http://mueller-leannon.test/tanna",
|
|
"label": "Menegilda Goold"
|
|
},
|
|
{
|
|
"href": "http://feest.test/alphonso.goyette",
|
|
"label": "Minto Burrows"
|
|
}
|
|
],
|
|
"value_checks": null,
|
|
"remediation_available": false,
|
|
"type": "rule",
|
|
"remediation_issue_id": null
|
|
},
|
|
{
|
|
"id": "9a5fe2fb-c6d6-48ac-9116-c322c65eb587",
|
|
"ref_id": "xccdf_org.ssgproject.content_rule_32f6efd527d06fef2964ebe3910488d6",
|
|
"title": "Optio fugit architecto ut.",
|
|
"rationale": "Aut qui quis. Consequatur distinctio ut. Voluptas quia impedit.",
|
|
"description": "Consectetur laudantium vel. Aut nesciunt voluptas. Sapiente odit earum.",
|
|
"severity": "low",
|
|
"precedence": 3153,
|
|
"identifier": {
|
|
"href": "http://parisian.example/mike",
|
|
"label": "Andróg"
|
|
},
|
|
"references": [
|
|
{
|
|
"href": "http://dickens.test/kellee",
|
|
"label": "Axantur"
|
|
},
|
|
{
|
|
"href": "http://gislason.example/darcel",
|
|
"label": "Aldamir"
|
|
},
|
|
{
|
|
"href": "http://schmidt-johnston.test/gale",
|
|
"label": "Mat Heathertoes"
|
|
},
|
|
{
|
|
"href": "http://lakin.example/marita",
|
|
"label": "Berelach"
|
|
},
|
|
{
|
|
"href": "http://renner-adams.example/alyse_gutmann",
|
|
"label": "Peeping Jack"
|
|
}
|
|
],
|
|
"value_checks": null,
|
|
"remediation_available": false,
|
|
"type": "rule",
|
|
"remediation_issue_id": null
|
|
},
|
|
{
|
|
"id": "528c3894-75be-4f4a-9a4d-14ebe4c1ee92",
|
|
"ref_id": "xccdf_org.ssgproject.content_rule_755d573150b6d733bd1e903fd2ca8172",
|
|
"title": "Quis et incidunt ut.",
|
|
"rationale": "Ut nesciunt magnam. Porro et aut. Doloribus perspiciatis repellat.",
|
|
"description": "Deleniti rerum vel. Ut qui quia. Voluptatem sed nesciunt.",
|
|
"severity": "high",
|
|
"precedence": 3727,
|
|
"identifier": {
|
|
"href": "http://predovic.test/therese",
|
|
"label": "Freca"
|
|
},
|
|
"references": [
|
|
{
|
|
"href": "http://johnson.example/brooks.spencer",
|
|
"label": "Marhwini"
|
|
},
|
|
{
|
|
"href": "http://kemmer-yost.example/carolyne",
|
|
"label": "Dudo Baggins"
|
|
},
|
|
{
|
|
"href": "http://macejkovic.test/devorah.strosin",
|
|
"label": "Telchar"
|
|
},
|
|
{
|
|
"href": "http://mccullough.test/valentin.medhurst",
|
|
"label": "Lofar"
|
|
},
|
|
{
|
|
"href": "http://hand.example/mitchell.romaguera",
|
|
"label": "Ori"
|
|
}
|
|
],
|
|
"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/8c0d48c5-d682-442a-96c0-cfe90a3e7c41/profiles/21fcec09-1e18-4ea7-835d-6074801c992f/rules?limit=10&offset=0&sort_by=precedence",
|
|
"last": "/api/compliance/v2/security_guides/8c0d48c5-d682-442a-96c0-cfe90a3e7c41/profiles/21fcec09-1e18-4ea7-835d-6074801c992f/rules?limit=10&offset=20&sort_by=precedence",
|
|
"next": "/api/compliance/v2/security_guides/8c0d48c5-d682-442a-96c0-cfe90a3e7c41/profiles/21fcec09-1e18-4ea7-835d-6074801c992f/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": "003a5438-285b-46b4-b72e-bc955220c95f",
|
|
"ref_id": "xccdf_org.ssgproject.content_rule_3981a53e428de6445f74316cb55aeb5d",
|
|
"title": "Animi odio unde rem.",
|
|
"rationale": "Qui deleniti odio. In perferendis dicta. Qui tenetur deleniti.",
|
|
"description": "Ipsam vel at. Perferendis dolor et. Facilis ipsa suscipit.",
|
|
"severity": "high",
|
|
"precedence": 739,
|
|
"identifier": {
|
|
"href": "http://koch.test/shemika.cronin",
|
|
"label": "Hundad"
|
|
},
|
|
"references": [
|
|
{
|
|
"href": "http://reichel.test/jerald.stokes",
|
|
"label": "Buldar"
|
|
},
|
|
{
|
|
"href": "http://nitzsche-paucek.example/amira",
|
|
"label": "Golasgil"
|
|
},
|
|
{
|
|
"href": "http://murazik.example/dane.breitenberg",
|
|
"label": "Asphodel Brandybuck"
|
|
},
|
|
{
|
|
"href": "http://grimes-barrows.example/vanesa",
|
|
"label": "Vinitharya"
|
|
},
|
|
{
|
|
"href": "http://crona.example/verda.funk",
|
|
"label": "Elphir"
|
|
}
|
|
],
|
|
"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 f01e8316-0845-44e4-9515-7f269bac7244"
|
|
]
|
|
},
|
|
"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": "a0b66e92-3f37-447e-90c4-15a0558256bb",
|
|
"ref_id": "xccdf_org.ssgproject.content_rule_296615d35b0c61ceb0ca4a039727875d",
|
|
"title": "Dolor ut maiores impedit.",
|
|
"rationale": "Ut maxime est. Aspernatur quos sint. Eos voluptate earum.",
|
|
"description": "Est et nostrum. Placeat veritatis optio. Sit possimus occaecati.",
|
|
"severity": "high",
|
|
"precedence": 9643,
|
|
"identifier": {
|
|
"href": "http://satterfield.test/garry.hand",
|
|
"label": "Meneldor"
|
|
},
|
|
"references": [
|
|
{
|
|
"href": "http://nitzsche.example/luba.parisian",
|
|
"label": "Malantur"
|
|
},
|
|
{
|
|
"href": "http://legros.example/erasmo",
|
|
"label": "Aranwë"
|
|
},
|
|
{
|
|
"href": "http://beatty.example/nannette.cruickshank",
|
|
"label": "Henderch"
|
|
},
|
|
{
|
|
"href": "http://kunze-yundt.example/fabiola_stanton",
|
|
"label": "Eöl"
|
|
},
|
|
{
|
|
"href": "http://schowalter.test/howard_klocko",
|
|
"label": "Falco Chubb-Baggins"
|
|
}
|
|
],
|
|
"value_checks": null,
|
|
"remediation_available": false,
|
|
"type": "rule"
|
|
}
|
|
],
|
|
"meta": {
|
|
"total": 1,
|
|
"limit": 10,
|
|
"offset": 0
|
|
},
|
|
"links": {
|
|
"first": "/api/compliance/v2/policies/0580167c-70e3-4062-8412-95e2c07bedfa/tailorings/e6890b2e-245c-470b-bee7-2d3b99b13304/rules?limit=10&offset=0",
|
|
"last": "/api/compliance/v2/policies/0580167c-70e3-4062-8412-95e2c07bedfa/tailorings/e6890b2e-245c-470b-bee7-2d3b99b13304/rules?limit=10&offset=0"
|
|
}
|
|
},
|
|
"summary": "",
|
|
"description": ""
|
|
},
|
|
"List of Rules sorted by \"precedence:asc\"": {
|
|
"value": {
|
|
"data": [
|
|
{
|
|
"id": "187ee083-0ea4-425b-911f-b08ea4da2b55",
|
|
"ref_id": "xccdf_org.ssgproject.content_rule_ffcd3115af9201bb2a6e16d6244e412a",
|
|
"title": "Ullam laboriosam similique officiis.",
|
|
"rationale": "Ut distinctio quia. Quam nostrum asperiores. In eum delectus.",
|
|
"description": "Quasi sequi et. Quos et sed. Quas et et.",
|
|
"severity": "low",
|
|
"precedence": 6812,
|
|
"identifier": {
|
|
"href": "http://will.test/burma",
|
|
"label": "Rudolph Bolger"
|
|
},
|
|
"references": [
|
|
{
|
|
"href": "http://schulist.example/daryl_krajcik",
|
|
"label": "Bucca of the Marish"
|
|
},
|
|
{
|
|
"href": "http://walter.test/doris.volkman",
|
|
"label": "Bergil"
|
|
},
|
|
{
|
|
"href": "http://lang.test/maribel_rau",
|
|
"label": "Adalgrim Took"
|
|
},
|
|
{
|
|
"href": "http://corkery.example/dorthea",
|
|
"label": "Bergil"
|
|
},
|
|
{
|
|
"href": "http://jones.example/pia_emmerich",
|
|
"label": "Voronwë"
|
|
}
|
|
],
|
|
"value_checks": null,
|
|
"remediation_available": false,
|
|
"type": "rule"
|
|
}
|
|
],
|
|
"meta": {
|
|
"total": 1,
|
|
"limit": 10,
|
|
"offset": 0,
|
|
"sort_by": "precedence"
|
|
},
|
|
"links": {
|
|
"first": "/api/compliance/v2/policies/09778541-1da0-4d75-ac33-427ff8171094/tailorings/e3dd8b45-de7c-443d-bb72-79555a035e7a/rules?limit=10&offset=0&sort_by=precedence",
|
|
"last": "/api/compliance/v2/policies/09778541-1da0-4d75-ac33-427ff8171094/tailorings/e3dd8b45-de7c-443d-bb72-79555a035e7a/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": "07f9e09f-89d3-4616-a36b-a4e590289f96",
|
|
"ref_id": "xccdf_org.ssgproject.content_rule_bc106f09747fd51ab50a670908e480e0",
|
|
"title": "Non aliquid sint quo.",
|
|
"rationale": "Qui voluptas reprehenderit. Autem in impedit. Laborum et et.",
|
|
"description": "Sit quis alias. Porro qui aut. Dolores eius sunt.",
|
|
"severity": "medium",
|
|
"precedence": 9921,
|
|
"identifier": {
|
|
"href": "http://casper.test/basil.friesen",
|
|
"label": "Hannar"
|
|
},
|
|
"references": [
|
|
{
|
|
"href": "http://walsh.example/barbra.kihn",
|
|
"label": "Elanor Gardner"
|
|
},
|
|
{
|
|
"href": "http://hilpert-gibson.example/fawn",
|
|
"label": "Kíli"
|
|
},
|
|
{
|
|
"href": "http://senger.test/eusebio.wehner",
|
|
"label": "Bergil"
|
|
},
|
|
{
|
|
"href": "http://ullrich-beatty.test/elena",
|
|
"label": "Vinitharya"
|
|
},
|
|
{
|
|
"href": "http://yost.example/sonny",
|
|
"label": "Telumehtar Umbardacil"
|
|
}
|
|
],
|
|
"value_checks": null,
|
|
"remediation_available": false,
|
|
"type": "rule"
|
|
},
|
|
{
|
|
"id": "13dc7af6-c343-464b-9ad8-265b586df488",
|
|
"ref_id": "xccdf_org.ssgproject.content_rule_dda151d15673152fcbf53637e88289e8",
|
|
"title": "Sit delectus dolor et.",
|
|
"rationale": "Omnis delectus nostrum. Et pariatur inventore. Et necessitatibus modi.",
|
|
"description": "Modi nisi maiores. Ipsum incidunt quaerat. Et quos aut.",
|
|
"severity": "medium",
|
|
"precedence": 4915,
|
|
"identifier": {
|
|
"href": "http://fisher-strosin.test/alfonso",
|
|
"label": "Poldor"
|
|
},
|
|
"references": [
|
|
{
|
|
"href": "http://sauer-sanford.example/sidney.beier",
|
|
"label": "Eorl"
|
|
},
|
|
{
|
|
"href": "http://orn-shields.test/martin.kuvalis",
|
|
"label": "Tar-Anárion"
|
|
},
|
|
{
|
|
"href": "http://hammes.test/antione",
|
|
"label": "Mosco Burrows"
|
|
},
|
|
{
|
|
"href": "http://brakus.example/ricki",
|
|
"label": "Marmadas Brandybuck"
|
|
},
|
|
{
|
|
"href": "http://jenkins.test/erin",
|
|
"label": "Írimë"
|
|
}
|
|
],
|
|
"value_checks": null,
|
|
"remediation_available": false,
|
|
"type": "rule"
|
|
},
|
|
{
|
|
"id": "2047e14f-c882-483c-8a1e-315038f59a01",
|
|
"ref_id": "xccdf_org.ssgproject.content_rule_1a13b37de652358413250d851e5b387d",
|
|
"title": "Exercitationem officia pariatur facere.",
|
|
"rationale": "Sit eaque sunt. Blanditiis unde est. Deleniti quia vitae.",
|
|
"description": "Dicta tempora quos. Dolorem quas voluptates. Beatae magnam sed.",
|
|
"severity": "medium",
|
|
"precedence": 4521,
|
|
"identifier": {
|
|
"href": "http://leannon-balistreri.test/arnoldo_wilkinson",
|
|
"label": "Andvír"
|
|
},
|
|
"references": [
|
|
{
|
|
"href": "http://glover.test/peter_heidenreich",
|
|
"label": "Alphros"
|
|
},
|
|
{
|
|
"href": "http://gutkowski-gusikowski.example/cleveland",
|
|
"label": "Farin"
|
|
},
|
|
{
|
|
"href": "http://wuckert.example/willis",
|
|
"label": "Huor"
|
|
},
|
|
{
|
|
"href": "http://pagac-rowe.example/regina",
|
|
"label": "Tar-Telemmaitë"
|
|
},
|
|
{
|
|
"href": "http://spinka.example/lelia",
|
|
"label": "Duilin"
|
|
}
|
|
],
|
|
"value_checks": null,
|
|
"remediation_available": false,
|
|
"type": "rule"
|
|
},
|
|
{
|
|
"id": "41d80a64-ce93-45d1-8ba8-b4b7d2f1b7df",
|
|
"ref_id": "xccdf_org.ssgproject.content_rule_f4d4b808f844987fd711549c79b67fae",
|
|
"title": "Qui sed perspiciatis occaecati.",
|
|
"rationale": "Error fugit praesentium. Rerum et sit. Ullam tenetur commodi.",
|
|
"description": "Dolores facilis occaecati. Reiciendis numquam sapiente. Labore eaque est.",
|
|
"severity": "medium",
|
|
"precedence": 6104,
|
|
"identifier": {
|
|
"href": "http://armstrong.test/raul_ohara",
|
|
"label": "Diamond of Long Cleeve"
|
|
},
|
|
"references": [
|
|
{
|
|
"href": "http://towne.test/bennett",
|
|
"label": "Grimbold"
|
|
},
|
|
{
|
|
"href": "http://mcdermott.test/edgar_schultz",
|
|
"label": "Barach"
|
|
},
|
|
{
|
|
"href": "http://will.test/dwain",
|
|
"label": "Glorfindel"
|
|
},
|
|
{
|
|
"href": "http://bogan-davis.test/hollis_braun",
|
|
"label": "Belen"
|
|
},
|
|
{
|
|
"href": "http://grimes.test/willis",
|
|
"label": "Bard"
|
|
}
|
|
],
|
|
"value_checks": null,
|
|
"remediation_available": false,
|
|
"type": "rule"
|
|
},
|
|
{
|
|
"id": "51f30562-1f36-4e9a-b365-742765d08035",
|
|
"ref_id": "xccdf_org.ssgproject.content_rule_b07c3f14504163a6570773d54245f07d",
|
|
"title": "Eum qui sit neque.",
|
|
"rationale": "Explicabo officiis sequi. Sint aliquam in. Earum et dolorem.",
|
|
"description": "Asperiores nesciunt magni. Accusamus voluptas ut. Porro inventore sit.",
|
|
"severity": "medium",
|
|
"precedence": 7329,
|
|
"identifier": {
|
|
"href": "http://ohara-heller.test/chun",
|
|
"label": "Odo Proudfoot"
|
|
},
|
|
"references": [
|
|
{
|
|
"href": "http://ziemann-keeling.example/javier.reynolds",
|
|
"label": "Gerda Boffin"
|
|
},
|
|
{
|
|
"href": "http://hessel-strosin.test/tracey",
|
|
"label": "Caliondo"
|
|
},
|
|
{
|
|
"href": "http://emard-harris.test/morgan_predovic",
|
|
"label": "Dírhaval"
|
|
},
|
|
{
|
|
"href": "http://marvin.example/jamila",
|
|
"label": "Elfstan Fairbairn"
|
|
},
|
|
{
|
|
"href": "http://kunde.example/maryln",
|
|
"label": "Hiril"
|
|
}
|
|
],
|
|
"value_checks": null,
|
|
"remediation_available": false,
|
|
"type": "rule"
|
|
},
|
|
{
|
|
"id": "53fdf8dc-1e40-4603-8e05-8ac4286caab2",
|
|
"ref_id": "xccdf_org.ssgproject.content_rule_3772ce6b462a2b26d243f654fb012815",
|
|
"title": "Tenetur eos adipisci est.",
|
|
"rationale": "Minus soluta in. Doloremque quos et. Dolorem et eos.",
|
|
"description": "Provident atque deserunt. Voluptatibus asperiores voluptatem. Eum fugit nemo.",
|
|
"severity": "low",
|
|
"precedence": 7727,
|
|
"identifier": {
|
|
"href": "http://dibbert-hartmann.example/eveline",
|
|
"label": "Mimosa Bunce"
|
|
},
|
|
"references": [
|
|
{
|
|
"href": "http://windler.example/wesley.yost",
|
|
"label": "Folco Boffin"
|
|
},
|
|
{
|
|
"href": "http://greenholt.example/javier",
|
|
"label": "Mogru"
|
|
},
|
|
{
|
|
"href": "http://reichel-russel.example/royal",
|
|
"label": "Otto Boffin"
|
|
},
|
|
{
|
|
"href": "http://barton-zieme.example/willis",
|
|
"label": "Argeleb"
|
|
},
|
|
{
|
|
"href": "http://stokes-nolan.example/max_dare",
|
|
"label": "Elentir"
|
|
}
|
|
],
|
|
"value_checks": null,
|
|
"remediation_available": false,
|
|
"type": "rule"
|
|
},
|
|
{
|
|
"id": "5632077d-77de-43a3-8c15-3e30b2173c78",
|
|
"ref_id": "xccdf_org.ssgproject.content_rule_e4ed0c043db2017272dd2d4e1f062a26",
|
|
"title": "Et est pariatur molestias.",
|
|
"rationale": "Rem veritatis optio. Consectetur voluptatum officia. Sint numquam unde.",
|
|
"description": "Praesentium necessitatibus deserunt. Ad adipisci maxime. Enim itaque commodi.",
|
|
"severity": "high",
|
|
"precedence": 9787,
|
|
"identifier": {
|
|
"href": "http://oconner.test/gregory.hills",
|
|
"label": "Girion"
|
|
},
|
|
"references": [
|
|
{
|
|
"href": "http://donnelly.test/adolfo",
|
|
"label": "Fengel"
|
|
},
|
|
{
|
|
"href": "http://balistreri.test/olen_marvin",
|
|
"label": "Buldar"
|
|
},
|
|
{
|
|
"href": "http://fay.test/eugenio",
|
|
"label": "Beril"
|
|
},
|
|
{
|
|
"href": "http://turcotte-bergstrom.example/lance",
|
|
"label": "Gildor"
|
|
},
|
|
{
|
|
"href": "http://bailey.test/yuriko",
|
|
"label": "Mouth of Sauron"
|
|
}
|
|
],
|
|
"value_checks": null,
|
|
"remediation_available": false,
|
|
"type": "rule"
|
|
},
|
|
{
|
|
"id": "6e995c33-0c71-48ed-9a69-86d055b417ee",
|
|
"ref_id": "xccdf_org.ssgproject.content_rule_1ad4ac0f53d96408a4006f2b77bcff95",
|
|
"title": "Consequuntur vel quasi eum.",
|
|
"rationale": "Quibusdam dolores inventore. Veniam recusandae dolorem. Perspiciatis nulla nam.",
|
|
"description": "Sint sit est. Maxime necessitatibus perspiciatis. Dolore et velit.",
|
|
"severity": "high",
|
|
"precedence": 5111,
|
|
"identifier": {
|
|
"href": "http://olson.test/kent",
|
|
"label": "Galdor"
|
|
},
|
|
"references": [
|
|
{
|
|
"href": "http://fadel.example/tammie",
|
|
"label": "Théoden"
|
|
},
|
|
{
|
|
"href": "http://torphy.test/matthew.kilback",
|
|
"label": "Adalgrim Took"
|
|
},
|
|
{
|
|
"href": "http://smitham-mccullough.test/anglea",
|
|
"label": "Ar-Sakalthôr"
|
|
},
|
|
{
|
|
"href": "http://legros.example/wally_moore",
|
|
"label": "Seredic Brandybuck"
|
|
},
|
|
{
|
|
"href": "http://yost-thompson.test/kaitlin_kovacek",
|
|
"label": "Arassuil"
|
|
}
|
|
],
|
|
"value_checks": null,
|
|
"remediation_available": false,
|
|
"type": "rule"
|
|
},
|
|
{
|
|
"id": "6eb59a23-5729-44ee-96be-aac24a3d9532",
|
|
"ref_id": "xccdf_org.ssgproject.content_rule_7b59d0dd704e93583c3389ab70de1c5e",
|
|
"title": "Quod error vel iure.",
|
|
"rationale": "Enim saepe quibusdam. Et reprehenderit officia. Asperiores dignissimos rem.",
|
|
"description": "Non sint amet. Odit nihil magni. Voluptates earum qui.",
|
|
"severity": "high",
|
|
"precedence": 717,
|
|
"identifier": {
|
|
"href": "http://haag.test/lane",
|
|
"label": "Írildë"
|
|
},
|
|
"references": [
|
|
{
|
|
"href": "http://heidenreich.test/darwin_reynolds",
|
|
"label": "Ferdinand Took"
|
|
},
|
|
{
|
|
"href": "http://volkman.test/kimiko",
|
|
"label": "Vëantur"
|
|
},
|
|
{
|
|
"href": "http://carter-gottlieb.example/maximo",
|
|
"label": "Enel"
|
|
},
|
|
{
|
|
"href": "http://leffler.example/roy.sipes",
|
|
"label": "Barliman Butterbur"
|
|
},
|
|
{
|
|
"href": "http://bogan.example/marty_lueilwitz",
|
|
"label": "Myrtle Burrows"
|
|
}
|
|
],
|
|
"value_checks": null,
|
|
"remediation_available": false,
|
|
"type": "rule"
|
|
},
|
|
{
|
|
"id": "6ee911a6-fcb2-4f67-a6ec-1787f5364bcb",
|
|
"ref_id": "xccdf_org.ssgproject.content_rule_3f3aae9fb9b5178229dce60c18bcd7d4",
|
|
"title": "A aut quos at.",
|
|
"rationale": "Veniam vel cumque. Aut et vitae. Qui harum voluptatum.",
|
|
"description": "Qui minus asperiores. Recusandae pariatur voluptatem. Neque ut aut.",
|
|
"severity": "low",
|
|
"precedence": 3689,
|
|
"identifier": {
|
|
"href": "http://marquardt-goyette.test/fumiko",
|
|
"label": "Valandil"
|
|
},
|
|
"references": [
|
|
{
|
|
"href": "http://macejkovic.test/donny_zulauf",
|
|
"label": "Hathol"
|
|
},
|
|
{
|
|
"href": "http://stiedemann.test/celena.klein",
|
|
"label": "Vardamir"
|
|
},
|
|
{
|
|
"href": "http://hickle.example/kathy",
|
|
"label": "Iminyë"
|
|
},
|
|
{
|
|
"href": "http://kautzer.example/crista",
|
|
"label": "Idis"
|
|
},
|
|
{
|
|
"href": "http://tillman.test/clayton",
|
|
"label": "Hareth"
|
|
}
|
|
],
|
|
"value_checks": null,
|
|
"remediation_available": false,
|
|
"type": "rule"
|
|
}
|
|
],
|
|
"meta": {
|
|
"total": 25,
|
|
"limit": 10,
|
|
"offset": 0
|
|
},
|
|
"links": {
|
|
"first": "/api/compliance/v2/policies/323d7f16-3d27-43ee-b291-9a0e2ccc946b/tailorings/801cc8af-19be-4982-beb9-d1793eb3393e/rules?limit=10&offset=0",
|
|
"last": "/api/compliance/v2/policies/323d7f16-3d27-43ee-b291-9a0e2ccc946b/tailorings/801cc8af-19be-4982-beb9-d1793eb3393e/rules?limit=10&offset=20",
|
|
"next": "/api/compliance/v2/policies/323d7f16-3d27-43ee-b291-9a0e2ccc946b/tailorings/801cc8af-19be-4982-beb9-d1793eb3393e/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": "80f187cf-1323-4f9e-bac9-3bf23a27d5e4",
|
|
"ref_id": "xccdf_org.ssgproject.content_rule_959734393f02418c84c127a003053943",
|
|
"title": "Commodi fugit nobis qui.",
|
|
"rationale": "Numquam ducimus veritatis. Eaque aut natus. Voluptatem ea alias.",
|
|
"description": "Nostrum ratione est. Sed ipsum qui. Nulla incidunt sint.",
|
|
"severity": "low",
|
|
"precedence": 8732,
|
|
"identifier": {
|
|
"href": "http://rowe.test/chauncey.shanahan",
|
|
"label": "Vorondil"
|
|
},
|
|
"references": [
|
|
{
|
|
"href": "http://adams-koepp.example/portia",
|
|
"label": "Náli"
|
|
},
|
|
{
|
|
"href": "http://blick.example/august",
|
|
"label": "Hannar"
|
|
},
|
|
{
|
|
"href": "http://gorczany.test/dario",
|
|
"label": "Diamond of Long Cleeve"
|
|
},
|
|
{
|
|
"href": "http://parisian-hyatt.test/thersa.schmidt",
|
|
"label": "Enel"
|
|
},
|
|
{
|
|
"href": "http://haley.example/shon",
|
|
"label": "Azaghâl"
|
|
}
|
|
],
|
|
"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 d513b8dd-4742-4914-bcd5-6ebf91ce7aea"
|
|
]
|
|
},
|
|
"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": "009efec0-f407-411f-890f-38896fe3161e",
|
|
"ref_id": "xccdf_org.ssgproject.content_rule_62c81bad95c81d73d213d00779a58db0",
|
|
"title": "Minima ea quia in.",
|
|
"rationale": "Aliquam distinctio dicta. Eveniet ducimus assumenda. Error aut nam.",
|
|
"description": "Ab suscipit repellendus. Iusto tenetur cupiditate. Eius enim enim.",
|
|
"severity": "medium",
|
|
"precedence": 1597,
|
|
"identifier": {
|
|
"href": "http://dietrich-kutch.example/renita_jacobi",
|
|
"label": "Artamir"
|
|
},
|
|
"references": [
|
|
{
|
|
"href": "http://reichert.example/sophie.bailey",
|
|
"label": "Meriadoc Brandybuck"
|
|
},
|
|
{
|
|
"href": "http://schmeler.example/melonie.howe",
|
|
"label": "Elrond"
|
|
},
|
|
{
|
|
"href": "http://kiehn.example/christen_spencer",
|
|
"label": "Ivriniel"
|
|
},
|
|
{
|
|
"href": "http://rodriguez-mraz.test/terrence",
|
|
"label": "Holdwine"
|
|
},
|
|
{
|
|
"href": "http://dubuque-langworth.test/santina",
|
|
"label": "Vardamir"
|
|
}
|
|
],
|
|
"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 9defeec8-230e-4acd-8404-185394281fee"
|
|
]
|
|
},
|
|
"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": "0db13dee-dfe3-441b-a21a-223a62697c44",
|
|
"ref_id": "xccdf_org.ssgproject.content_benchmark_RHEL-7",
|
|
"title": "Voluptatem et velit non.",
|
|
"version": "100.82.31",
|
|
"description": "At eius omnis. Natus ducimus sed. Reprehenderit impedit iusto.",
|
|
"os_major_version": 7,
|
|
"type": "security_guide"
|
|
},
|
|
{
|
|
"id": "101b0c3a-05f0-4e94-8e34-27b0fdbcde44",
|
|
"ref_id": "xccdf_org.ssgproject.content_benchmark_RHEL-7",
|
|
"title": "Nihil qui non consequatur.",
|
|
"version": "100.83.4",
|
|
"description": "Odio nam quia. Ut aut placeat. Voluptatem reprehenderit facere.",
|
|
"os_major_version": 7,
|
|
"type": "security_guide"
|
|
},
|
|
{
|
|
"id": "14528d30-c0ac-44f0-ad24-d3de7070e241",
|
|
"ref_id": "xccdf_org.ssgproject.content_benchmark_RHEL-7",
|
|
"title": "Rerum quia est modi.",
|
|
"version": "100.82.43",
|
|
"description": "Voluptas voluptatum distinctio. Quo non qui. Quia nulla est.",
|
|
"os_major_version": 7,
|
|
"type": "security_guide"
|
|
},
|
|
{
|
|
"id": "2c038e41-7305-499c-8c5d-708dc03caf6f",
|
|
"ref_id": "xccdf_org.ssgproject.content_benchmark_RHEL-7",
|
|
"title": "Dolores doloribus sunt dolorem.",
|
|
"version": "100.82.35",
|
|
"description": "Quo quia culpa. Nihil laudantium eos. Est quia inventore.",
|
|
"os_major_version": 7,
|
|
"type": "security_guide"
|
|
},
|
|
{
|
|
"id": "378bb0f1-8b6f-4fb4-83a2-45ce75c1c820",
|
|
"ref_id": "xccdf_org.ssgproject.content_benchmark_RHEL-7",
|
|
"title": "Dolorem modi vitae ut.",
|
|
"version": "100.82.34",
|
|
"description": "Distinctio inventore facere. Numquam eveniet ab. Alias facilis voluptas.",
|
|
"os_major_version": 7,
|
|
"type": "security_guide"
|
|
},
|
|
{
|
|
"id": "37ab34e6-0084-4bef-828a-068218798f40",
|
|
"ref_id": "xccdf_org.ssgproject.content_benchmark_RHEL-7",
|
|
"title": "Itaque ea at et.",
|
|
"version": "100.82.46",
|
|
"description": "Impedit culpa molestias. Ea cumque voluptates. Fugiat velit aut.",
|
|
"os_major_version": 7,
|
|
"type": "security_guide"
|
|
},
|
|
{
|
|
"id": "4786268c-2a26-4990-824e-1c8c58fc6d1b",
|
|
"ref_id": "xccdf_org.ssgproject.content_benchmark_RHEL-7",
|
|
"title": "Est modi dolorum facilis.",
|
|
"version": "100.82.37",
|
|
"description": "Animi aperiam tempora. Maiores nisi laudantium. Non excepturi molestiae.",
|
|
"os_major_version": 7,
|
|
"type": "security_guide"
|
|
},
|
|
{
|
|
"id": "4bb05141-6dce-42ff-b85f-cb5ddeea8a71",
|
|
"ref_id": "xccdf_org.ssgproject.content_benchmark_RHEL-7",
|
|
"title": "Repudiandae aperiam earum qui.",
|
|
"version": "100.82.47",
|
|
"description": "Nulla accusantium voluptates. Est reiciendis quisquam. Quisquam est commodi.",
|
|
"os_major_version": 7,
|
|
"type": "security_guide"
|
|
},
|
|
{
|
|
"id": "532bff23-5e89-4a83-9151-9d460d5e7dc6",
|
|
"ref_id": "xccdf_org.ssgproject.content_benchmark_RHEL-7",
|
|
"title": "Eveniet facilis corrupti voluptatem.",
|
|
"version": "100.82.33",
|
|
"description": "Vel et omnis. Est iure libero. Amet excepturi dolor.",
|
|
"os_major_version": 7,
|
|
"type": "security_guide"
|
|
},
|
|
{
|
|
"id": "657389a7-4943-401f-ae2d-236dc33c7ca2",
|
|
"ref_id": "xccdf_org.ssgproject.content_benchmark_RHEL-7",
|
|
"title": "Quod rerum vel adipisci.",
|
|
"version": "100.82.41",
|
|
"description": "Cupiditate consequatur aut. Id sint reprehenderit. Velit sed consequuntur.",
|
|
"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": "0122f8d1-3bca-47ac-bebb-416d9484aa0e",
|
|
"ref_id": "xccdf_org.ssgproject.content_benchmark_RHEL-7",
|
|
"title": "Aliquid voluptatem nostrum laboriosam.",
|
|
"version": "100.83.26",
|
|
"description": "Neque itaque distinctio. Eligendi aut modi. Error aut nihil.",
|
|
"os_major_version": 7,
|
|
"type": "security_guide"
|
|
},
|
|
{
|
|
"id": "0a634f26-7b72-4d1d-95e4-b39f29f57052",
|
|
"ref_id": "xccdf_org.ssgproject.content_benchmark_RHEL-7",
|
|
"title": "Dicta rerum et provident.",
|
|
"version": "100.83.6",
|
|
"description": "Sed aspernatur sint. Harum nemo hic. Deleniti id eaque.",
|
|
"os_major_version": 7,
|
|
"type": "security_guide"
|
|
},
|
|
{
|
|
"id": "1b16b7c4-6bfb-4275-ae39-b5567a912b7e",
|
|
"ref_id": "xccdf_org.ssgproject.content_benchmark_RHEL-7",
|
|
"title": "Voluptate omnis quasi atque.",
|
|
"version": "100.83.29",
|
|
"description": "Accusamus praesentium vel. Sequi ipsa dolorem. Aliquam quam ducimus.",
|
|
"os_major_version": 7,
|
|
"type": "security_guide"
|
|
},
|
|
{
|
|
"id": "1d09da48-cfd6-43fc-a338-c389545fbb88",
|
|
"ref_id": "xccdf_org.ssgproject.content_benchmark_RHEL-7",
|
|
"title": "Voluptate autem inventore atque.",
|
|
"version": "100.83.16",
|
|
"description": "Commodi maiores quos. Rerum ea quia. Culpa molestiae adipisci.",
|
|
"os_major_version": 7,
|
|
"type": "security_guide"
|
|
},
|
|
{
|
|
"id": "2873d5a4-169f-4757-b166-facd5d5bdf2c",
|
|
"ref_id": "xccdf_org.ssgproject.content_benchmark_RHEL-7",
|
|
"title": "Ipsa velit autem est.",
|
|
"version": "100.83.7",
|
|
"description": "Quo eos quod. Omnis earum nisi. Et nostrum et.",
|
|
"os_major_version": 7,
|
|
"type": "security_guide"
|
|
},
|
|
{
|
|
"id": "2b8ee441-d54b-4cee-9228-68627edfe0d6",
|
|
"ref_id": "xccdf_org.ssgproject.content_benchmark_RHEL-7",
|
|
"title": "Iusto eos quis exercitationem.",
|
|
"version": "100.83.23",
|
|
"description": "Quasi consectetur qui. Veniam fuga voluptatem. Odio exercitationem delectus.",
|
|
"os_major_version": 7,
|
|
"type": "security_guide"
|
|
},
|
|
{
|
|
"id": "30f527e8-20b7-46f4-bff3-c1451c08f173",
|
|
"ref_id": "xccdf_org.ssgproject.content_benchmark_RHEL-7",
|
|
"title": "Voluptates quis sunt placeat.",
|
|
"version": "100.83.21",
|
|
"description": "Quia porro molestiae. Et quia dolores. Voluptatem aut nostrum.",
|
|
"os_major_version": 7,
|
|
"type": "security_guide"
|
|
},
|
|
{
|
|
"id": "50f51d53-9ec9-46be-b050-2fa075d9db95",
|
|
"ref_id": "xccdf_org.ssgproject.content_benchmark_RHEL-7",
|
|
"title": "Quam maiores aut quae.",
|
|
"version": "100.83.8",
|
|
"description": "Sed ex numquam. Esse et qui. Sunt veritatis id.",
|
|
"os_major_version": 7,
|
|
"type": "security_guide"
|
|
},
|
|
{
|
|
"id": "5b92bf69-ab54-4682-9d68-c4556e75f3ec",
|
|
"ref_id": "xccdf_org.ssgproject.content_benchmark_RHEL-7",
|
|
"title": "Quis recusandae qui officia.",
|
|
"version": "100.83.30",
|
|
"description": "Quidem est omnis. Laborum in et. Qui alias fugiat.",
|
|
"os_major_version": 7,
|
|
"type": "security_guide"
|
|
},
|
|
{
|
|
"id": "5f7a7e94-32ac-4be2-8218-8bdc7d2acf7e",
|
|
"ref_id": "xccdf_org.ssgproject.content_benchmark_RHEL-7",
|
|
"title": "Reprehenderit at enim ea.",
|
|
"version": "100.83.10",
|
|
"description": "Veritatis tempora suscipit. Eaque temporibus expedita. Minima quae a.",
|
|
"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": "dd282f16-55d6-4263-8b87-8b34f91c263a",
|
|
"ref_id": "xccdf_org.ssgproject.content_benchmark_RHEL-7",
|
|
"title": "Aut enim enim rem.",
|
|
"version": "100.85.31",
|
|
"description": "Dolorem quia et. Hic libero porro. Temporibus quis voluptatum.",
|
|
"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 47eb3dd1-0f11-4f32-9e33-10962101cc22"
|
|
]
|
|
},
|
|
"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": "5223cb72-2ae0-4580-975b-fc50bba68723",
|
|
"type": "rule_group",
|
|
"children": [
|
|
{
|
|
"id": "a713e522-56f7-467e-8f1e-796d0cce86a9",
|
|
"type": "rule"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "6de49de8-57d8-4627-ba08-46a08f7563f0",
|
|
"type": "rule_group",
|
|
"children": [
|
|
{
|
|
"id": "46ff2028-67d1-4a5a-9537-e9884bdde91d",
|
|
"type": "rule"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "21f1c7a4-011b-401c-b2d2-164e819c6ac5",
|
|
"type": "rule_group",
|
|
"children": [
|
|
{
|
|
"id": "1e1a737d-38e3-4b02-ab7a-eae144c80748",
|
|
"type": "rule"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "1953af51-b58f-4753-a912-c02e978841a3",
|
|
"type": "rule_group",
|
|
"children": [
|
|
{
|
|
"id": "a9a15df5-2e19-4cdf-8f41-d9e011df2966",
|
|
"type": "rule"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "9629f84c-7e13-4633-b5ce-a36a7d64df71",
|
|
"type": "rule_group",
|
|
"children": [
|
|
{
|
|
"id": "95fb6e5f-8e1f-4a1a-9d1f-b94c05dd1f53",
|
|
"type": "rule"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "46b284dc-b261-41bf-8af1-dcbbc97b6492",
|
|
"type": "rule_group",
|
|
"children": [
|
|
{
|
|
"id": "abfce334-c770-44e3-b0b5-ecf5f3b1e170",
|
|
"type": "rule"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "4828b343-4479-4bd6-9a6c-a1f7325d8026",
|
|
"type": "rule_group",
|
|
"children": [
|
|
{
|
|
"id": "182eebc5-3e20-4cbb-856b-c61983107450",
|
|
"type": "rule"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "8704219d-5f2c-4a3c-92f8-dd62d40d6e29",
|
|
"type": "rule_group",
|
|
"children": [
|
|
{
|
|
"id": "cab83386-349a-4b4d-bc3f-a8357f7c433f",
|
|
"type": "rule"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "2cb13bcd-029e-4bbb-b09c-eb8dd5f2456a",
|
|
"type": "rule_group",
|
|
"children": [
|
|
{
|
|
"id": "248fd6fc-2729-427d-b2d4-f6ea951fa4f5",
|
|
"type": "rule"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "22dce960-5b51-46f0-9c10-e9100f9cc463",
|
|
"type": "rule_group",
|
|
"children": [
|
|
{
|
|
"id": "bfb32ced-2632-4dfd-8730-e8bb833c9e5c",
|
|
"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 60a0bc58-70fb-471a-9f63-ee49a3db532f"
|
|
]
|
|
},
|
|
"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": "af034abe-3024-47a3-98d2-a01a0406a72c",
|
|
"title": "Quasi id fugit consequatur.",
|
|
"description": "Impedit repellat ut. Ut ratione nesciunt. Et quia autem.",
|
|
"ref_id": "xccdf_org.ssgproject.content_profile_cfadfa2e4b1da64df173cfb34133a325",
|
|
"security_guide_id": "436ab6a7-cf2f-4e78-b5c7-2729980d8ec1",
|
|
"security_guide_version": "100.86.17",
|
|
"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": "ed34e720-b183-4429-adcf-e0bd9e42f73f",
|
|
"title": "Quis rem velit quam.",
|
|
"description": "Numquam est voluptatem. Tempore rem commodi. Error illum enim.",
|
|
"ref_id": "xccdf_org.ssgproject.content_profile_e9cc6418076e6659699869e9fdc53670",
|
|
"security_guide_id": "f735afb9-7eb8-4acf-9148-168d04c23ee1",
|
|
"security_guide_version": "100.86.18",
|
|
"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": "0b6c0a98-c848-46f1-a6be-1373b826ac1a",
|
|
"display_name": "bode.example",
|
|
"groups": [],
|
|
"culled_timestamp": "2034-10-10T15:00:31.913Z",
|
|
"stale_timestamp": "2034-09-26T15:00:31.913Z",
|
|
"stale_warning_timestamp": "2034-10-03T15:00:31.913Z",
|
|
"updated": "2024-09-26T15:00:31.913Z",
|
|
"insights_id": null,
|
|
"tags": [
|
|
{
|
|
"key": "array",
|
|
"value": "virtual",
|
|
"namespace": "transmitting"
|
|
},
|
|
{
|
|
"key": "matrix",
|
|
"value": "redundant",
|
|
"namespace": "synthesizing"
|
|
},
|
|
{
|
|
"key": "bus",
|
|
"value": "primary",
|
|
"namespace": "programming"
|
|
},
|
|
{
|
|
"key": "matrix",
|
|
"value": "optical",
|
|
"namespace": "transmitting"
|
|
},
|
|
{
|
|
"key": "driver",
|
|
"value": "wireless",
|
|
"namespace": "synthesizing"
|
|
}
|
|
],
|
|
"type": "system",
|
|
"os_major_version": 8,
|
|
"os_minor_version": 0,
|
|
"policies": []
|
|
},
|
|
{
|
|
"id": "1587f4d3-b7d8-404d-a1cf-a6a2ba0cbdf4",
|
|
"display_name": "heathcote-fay.example",
|
|
"groups": [],
|
|
"culled_timestamp": "2034-10-10T15:00:31.930Z",
|
|
"stale_timestamp": "2034-09-26T15:00:31.930Z",
|
|
"stale_warning_timestamp": "2034-10-03T15:00:31.930Z",
|
|
"updated": "2024-09-26T15:00:31.930Z",
|
|
"insights_id": null,
|
|
"tags": [
|
|
{
|
|
"key": "system",
|
|
"value": "digital",
|
|
"namespace": "backing up"
|
|
},
|
|
{
|
|
"key": "card",
|
|
"value": "haptic",
|
|
"namespace": "synthesizing"
|
|
},
|
|
{
|
|
"key": "circuit",
|
|
"value": "online",
|
|
"namespace": "programming"
|
|
},
|
|
{
|
|
"key": "array",
|
|
"value": "neural",
|
|
"namespace": "navigating"
|
|
},
|
|
{
|
|
"key": "panel",
|
|
"value": "cross-platform",
|
|
"namespace": "programming"
|
|
}
|
|
],
|
|
"type": "system",
|
|
"os_major_version": 8,
|
|
"os_minor_version": 0,
|
|
"policies": []
|
|
},
|
|
{
|
|
"id": "17fbe117-ba17-4000-9130-c0b400fbe764",
|
|
"display_name": "borer-zieme.test",
|
|
"groups": [],
|
|
"culled_timestamp": "2034-10-10T15:00:31.935Z",
|
|
"stale_timestamp": "2034-09-26T15:00:31.935Z",
|
|
"stale_warning_timestamp": "2034-10-03T15:00:31.935Z",
|
|
"updated": "2024-09-26T15:00:31.935Z",
|
|
"insights_id": null,
|
|
"tags": [
|
|
{
|
|
"key": "circuit",
|
|
"value": "multi-byte",
|
|
"namespace": "hacking"
|
|
},
|
|
{
|
|
"key": "array",
|
|
"value": "optical",
|
|
"namespace": "transmitting"
|
|
},
|
|
{
|
|
"key": "array",
|
|
"value": "bluetooth",
|
|
"namespace": "connecting"
|
|
},
|
|
{
|
|
"key": "monitor",
|
|
"value": "1080p",
|
|
"namespace": "indexing"
|
|
},
|
|
{
|
|
"key": "array",
|
|
"value": "haptic",
|
|
"namespace": "quantifying"
|
|
}
|
|
],
|
|
"type": "system",
|
|
"os_major_version": 8,
|
|
"os_minor_version": 0,
|
|
"policies": []
|
|
},
|
|
{
|
|
"id": "1f2c4b09-b4b2-4f5a-b121-9ae4b8870198",
|
|
"display_name": "daugherty.test",
|
|
"groups": [],
|
|
"culled_timestamp": "2034-10-10T15:00:31.933Z",
|
|
"stale_timestamp": "2034-09-26T15:00:31.933Z",
|
|
"stale_warning_timestamp": "2034-10-03T15:00:31.933Z",
|
|
"updated": "2024-09-26T15:00:31.933Z",
|
|
"insights_id": null,
|
|
"tags": [
|
|
{
|
|
"key": "system",
|
|
"value": "cross-platform",
|
|
"namespace": "backing up"
|
|
},
|
|
{
|
|
"key": "array",
|
|
"value": "online",
|
|
"namespace": "calculating"
|
|
},
|
|
{
|
|
"key": "system",
|
|
"value": "solid state",
|
|
"namespace": "copying"
|
|
},
|
|
{
|
|
"key": "circuit",
|
|
"value": "1080p",
|
|
"namespace": "connecting"
|
|
},
|
|
{
|
|
"key": "program",
|
|
"value": "solid state",
|
|
"namespace": "backing up"
|
|
}
|
|
],
|
|
"type": "system",
|
|
"os_major_version": 8,
|
|
"os_minor_version": 0,
|
|
"policies": []
|
|
},
|
|
{
|
|
"id": "2619d5c4-0051-475d-88f0-7e410b5c53d2",
|
|
"display_name": "romaguera-marvin.test",
|
|
"groups": [],
|
|
"culled_timestamp": "2034-10-10T15:00:31.940Z",
|
|
"stale_timestamp": "2034-09-26T15:00:31.940Z",
|
|
"stale_warning_timestamp": "2034-10-03T15:00:31.940Z",
|
|
"updated": "2024-09-26T15:00:31.940Z",
|
|
"insights_id": null,
|
|
"tags": [
|
|
{
|
|
"key": "driver",
|
|
"value": "neural",
|
|
"namespace": "parsing"
|
|
},
|
|
{
|
|
"key": "feed",
|
|
"value": "wireless",
|
|
"namespace": "programming"
|
|
},
|
|
{
|
|
"key": "bandwidth",
|
|
"value": "1080p",
|
|
"namespace": "navigating"
|
|
},
|
|
{
|
|
"key": "matrix",
|
|
"value": "bluetooth",
|
|
"namespace": "overriding"
|
|
},
|
|
{
|
|
"key": "alarm",
|
|
"value": "digital",
|
|
"namespace": "backing up"
|
|
}
|
|
],
|
|
"type": "system",
|
|
"os_major_version": 8,
|
|
"os_minor_version": 0,
|
|
"policies": []
|
|
},
|
|
{
|
|
"id": "2dde748e-b563-4595-85d7-02c373a1bff7",
|
|
"display_name": "armstrong.example",
|
|
"groups": [],
|
|
"culled_timestamp": "2034-10-10T15:00:31.928Z",
|
|
"stale_timestamp": "2034-09-26T15:00:31.928Z",
|
|
"stale_warning_timestamp": "2034-10-03T15:00:31.928Z",
|
|
"updated": "2024-09-26T15:00:31.928Z",
|
|
"insights_id": null,
|
|
"tags": [
|
|
{
|
|
"key": "program",
|
|
"value": "digital",
|
|
"namespace": "parsing"
|
|
},
|
|
{
|
|
"key": "alarm",
|
|
"value": "open-source",
|
|
"namespace": "indexing"
|
|
},
|
|
{
|
|
"key": "matrix",
|
|
"value": "wireless",
|
|
"namespace": "hacking"
|
|
},
|
|
{
|
|
"key": "pixel",
|
|
"value": "cross-platform",
|
|
"namespace": "calculating"
|
|
},
|
|
{
|
|
"key": "microchip",
|
|
"value": "auxiliary",
|
|
"namespace": "generating"
|
|
}
|
|
],
|
|
"type": "system",
|
|
"os_major_version": 8,
|
|
"os_minor_version": 0,
|
|
"policies": []
|
|
},
|
|
{
|
|
"id": "43a9b711-8569-46a8-8234-9373508964a7",
|
|
"display_name": "lindgren-gusikowski.test",
|
|
"groups": [],
|
|
"culled_timestamp": "2034-10-10T15:00:31.943Z",
|
|
"stale_timestamp": "2034-09-26T15:00:31.943Z",
|
|
"stale_warning_timestamp": "2034-10-03T15:00:31.943Z",
|
|
"updated": "2024-09-26T15:00:31.943Z",
|
|
"insights_id": null,
|
|
"tags": [
|
|
{
|
|
"key": "hard drive",
|
|
"value": "redundant",
|
|
"namespace": "generating"
|
|
},
|
|
{
|
|
"key": "card",
|
|
"value": "multi-byte",
|
|
"namespace": "bypassing"
|
|
},
|
|
{
|
|
"key": "panel",
|
|
"value": "neural",
|
|
"namespace": "synthesizing"
|
|
},
|
|
{
|
|
"key": "bandwidth",
|
|
"value": "multi-byte",
|
|
"namespace": "calculating"
|
|
},
|
|
{
|
|
"key": "monitor",
|
|
"value": "multi-byte",
|
|
"namespace": "calculating"
|
|
}
|
|
],
|
|
"type": "system",
|
|
"os_major_version": 8,
|
|
"os_minor_version": 0,
|
|
"policies": []
|
|
},
|
|
{
|
|
"id": "4fd08eb3-fd96-4869-808f-c2b66bc2ac6f",
|
|
"display_name": "bahringer.example",
|
|
"groups": [],
|
|
"culled_timestamp": "2034-10-10T15:00:31.921Z",
|
|
"stale_timestamp": "2034-09-26T15:00:31.921Z",
|
|
"stale_warning_timestamp": "2034-10-03T15:00:31.921Z",
|
|
"updated": "2024-09-26T15:00:31.921Z",
|
|
"insights_id": null,
|
|
"tags": [
|
|
{
|
|
"key": "bandwidth",
|
|
"value": "primary",
|
|
"namespace": "parsing"
|
|
},
|
|
{
|
|
"key": "hard drive",
|
|
"value": "mobile",
|
|
"namespace": "parsing"
|
|
},
|
|
{
|
|
"key": "matrix",
|
|
"value": "bluetooth",
|
|
"namespace": "indexing"
|
|
},
|
|
{
|
|
"key": "bandwidth",
|
|
"value": "bluetooth",
|
|
"namespace": "transmitting"
|
|
},
|
|
{
|
|
"key": "interface",
|
|
"value": "solid state",
|
|
"namespace": "parsing"
|
|
}
|
|
],
|
|
"type": "system",
|
|
"os_major_version": 8,
|
|
"os_minor_version": 0,
|
|
"policies": []
|
|
},
|
|
{
|
|
"id": "52e60605-87c1-488c-a3bc-f68922fda081",
|
|
"display_name": "lueilwitz.test",
|
|
"groups": [],
|
|
"culled_timestamp": "2034-10-10T15:00:31.906Z",
|
|
"stale_timestamp": "2034-09-26T15:00:31.906Z",
|
|
"stale_warning_timestamp": "2034-10-03T15:00:31.906Z",
|
|
"updated": "2024-09-26T15:00:31.906Z",
|
|
"insights_id": null,
|
|
"tags": [
|
|
{
|
|
"key": "card",
|
|
"value": "optical",
|
|
"namespace": "bypassing"
|
|
},
|
|
{
|
|
"key": "card",
|
|
"value": "neural",
|
|
"namespace": "quantifying"
|
|
},
|
|
{
|
|
"key": "hard drive",
|
|
"value": "haptic",
|
|
"namespace": "parsing"
|
|
},
|
|
{
|
|
"key": "application",
|
|
"value": "bluetooth",
|
|
"namespace": "generating"
|
|
},
|
|
{
|
|
"key": "interface",
|
|
"value": "solid state",
|
|
"namespace": "copying"
|
|
}
|
|
],
|
|
"type": "system",
|
|
"os_major_version": 8,
|
|
"os_minor_version": 0,
|
|
"policies": []
|
|
},
|
|
{
|
|
"id": "5ebf6abf-6020-4140-b417-8cb2fddb15ca",
|
|
"display_name": "wiza-crist.example",
|
|
"groups": [],
|
|
"culled_timestamp": "2034-10-10T15:00:31.925Z",
|
|
"stale_timestamp": "2034-09-26T15:00:31.925Z",
|
|
"stale_warning_timestamp": "2034-10-03T15:00:31.925Z",
|
|
"updated": "2024-09-26T15:00:31.925Z",
|
|
"insights_id": null,
|
|
"tags": [
|
|
{
|
|
"key": "protocol",
|
|
"value": "redundant",
|
|
"namespace": "quantifying"
|
|
},
|
|
{
|
|
"key": "pixel",
|
|
"value": "auxiliary",
|
|
"namespace": "synthesizing"
|
|
},
|
|
{
|
|
"key": "alarm",
|
|
"value": "haptic",
|
|
"namespace": "compressing"
|
|
},
|
|
{
|
|
"key": "system",
|
|
"value": "optical",
|
|
"namespace": "backing up"
|
|
},
|
|
{
|
|
"key": "program",
|
|
"value": "virtual",
|
|
"namespace": "calculating"
|
|
}
|
|
],
|
|
"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": "0914266b-b65d-4d98-9c91-3fb1f015fec6",
|
|
"display_name": "rath.example",
|
|
"groups": [],
|
|
"culled_timestamp": "2034-10-10T15:00:31.966Z",
|
|
"stale_timestamp": "2034-09-26T15:00:31.966Z",
|
|
"stale_warning_timestamp": "2034-10-03T15:00:31.966Z",
|
|
"updated": "2024-09-26T15:00:31.966Z",
|
|
"insights_id": null,
|
|
"tags": [
|
|
{
|
|
"key": "bandwidth",
|
|
"value": "online",
|
|
"namespace": "compressing"
|
|
},
|
|
{
|
|
"key": "pixel",
|
|
"value": "digital",
|
|
"namespace": "navigating"
|
|
},
|
|
{
|
|
"key": "microchip",
|
|
"value": "1080p",
|
|
"namespace": "copying"
|
|
},
|
|
{
|
|
"key": "panel",
|
|
"value": "wireless",
|
|
"namespace": "copying"
|
|
},
|
|
{
|
|
"key": "port",
|
|
"value": "open-source",
|
|
"namespace": "programming"
|
|
}
|
|
],
|
|
"type": "system",
|
|
"os_major_version": 8,
|
|
"os_minor_version": 0,
|
|
"policies": []
|
|
},
|
|
{
|
|
"id": "142a96c1-b8bc-4abb-96ba-5c4cd97b4b3e",
|
|
"display_name": "jacobi.example",
|
|
"groups": [],
|
|
"culled_timestamp": "2034-10-10T15:00:32.005Z",
|
|
"stale_timestamp": "2034-09-26T15:00:32.005Z",
|
|
"stale_warning_timestamp": "2034-10-03T15:00:32.005Z",
|
|
"updated": "2024-09-26T15:00:32.005Z",
|
|
"insights_id": null,
|
|
"tags": [
|
|
{
|
|
"key": "array",
|
|
"value": "wireless",
|
|
"namespace": "generating"
|
|
},
|
|
{
|
|
"key": "sensor",
|
|
"value": "auxiliary",
|
|
"namespace": "programming"
|
|
},
|
|
{
|
|
"key": "bandwidth",
|
|
"value": "digital",
|
|
"namespace": "backing up"
|
|
},
|
|
{
|
|
"key": "interface",
|
|
"value": "redundant",
|
|
"namespace": "navigating"
|
|
},
|
|
{
|
|
"key": "hard drive",
|
|
"value": "neural",
|
|
"namespace": "indexing"
|
|
}
|
|
],
|
|
"type": "system",
|
|
"os_major_version": 8,
|
|
"os_minor_version": 0,
|
|
"policies": []
|
|
},
|
|
{
|
|
"id": "197c26fc-5fe3-4b1f-bd04-3530a96172e5",
|
|
"display_name": "fisher.example",
|
|
"groups": [],
|
|
"culled_timestamp": "2034-10-10T15:00:32.003Z",
|
|
"stale_timestamp": "2034-09-26T15:00:32.003Z",
|
|
"stale_warning_timestamp": "2034-10-03T15:00:32.003Z",
|
|
"updated": "2024-09-26T15:00:32.003Z",
|
|
"insights_id": null,
|
|
"tags": [
|
|
{
|
|
"key": "capacitor",
|
|
"value": "solid state",
|
|
"namespace": "indexing"
|
|
},
|
|
{
|
|
"key": "pixel",
|
|
"value": "digital",
|
|
"namespace": "generating"
|
|
},
|
|
{
|
|
"key": "port",
|
|
"value": "mobile",
|
|
"namespace": "indexing"
|
|
},
|
|
{
|
|
"key": "sensor",
|
|
"value": "mobile",
|
|
"namespace": "navigating"
|
|
},
|
|
{
|
|
"key": "transmitter",
|
|
"value": "optical",
|
|
"namespace": "navigating"
|
|
}
|
|
],
|
|
"type": "system",
|
|
"os_major_version": 8,
|
|
"os_minor_version": 0,
|
|
"policies": []
|
|
},
|
|
{
|
|
"id": "1c2eff4c-6f6c-4433-aa60-ae986c9da0fd",
|
|
"display_name": "emmerich-feest.example",
|
|
"groups": [],
|
|
"culled_timestamp": "2034-10-10T15:00:32.008Z",
|
|
"stale_timestamp": "2034-09-26T15:00:32.008Z",
|
|
"stale_warning_timestamp": "2034-10-03T15:00:32.008Z",
|
|
"updated": "2024-09-26T15:00:32.008Z",
|
|
"insights_id": null,
|
|
"tags": [
|
|
{
|
|
"key": "program",
|
|
"value": "digital",
|
|
"namespace": "transmitting"
|
|
},
|
|
{
|
|
"key": "program",
|
|
"value": "haptic",
|
|
"namespace": "transmitting"
|
|
},
|
|
{
|
|
"key": "pixel",
|
|
"value": "digital",
|
|
"namespace": "transmitting"
|
|
},
|
|
{
|
|
"key": "alarm",
|
|
"value": "online",
|
|
"namespace": "programming"
|
|
},
|
|
{
|
|
"key": "protocol",
|
|
"value": "mobile",
|
|
"namespace": "backing up"
|
|
}
|
|
],
|
|
"type": "system",
|
|
"os_major_version": 8,
|
|
"os_minor_version": 0,
|
|
"policies": []
|
|
},
|
|
{
|
|
"id": "26507aa7-dddc-419a-b4be-38de8fe9a90b",
|
|
"display_name": "metz.example",
|
|
"groups": [],
|
|
"culled_timestamp": "2034-10-10T15:00:32.001Z",
|
|
"stale_timestamp": "2034-09-26T15:00:32.001Z",
|
|
"stale_warning_timestamp": "2034-10-03T15:00:32.001Z",
|
|
"updated": "2024-09-26T15:00:32.002Z",
|
|
"insights_id": null,
|
|
"tags": [
|
|
{
|
|
"key": "driver",
|
|
"value": "bluetooth",
|
|
"namespace": "parsing"
|
|
},
|
|
{
|
|
"key": "pixel",
|
|
"value": "primary",
|
|
"namespace": "generating"
|
|
},
|
|
{
|
|
"key": "pixel",
|
|
"value": "primary",
|
|
"namespace": "indexing"
|
|
},
|
|
{
|
|
"key": "bandwidth",
|
|
"value": "auxiliary",
|
|
"namespace": "calculating"
|
|
},
|
|
{
|
|
"key": "firewall",
|
|
"value": "online",
|
|
"namespace": "backing up"
|
|
}
|
|
],
|
|
"type": "system",
|
|
"os_major_version": 8,
|
|
"os_minor_version": 0,
|
|
"policies": []
|
|
},
|
|
{
|
|
"id": "2f29c969-ddb2-4e2b-b295-eefb34137607",
|
|
"display_name": "kshlerin.test",
|
|
"groups": [],
|
|
"culled_timestamp": "2034-10-10T15:00:31.988Z",
|
|
"stale_timestamp": "2034-09-26T15:00:31.988Z",
|
|
"stale_warning_timestamp": "2034-10-03T15:00:31.988Z",
|
|
"updated": "2024-09-26T15:00:31.988Z",
|
|
"insights_id": null,
|
|
"tags": [
|
|
{
|
|
"key": "application",
|
|
"value": "open-source",
|
|
"namespace": "quantifying"
|
|
},
|
|
{
|
|
"key": "port",
|
|
"value": "multi-byte",
|
|
"namespace": "navigating"
|
|
},
|
|
{
|
|
"key": "system",
|
|
"value": "digital",
|
|
"namespace": "generating"
|
|
},
|
|
{
|
|
"key": "application",
|
|
"value": "auxiliary",
|
|
"namespace": "transmitting"
|
|
},
|
|
{
|
|
"key": "feed",
|
|
"value": "mobile",
|
|
"namespace": "parsing"
|
|
}
|
|
],
|
|
"type": "system",
|
|
"os_major_version": 8,
|
|
"os_minor_version": 0,
|
|
"policies": []
|
|
},
|
|
{
|
|
"id": "33d6753e-d857-4cbb-b0a2-7966df4b99da",
|
|
"display_name": "balistreri-medhurst.test",
|
|
"groups": [],
|
|
"culled_timestamp": "2034-10-10T15:00:31.975Z",
|
|
"stale_timestamp": "2034-09-26T15:00:31.975Z",
|
|
"stale_warning_timestamp": "2034-10-03T15:00:31.975Z",
|
|
"updated": "2024-09-26T15:00:31.975Z",
|
|
"insights_id": null,
|
|
"tags": [
|
|
{
|
|
"key": "system",
|
|
"value": "redundant",
|
|
"namespace": "navigating"
|
|
},
|
|
{
|
|
"key": "bandwidth",
|
|
"value": "wireless",
|
|
"namespace": "backing up"
|
|
},
|
|
{
|
|
"key": "port",
|
|
"value": "bluetooth",
|
|
"namespace": "programming"
|
|
},
|
|
{
|
|
"key": "program",
|
|
"value": "haptic",
|
|
"namespace": "programming"
|
|
},
|
|
{
|
|
"key": "circuit",
|
|
"value": "open-source",
|
|
"namespace": "synthesizing"
|
|
}
|
|
],
|
|
"type": "system",
|
|
"os_major_version": 8,
|
|
"os_minor_version": 0,
|
|
"policies": []
|
|
},
|
|
{
|
|
"id": "4d569c40-74c7-49d4-9835-2d4cd19059ed",
|
|
"display_name": "hilll.test",
|
|
"groups": [],
|
|
"culled_timestamp": "2034-10-10T15:00:31.978Z",
|
|
"stale_timestamp": "2034-09-26T15:00:31.978Z",
|
|
"stale_warning_timestamp": "2034-10-03T15:00:31.978Z",
|
|
"updated": "2024-09-26T15:00:31.978Z",
|
|
"insights_id": null,
|
|
"tags": [
|
|
{
|
|
"key": "protocol",
|
|
"value": "primary",
|
|
"namespace": "bypassing"
|
|
},
|
|
{
|
|
"key": "sensor",
|
|
"value": "mobile",
|
|
"namespace": "navigating"
|
|
},
|
|
{
|
|
"key": "transmitter",
|
|
"value": "mobile",
|
|
"namespace": "copying"
|
|
},
|
|
{
|
|
"key": "transmitter",
|
|
"value": "haptic",
|
|
"namespace": "generating"
|
|
},
|
|
{
|
|
"key": "sensor",
|
|
"value": "multi-byte",
|
|
"namespace": "indexing"
|
|
}
|
|
],
|
|
"type": "system",
|
|
"os_major_version": 8,
|
|
"os_minor_version": 0,
|
|
"policies": []
|
|
},
|
|
{
|
|
"id": "781e66d9-9812-4e12-a05d-b6d3bfd53b03",
|
|
"display_name": "lockman.example",
|
|
"groups": [],
|
|
"culled_timestamp": "2034-10-10T15:00:31.983Z",
|
|
"stale_timestamp": "2034-09-26T15:00:31.983Z",
|
|
"stale_warning_timestamp": "2034-10-03T15:00:31.983Z",
|
|
"updated": "2024-09-26T15:00:31.983Z",
|
|
"insights_id": null,
|
|
"tags": [
|
|
{
|
|
"key": "driver",
|
|
"value": "neural",
|
|
"namespace": "connecting"
|
|
},
|
|
{
|
|
"key": "application",
|
|
"value": "redundant",
|
|
"namespace": "hacking"
|
|
},
|
|
{
|
|
"key": "alarm",
|
|
"value": "haptic",
|
|
"namespace": "copying"
|
|
},
|
|
{
|
|
"key": "capacitor",
|
|
"value": "virtual",
|
|
"namespace": "quantifying"
|
|
},
|
|
{
|
|
"key": "transmitter",
|
|
"value": "back-end",
|
|
"namespace": "bypassing"
|
|
}
|
|
],
|
|
"type": "system",
|
|
"os_major_version": 8,
|
|
"os_minor_version": 0,
|
|
"policies": []
|
|
},
|
|
{
|
|
"id": "7f9be87a-dafb-41a2-a7ce-86d47edc75aa",
|
|
"display_name": "green-quitzon.test",
|
|
"groups": [],
|
|
"culled_timestamp": "2034-10-10T15:00:31.990Z",
|
|
"stale_timestamp": "2034-09-26T15:00:31.990Z",
|
|
"stale_warning_timestamp": "2034-10-03T15:00:31.990Z",
|
|
"updated": "2024-09-26T15:00:31.990Z",
|
|
"insights_id": null,
|
|
"tags": [
|
|
{
|
|
"key": "system",
|
|
"value": "solid state",
|
|
"namespace": "generating"
|
|
},
|
|
{
|
|
"key": "bus",
|
|
"value": "redundant",
|
|
"namespace": "overriding"
|
|
},
|
|
{
|
|
"key": "sensor",
|
|
"value": "open-source",
|
|
"namespace": "navigating"
|
|
},
|
|
{
|
|
"key": "monitor",
|
|
"value": "auxiliary",
|
|
"namespace": "generating"
|
|
},
|
|
{
|
|
"key": "pixel",
|
|
"value": "solid state",
|
|
"namespace": "compressing"
|
|
}
|
|
],
|
|
"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": "1625e0e4-76d7-4919-a6bd-010398ea017c",
|
|
"display_name": "wilderman.example",
|
|
"groups": [],
|
|
"culled_timestamp": "2034-10-10T15:00:32.038Z",
|
|
"stale_timestamp": "2034-09-26T15:00:32.038Z",
|
|
"stale_warning_timestamp": "2034-10-03T15:00:32.038Z",
|
|
"updated": "2024-09-26T15:00:32.038Z",
|
|
"insights_id": null,
|
|
"tags": [
|
|
{
|
|
"key": "firewall",
|
|
"value": "bluetooth",
|
|
"namespace": "bypassing"
|
|
},
|
|
{
|
|
"key": "transmitter",
|
|
"value": "mobile",
|
|
"namespace": "overriding"
|
|
},
|
|
{
|
|
"key": "driver",
|
|
"value": "primary",
|
|
"namespace": "indexing"
|
|
},
|
|
{
|
|
"key": "alarm",
|
|
"value": "multi-byte",
|
|
"namespace": "connecting"
|
|
},
|
|
{
|
|
"key": "panel",
|
|
"value": "bluetooth",
|
|
"namespace": "calculating"
|
|
}
|
|
],
|
|
"type": "system",
|
|
"os_major_version": 8,
|
|
"os_minor_version": 0,
|
|
"policies": []
|
|
},
|
|
{
|
|
"id": "166d790f-1d73-451e-9682-b0995a1b383d",
|
|
"display_name": "stoltenberg.test",
|
|
"groups": [],
|
|
"culled_timestamp": "2034-10-10T15:00:32.054Z",
|
|
"stale_timestamp": "2034-09-26T15:00:32.054Z",
|
|
"stale_warning_timestamp": "2034-10-03T15:00:32.054Z",
|
|
"updated": "2024-09-26T15:00:32.054Z",
|
|
"insights_id": null,
|
|
"tags": [
|
|
{
|
|
"key": "bandwidth",
|
|
"value": "virtual",
|
|
"namespace": "transmitting"
|
|
},
|
|
{
|
|
"key": "matrix",
|
|
"value": "virtual",
|
|
"namespace": "navigating"
|
|
},
|
|
{
|
|
"key": "alarm",
|
|
"value": "digital",
|
|
"namespace": "indexing"
|
|
},
|
|
{
|
|
"key": "monitor",
|
|
"value": "bluetooth",
|
|
"namespace": "programming"
|
|
},
|
|
{
|
|
"key": "program",
|
|
"value": "back-end",
|
|
"namespace": "generating"
|
|
}
|
|
],
|
|
"type": "system",
|
|
"os_major_version": 8,
|
|
"os_minor_version": 0,
|
|
"policies": []
|
|
},
|
|
{
|
|
"id": "168828e0-381a-427a-8eda-2eb0a197aea2",
|
|
"display_name": "mayert.test",
|
|
"groups": [],
|
|
"culled_timestamp": "2034-10-10T15:00:32.049Z",
|
|
"stale_timestamp": "2034-09-26T15:00:32.049Z",
|
|
"stale_warning_timestamp": "2034-10-03T15:00:32.049Z",
|
|
"updated": "2024-09-26T15:00:32.050Z",
|
|
"insights_id": null,
|
|
"tags": [
|
|
{
|
|
"key": "capacitor",
|
|
"value": "solid state",
|
|
"namespace": "hacking"
|
|
},
|
|
{
|
|
"key": "panel",
|
|
"value": "mobile",
|
|
"namespace": "quantifying"
|
|
},
|
|
{
|
|
"key": "feed",
|
|
"value": "bluetooth",
|
|
"namespace": "indexing"
|
|
},
|
|
{
|
|
"key": "microchip",
|
|
"value": "neural",
|
|
"namespace": "quantifying"
|
|
},
|
|
{
|
|
"key": "driver",
|
|
"value": "digital",
|
|
"namespace": "quantifying"
|
|
}
|
|
],
|
|
"type": "system",
|
|
"os_major_version": 8,
|
|
"os_minor_version": 0,
|
|
"policies": []
|
|
},
|
|
{
|
|
"id": "223749fa-b7b6-484c-b8f7-7acb65891da7",
|
|
"display_name": "lynch-wisoky.example",
|
|
"groups": [],
|
|
"culled_timestamp": "2034-10-10T15:00:32.070Z",
|
|
"stale_timestamp": "2034-09-26T15:00:32.070Z",
|
|
"stale_warning_timestamp": "2034-10-03T15:00:32.070Z",
|
|
"updated": "2024-09-26T15:00:32.071Z",
|
|
"insights_id": null,
|
|
"tags": [
|
|
{
|
|
"key": "transmitter",
|
|
"value": "digital",
|
|
"namespace": "copying"
|
|
},
|
|
{
|
|
"key": "hard drive",
|
|
"value": "cross-platform",
|
|
"namespace": "transmitting"
|
|
},
|
|
{
|
|
"key": "matrix",
|
|
"value": "open-source",
|
|
"namespace": "programming"
|
|
},
|
|
{
|
|
"key": "circuit",
|
|
"value": "multi-byte",
|
|
"namespace": "generating"
|
|
},
|
|
{
|
|
"key": "pixel",
|
|
"value": "redundant",
|
|
"namespace": "indexing"
|
|
}
|
|
],
|
|
"type": "system",
|
|
"os_major_version": 8,
|
|
"os_minor_version": 0,
|
|
"policies": []
|
|
},
|
|
{
|
|
"id": "56ddbe5b-da01-457a-89e6-99405a7fc9a4",
|
|
"display_name": "marvin.test",
|
|
"groups": [],
|
|
"culled_timestamp": "2034-10-10T15:00:32.075Z",
|
|
"stale_timestamp": "2034-09-26T15:00:32.075Z",
|
|
"stale_warning_timestamp": "2034-10-03T15:00:32.075Z",
|
|
"updated": "2024-09-26T15:00:32.075Z",
|
|
"insights_id": null,
|
|
"tags": [
|
|
{
|
|
"key": "circuit",
|
|
"value": "1080p",
|
|
"namespace": "copying"
|
|
},
|
|
{
|
|
"key": "card",
|
|
"value": "online",
|
|
"namespace": "transmitting"
|
|
},
|
|
{
|
|
"key": "driver",
|
|
"value": "cross-platform",
|
|
"namespace": "overriding"
|
|
},
|
|
{
|
|
"key": "capacitor",
|
|
"value": "open-source",
|
|
"namespace": "overriding"
|
|
},
|
|
{
|
|
"key": "hard drive",
|
|
"value": "auxiliary",
|
|
"namespace": "calculating"
|
|
}
|
|
],
|
|
"type": "system",
|
|
"os_major_version": 8,
|
|
"os_minor_version": 0,
|
|
"policies": []
|
|
},
|
|
{
|
|
"id": "6e331719-5192-4e3a-b307-94591764a661",
|
|
"display_name": "gutmann.example",
|
|
"groups": [],
|
|
"culled_timestamp": "2034-10-10T15:00:32.046Z",
|
|
"stale_timestamp": "2034-09-26T15:00:32.046Z",
|
|
"stale_warning_timestamp": "2034-10-03T15:00:32.046Z",
|
|
"updated": "2024-09-26T15:00:32.046Z",
|
|
"insights_id": null,
|
|
"tags": [
|
|
{
|
|
"key": "capacitor",
|
|
"value": "1080p",
|
|
"namespace": "synthesizing"
|
|
},
|
|
{
|
|
"key": "bandwidth",
|
|
"value": "optical",
|
|
"namespace": "backing up"
|
|
},
|
|
{
|
|
"key": "circuit",
|
|
"value": "mobile",
|
|
"namespace": "bypassing"
|
|
},
|
|
{
|
|
"key": "monitor",
|
|
"value": "multi-byte",
|
|
"namespace": "calculating"
|
|
},
|
|
{
|
|
"key": "array",
|
|
"value": "multi-byte",
|
|
"namespace": "generating"
|
|
}
|
|
],
|
|
"type": "system",
|
|
"os_major_version": 8,
|
|
"os_minor_version": 0,
|
|
"policies": []
|
|
},
|
|
{
|
|
"id": "6ec4dd36-08f1-480f-8a5c-92cbb948c808",
|
|
"display_name": "mann.test",
|
|
"groups": [],
|
|
"culled_timestamp": "2034-10-10T15:00:32.048Z",
|
|
"stale_timestamp": "2034-09-26T15:00:32.048Z",
|
|
"stale_warning_timestamp": "2034-10-03T15:00:32.048Z",
|
|
"updated": "2024-09-26T15:00:32.048Z",
|
|
"insights_id": null,
|
|
"tags": [
|
|
{
|
|
"key": "transmitter",
|
|
"value": "haptic",
|
|
"namespace": "overriding"
|
|
},
|
|
{
|
|
"key": "application",
|
|
"value": "redundant",
|
|
"namespace": "calculating"
|
|
},
|
|
{
|
|
"key": "pixel",
|
|
"value": "haptic",
|
|
"namespace": "hacking"
|
|
},
|
|
{
|
|
"key": "microchip",
|
|
"value": "optical",
|
|
"namespace": "hacking"
|
|
},
|
|
{
|
|
"key": "pixel",
|
|
"value": "digital",
|
|
"namespace": "backing up"
|
|
}
|
|
],
|
|
"type": "system",
|
|
"os_major_version": 8,
|
|
"os_minor_version": 0,
|
|
"policies": []
|
|
},
|
|
{
|
|
"id": "71ce58a7-907f-460e-b907-4eb369e39027",
|
|
"display_name": "denesik-wiza.example",
|
|
"groups": [],
|
|
"culled_timestamp": "2034-10-10T15:00:32.061Z",
|
|
"stale_timestamp": "2034-09-26T15:00:32.061Z",
|
|
"stale_warning_timestamp": "2034-10-03T15:00:32.061Z",
|
|
"updated": "2024-09-26T15:00:32.061Z",
|
|
"insights_id": null,
|
|
"tags": [
|
|
{
|
|
"key": "capacitor",
|
|
"value": "open-source",
|
|
"namespace": "copying"
|
|
},
|
|
{
|
|
"key": "application",
|
|
"value": "bluetooth",
|
|
"namespace": "connecting"
|
|
},
|
|
{
|
|
"key": "program",
|
|
"value": "neural",
|
|
"namespace": "generating"
|
|
},
|
|
{
|
|
"key": "capacitor",
|
|
"value": "virtual",
|
|
"namespace": "indexing"
|
|
},
|
|
{
|
|
"key": "monitor",
|
|
"value": "digital",
|
|
"namespace": "connecting"
|
|
}
|
|
],
|
|
"type": "system",
|
|
"os_major_version": 8,
|
|
"os_minor_version": 0,
|
|
"policies": []
|
|
},
|
|
{
|
|
"id": "7277cd9a-088b-492d-8f6e-6229cb8279f1",
|
|
"display_name": "weimann.example",
|
|
"groups": [],
|
|
"culled_timestamp": "2034-10-10T15:00:32.040Z",
|
|
"stale_timestamp": "2034-09-26T15:00:32.040Z",
|
|
"stale_warning_timestamp": "2034-10-03T15:00:32.040Z",
|
|
"updated": "2024-09-26T15:00:32.040Z",
|
|
"insights_id": null,
|
|
"tags": [
|
|
{
|
|
"key": "protocol",
|
|
"value": "primary",
|
|
"namespace": "compressing"
|
|
},
|
|
{
|
|
"key": "firewall",
|
|
"value": "multi-byte",
|
|
"namespace": "copying"
|
|
},
|
|
{
|
|
"key": "port",
|
|
"value": "neural",
|
|
"namespace": "synthesizing"
|
|
},
|
|
{
|
|
"key": "driver",
|
|
"value": "digital",
|
|
"namespace": "copying"
|
|
},
|
|
{
|
|
"key": "system",
|
|
"value": "bluetooth",
|
|
"namespace": "overriding"
|
|
}
|
|
],
|
|
"type": "system",
|
|
"os_major_version": 8,
|
|
"os_minor_version": 0,
|
|
"policies": []
|
|
},
|
|
{
|
|
"id": "7dffcb34-b2a5-4fbb-a720-3712c9c3e093",
|
|
"display_name": "zemlak.example",
|
|
"groups": [],
|
|
"culled_timestamp": "2034-10-10T15:00:32.059Z",
|
|
"stale_timestamp": "2034-09-26T15:00:32.059Z",
|
|
"stale_warning_timestamp": "2034-10-03T15:00:32.059Z",
|
|
"updated": "2024-09-26T15:00:32.059Z",
|
|
"insights_id": null,
|
|
"tags": [
|
|
{
|
|
"key": "array",
|
|
"value": "online",
|
|
"namespace": "connecting"
|
|
},
|
|
{
|
|
"key": "circuit",
|
|
"value": "digital",
|
|
"namespace": "backing up"
|
|
},
|
|
{
|
|
"key": "bandwidth",
|
|
"value": "1080p",
|
|
"namespace": "overriding"
|
|
},
|
|
{
|
|
"key": "sensor",
|
|
"value": "back-end",
|
|
"namespace": "backing up"
|
|
},
|
|
{
|
|
"key": "transmitter",
|
|
"value": "haptic",
|
|
"namespace": "synthesizing"
|
|
}
|
|
],
|
|
"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": "918c5bd2-c009-4ecf-88b2-0cf9b64a3adc",
|
|
"display_name": "gutkowski.example",
|
|
"groups": [],
|
|
"culled_timestamp": "2034-10-10T15:00:32.284Z",
|
|
"stale_timestamp": "2034-09-26T15:00:32.284Z",
|
|
"stale_warning_timestamp": "2034-10-03T15:00:32.284Z",
|
|
"updated": "2024-09-26T15:00:32.284Z",
|
|
"insights_id": null,
|
|
"tags": [
|
|
{
|
|
"key": "matrix",
|
|
"value": "open-source",
|
|
"namespace": "navigating"
|
|
},
|
|
{
|
|
"key": "protocol",
|
|
"value": "solid state",
|
|
"namespace": "backing up"
|
|
},
|
|
{
|
|
"key": "driver",
|
|
"value": "primary",
|
|
"namespace": "navigating"
|
|
},
|
|
{
|
|
"key": "protocol",
|
|
"value": "cross-platform",
|
|
"namespace": "hacking"
|
|
},
|
|
{
|
|
"key": "interface",
|
|
"value": "haptic",
|
|
"namespace": "quantifying"
|
|
}
|
|
],
|
|
"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 34f8879b-accb-45b6-984d-012864473ea9"
|
|
]
|
|
},
|
|
"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": "00694ac5-6d15-446c-bbed-002f3a5d6359",
|
|
"display_name": "price.example",
|
|
"groups": [],
|
|
"culled_timestamp": "2034-10-10T15:00:32.367Z",
|
|
"stale_timestamp": "2034-09-26T15:00:32.367Z",
|
|
"stale_warning_timestamp": "2034-10-03T15:00:32.367Z",
|
|
"updated": "2024-09-26T15:00:32.367Z",
|
|
"insights_id": null,
|
|
"tags": [
|
|
{
|
|
"key": "program",
|
|
"value": "online",
|
|
"namespace": "generating"
|
|
},
|
|
{
|
|
"key": "driver",
|
|
"value": "bluetooth",
|
|
"namespace": "programming"
|
|
},
|
|
{
|
|
"key": "monitor",
|
|
"value": "haptic",
|
|
"namespace": "quantifying"
|
|
},
|
|
{
|
|
"key": "matrix",
|
|
"value": "optical",
|
|
"namespace": "parsing"
|
|
},
|
|
{
|
|
"key": "driver",
|
|
"value": "neural",
|
|
"namespace": "backing up"
|
|
}
|
|
],
|
|
"type": "system",
|
|
"os_major_version": 8,
|
|
"os_minor_version": 0
|
|
},
|
|
{
|
|
"id": "15ebbb88-997f-47a9-94e4-cad3cfbb436a",
|
|
"display_name": "beatty.test",
|
|
"groups": [],
|
|
"culled_timestamp": "2034-10-10T15:00:32.568Z",
|
|
"stale_timestamp": "2034-09-26T15:00:32.568Z",
|
|
"stale_warning_timestamp": "2034-10-03T15:00:32.568Z",
|
|
"updated": "2024-09-26T15:00:32.568Z",
|
|
"insights_id": null,
|
|
"tags": [
|
|
{
|
|
"key": "driver",
|
|
"value": "haptic",
|
|
"namespace": "calculating"
|
|
},
|
|
{
|
|
"key": "microchip",
|
|
"value": "optical",
|
|
"namespace": "quantifying"
|
|
},
|
|
{
|
|
"key": "interface",
|
|
"value": "online",
|
|
"namespace": "connecting"
|
|
},
|
|
{
|
|
"key": "hard drive",
|
|
"value": "open-source",
|
|
"namespace": "hacking"
|
|
},
|
|
{
|
|
"key": "system",
|
|
"value": "primary",
|
|
"namespace": "quantifying"
|
|
}
|
|
],
|
|
"type": "system",
|
|
"os_major_version": 8,
|
|
"os_minor_version": 0
|
|
},
|
|
{
|
|
"id": "2cafcb79-794b-42f4-8bce-0ee3b8af78a6",
|
|
"display_name": "wilderman.test",
|
|
"groups": [],
|
|
"culled_timestamp": "2034-10-10T15:00:32.417Z",
|
|
"stale_timestamp": "2034-09-26T15:00:32.417Z",
|
|
"stale_warning_timestamp": "2034-10-03T15:00:32.417Z",
|
|
"updated": "2024-09-26T15:00:32.417Z",
|
|
"insights_id": null,
|
|
"tags": [
|
|
{
|
|
"key": "panel",
|
|
"value": "auxiliary",
|
|
"namespace": "calculating"
|
|
},
|
|
{
|
|
"key": "system",
|
|
"value": "auxiliary",
|
|
"namespace": "navigating"
|
|
},
|
|
{
|
|
"key": "matrix",
|
|
"value": "open-source",
|
|
"namespace": "bypassing"
|
|
},
|
|
{
|
|
"key": "microchip",
|
|
"value": "1080p",
|
|
"namespace": "backing up"
|
|
},
|
|
{
|
|
"key": "microchip",
|
|
"value": "online",
|
|
"namespace": "overriding"
|
|
}
|
|
],
|
|
"type": "system",
|
|
"os_major_version": 8,
|
|
"os_minor_version": 0
|
|
},
|
|
{
|
|
"id": "3df063de-28f4-4309-a1cb-d446e4ee56f4",
|
|
"display_name": "torp.test",
|
|
"groups": [],
|
|
"culled_timestamp": "2034-10-10T15:00:32.447Z",
|
|
"stale_timestamp": "2034-09-26T15:00:32.447Z",
|
|
"stale_warning_timestamp": "2034-10-03T15:00:32.447Z",
|
|
"updated": "2024-09-26T15:00:32.447Z",
|
|
"insights_id": null,
|
|
"tags": [
|
|
{
|
|
"key": "circuit",
|
|
"value": "auxiliary",
|
|
"namespace": "parsing"
|
|
},
|
|
{
|
|
"key": "bus",
|
|
"value": "redundant",
|
|
"namespace": "backing up"
|
|
},
|
|
{
|
|
"key": "array",
|
|
"value": "1080p",
|
|
"namespace": "transmitting"
|
|
},
|
|
{
|
|
"key": "transmitter",
|
|
"value": "primary",
|
|
"namespace": "backing up"
|
|
},
|
|
{
|
|
"key": "matrix",
|
|
"value": "solid state",
|
|
"namespace": "quantifying"
|
|
}
|
|
],
|
|
"type": "system",
|
|
"os_major_version": 8,
|
|
"os_minor_version": 0
|
|
},
|
|
{
|
|
"id": "47cf61f4-e423-4633-8536-ae89e584b892",
|
|
"display_name": "heathcote.example",
|
|
"groups": [],
|
|
"culled_timestamp": "2034-10-10T15:00:32.397Z",
|
|
"stale_timestamp": "2034-09-26T15:00:32.397Z",
|
|
"stale_warning_timestamp": "2034-10-03T15:00:32.397Z",
|
|
"updated": "2024-09-26T15:00:32.397Z",
|
|
"insights_id": null,
|
|
"tags": [
|
|
{
|
|
"key": "card",
|
|
"value": "primary",
|
|
"namespace": "compressing"
|
|
},
|
|
{
|
|
"key": "pixel",
|
|
"value": "multi-byte",
|
|
"namespace": "calculating"
|
|
},
|
|
{
|
|
"key": "matrix",
|
|
"value": "auxiliary",
|
|
"namespace": "quantifying"
|
|
},
|
|
{
|
|
"key": "microchip",
|
|
"value": "digital",
|
|
"namespace": "bypassing"
|
|
},
|
|
{
|
|
"key": "sensor",
|
|
"value": "bluetooth",
|
|
"namespace": "compressing"
|
|
}
|
|
],
|
|
"type": "system",
|
|
"os_major_version": 8,
|
|
"os_minor_version": 0
|
|
},
|
|
{
|
|
"id": "4ece1268-293e-414a-9c4d-60508a40464d",
|
|
"display_name": "jacobs.test",
|
|
"groups": [],
|
|
"culled_timestamp": "2034-10-10T15:00:32.377Z",
|
|
"stale_timestamp": "2034-09-26T15:00:32.377Z",
|
|
"stale_warning_timestamp": "2034-10-03T15:00:32.377Z",
|
|
"updated": "2024-09-26T15:00:32.377Z",
|
|
"insights_id": null,
|
|
"tags": [
|
|
{
|
|
"key": "driver",
|
|
"value": "optical",
|
|
"namespace": "transmitting"
|
|
},
|
|
{
|
|
"key": "transmitter",
|
|
"value": "virtual",
|
|
"namespace": "quantifying"
|
|
},
|
|
{
|
|
"key": "microchip",
|
|
"value": "neural",
|
|
"namespace": "synthesizing"
|
|
},
|
|
{
|
|
"key": "microchip",
|
|
"value": "cross-platform",
|
|
"namespace": "synthesizing"
|
|
},
|
|
{
|
|
"key": "matrix",
|
|
"value": "auxiliary",
|
|
"namespace": "bypassing"
|
|
}
|
|
],
|
|
"type": "system",
|
|
"os_major_version": 8,
|
|
"os_minor_version": 0
|
|
},
|
|
{
|
|
"id": "5432f442-e9bb-4830-9046-3299e72024b8",
|
|
"display_name": "strosin-stracke.example",
|
|
"groups": [],
|
|
"culled_timestamp": "2034-10-10T15:00:32.437Z",
|
|
"stale_timestamp": "2034-09-26T15:00:32.437Z",
|
|
"stale_warning_timestamp": "2034-10-03T15:00:32.437Z",
|
|
"updated": "2024-09-26T15:00:32.437Z",
|
|
"insights_id": null,
|
|
"tags": [
|
|
{
|
|
"key": "firewall",
|
|
"value": "virtual",
|
|
"namespace": "synthesizing"
|
|
},
|
|
{
|
|
"key": "system",
|
|
"value": "primary",
|
|
"namespace": "programming"
|
|
},
|
|
{
|
|
"key": "application",
|
|
"value": "cross-platform",
|
|
"namespace": "bypassing"
|
|
},
|
|
{
|
|
"key": "alarm",
|
|
"value": "virtual",
|
|
"namespace": "programming"
|
|
},
|
|
{
|
|
"key": "interface",
|
|
"value": "mobile",
|
|
"namespace": "quantifying"
|
|
}
|
|
],
|
|
"type": "system",
|
|
"os_major_version": 8,
|
|
"os_minor_version": 0
|
|
},
|
|
{
|
|
"id": "621ad556-35ba-41db-8b4a-b3b462efa726",
|
|
"display_name": "abbott.test",
|
|
"groups": [],
|
|
"culled_timestamp": "2034-10-10T15:00:32.558Z",
|
|
"stale_timestamp": "2034-09-26T15:00:32.558Z",
|
|
"stale_warning_timestamp": "2034-10-03T15:00:32.558Z",
|
|
"updated": "2024-09-26T15:00:32.558Z",
|
|
"insights_id": null,
|
|
"tags": [
|
|
{
|
|
"key": "matrix",
|
|
"value": "neural",
|
|
"namespace": "bypassing"
|
|
},
|
|
{
|
|
"key": "microchip",
|
|
"value": "virtual",
|
|
"namespace": "synthesizing"
|
|
},
|
|
{
|
|
"key": "bus",
|
|
"value": "1080p",
|
|
"namespace": "parsing"
|
|
},
|
|
{
|
|
"key": "microchip",
|
|
"value": "cross-platform",
|
|
"namespace": "parsing"
|
|
},
|
|
{
|
|
"key": "pixel",
|
|
"value": "neural",
|
|
"namespace": "parsing"
|
|
}
|
|
],
|
|
"type": "system",
|
|
"os_major_version": 8,
|
|
"os_minor_version": 0
|
|
},
|
|
{
|
|
"id": "69e708f9-c75c-4873-a868-9bbf1c9e76a7",
|
|
"display_name": "borer.test",
|
|
"groups": [],
|
|
"culled_timestamp": "2034-10-10T15:00:32.407Z",
|
|
"stale_timestamp": "2034-09-26T15:00:32.407Z",
|
|
"stale_warning_timestamp": "2034-10-03T15:00:32.407Z",
|
|
"updated": "2024-09-26T15:00:32.407Z",
|
|
"insights_id": null,
|
|
"tags": [
|
|
{
|
|
"key": "driver",
|
|
"value": "virtual",
|
|
"namespace": "navigating"
|
|
},
|
|
{
|
|
"key": "bus",
|
|
"value": "back-end",
|
|
"namespace": "calculating"
|
|
},
|
|
{
|
|
"key": "transmitter",
|
|
"value": "virtual",
|
|
"namespace": "bypassing"
|
|
},
|
|
{
|
|
"key": "sensor",
|
|
"value": "1080p",
|
|
"namespace": "hacking"
|
|
},
|
|
{
|
|
"key": "bus",
|
|
"value": "online",
|
|
"namespace": "synthesizing"
|
|
}
|
|
],
|
|
"type": "system",
|
|
"os_major_version": 8,
|
|
"os_minor_version": 0
|
|
},
|
|
{
|
|
"id": "6d5cd8b1-cec0-42d8-9e98-e0d9b1fd9c8b",
|
|
"display_name": "hammes-waelchi.test",
|
|
"groups": [],
|
|
"culled_timestamp": "2034-10-10T15:00:32.387Z",
|
|
"stale_timestamp": "2034-09-26T15:00:32.387Z",
|
|
"stale_warning_timestamp": "2034-10-03T15:00:32.387Z",
|
|
"updated": "2024-09-26T15:00:32.387Z",
|
|
"insights_id": null,
|
|
"tags": [
|
|
{
|
|
"key": "port",
|
|
"value": "mobile",
|
|
"namespace": "compressing"
|
|
},
|
|
{
|
|
"key": "card",
|
|
"value": "bluetooth",
|
|
"namespace": "navigating"
|
|
},
|
|
{
|
|
"key": "matrix",
|
|
"value": "solid state",
|
|
"namespace": "synthesizing"
|
|
},
|
|
{
|
|
"key": "transmitter",
|
|
"value": "primary",
|
|
"namespace": "programming"
|
|
},
|
|
{
|
|
"key": "matrix",
|
|
"value": "optical",
|
|
"namespace": "synthesizing"
|
|
}
|
|
],
|
|
"type": "system",
|
|
"os_major_version": 8,
|
|
"os_minor_version": 0
|
|
}
|
|
],
|
|
"meta": {
|
|
"total": 25,
|
|
"tags": [],
|
|
"limit": 10,
|
|
"offset": 0
|
|
},
|
|
"links": {
|
|
"first": "/api/compliance/v2/policies/dea6638b-fc43-4af3-9890-897344ca6c9d/systems?limit=10&offset=0",
|
|
"last": "/api/compliance/v2/policies/dea6638b-fc43-4af3-9890-897344ca6c9d/systems?limit=10&offset=20",
|
|
"next": "/api/compliance/v2/policies/dea6638b-fc43-4af3-9890-897344ca6c9d/systems?limit=10&offset=10"
|
|
}
|
|
},
|
|
"summary": "",
|
|
"description": ""
|
|
},
|
|
"List of Systems sorted by \"os_minor_version:asc\"": {
|
|
"value": {
|
|
"data": [
|
|
{
|
|
"id": "074a45ac-bb50-4318-b296-53b04a221685",
|
|
"display_name": "gerhold.test",
|
|
"groups": [],
|
|
"culled_timestamp": "2034-10-10T15:00:32.709Z",
|
|
"stale_timestamp": "2034-09-26T15:00:32.709Z",
|
|
"stale_warning_timestamp": "2034-10-03T15:00:32.709Z",
|
|
"updated": "2024-09-26T15:00:32.709Z",
|
|
"insights_id": null,
|
|
"tags": [
|
|
{
|
|
"key": "interface",
|
|
"value": "multi-byte",
|
|
"namespace": "quantifying"
|
|
},
|
|
{
|
|
"key": "interface",
|
|
"value": "optical",
|
|
"namespace": "navigating"
|
|
},
|
|
{
|
|
"key": "port",
|
|
"value": "digital",
|
|
"namespace": "hacking"
|
|
},
|
|
{
|
|
"key": "bus",
|
|
"value": "virtual",
|
|
"namespace": "backing up"
|
|
},
|
|
{
|
|
"key": "driver",
|
|
"value": "solid state",
|
|
"namespace": "calculating"
|
|
}
|
|
],
|
|
"type": "system",
|
|
"os_major_version": 8,
|
|
"os_minor_version": 0
|
|
},
|
|
{
|
|
"id": "0e52233c-8db5-47a8-a1b4-20db1c32d629",
|
|
"display_name": "hammes-bergstrom.test",
|
|
"groups": [],
|
|
"culled_timestamp": "2034-10-10T15:00:32.730Z",
|
|
"stale_timestamp": "2034-09-26T15:00:32.730Z",
|
|
"stale_warning_timestamp": "2034-10-03T15:00:32.730Z",
|
|
"updated": "2024-09-26T15:00:32.730Z",
|
|
"insights_id": null,
|
|
"tags": [
|
|
{
|
|
"key": "matrix",
|
|
"value": "redundant",
|
|
"namespace": "bypassing"
|
|
},
|
|
{
|
|
"key": "hard drive",
|
|
"value": "auxiliary",
|
|
"namespace": "synthesizing"
|
|
},
|
|
{
|
|
"key": "array",
|
|
"value": "optical",
|
|
"namespace": "compressing"
|
|
},
|
|
{
|
|
"key": "port",
|
|
"value": "back-end",
|
|
"namespace": "connecting"
|
|
},
|
|
{
|
|
"key": "program",
|
|
"value": "back-end",
|
|
"namespace": "synthesizing"
|
|
}
|
|
],
|
|
"type": "system",
|
|
"os_major_version": 8,
|
|
"os_minor_version": 0
|
|
},
|
|
{
|
|
"id": "22c31346-cd85-4d90-b77c-0ff268a0fe90",
|
|
"display_name": "erdman.example",
|
|
"groups": [],
|
|
"culled_timestamp": "2034-10-10T15:00:32.719Z",
|
|
"stale_timestamp": "2034-09-26T15:00:32.719Z",
|
|
"stale_warning_timestamp": "2034-10-03T15:00:32.719Z",
|
|
"updated": "2024-09-26T15:00:32.719Z",
|
|
"insights_id": null,
|
|
"tags": [
|
|
{
|
|
"key": "monitor",
|
|
"value": "neural",
|
|
"namespace": "transmitting"
|
|
},
|
|
{
|
|
"key": "array",
|
|
"value": "mobile",
|
|
"namespace": "programming"
|
|
},
|
|
{
|
|
"key": "bus",
|
|
"value": "1080p",
|
|
"namespace": "calculating"
|
|
},
|
|
{
|
|
"key": "pixel",
|
|
"value": "auxiliary",
|
|
"namespace": "transmitting"
|
|
},
|
|
{
|
|
"key": "bus",
|
|
"value": "haptic",
|
|
"namespace": "navigating"
|
|
}
|
|
],
|
|
"type": "system",
|
|
"os_major_version": 8,
|
|
"os_minor_version": 0
|
|
},
|
|
{
|
|
"id": "2a68fcd0-1f84-482d-a95a-b3d57c569c54",
|
|
"display_name": "stokes.example",
|
|
"groups": [],
|
|
"culled_timestamp": "2034-10-10T15:00:32.850Z",
|
|
"stale_timestamp": "2034-09-26T15:00:32.850Z",
|
|
"stale_warning_timestamp": "2034-10-03T15:00:32.850Z",
|
|
"updated": "2024-09-26T15:00:32.850Z",
|
|
"insights_id": null,
|
|
"tags": [
|
|
{
|
|
"key": "application",
|
|
"value": "neural",
|
|
"namespace": "synthesizing"
|
|
},
|
|
{
|
|
"key": "monitor",
|
|
"value": "redundant",
|
|
"namespace": "connecting"
|
|
},
|
|
{
|
|
"key": "capacitor",
|
|
"value": "mobile",
|
|
"namespace": "navigating"
|
|
},
|
|
{
|
|
"key": "transmitter",
|
|
"value": "bluetooth",
|
|
"namespace": "calculating"
|
|
},
|
|
{
|
|
"key": "transmitter",
|
|
"value": "wireless",
|
|
"namespace": "overriding"
|
|
}
|
|
],
|
|
"type": "system",
|
|
"os_major_version": 8,
|
|
"os_minor_version": 0
|
|
},
|
|
{
|
|
"id": "36895f49-2c43-44dd-b6d3-4230f4774358",
|
|
"display_name": "mosciski.test",
|
|
"groups": [],
|
|
"culled_timestamp": "2034-10-10T15:00:32.628Z",
|
|
"stale_timestamp": "2034-09-26T15:00:32.628Z",
|
|
"stale_warning_timestamp": "2034-10-03T15:00:32.628Z",
|
|
"updated": "2024-09-26T15:00:32.628Z",
|
|
"insights_id": null,
|
|
"tags": [
|
|
{
|
|
"key": "program",
|
|
"value": "primary",
|
|
"namespace": "hacking"
|
|
},
|
|
{
|
|
"key": "hard drive",
|
|
"value": "primary",
|
|
"namespace": "transmitting"
|
|
},
|
|
{
|
|
"key": "feed",
|
|
"value": "cross-platform",
|
|
"namespace": "synthesizing"
|
|
},
|
|
{
|
|
"key": "interface",
|
|
"value": "bluetooth",
|
|
"namespace": "generating"
|
|
},
|
|
{
|
|
"key": "panel",
|
|
"value": "open-source",
|
|
"namespace": "copying"
|
|
}
|
|
],
|
|
"type": "system",
|
|
"os_major_version": 8,
|
|
"os_minor_version": 0
|
|
},
|
|
{
|
|
"id": "3731fbc0-4071-45ce-8a3b-77f0fabb534b",
|
|
"display_name": "emmerich-schiller.example",
|
|
"groups": [],
|
|
"culled_timestamp": "2034-10-10T15:00:32.612Z",
|
|
"stale_timestamp": "2034-09-26T15:00:32.612Z",
|
|
"stale_warning_timestamp": "2034-10-03T15:00:32.612Z",
|
|
"updated": "2024-09-26T15:00:32.612Z",
|
|
"insights_id": null,
|
|
"tags": [
|
|
{
|
|
"key": "bus",
|
|
"value": "mobile",
|
|
"namespace": "quantifying"
|
|
},
|
|
{
|
|
"key": "firewall",
|
|
"value": "neural",
|
|
"namespace": "parsing"
|
|
},
|
|
{
|
|
"key": "sensor",
|
|
"value": "open-source",
|
|
"namespace": "compressing"
|
|
},
|
|
{
|
|
"key": "bus",
|
|
"value": "multi-byte",
|
|
"namespace": "bypassing"
|
|
},
|
|
{
|
|
"key": "driver",
|
|
"value": "auxiliary",
|
|
"namespace": "backing up"
|
|
}
|
|
],
|
|
"type": "system",
|
|
"os_major_version": 8,
|
|
"os_minor_version": 0
|
|
},
|
|
{
|
|
"id": "3a37eb76-e707-4c42-a0db-a42858911712",
|
|
"display_name": "rau.test",
|
|
"groups": [],
|
|
"culled_timestamp": "2034-10-10T15:00:32.677Z",
|
|
"stale_timestamp": "2034-09-26T15:00:32.677Z",
|
|
"stale_warning_timestamp": "2034-10-03T15:00:32.677Z",
|
|
"updated": "2024-09-26T15:00:32.677Z",
|
|
"insights_id": null,
|
|
"tags": [
|
|
{
|
|
"key": "pixel",
|
|
"value": "online",
|
|
"namespace": "hacking"
|
|
},
|
|
{
|
|
"key": "array",
|
|
"value": "open-source",
|
|
"namespace": "parsing"
|
|
},
|
|
{
|
|
"key": "matrix",
|
|
"value": "haptic",
|
|
"namespace": "transmitting"
|
|
},
|
|
{
|
|
"key": "matrix",
|
|
"value": "solid state",
|
|
"namespace": "generating"
|
|
},
|
|
{
|
|
"key": "firewall",
|
|
"value": "multi-byte",
|
|
"namespace": "overriding"
|
|
}
|
|
],
|
|
"type": "system",
|
|
"os_major_version": 8,
|
|
"os_minor_version": 0
|
|
},
|
|
{
|
|
"id": "45847bc3-6885-4c98-bbe1-01dc20068638",
|
|
"display_name": "volkman.example",
|
|
"groups": [],
|
|
"culled_timestamp": "2034-10-10T15:00:32.810Z",
|
|
"stale_timestamp": "2034-09-26T15:00:32.810Z",
|
|
"stale_warning_timestamp": "2034-10-03T15:00:32.810Z",
|
|
"updated": "2024-09-26T15:00:32.810Z",
|
|
"insights_id": null,
|
|
"tags": [
|
|
{
|
|
"key": "microchip",
|
|
"value": "virtual",
|
|
"namespace": "overriding"
|
|
},
|
|
{
|
|
"key": "port",
|
|
"value": "mobile",
|
|
"namespace": "parsing"
|
|
},
|
|
{
|
|
"key": "pixel",
|
|
"value": "multi-byte",
|
|
"namespace": "hacking"
|
|
},
|
|
{
|
|
"key": "bandwidth",
|
|
"value": "wireless",
|
|
"namespace": "compressing"
|
|
},
|
|
{
|
|
"key": "system",
|
|
"value": "solid state",
|
|
"namespace": "overriding"
|
|
}
|
|
],
|
|
"type": "system",
|
|
"os_major_version": 8,
|
|
"os_minor_version": 0
|
|
},
|
|
{
|
|
"id": "497971a9-050c-4c93-8f8e-fa313a7737c7",
|
|
"display_name": "kling.test",
|
|
"groups": [],
|
|
"culled_timestamp": "2034-10-10T15:00:32.760Z",
|
|
"stale_timestamp": "2034-09-26T15:00:32.760Z",
|
|
"stale_warning_timestamp": "2034-10-03T15:00:32.760Z",
|
|
"updated": "2024-09-26T15:00:32.760Z",
|
|
"insights_id": null,
|
|
"tags": [
|
|
{
|
|
"key": "circuit",
|
|
"value": "online",
|
|
"namespace": "indexing"
|
|
},
|
|
{
|
|
"key": "firewall",
|
|
"value": "mobile",
|
|
"namespace": "hacking"
|
|
},
|
|
{
|
|
"key": "firewall",
|
|
"value": "primary",
|
|
"namespace": "quantifying"
|
|
},
|
|
{
|
|
"key": "hard drive",
|
|
"value": "neural",
|
|
"namespace": "quantifying"
|
|
},
|
|
{
|
|
"key": "pixel",
|
|
"value": "redundant",
|
|
"namespace": "bypassing"
|
|
}
|
|
],
|
|
"type": "system",
|
|
"os_major_version": 8,
|
|
"os_minor_version": 0
|
|
},
|
|
{
|
|
"id": "4c946c06-68f4-46ac-bf6d-90b96bee7f35",
|
|
"display_name": "konopelski.example",
|
|
"groups": [],
|
|
"culled_timestamp": "2034-10-10T15:00:32.800Z",
|
|
"stale_timestamp": "2034-09-26T15:00:32.800Z",
|
|
"stale_warning_timestamp": "2034-10-03T15:00:32.800Z",
|
|
"updated": "2024-09-26T15:00:32.800Z",
|
|
"insights_id": null,
|
|
"tags": [
|
|
{
|
|
"key": "port",
|
|
"value": "mobile",
|
|
"namespace": "navigating"
|
|
},
|
|
{
|
|
"key": "pixel",
|
|
"value": "digital",
|
|
"namespace": "bypassing"
|
|
},
|
|
{
|
|
"key": "panel",
|
|
"value": "optical",
|
|
"namespace": "navigating"
|
|
},
|
|
{
|
|
"key": "panel",
|
|
"value": "virtual",
|
|
"namespace": "generating"
|
|
},
|
|
{
|
|
"key": "bandwidth",
|
|
"value": "auxiliary",
|
|
"namespace": "transmitting"
|
|
}
|
|
],
|
|
"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/664d13e9-509a-4ba2-a5c3-b606542f74ce/systems?limit=10&offset=0&sort_by=os_minor_version",
|
|
"last": "/api/compliance/v2/policies/664d13e9-509a-4ba2-a5c3-b606542f74ce/systems?limit=10&offset=20&sort_by=os_minor_version",
|
|
"next": "/api/compliance/v2/policies/664d13e9-509a-4ba2-a5c3-b606542f74ce/systems?limit=10&offset=10&sort_by=os_minor_version"
|
|
}
|
|
},
|
|
"summary": "",
|
|
"description": ""
|
|
},
|
|
"List of Systems filtered by \"(os_minor_version=0)\"": {
|
|
"value": {
|
|
"data": [
|
|
{
|
|
"id": "00084941-4782-4569-be52-c22687b777c3",
|
|
"display_name": "kessler.test",
|
|
"groups": [],
|
|
"culled_timestamp": "2034-10-10T15:00:33.039Z",
|
|
"stale_timestamp": "2034-09-26T15:00:33.039Z",
|
|
"stale_warning_timestamp": "2034-10-03T15:00:33.039Z",
|
|
"updated": "2024-09-26T15:00:33.039Z",
|
|
"insights_id": null,
|
|
"tags": [
|
|
{
|
|
"key": "feed",
|
|
"value": "wireless",
|
|
"namespace": "indexing"
|
|
},
|
|
{
|
|
"key": "driver",
|
|
"value": "open-source",
|
|
"namespace": "transmitting"
|
|
},
|
|
{
|
|
"key": "protocol",
|
|
"value": "virtual",
|
|
"namespace": "hacking"
|
|
},
|
|
{
|
|
"key": "feed",
|
|
"value": "solid state",
|
|
"namespace": "compressing"
|
|
},
|
|
{
|
|
"key": "interface",
|
|
"value": "digital",
|
|
"namespace": "calculating"
|
|
}
|
|
],
|
|
"type": "system",
|
|
"os_major_version": 8,
|
|
"os_minor_version": 0
|
|
},
|
|
{
|
|
"id": "2906ad43-dae2-460d-9016-20410d10c714",
|
|
"display_name": "mohr.test",
|
|
"groups": [],
|
|
"culled_timestamp": "2034-10-10T15:00:33.119Z",
|
|
"stale_timestamp": "2034-09-26T15:00:33.119Z",
|
|
"stale_warning_timestamp": "2034-10-03T15:00:33.119Z",
|
|
"updated": "2024-09-26T15:00:33.119Z",
|
|
"insights_id": null,
|
|
"tags": [
|
|
{
|
|
"key": "feed",
|
|
"value": "haptic",
|
|
"namespace": "overriding"
|
|
},
|
|
{
|
|
"key": "driver",
|
|
"value": "multi-byte",
|
|
"namespace": "overriding"
|
|
},
|
|
{
|
|
"key": "driver",
|
|
"value": "back-end",
|
|
"namespace": "generating"
|
|
},
|
|
{
|
|
"key": "port",
|
|
"value": "primary",
|
|
"namespace": "bypassing"
|
|
},
|
|
{
|
|
"key": "firewall",
|
|
"value": "haptic",
|
|
"namespace": "bypassing"
|
|
}
|
|
],
|
|
"type": "system",
|
|
"os_major_version": 8,
|
|
"os_minor_version": 0
|
|
},
|
|
{
|
|
"id": "33ed9b7a-fc86-4f82-bcb3-8a7aa10823a8",
|
|
"display_name": "windler.example",
|
|
"groups": [],
|
|
"culled_timestamp": "2034-10-10T15:00:32.984Z",
|
|
"stale_timestamp": "2034-09-26T15:00:32.984Z",
|
|
"stale_warning_timestamp": "2034-10-03T15:00:32.984Z",
|
|
"updated": "2024-09-26T15:00:32.984Z",
|
|
"insights_id": null,
|
|
"tags": [
|
|
{
|
|
"key": "firewall",
|
|
"value": "solid state",
|
|
"namespace": "synthesizing"
|
|
},
|
|
{
|
|
"key": "circuit",
|
|
"value": "neural",
|
|
"namespace": "synthesizing"
|
|
},
|
|
{
|
|
"key": "interface",
|
|
"value": "neural",
|
|
"namespace": "overriding"
|
|
},
|
|
{
|
|
"key": "sensor",
|
|
"value": "auxiliary",
|
|
"namespace": "bypassing"
|
|
},
|
|
{
|
|
"key": "hard drive",
|
|
"value": "primary",
|
|
"namespace": "transmitting"
|
|
}
|
|
],
|
|
"type": "system",
|
|
"os_major_version": 8,
|
|
"os_minor_version": 0
|
|
},
|
|
{
|
|
"id": "34455e27-e99c-4765-b205-955545ffb2f9",
|
|
"display_name": "okon.test",
|
|
"groups": [],
|
|
"culled_timestamp": "2034-10-10T15:00:32.940Z",
|
|
"stale_timestamp": "2034-09-26T15:00:32.940Z",
|
|
"stale_warning_timestamp": "2034-10-03T15:00:32.940Z",
|
|
"updated": "2024-09-26T15:00:32.940Z",
|
|
"insights_id": null,
|
|
"tags": [
|
|
{
|
|
"key": "alarm",
|
|
"value": "cross-platform",
|
|
"namespace": "navigating"
|
|
},
|
|
{
|
|
"key": "feed",
|
|
"value": "wireless",
|
|
"namespace": "navigating"
|
|
},
|
|
{
|
|
"key": "bus",
|
|
"value": "auxiliary",
|
|
"namespace": "navigating"
|
|
},
|
|
{
|
|
"key": "bandwidth",
|
|
"value": "open-source",
|
|
"namespace": "hacking"
|
|
},
|
|
{
|
|
"key": "sensor",
|
|
"value": "cross-platform",
|
|
"namespace": "transmitting"
|
|
}
|
|
],
|
|
"type": "system",
|
|
"os_major_version": 8,
|
|
"os_minor_version": 0
|
|
},
|
|
{
|
|
"id": "3ebba1da-30be-4e8f-bb35-7a4f71449784",
|
|
"display_name": "adams.example",
|
|
"groups": [],
|
|
"culled_timestamp": "2034-10-10T15:00:32.949Z",
|
|
"stale_timestamp": "2034-09-26T15:00:32.949Z",
|
|
"stale_warning_timestamp": "2034-10-03T15:00:32.949Z",
|
|
"updated": "2024-09-26T15:00:32.949Z",
|
|
"insights_id": null,
|
|
"tags": [
|
|
{
|
|
"key": "matrix",
|
|
"value": "optical",
|
|
"namespace": "navigating"
|
|
},
|
|
{
|
|
"key": "circuit",
|
|
"value": "auxiliary",
|
|
"namespace": "backing up"
|
|
},
|
|
{
|
|
"key": "hard drive",
|
|
"value": "neural",
|
|
"namespace": "bypassing"
|
|
},
|
|
{
|
|
"key": "pixel",
|
|
"value": "1080p",
|
|
"namespace": "bypassing"
|
|
},
|
|
{
|
|
"key": "bandwidth",
|
|
"value": "neural",
|
|
"namespace": "overriding"
|
|
}
|
|
],
|
|
"type": "system",
|
|
"os_major_version": 8,
|
|
"os_minor_version": 0
|
|
},
|
|
{
|
|
"id": "48d10898-791a-4da0-a5d8-7c5214b8a0ea",
|
|
"display_name": "bins-oberbrunner.test",
|
|
"groups": [],
|
|
"culled_timestamp": "2034-10-10T15:00:33.069Z",
|
|
"stale_timestamp": "2034-09-26T15:00:33.069Z",
|
|
"stale_warning_timestamp": "2034-10-03T15:00:33.069Z",
|
|
"updated": "2024-09-26T15:00:33.069Z",
|
|
"insights_id": null,
|
|
"tags": [
|
|
{
|
|
"key": "pixel",
|
|
"value": "online",
|
|
"namespace": "copying"
|
|
},
|
|
{
|
|
"key": "system",
|
|
"value": "neural",
|
|
"namespace": "calculating"
|
|
},
|
|
{
|
|
"key": "driver",
|
|
"value": "mobile",
|
|
"namespace": "indexing"
|
|
},
|
|
{
|
|
"key": "panel",
|
|
"value": "virtual",
|
|
"namespace": "connecting"
|
|
},
|
|
{
|
|
"key": "interface",
|
|
"value": "digital",
|
|
"namespace": "synthesizing"
|
|
}
|
|
],
|
|
"type": "system",
|
|
"os_major_version": 8,
|
|
"os_minor_version": 0
|
|
},
|
|
{
|
|
"id": "600ebb4c-e6d2-4418-b2d2-54155ffd695a",
|
|
"display_name": "corkery.example",
|
|
"groups": [],
|
|
"culled_timestamp": "2034-10-10T15:00:33.007Z",
|
|
"stale_timestamp": "2034-09-26T15:00:33.007Z",
|
|
"stale_warning_timestamp": "2034-10-03T15:00:33.007Z",
|
|
"updated": "2024-09-26T15:00:33.007Z",
|
|
"insights_id": null,
|
|
"tags": [
|
|
{
|
|
"key": "application",
|
|
"value": "back-end",
|
|
"namespace": "quantifying"
|
|
},
|
|
{
|
|
"key": "application",
|
|
"value": "multi-byte",
|
|
"namespace": "backing up"
|
|
},
|
|
{
|
|
"key": "matrix",
|
|
"value": "solid state",
|
|
"namespace": "navigating"
|
|
},
|
|
{
|
|
"key": "monitor",
|
|
"value": "primary",
|
|
"namespace": "connecting"
|
|
},
|
|
{
|
|
"key": "matrix",
|
|
"value": "bluetooth",
|
|
"namespace": "calculating"
|
|
}
|
|
],
|
|
"type": "system",
|
|
"os_major_version": 8,
|
|
"os_minor_version": 0
|
|
},
|
|
{
|
|
"id": "6ad18b39-ef0e-4309-b3d1-533de4bf7c61",
|
|
"display_name": "murphy.example",
|
|
"groups": [],
|
|
"culled_timestamp": "2034-10-10T15:00:32.995Z",
|
|
"stale_timestamp": "2034-09-26T15:00:32.995Z",
|
|
"stale_warning_timestamp": "2034-10-03T15:00:32.995Z",
|
|
"updated": "2024-09-26T15:00:32.995Z",
|
|
"insights_id": null,
|
|
"tags": [
|
|
{
|
|
"key": "system",
|
|
"value": "auxiliary",
|
|
"namespace": "navigating"
|
|
},
|
|
{
|
|
"key": "interface",
|
|
"value": "wireless",
|
|
"namespace": "hacking"
|
|
},
|
|
{
|
|
"key": "application",
|
|
"value": "haptic",
|
|
"namespace": "bypassing"
|
|
},
|
|
{
|
|
"key": "system",
|
|
"value": "virtual",
|
|
"namespace": "quantifying"
|
|
},
|
|
{
|
|
"key": "circuit",
|
|
"value": "virtual",
|
|
"namespace": "hacking"
|
|
}
|
|
],
|
|
"type": "system",
|
|
"os_major_version": 8,
|
|
"os_minor_version": 0
|
|
},
|
|
{
|
|
"id": "70b4f521-289e-4bf9-9129-77fec4504802",
|
|
"display_name": "jerde.test",
|
|
"groups": [],
|
|
"culled_timestamp": "2034-10-10T15:00:33.139Z",
|
|
"stale_timestamp": "2034-09-26T15:00:33.139Z",
|
|
"stale_warning_timestamp": "2034-10-03T15:00:33.139Z",
|
|
"updated": "2024-09-26T15:00:33.139Z",
|
|
"insights_id": null,
|
|
"tags": [
|
|
{
|
|
"key": "bandwidth",
|
|
"value": "back-end",
|
|
"namespace": "parsing"
|
|
},
|
|
{
|
|
"key": "program",
|
|
"value": "cross-platform",
|
|
"namespace": "copying"
|
|
},
|
|
{
|
|
"key": "program",
|
|
"value": "optical",
|
|
"namespace": "backing up"
|
|
},
|
|
{
|
|
"key": "array",
|
|
"value": "1080p",
|
|
"namespace": "connecting"
|
|
},
|
|
{
|
|
"key": "feed",
|
|
"value": "back-end",
|
|
"namespace": "navigating"
|
|
}
|
|
],
|
|
"type": "system",
|
|
"os_major_version": 8,
|
|
"os_minor_version": 0
|
|
},
|
|
{
|
|
"id": "75d1f470-8a76-4dd2-b797-22f37c94ffc6",
|
|
"display_name": "williamson.test",
|
|
"groups": [],
|
|
"culled_timestamp": "2034-10-10T15:00:33.049Z",
|
|
"stale_timestamp": "2034-09-26T15:00:33.049Z",
|
|
"stale_warning_timestamp": "2034-10-03T15:00:33.049Z",
|
|
"updated": "2024-09-26T15:00:33.049Z",
|
|
"insights_id": null,
|
|
"tags": [
|
|
{
|
|
"key": "capacitor",
|
|
"value": "1080p",
|
|
"namespace": "hacking"
|
|
},
|
|
{
|
|
"key": "protocol",
|
|
"value": "auxiliary",
|
|
"namespace": "hacking"
|
|
},
|
|
{
|
|
"key": "pixel",
|
|
"value": "1080p",
|
|
"namespace": "synthesizing"
|
|
},
|
|
{
|
|
"key": "application",
|
|
"value": "digital",
|
|
"namespace": "programming"
|
|
},
|
|
{
|
|
"key": "driver",
|
|
"value": "digital",
|
|
"namespace": "quantifying"
|
|
}
|
|
],
|
|
"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/c24e8dbe-3eb0-4cad-b713-7cb97adba09e/systems?filter=%28os_minor_version%3D0%29&limit=10&offset=0",
|
|
"last": "/api/compliance/v2/policies/c24e8dbe-3eb0-4cad-b713-7cb97adba09e/systems?filter=%28os_minor_version%3D0%29&limit=10&offset=20",
|
|
"next": "/api/compliance/v2/policies/c24e8dbe-3eb0-4cad-b713-7cb97adba09e/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": "091daf75-a133-4072-b9d2-eb9a6d151734",
|
|
"display_name": "kirlin-mclaughlin.example",
|
|
"groups": [],
|
|
"culled_timestamp": "2034-10-10T15:00:34.068Z",
|
|
"stale_timestamp": "2034-09-26T15:00:34.068Z",
|
|
"stale_warning_timestamp": "2034-10-03T15:00:34.068Z",
|
|
"updated": "2024-09-26T15:00:34.068Z",
|
|
"insights_id": null,
|
|
"tags": [
|
|
{
|
|
"key": "monitor",
|
|
"value": "auxiliary",
|
|
"namespace": "parsing"
|
|
},
|
|
{
|
|
"key": "interface",
|
|
"value": "bluetooth",
|
|
"namespace": "parsing"
|
|
},
|
|
{
|
|
"key": "alarm",
|
|
"value": "digital",
|
|
"namespace": "backing up"
|
|
},
|
|
{
|
|
"key": "interface",
|
|
"value": "mobile",
|
|
"namespace": "hacking"
|
|
},
|
|
{
|
|
"key": "protocol",
|
|
"value": "online",
|
|
"namespace": "navigating"
|
|
}
|
|
],
|
|
"type": "system",
|
|
"os_major_version": 8,
|
|
"os_minor_version": 0
|
|
},
|
|
{
|
|
"id": "161d0a2d-9c19-4271-944a-328973b4cb56",
|
|
"display_name": "mertz.example",
|
|
"groups": [],
|
|
"culled_timestamp": "2034-10-10T15:00:34.073Z",
|
|
"stale_timestamp": "2034-09-26T15:00:34.073Z",
|
|
"stale_warning_timestamp": "2034-10-03T15:00:34.073Z",
|
|
"updated": "2024-09-26T15:00:34.073Z",
|
|
"insights_id": null,
|
|
"tags": [
|
|
{
|
|
"key": "driver",
|
|
"value": "back-end",
|
|
"namespace": "parsing"
|
|
},
|
|
{
|
|
"key": "bandwidth",
|
|
"value": "solid state",
|
|
"namespace": "programming"
|
|
},
|
|
{
|
|
"key": "pixel",
|
|
"value": "1080p",
|
|
"namespace": "parsing"
|
|
},
|
|
{
|
|
"key": "feed",
|
|
"value": "primary",
|
|
"namespace": "calculating"
|
|
},
|
|
{
|
|
"key": "system",
|
|
"value": "optical",
|
|
"namespace": "hacking"
|
|
}
|
|
],
|
|
"type": "system",
|
|
"os_major_version": 8,
|
|
"os_minor_version": 0
|
|
},
|
|
{
|
|
"id": "162f9b8b-dfcc-41bb-a3be-750c728a5a64",
|
|
"display_name": "runte.example",
|
|
"groups": [],
|
|
"culled_timestamp": "2034-10-10T15:00:34.038Z",
|
|
"stale_timestamp": "2034-09-26T15:00:34.038Z",
|
|
"stale_warning_timestamp": "2034-10-03T15:00:34.038Z",
|
|
"updated": "2024-09-26T15:00:34.038Z",
|
|
"insights_id": null,
|
|
"tags": [
|
|
{
|
|
"key": "bus",
|
|
"value": "primary",
|
|
"namespace": "transmitting"
|
|
},
|
|
{
|
|
"key": "hard drive",
|
|
"value": "back-end",
|
|
"namespace": "programming"
|
|
},
|
|
{
|
|
"key": "matrix",
|
|
"value": "solid state",
|
|
"namespace": "copying"
|
|
},
|
|
{
|
|
"key": "firewall",
|
|
"value": "primary",
|
|
"namespace": "transmitting"
|
|
},
|
|
{
|
|
"key": "program",
|
|
"value": "neural",
|
|
"namespace": "copying"
|
|
}
|
|
],
|
|
"type": "system",
|
|
"os_major_version": 8,
|
|
"os_minor_version": 0
|
|
},
|
|
{
|
|
"id": "1a63284b-06dd-4c0d-86f8-edadd07c30a6",
|
|
"display_name": "walsh.example",
|
|
"groups": [],
|
|
"culled_timestamp": "2034-10-10T15:00:34.054Z",
|
|
"stale_timestamp": "2034-09-26T15:00:34.054Z",
|
|
"stale_warning_timestamp": "2034-10-03T15:00:34.054Z",
|
|
"updated": "2024-09-26T15:00:34.054Z",
|
|
"insights_id": null,
|
|
"tags": [
|
|
{
|
|
"key": "interface",
|
|
"value": "bluetooth",
|
|
"namespace": "hacking"
|
|
},
|
|
{
|
|
"key": "panel",
|
|
"value": "wireless",
|
|
"namespace": "calculating"
|
|
},
|
|
{
|
|
"key": "bus",
|
|
"value": "haptic",
|
|
"namespace": "transmitting"
|
|
},
|
|
{
|
|
"key": "capacitor",
|
|
"value": "auxiliary",
|
|
"namespace": "synthesizing"
|
|
},
|
|
{
|
|
"key": "driver",
|
|
"value": "mobile",
|
|
"namespace": "bypassing"
|
|
}
|
|
],
|
|
"type": "system",
|
|
"os_major_version": 8,
|
|
"os_minor_version": 0
|
|
},
|
|
{
|
|
"id": "1e310346-c21a-4cfb-8773-507d344a26df",
|
|
"display_name": "veum.test",
|
|
"groups": [],
|
|
"culled_timestamp": "2034-10-10T15:00:34.062Z",
|
|
"stale_timestamp": "2034-09-26T15:00:34.062Z",
|
|
"stale_warning_timestamp": "2034-10-03T15:00:34.062Z",
|
|
"updated": "2024-09-26T15:00:34.062Z",
|
|
"insights_id": null,
|
|
"tags": [
|
|
{
|
|
"key": "card",
|
|
"value": "cross-platform",
|
|
"namespace": "parsing"
|
|
},
|
|
{
|
|
"key": "array",
|
|
"value": "online",
|
|
"namespace": "copying"
|
|
},
|
|
{
|
|
"key": "hard drive",
|
|
"value": "back-end",
|
|
"namespace": "transmitting"
|
|
},
|
|
{
|
|
"key": "application",
|
|
"value": "wireless",
|
|
"namespace": "bypassing"
|
|
},
|
|
{
|
|
"key": "microchip",
|
|
"value": "back-end",
|
|
"namespace": "transmitting"
|
|
}
|
|
],
|
|
"type": "system",
|
|
"os_major_version": 8,
|
|
"os_minor_version": 0
|
|
},
|
|
{
|
|
"id": "27ce02ca-be6c-4df8-a99c-3e1ec9d87d87",
|
|
"display_name": "block-crooks.example",
|
|
"groups": [],
|
|
"culled_timestamp": "2034-10-10T15:00:34.035Z",
|
|
"stale_timestamp": "2034-09-26T15:00:34.035Z",
|
|
"stale_warning_timestamp": "2034-10-03T15:00:34.035Z",
|
|
"updated": "2024-09-26T15:00:34.035Z",
|
|
"insights_id": null,
|
|
"tags": [
|
|
{
|
|
"key": "interface",
|
|
"value": "redundant",
|
|
"namespace": "overriding"
|
|
},
|
|
{
|
|
"key": "protocol",
|
|
"value": "mobile",
|
|
"namespace": "indexing"
|
|
},
|
|
{
|
|
"key": "monitor",
|
|
"value": "haptic",
|
|
"namespace": "transmitting"
|
|
},
|
|
{
|
|
"key": "microchip",
|
|
"value": "cross-platform",
|
|
"namespace": "quantifying"
|
|
},
|
|
{
|
|
"key": "alarm",
|
|
"value": "neural",
|
|
"namespace": "bypassing"
|
|
}
|
|
],
|
|
"type": "system",
|
|
"os_major_version": 8,
|
|
"os_minor_version": 0
|
|
},
|
|
{
|
|
"id": "292c2c15-a85f-4d70-9e3b-6bee8f2f7eb6",
|
|
"display_name": "leuschke.example",
|
|
"groups": [],
|
|
"culled_timestamp": "2034-10-10T15:00:34.031Z",
|
|
"stale_timestamp": "2034-09-26T15:00:34.031Z",
|
|
"stale_warning_timestamp": "2034-10-03T15:00:34.031Z",
|
|
"updated": "2024-09-26T15:00:34.031Z",
|
|
"insights_id": null,
|
|
"tags": [
|
|
{
|
|
"key": "circuit",
|
|
"value": "mobile",
|
|
"namespace": "overriding"
|
|
},
|
|
{
|
|
"key": "pixel",
|
|
"value": "auxiliary",
|
|
"namespace": "hacking"
|
|
},
|
|
{
|
|
"key": "bus",
|
|
"value": "mobile",
|
|
"namespace": "indexing"
|
|
},
|
|
{
|
|
"key": "bandwidth",
|
|
"value": "1080p",
|
|
"namespace": "generating"
|
|
},
|
|
{
|
|
"key": "driver",
|
|
"value": "solid state",
|
|
"namespace": "compressing"
|
|
}
|
|
],
|
|
"type": "system",
|
|
"os_major_version": 8,
|
|
"os_minor_version": 0
|
|
},
|
|
{
|
|
"id": "2fd59f60-4879-48e5-babd-3b47f6d3e6f4",
|
|
"display_name": "morar-kemmer.example",
|
|
"groups": [],
|
|
"culled_timestamp": "2034-10-10T15:00:34.047Z",
|
|
"stale_timestamp": "2034-09-26T15:00:34.047Z",
|
|
"stale_warning_timestamp": "2034-10-03T15:00:34.047Z",
|
|
"updated": "2024-09-26T15:00:34.047Z",
|
|
"insights_id": null,
|
|
"tags": [
|
|
{
|
|
"key": "firewall",
|
|
"value": "online",
|
|
"namespace": "connecting"
|
|
},
|
|
{
|
|
"key": "transmitter",
|
|
"value": "wireless",
|
|
"namespace": "hacking"
|
|
},
|
|
{
|
|
"key": "port",
|
|
"value": "open-source",
|
|
"namespace": "calculating"
|
|
},
|
|
{
|
|
"key": "program",
|
|
"value": "solid state",
|
|
"namespace": "quantifying"
|
|
},
|
|
{
|
|
"key": "panel",
|
|
"value": "optical",
|
|
"namespace": "backing up"
|
|
}
|
|
],
|
|
"type": "system",
|
|
"os_major_version": 8,
|
|
"os_minor_version": 0
|
|
},
|
|
{
|
|
"id": "340af158-2669-48f9-bd64-5f44979a3b02",
|
|
"display_name": "hermiston.test",
|
|
"groups": [],
|
|
"culled_timestamp": "2034-10-10T15:00:34.066Z",
|
|
"stale_timestamp": "2034-09-26T15:00:34.066Z",
|
|
"stale_warning_timestamp": "2034-10-03T15:00:34.066Z",
|
|
"updated": "2024-09-26T15:00:34.066Z",
|
|
"insights_id": null,
|
|
"tags": [
|
|
{
|
|
"key": "alarm",
|
|
"value": "redundant",
|
|
"namespace": "calculating"
|
|
},
|
|
{
|
|
"key": "alarm",
|
|
"value": "1080p",
|
|
"namespace": "bypassing"
|
|
},
|
|
{
|
|
"key": "bus",
|
|
"value": "optical",
|
|
"namespace": "bypassing"
|
|
},
|
|
{
|
|
"key": "driver",
|
|
"value": "optical",
|
|
"namespace": "programming"
|
|
},
|
|
{
|
|
"key": "program",
|
|
"value": "online",
|
|
"namespace": "connecting"
|
|
}
|
|
],
|
|
"type": "system",
|
|
"os_major_version": 8,
|
|
"os_minor_version": 0
|
|
},
|
|
{
|
|
"id": "365f7509-7916-4ad3-825d-96ae933e743f",
|
|
"display_name": "walter.example",
|
|
"groups": [],
|
|
"culled_timestamp": "2034-10-10T15:00:34.061Z",
|
|
"stale_timestamp": "2034-09-26T15:00:34.061Z",
|
|
"stale_warning_timestamp": "2034-10-03T15:00:34.061Z",
|
|
"updated": "2024-09-26T15:00:34.061Z",
|
|
"insights_id": null,
|
|
"tags": [
|
|
{
|
|
"key": "circuit",
|
|
"value": "haptic",
|
|
"namespace": "parsing"
|
|
},
|
|
{
|
|
"key": "array",
|
|
"value": "digital",
|
|
"namespace": "bypassing"
|
|
},
|
|
{
|
|
"key": "application",
|
|
"value": "digital",
|
|
"namespace": "programming"
|
|
},
|
|
{
|
|
"key": "application",
|
|
"value": "optical",
|
|
"namespace": "transmitting"
|
|
},
|
|
{
|
|
"key": "card",
|
|
"value": "1080p",
|
|
"namespace": "programming"
|
|
}
|
|
],
|
|
"type": "system",
|
|
"os_major_version": 8,
|
|
"os_minor_version": 0
|
|
}
|
|
],
|
|
"meta": {
|
|
"total": 25,
|
|
"tags": [],
|
|
"limit": 10,
|
|
"offset": 0
|
|
},
|
|
"links": {
|
|
"first": "/api/compliance/v2/policies/a9a29241-861c-4070-ba83-e3c39fd01f4e/systems?limit=10&offset=0",
|
|
"last": "/api/compliance/v2/policies/a9a29241-861c-4070-ba83-e3c39fd01f4e/systems?limit=10&offset=20",
|
|
"next": "/api/compliance/v2/policies/a9a29241-861c-4070-ba83-e3c39fd01f4e/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": [
|
|
"8269428a-6e78-481b-9e46-6fc181ee1d78"
|
|
]
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"/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": "59354c2f-2fdb-449f-bc04-479678f7273b",
|
|
"display_name": "douglas-cronin.test",
|
|
"groups": [],
|
|
"culled_timestamp": "2034-10-10T15:00:34.411Z",
|
|
"stale_timestamp": "2034-09-26T15:00:34.411Z",
|
|
"stale_warning_timestamp": "2034-10-03T15:00:34.411Z",
|
|
"updated": "2024-09-26T15:00:34.411Z",
|
|
"insights_id": null,
|
|
"tags": [
|
|
{
|
|
"key": "matrix",
|
|
"value": "auxiliary",
|
|
"namespace": "bypassing"
|
|
},
|
|
{
|
|
"key": "pixel",
|
|
"value": "mobile",
|
|
"namespace": "calculating"
|
|
},
|
|
{
|
|
"key": "firewall",
|
|
"value": "back-end",
|
|
"namespace": "hacking"
|
|
},
|
|
{
|
|
"key": "bandwidth",
|
|
"value": "digital",
|
|
"namespace": "overriding"
|
|
},
|
|
{
|
|
"key": "microchip",
|
|
"value": "auxiliary",
|
|
"namespace": "navigating"
|
|
}
|
|
],
|
|
"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 97d1d776-88eb-4717-97d3-42c65f98bc07"
|
|
]
|
|
},
|
|
"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": "a62ec503-4667-461c-bfe7-d0cdcb0b5d26",
|
|
"display_name": "grant.test",
|
|
"groups": [],
|
|
"culled_timestamp": "2034-10-10T15:00:34.488Z",
|
|
"stale_timestamp": "2034-09-26T15:00:34.488Z",
|
|
"stale_warning_timestamp": "2034-10-03T15:00:34.488Z",
|
|
"updated": "2024-09-26T15:00:34.488Z",
|
|
"insights_id": null,
|
|
"tags": [
|
|
{
|
|
"key": "driver",
|
|
"value": "1080p",
|
|
"namespace": "backing up"
|
|
},
|
|
{
|
|
"key": "alarm",
|
|
"value": "1080p",
|
|
"namespace": "parsing"
|
|
},
|
|
{
|
|
"key": "program",
|
|
"value": "wireless",
|
|
"namespace": "connecting"
|
|
},
|
|
{
|
|
"key": "hard drive",
|
|
"value": "virtual",
|
|
"namespace": "synthesizing"
|
|
},
|
|
{
|
|
"key": "capacitor",
|
|
"value": "optical",
|
|
"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": {
|
|
"Description of an error when unassigning a non-existing System": {
|
|
"value": {
|
|
"errors": [
|
|
"V2::System not found with ID dcf29299-c969-4557-ba94-2912f4c939e7"
|
|
]
|
|
},
|
|
"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": "086f8f29-fd10-4ded-ae65-6ddba552e3aa",
|
|
"display_name": "green-jast.test",
|
|
"groups": [],
|
|
"culled_timestamp": "2034-10-10T15:00:34.969Z",
|
|
"stale_timestamp": "2034-09-26T15:00:34.969Z",
|
|
"stale_warning_timestamp": "2034-10-03T15:00:34.969Z",
|
|
"updated": "2024-09-26T15:00:34.969Z",
|
|
"insights_id": null,
|
|
"tags": [
|
|
{
|
|
"key": "bus",
|
|
"value": "1080p",
|
|
"namespace": "quantifying"
|
|
},
|
|
{
|
|
"key": "panel",
|
|
"value": "redundant",
|
|
"namespace": "bypassing"
|
|
},
|
|
{
|
|
"key": "driver",
|
|
"value": "optical",
|
|
"namespace": "bypassing"
|
|
},
|
|
{
|
|
"key": "bandwidth",
|
|
"value": "wireless",
|
|
"namespace": "backing up"
|
|
},
|
|
{
|
|
"key": "driver",
|
|
"value": "multi-byte",
|
|
"namespace": "bypassing"
|
|
}
|
|
],
|
|
"type": "system",
|
|
"os_major_version": 8,
|
|
"os_minor_version": 0,
|
|
"policies": [
|
|
{
|
|
"id": "1d204021-eef4-4870-907b-35a8de2a2891",
|
|
"title": "Et tenetur maiores quis."
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "1b74567c-f79e-4d72-8fc5-7fd746e2fba5",
|
|
"display_name": "thompson-gutmann.example",
|
|
"groups": [],
|
|
"culled_timestamp": "2034-10-10T15:00:35.160Z",
|
|
"stale_timestamp": "2034-09-26T15:00:35.160Z",
|
|
"stale_warning_timestamp": "2034-10-03T15:00:35.160Z",
|
|
"updated": "2024-09-26T15:00:35.160Z",
|
|
"insights_id": null,
|
|
"tags": [
|
|
{
|
|
"key": "bandwidth",
|
|
"value": "digital",
|
|
"namespace": "generating"
|
|
},
|
|
{
|
|
"key": "matrix",
|
|
"value": "neural",
|
|
"namespace": "generating"
|
|
},
|
|
{
|
|
"key": "panel",
|
|
"value": "neural",
|
|
"namespace": "connecting"
|
|
},
|
|
{
|
|
"key": "array",
|
|
"value": "open-source",
|
|
"namespace": "connecting"
|
|
},
|
|
{
|
|
"key": "program",
|
|
"value": "1080p",
|
|
"namespace": "navigating"
|
|
}
|
|
],
|
|
"type": "system",
|
|
"os_major_version": 8,
|
|
"os_minor_version": 0,
|
|
"policies": [
|
|
{
|
|
"id": "1d204021-eef4-4870-907b-35a8de2a2891",
|
|
"title": "Et tenetur maiores quis."
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "26c60924-77a7-445b-b3e8-310867659678",
|
|
"display_name": "koepp.test",
|
|
"groups": [],
|
|
"culled_timestamp": "2034-10-10T15:00:35.026Z",
|
|
"stale_timestamp": "2034-09-26T15:00:35.026Z",
|
|
"stale_warning_timestamp": "2034-10-03T15:00:35.026Z",
|
|
"updated": "2024-09-26T15:00:35.026Z",
|
|
"insights_id": null,
|
|
"tags": [
|
|
{
|
|
"key": "pixel",
|
|
"value": "mobile",
|
|
"namespace": "overriding"
|
|
},
|
|
{
|
|
"key": "interface",
|
|
"value": "1080p",
|
|
"namespace": "quantifying"
|
|
},
|
|
{
|
|
"key": "application",
|
|
"value": "digital",
|
|
"namespace": "synthesizing"
|
|
},
|
|
{
|
|
"key": "circuit",
|
|
"value": "online",
|
|
"namespace": "overriding"
|
|
},
|
|
{
|
|
"key": "protocol",
|
|
"value": "back-end",
|
|
"namespace": "hacking"
|
|
}
|
|
],
|
|
"type": "system",
|
|
"os_major_version": 8,
|
|
"os_minor_version": 0,
|
|
"policies": [
|
|
{
|
|
"id": "1d204021-eef4-4870-907b-35a8de2a2891",
|
|
"title": "Et tenetur maiores quis."
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "34727095-bef9-40b8-a929-e4e7adf94072",
|
|
"display_name": "goyette.test",
|
|
"groups": [],
|
|
"culled_timestamp": "2034-10-10T15:00:34.950Z",
|
|
"stale_timestamp": "2034-09-26T15:00:34.950Z",
|
|
"stale_warning_timestamp": "2034-10-03T15:00:34.950Z",
|
|
"updated": "2024-09-26T15:00:34.950Z",
|
|
"insights_id": null,
|
|
"tags": [
|
|
{
|
|
"key": "monitor",
|
|
"value": "back-end",
|
|
"namespace": "backing up"
|
|
},
|
|
{
|
|
"key": "port",
|
|
"value": "digital",
|
|
"namespace": "generating"
|
|
},
|
|
{
|
|
"key": "sensor",
|
|
"value": "back-end",
|
|
"namespace": "hacking"
|
|
},
|
|
{
|
|
"key": "interface",
|
|
"value": "auxiliary",
|
|
"namespace": "backing up"
|
|
},
|
|
{
|
|
"key": "pixel",
|
|
"value": "1080p",
|
|
"namespace": "backing up"
|
|
}
|
|
],
|
|
"type": "system",
|
|
"os_major_version": 8,
|
|
"os_minor_version": 0,
|
|
"policies": [
|
|
{
|
|
"id": "1d204021-eef4-4870-907b-35a8de2a2891",
|
|
"title": "Et tenetur maiores quis."
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "4309692d-b364-4d3b-8a7c-a845212d9bcf",
|
|
"display_name": "runte-kshlerin.test",
|
|
"groups": [],
|
|
"culled_timestamp": "2034-10-10T15:00:35.002Z",
|
|
"stale_timestamp": "2034-09-26T15:00:35.002Z",
|
|
"stale_warning_timestamp": "2034-10-03T15:00:35.002Z",
|
|
"updated": "2024-09-26T15:00:35.002Z",
|
|
"insights_id": null,
|
|
"tags": [
|
|
{
|
|
"key": "panel",
|
|
"value": "1080p",
|
|
"namespace": "bypassing"
|
|
},
|
|
{
|
|
"key": "alarm",
|
|
"value": "haptic",
|
|
"namespace": "transmitting"
|
|
},
|
|
{
|
|
"key": "monitor",
|
|
"value": "digital",
|
|
"namespace": "navigating"
|
|
},
|
|
{
|
|
"key": "monitor",
|
|
"value": "online",
|
|
"namespace": "hacking"
|
|
},
|
|
{
|
|
"key": "hard drive",
|
|
"value": "mobile",
|
|
"namespace": "calculating"
|
|
}
|
|
],
|
|
"type": "system",
|
|
"os_major_version": 8,
|
|
"os_minor_version": 0,
|
|
"policies": [
|
|
{
|
|
"id": "1d204021-eef4-4870-907b-35a8de2a2891",
|
|
"title": "Et tenetur maiores quis."
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "4500498b-0a18-4b50-97a8-47eea2da9087",
|
|
"display_name": "mclaughlin.test",
|
|
"groups": [],
|
|
"culled_timestamp": "2034-10-10T15:00:35.088Z",
|
|
"stale_timestamp": "2034-09-26T15:00:35.088Z",
|
|
"stale_warning_timestamp": "2034-10-03T15:00:35.088Z",
|
|
"updated": "2024-09-26T15:00:35.088Z",
|
|
"insights_id": null,
|
|
"tags": [
|
|
{
|
|
"key": "bus",
|
|
"value": "neural",
|
|
"namespace": "parsing"
|
|
},
|
|
{
|
|
"key": "sensor",
|
|
"value": "primary",
|
|
"namespace": "hacking"
|
|
},
|
|
{
|
|
"key": "monitor",
|
|
"value": "primary",
|
|
"namespace": "programming"
|
|
},
|
|
{
|
|
"key": "program",
|
|
"value": "optical",
|
|
"namespace": "calculating"
|
|
},
|
|
{
|
|
"key": "application",
|
|
"value": "bluetooth",
|
|
"namespace": "bypassing"
|
|
}
|
|
],
|
|
"type": "system",
|
|
"os_major_version": 8,
|
|
"os_minor_version": 0,
|
|
"policies": [
|
|
{
|
|
"id": "1d204021-eef4-4870-907b-35a8de2a2891",
|
|
"title": "Et tenetur maiores quis."
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "5c74a76a-a62f-41fa-9428-c9faed46efc5",
|
|
"display_name": "waters-gutmann.example",
|
|
"groups": [],
|
|
"culled_timestamp": "2034-10-10T15:00:35.037Z",
|
|
"stale_timestamp": "2034-09-26T15:00:35.037Z",
|
|
"stale_warning_timestamp": "2034-10-03T15:00:35.037Z",
|
|
"updated": "2024-09-26T15:00:35.037Z",
|
|
"insights_id": null,
|
|
"tags": [
|
|
{
|
|
"key": "circuit",
|
|
"value": "solid state",
|
|
"namespace": "quantifying"
|
|
},
|
|
{
|
|
"key": "transmitter",
|
|
"value": "primary",
|
|
"namespace": "programming"
|
|
},
|
|
{
|
|
"key": "sensor",
|
|
"value": "solid state",
|
|
"namespace": "overriding"
|
|
},
|
|
{
|
|
"key": "bus",
|
|
"value": "wireless",
|
|
"namespace": "transmitting"
|
|
},
|
|
{
|
|
"key": "hard drive",
|
|
"value": "1080p",
|
|
"namespace": "programming"
|
|
}
|
|
],
|
|
"type": "system",
|
|
"os_major_version": 8,
|
|
"os_minor_version": 0,
|
|
"policies": [
|
|
{
|
|
"id": "1d204021-eef4-4870-907b-35a8de2a2891",
|
|
"title": "Et tenetur maiores quis."
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "6a250cc3-a8d7-41db-a68a-ff232b60c362",
|
|
"display_name": "botsford.test",
|
|
"groups": [],
|
|
"culled_timestamp": "2034-10-10T15:00:35.057Z",
|
|
"stale_timestamp": "2034-09-26T15:00:35.057Z",
|
|
"stale_warning_timestamp": "2034-10-03T15:00:35.057Z",
|
|
"updated": "2024-09-26T15:00:35.058Z",
|
|
"insights_id": null,
|
|
"tags": [
|
|
{
|
|
"key": "protocol",
|
|
"value": "online",
|
|
"namespace": "copying"
|
|
},
|
|
{
|
|
"key": "microchip",
|
|
"value": "online",
|
|
"namespace": "hacking"
|
|
},
|
|
{
|
|
"key": "panel",
|
|
"value": "auxiliary",
|
|
"namespace": "overriding"
|
|
},
|
|
{
|
|
"key": "program",
|
|
"value": "1080p",
|
|
"namespace": "generating"
|
|
},
|
|
{
|
|
"key": "hard drive",
|
|
"value": "primary",
|
|
"namespace": "connecting"
|
|
}
|
|
],
|
|
"type": "system",
|
|
"os_major_version": 8,
|
|
"os_minor_version": 0,
|
|
"policies": [
|
|
{
|
|
"id": "1d204021-eef4-4870-907b-35a8de2a2891",
|
|
"title": "Et tenetur maiores quis."
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "7ac23443-ca74-46ec-a238-0e87e4a8fe47",
|
|
"display_name": "wiza.example",
|
|
"groups": [],
|
|
"culled_timestamp": "2034-10-10T15:00:35.139Z",
|
|
"stale_timestamp": "2034-09-26T15:00:35.139Z",
|
|
"stale_warning_timestamp": "2034-10-03T15:00:35.139Z",
|
|
"updated": "2024-09-26T15:00:35.139Z",
|
|
"insights_id": null,
|
|
"tags": [
|
|
{
|
|
"key": "array",
|
|
"value": "open-source",
|
|
"namespace": "backing up"
|
|
},
|
|
{
|
|
"key": "firewall",
|
|
"value": "virtual",
|
|
"namespace": "hacking"
|
|
},
|
|
{
|
|
"key": "interface",
|
|
"value": "bluetooth",
|
|
"namespace": "calculating"
|
|
},
|
|
{
|
|
"key": "sensor",
|
|
"value": "auxiliary",
|
|
"namespace": "transmitting"
|
|
},
|
|
{
|
|
"key": "capacitor",
|
|
"value": "haptic",
|
|
"namespace": "calculating"
|
|
}
|
|
],
|
|
"type": "system",
|
|
"os_major_version": 8,
|
|
"os_minor_version": 0,
|
|
"policies": [
|
|
{
|
|
"id": "1d204021-eef4-4870-907b-35a8de2a2891",
|
|
"title": "Et tenetur maiores quis."
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "8a002aac-e36b-4f64-a996-bfb69f9d2e5d",
|
|
"display_name": "roob.example",
|
|
"groups": [],
|
|
"culled_timestamp": "2034-10-10T15:00:35.068Z",
|
|
"stale_timestamp": "2034-09-26T15:00:35.068Z",
|
|
"stale_warning_timestamp": "2034-10-03T15:00:35.068Z",
|
|
"updated": "2024-09-26T15:00:35.068Z",
|
|
"insights_id": null,
|
|
"tags": [
|
|
{
|
|
"key": "panel",
|
|
"value": "open-source",
|
|
"namespace": "bypassing"
|
|
},
|
|
{
|
|
"key": "matrix",
|
|
"value": "neural",
|
|
"namespace": "synthesizing"
|
|
},
|
|
{
|
|
"key": "bus",
|
|
"value": "cross-platform",
|
|
"namespace": "generating"
|
|
},
|
|
{
|
|
"key": "array",
|
|
"value": "haptic",
|
|
"namespace": "quantifying"
|
|
},
|
|
{
|
|
"key": "bus",
|
|
"value": "virtual",
|
|
"namespace": "bypassing"
|
|
}
|
|
],
|
|
"type": "system",
|
|
"os_major_version": 8,
|
|
"os_minor_version": 0,
|
|
"policies": [
|
|
{
|
|
"id": "1d204021-eef4-4870-907b-35a8de2a2891",
|
|
"title": "Et tenetur maiores quis."
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"meta": {
|
|
"total": 25,
|
|
"tags": [],
|
|
"limit": 10,
|
|
"offset": 0
|
|
},
|
|
"links": {
|
|
"first": "/api/compliance/v2/reports/1d204021-eef4-4870-907b-35a8de2a2891/systems?limit=10&offset=0",
|
|
"last": "/api/compliance/v2/reports/1d204021-eef4-4870-907b-35a8de2a2891/systems?limit=10&offset=20",
|
|
"next": "/api/compliance/v2/reports/1d204021-eef4-4870-907b-35a8de2a2891/systems?limit=10&offset=10"
|
|
}
|
|
},
|
|
"summary": "",
|
|
"description": ""
|
|
},
|
|
"List of Systems sorted by \"os_minor_version:asc\"": {
|
|
"value": {
|
|
"data": [
|
|
{
|
|
"id": "0f95c015-2eeb-4d93-ad5d-64753e232895",
|
|
"display_name": "gerhold.test",
|
|
"groups": [],
|
|
"culled_timestamp": "2034-10-10T15:00:35.803Z",
|
|
"stale_timestamp": "2034-09-26T15:00:35.803Z",
|
|
"stale_warning_timestamp": "2034-10-03T15:00:35.803Z",
|
|
"updated": "2024-09-26T15:00:35.803Z",
|
|
"insights_id": null,
|
|
"tags": [
|
|
{
|
|
"key": "driver",
|
|
"value": "bluetooth",
|
|
"namespace": "synthesizing"
|
|
},
|
|
{
|
|
"key": "microchip",
|
|
"value": "1080p",
|
|
"namespace": "hacking"
|
|
},
|
|
{
|
|
"key": "hard drive",
|
|
"value": "multi-byte",
|
|
"namespace": "indexing"
|
|
},
|
|
{
|
|
"key": "capacitor",
|
|
"value": "online",
|
|
"namespace": "parsing"
|
|
},
|
|
{
|
|
"key": "alarm",
|
|
"value": "solid state",
|
|
"namespace": "backing up"
|
|
}
|
|
],
|
|
"type": "system",
|
|
"os_major_version": 8,
|
|
"os_minor_version": 0,
|
|
"policies": [
|
|
{
|
|
"id": "fda5d22a-25c8-406c-9beb-014dd23ce9ab",
|
|
"title": "Aut perspiciatis dolor explicabo."
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "18c98299-9c2c-42b2-ab71-d639017a1a7e",
|
|
"display_name": "stanton-lebsack.test",
|
|
"groups": [],
|
|
"culled_timestamp": "2034-10-10T15:00:35.655Z",
|
|
"stale_timestamp": "2034-09-26T15:00:35.655Z",
|
|
"stale_warning_timestamp": "2034-10-03T15:00:35.655Z",
|
|
"updated": "2024-09-26T15:00:35.655Z",
|
|
"insights_id": null,
|
|
"tags": [
|
|
{
|
|
"key": "interface",
|
|
"value": "bluetooth",
|
|
"namespace": "parsing"
|
|
},
|
|
{
|
|
"key": "capacitor",
|
|
"value": "virtual",
|
|
"namespace": "programming"
|
|
},
|
|
{
|
|
"key": "hard drive",
|
|
"value": "back-end",
|
|
"namespace": "hacking"
|
|
},
|
|
{
|
|
"key": "array",
|
|
"value": "online",
|
|
"namespace": "compressing"
|
|
},
|
|
{
|
|
"key": "hard drive",
|
|
"value": "haptic",
|
|
"namespace": "generating"
|
|
}
|
|
],
|
|
"type": "system",
|
|
"os_major_version": 8,
|
|
"os_minor_version": 0,
|
|
"policies": [
|
|
{
|
|
"id": "fda5d22a-25c8-406c-9beb-014dd23ce9ab",
|
|
"title": "Aut perspiciatis dolor explicabo."
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "23c84323-90cc-4aa6-b9a7-5e874cd5daff",
|
|
"display_name": "abernathy.example",
|
|
"groups": [],
|
|
"culled_timestamp": "2034-10-10T15:00:35.769Z",
|
|
"stale_timestamp": "2034-09-26T15:00:35.769Z",
|
|
"stale_warning_timestamp": "2034-10-03T15:00:35.769Z",
|
|
"updated": "2024-09-26T15:00:35.769Z",
|
|
"insights_id": null,
|
|
"tags": [
|
|
{
|
|
"key": "pixel",
|
|
"value": "back-end",
|
|
"namespace": "transmitting"
|
|
},
|
|
{
|
|
"key": "alarm",
|
|
"value": "virtual",
|
|
"namespace": "synthesizing"
|
|
},
|
|
{
|
|
"key": "interface",
|
|
"value": "bluetooth",
|
|
"namespace": "calculating"
|
|
},
|
|
{
|
|
"key": "transmitter",
|
|
"value": "wireless",
|
|
"namespace": "indexing"
|
|
},
|
|
{
|
|
"key": "array",
|
|
"value": "1080p",
|
|
"namespace": "indexing"
|
|
}
|
|
],
|
|
"type": "system",
|
|
"os_major_version": 8,
|
|
"os_minor_version": 0,
|
|
"policies": [
|
|
{
|
|
"id": "fda5d22a-25c8-406c-9beb-014dd23ce9ab",
|
|
"title": "Aut perspiciatis dolor explicabo."
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "2b1e8b6a-2480-4945-a4d9-43861e686ad0",
|
|
"display_name": "oconner.test",
|
|
"groups": [],
|
|
"culled_timestamp": "2034-10-10T15:00:35.710Z",
|
|
"stale_timestamp": "2034-09-26T15:00:35.710Z",
|
|
"stale_warning_timestamp": "2034-10-03T15:00:35.710Z",
|
|
"updated": "2024-09-26T15:00:35.710Z",
|
|
"insights_id": null,
|
|
"tags": [
|
|
{
|
|
"key": "circuit",
|
|
"value": "digital",
|
|
"namespace": "synthesizing"
|
|
},
|
|
{
|
|
"key": "capacitor",
|
|
"value": "open-source",
|
|
"namespace": "navigating"
|
|
},
|
|
{
|
|
"key": "interface",
|
|
"value": "bluetooth",
|
|
"namespace": "overriding"
|
|
},
|
|
{
|
|
"key": "transmitter",
|
|
"value": "wireless",
|
|
"namespace": "calculating"
|
|
},
|
|
{
|
|
"key": "firewall",
|
|
"value": "digital",
|
|
"namespace": "connecting"
|
|
}
|
|
],
|
|
"type": "system",
|
|
"os_major_version": 8,
|
|
"os_minor_version": 0,
|
|
"policies": [
|
|
{
|
|
"id": "fda5d22a-25c8-406c-9beb-014dd23ce9ab",
|
|
"title": "Aut perspiciatis dolor explicabo."
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "4533260e-4f34-4e93-9607-28f65c39f148",
|
|
"display_name": "spencer-schiller.test",
|
|
"groups": [],
|
|
"culled_timestamp": "2034-10-10T15:00:35.665Z",
|
|
"stale_timestamp": "2034-09-26T15:00:35.665Z",
|
|
"stale_warning_timestamp": "2034-10-03T15:00:35.665Z",
|
|
"updated": "2024-09-26T15:00:35.665Z",
|
|
"insights_id": null,
|
|
"tags": [
|
|
{
|
|
"key": "microchip",
|
|
"value": "online",
|
|
"namespace": "compressing"
|
|
},
|
|
{
|
|
"key": "capacitor",
|
|
"value": "multi-byte",
|
|
"namespace": "hacking"
|
|
},
|
|
{
|
|
"key": "matrix",
|
|
"value": "virtual",
|
|
"namespace": "hacking"
|
|
},
|
|
{
|
|
"key": "matrix",
|
|
"value": "virtual",
|
|
"namespace": "calculating"
|
|
},
|
|
{
|
|
"key": "capacitor",
|
|
"value": "1080p",
|
|
"namespace": "generating"
|
|
}
|
|
],
|
|
"type": "system",
|
|
"os_major_version": 8,
|
|
"os_minor_version": 0,
|
|
"policies": [
|
|
{
|
|
"id": "fda5d22a-25c8-406c-9beb-014dd23ce9ab",
|
|
"title": "Aut perspiciatis dolor explicabo."
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "4ae9d0e8-dc73-4948-b27b-9c9c9b9d1efb",
|
|
"display_name": "halvorson.test",
|
|
"groups": [],
|
|
"culled_timestamp": "2034-10-10T15:00:35.675Z",
|
|
"stale_timestamp": "2034-09-26T15:00:35.675Z",
|
|
"stale_warning_timestamp": "2034-10-03T15:00:35.675Z",
|
|
"updated": "2024-09-26T15:00:35.675Z",
|
|
"insights_id": null,
|
|
"tags": [
|
|
{
|
|
"key": "alarm",
|
|
"value": "mobile",
|
|
"namespace": "generating"
|
|
},
|
|
{
|
|
"key": "transmitter",
|
|
"value": "haptic",
|
|
"namespace": "hacking"
|
|
},
|
|
{
|
|
"key": "panel",
|
|
"value": "redundant",
|
|
"namespace": "hacking"
|
|
},
|
|
{
|
|
"key": "program",
|
|
"value": "online",
|
|
"namespace": "backing up"
|
|
},
|
|
{
|
|
"key": "program",
|
|
"value": "1080p",
|
|
"namespace": "overriding"
|
|
}
|
|
],
|
|
"type": "system",
|
|
"os_major_version": 8,
|
|
"os_minor_version": 0,
|
|
"policies": [
|
|
{
|
|
"id": "fda5d22a-25c8-406c-9beb-014dd23ce9ab",
|
|
"title": "Aut perspiciatis dolor explicabo."
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "4b77bf0a-c5fb-48da-b233-a6aeee0835a6",
|
|
"display_name": "lemke.example",
|
|
"groups": [],
|
|
"culled_timestamp": "2034-10-10T15:00:35.792Z",
|
|
"stale_timestamp": "2034-09-26T15:00:35.792Z",
|
|
"stale_warning_timestamp": "2034-10-03T15:00:35.792Z",
|
|
"updated": "2024-09-26T15:00:35.792Z",
|
|
"insights_id": null,
|
|
"tags": [
|
|
{
|
|
"key": "bus",
|
|
"value": "primary",
|
|
"namespace": "calculating"
|
|
},
|
|
{
|
|
"key": "alarm",
|
|
"value": "open-source",
|
|
"namespace": "synthesizing"
|
|
},
|
|
{
|
|
"key": "card",
|
|
"value": "open-source",
|
|
"namespace": "quantifying"
|
|
},
|
|
{
|
|
"key": "microchip",
|
|
"value": "1080p",
|
|
"namespace": "indexing"
|
|
},
|
|
{
|
|
"key": "transmitter",
|
|
"value": "redundant",
|
|
"namespace": "quantifying"
|
|
}
|
|
],
|
|
"type": "system",
|
|
"os_major_version": 8,
|
|
"os_minor_version": 0,
|
|
"policies": [
|
|
{
|
|
"id": "fda5d22a-25c8-406c-9beb-014dd23ce9ab",
|
|
"title": "Aut perspiciatis dolor explicabo."
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "4df99138-2acc-4ab2-917e-49fe9871dd5e",
|
|
"display_name": "williamson-pagac.test",
|
|
"groups": [],
|
|
"culled_timestamp": "2034-10-10T15:00:35.815Z",
|
|
"stale_timestamp": "2034-09-26T15:00:35.815Z",
|
|
"stale_warning_timestamp": "2034-10-03T15:00:35.815Z",
|
|
"updated": "2024-09-26T15:00:35.815Z",
|
|
"insights_id": null,
|
|
"tags": [
|
|
{
|
|
"key": "hard drive",
|
|
"value": "auxiliary",
|
|
"namespace": "indexing"
|
|
},
|
|
{
|
|
"key": "card",
|
|
"value": "online",
|
|
"namespace": "indexing"
|
|
},
|
|
{
|
|
"key": "card",
|
|
"value": "neural",
|
|
"namespace": "copying"
|
|
},
|
|
{
|
|
"key": "interface",
|
|
"value": "wireless",
|
|
"namespace": "backing up"
|
|
},
|
|
{
|
|
"key": "driver",
|
|
"value": "1080p",
|
|
"namespace": "connecting"
|
|
}
|
|
],
|
|
"type": "system",
|
|
"os_major_version": 8,
|
|
"os_minor_version": 0,
|
|
"policies": [
|
|
{
|
|
"id": "fda5d22a-25c8-406c-9beb-014dd23ce9ab",
|
|
"title": "Aut perspiciatis dolor explicabo."
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "500f4d1e-8b49-4b43-b0f7-3a27e4129730",
|
|
"display_name": "zieme.example",
|
|
"groups": [],
|
|
"culled_timestamp": "2034-10-10T15:00:35.645Z",
|
|
"stale_timestamp": "2034-09-26T15:00:35.645Z",
|
|
"stale_warning_timestamp": "2034-10-03T15:00:35.645Z",
|
|
"updated": "2024-09-26T15:00:35.645Z",
|
|
"insights_id": null,
|
|
"tags": [
|
|
{
|
|
"key": "sensor",
|
|
"value": "haptic",
|
|
"namespace": "backing up"
|
|
},
|
|
{
|
|
"key": "circuit",
|
|
"value": "auxiliary",
|
|
"namespace": "bypassing"
|
|
},
|
|
{
|
|
"key": "monitor",
|
|
"value": "primary",
|
|
"namespace": "connecting"
|
|
},
|
|
{
|
|
"key": "microchip",
|
|
"value": "optical",
|
|
"namespace": "backing up"
|
|
},
|
|
{
|
|
"key": "firewall",
|
|
"value": "virtual",
|
|
"namespace": "copying"
|
|
}
|
|
],
|
|
"type": "system",
|
|
"os_major_version": 8,
|
|
"os_minor_version": 0,
|
|
"policies": [
|
|
{
|
|
"id": "fda5d22a-25c8-406c-9beb-014dd23ce9ab",
|
|
"title": "Aut perspiciatis dolor explicabo."
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "5c2f374b-d5c0-4f71-b7bc-ab3e09db263e",
|
|
"display_name": "okuneva-medhurst.test",
|
|
"groups": [],
|
|
"culled_timestamp": "2034-10-10T15:00:35.635Z",
|
|
"stale_timestamp": "2034-09-26T15:00:35.635Z",
|
|
"stale_warning_timestamp": "2034-10-03T15:00:35.635Z",
|
|
"updated": "2024-09-26T15:00:35.635Z",
|
|
"insights_id": null,
|
|
"tags": [
|
|
{
|
|
"key": "panel",
|
|
"value": "digital",
|
|
"namespace": "bypassing"
|
|
},
|
|
{
|
|
"key": "monitor",
|
|
"value": "cross-platform",
|
|
"namespace": "indexing"
|
|
},
|
|
{
|
|
"key": "array",
|
|
"value": "open-source",
|
|
"namespace": "calculating"
|
|
},
|
|
{
|
|
"key": "system",
|
|
"value": "redundant",
|
|
"namespace": "navigating"
|
|
},
|
|
{
|
|
"key": "bus",
|
|
"value": "virtual",
|
|
"namespace": "navigating"
|
|
}
|
|
],
|
|
"type": "system",
|
|
"os_major_version": 8,
|
|
"os_minor_version": 0,
|
|
"policies": [
|
|
{
|
|
"id": "fda5d22a-25c8-406c-9beb-014dd23ce9ab",
|
|
"title": "Aut perspiciatis dolor explicabo."
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"meta": {
|
|
"total": 25,
|
|
"tags": [],
|
|
"limit": 10,
|
|
"offset": 0,
|
|
"sort_by": "os_minor_version"
|
|
},
|
|
"links": {
|
|
"first": "/api/compliance/v2/reports/fda5d22a-25c8-406c-9beb-014dd23ce9ab/systems?limit=10&offset=0&sort_by=os_minor_version",
|
|
"last": "/api/compliance/v2/reports/fda5d22a-25c8-406c-9beb-014dd23ce9ab/systems?limit=10&offset=20&sort_by=os_minor_version",
|
|
"next": "/api/compliance/v2/reports/fda5d22a-25c8-406c-9beb-014dd23ce9ab/systems?limit=10&offset=10&sort_by=os_minor_version"
|
|
}
|
|
},
|
|
"summary": "",
|
|
"description": ""
|
|
},
|
|
"List of Systems filtered by \"(os_minor_version=0)\"": {
|
|
"value": {
|
|
"data": [
|
|
{
|
|
"id": "136314c9-72c6-48a5-acad-a4c67c016976",
|
|
"display_name": "parker-frami.test",
|
|
"groups": [],
|
|
"culled_timestamp": "2034-10-10T15:00:36.366Z",
|
|
"stale_timestamp": "2034-09-26T15:00:36.366Z",
|
|
"stale_warning_timestamp": "2034-10-03T15:00:36.366Z",
|
|
"updated": "2024-09-26T15:00:36.366Z",
|
|
"insights_id": null,
|
|
"tags": [
|
|
{
|
|
"key": "protocol",
|
|
"value": "cross-platform",
|
|
"namespace": "compressing"
|
|
},
|
|
{
|
|
"key": "transmitter",
|
|
"value": "back-end",
|
|
"namespace": "synthesizing"
|
|
},
|
|
{
|
|
"key": "pixel",
|
|
"value": "back-end",
|
|
"namespace": "backing up"
|
|
},
|
|
{
|
|
"key": "monitor",
|
|
"value": "online",
|
|
"namespace": "overriding"
|
|
},
|
|
{
|
|
"key": "bandwidth",
|
|
"value": "redundant",
|
|
"namespace": "bypassing"
|
|
}
|
|
],
|
|
"type": "system",
|
|
"os_major_version": 8,
|
|
"os_minor_version": 0,
|
|
"policies": [
|
|
{
|
|
"id": "7b36c3f1-dc02-4c43-9ef6-e410a4408054",
|
|
"title": "Et molestiae dolores officiis."
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "1555b211-8c21-4480-804a-e501278ccbe7",
|
|
"display_name": "aufderhar-treutel.test",
|
|
"groups": [],
|
|
"culled_timestamp": "2034-10-10T15:00:36.336Z",
|
|
"stale_timestamp": "2034-09-26T15:00:36.336Z",
|
|
"stale_warning_timestamp": "2034-10-03T15:00:36.336Z",
|
|
"updated": "2024-09-26T15:00:36.336Z",
|
|
"insights_id": null,
|
|
"tags": [
|
|
{
|
|
"key": "application",
|
|
"value": "solid state",
|
|
"namespace": "compressing"
|
|
},
|
|
{
|
|
"key": "alarm",
|
|
"value": "primary",
|
|
"namespace": "overriding"
|
|
},
|
|
{
|
|
"key": "bandwidth",
|
|
"value": "cross-platform",
|
|
"namespace": "generating"
|
|
},
|
|
{
|
|
"key": "driver",
|
|
"value": "neural",
|
|
"namespace": "calculating"
|
|
},
|
|
{
|
|
"key": "bandwidth",
|
|
"value": "multi-byte",
|
|
"namespace": "calculating"
|
|
}
|
|
],
|
|
"type": "system",
|
|
"os_major_version": 8,
|
|
"os_minor_version": 0,
|
|
"policies": [
|
|
{
|
|
"id": "7b36c3f1-dc02-4c43-9ef6-e410a4408054",
|
|
"title": "Et molestiae dolores officiis."
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "1ab85de8-e2fc-4a28-8e99-4c2c302b29d9",
|
|
"display_name": "simonis.example",
|
|
"groups": [],
|
|
"culled_timestamp": "2034-10-10T15:00:36.346Z",
|
|
"stale_timestamp": "2034-09-26T15:00:36.346Z",
|
|
"stale_warning_timestamp": "2034-10-03T15:00:36.346Z",
|
|
"updated": "2024-09-26T15:00:36.346Z",
|
|
"insights_id": null,
|
|
"tags": [
|
|
{
|
|
"key": "panel",
|
|
"value": "1080p",
|
|
"namespace": "overriding"
|
|
},
|
|
{
|
|
"key": "bandwidth",
|
|
"value": "online",
|
|
"namespace": "connecting"
|
|
},
|
|
{
|
|
"key": "circuit",
|
|
"value": "solid state",
|
|
"namespace": "overriding"
|
|
},
|
|
{
|
|
"key": "capacitor",
|
|
"value": "optical",
|
|
"namespace": "navigating"
|
|
},
|
|
{
|
|
"key": "firewall",
|
|
"value": "haptic",
|
|
"namespace": "programming"
|
|
}
|
|
],
|
|
"type": "system",
|
|
"os_major_version": 8,
|
|
"os_minor_version": 0,
|
|
"policies": [
|
|
{
|
|
"id": "7b36c3f1-dc02-4c43-9ef6-e410a4408054",
|
|
"title": "Et molestiae dolores officiis."
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "26b10185-aa70-40b4-a3a1-d38b0e7f9541",
|
|
"display_name": "langworth.test",
|
|
"groups": [],
|
|
"culled_timestamp": "2034-10-10T15:00:36.262Z",
|
|
"stale_timestamp": "2034-09-26T15:00:36.262Z",
|
|
"stale_warning_timestamp": "2034-10-03T15:00:36.262Z",
|
|
"updated": "2024-09-26T15:00:36.262Z",
|
|
"insights_id": null,
|
|
"tags": [
|
|
{
|
|
"key": "pixel",
|
|
"value": "virtual",
|
|
"namespace": "compressing"
|
|
},
|
|
{
|
|
"key": "hard drive",
|
|
"value": "virtual",
|
|
"namespace": "connecting"
|
|
},
|
|
{
|
|
"key": "card",
|
|
"value": "mobile",
|
|
"namespace": "navigating"
|
|
},
|
|
{
|
|
"key": "feed",
|
|
"value": "cross-platform",
|
|
"namespace": "backing up"
|
|
},
|
|
{
|
|
"key": "system",
|
|
"value": "open-source",
|
|
"namespace": "transmitting"
|
|
}
|
|
],
|
|
"type": "system",
|
|
"os_major_version": 8,
|
|
"os_minor_version": 0,
|
|
"policies": [
|
|
{
|
|
"id": "7b36c3f1-dc02-4c43-9ef6-e410a4408054",
|
|
"title": "Et molestiae dolores officiis."
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "2fb31116-d18c-41c0-b525-b4804fdcfeb2",
|
|
"display_name": "rohan.example",
|
|
"groups": [],
|
|
"culled_timestamp": "2034-10-10T15:00:36.284Z",
|
|
"stale_timestamp": "2034-09-26T15:00:36.284Z",
|
|
"stale_warning_timestamp": "2034-10-03T15:00:36.284Z",
|
|
"updated": "2024-09-26T15:00:36.284Z",
|
|
"insights_id": null,
|
|
"tags": [
|
|
{
|
|
"key": "transmitter",
|
|
"value": "open-source",
|
|
"namespace": "overriding"
|
|
},
|
|
{
|
|
"key": "alarm",
|
|
"value": "bluetooth",
|
|
"namespace": "compressing"
|
|
},
|
|
{
|
|
"key": "protocol",
|
|
"value": "haptic",
|
|
"namespace": "overriding"
|
|
},
|
|
{
|
|
"key": "card",
|
|
"value": "optical",
|
|
"namespace": "compressing"
|
|
},
|
|
{
|
|
"key": "sensor",
|
|
"value": "virtual",
|
|
"namespace": "calculating"
|
|
}
|
|
],
|
|
"type": "system",
|
|
"os_major_version": 8,
|
|
"os_minor_version": 0,
|
|
"policies": [
|
|
{
|
|
"id": "7b36c3f1-dc02-4c43-9ef6-e410a4408054",
|
|
"title": "Et molestiae dolores officiis."
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "3369b8f2-6473-4bdb-bd1f-e178032a2d02",
|
|
"display_name": "moore.example",
|
|
"groups": [],
|
|
"culled_timestamp": "2034-10-10T15:00:36.273Z",
|
|
"stale_timestamp": "2034-09-26T15:00:36.273Z",
|
|
"stale_warning_timestamp": "2034-10-03T15:00:36.273Z",
|
|
"updated": "2024-09-26T15:00:36.273Z",
|
|
"insights_id": null,
|
|
"tags": [
|
|
{
|
|
"key": "driver",
|
|
"value": "1080p",
|
|
"namespace": "navigating"
|
|
},
|
|
{
|
|
"key": "application",
|
|
"value": "1080p",
|
|
"namespace": "generating"
|
|
},
|
|
{
|
|
"key": "card",
|
|
"value": "online",
|
|
"namespace": "navigating"
|
|
},
|
|
{
|
|
"key": "port",
|
|
"value": "virtual",
|
|
"namespace": "connecting"
|
|
},
|
|
{
|
|
"key": "application",
|
|
"value": "open-source",
|
|
"namespace": "bypassing"
|
|
}
|
|
],
|
|
"type": "system",
|
|
"os_major_version": 8,
|
|
"os_minor_version": 0,
|
|
"policies": [
|
|
{
|
|
"id": "7b36c3f1-dc02-4c43-9ef6-e410a4408054",
|
|
"title": "Et molestiae dolores officiis."
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "45fadbf0-a193-42f1-a891-72fb5471078c",
|
|
"display_name": "bashirian.example",
|
|
"groups": [],
|
|
"culled_timestamp": "2034-10-10T15:00:36.238Z",
|
|
"stale_timestamp": "2034-09-26T15:00:36.238Z",
|
|
"stale_warning_timestamp": "2034-10-03T15:00:36.238Z",
|
|
"updated": "2024-09-26T15:00:36.238Z",
|
|
"insights_id": null,
|
|
"tags": [
|
|
{
|
|
"key": "alarm",
|
|
"value": "mobile",
|
|
"namespace": "generating"
|
|
},
|
|
{
|
|
"key": "program",
|
|
"value": "cross-platform",
|
|
"namespace": "hacking"
|
|
},
|
|
{
|
|
"key": "transmitter",
|
|
"value": "auxiliary",
|
|
"namespace": "quantifying"
|
|
},
|
|
{
|
|
"key": "feed",
|
|
"value": "primary",
|
|
"namespace": "navigating"
|
|
},
|
|
{
|
|
"key": "pixel",
|
|
"value": "mobile",
|
|
"namespace": "navigating"
|
|
}
|
|
],
|
|
"type": "system",
|
|
"os_major_version": 8,
|
|
"os_minor_version": 0,
|
|
"policies": [
|
|
{
|
|
"id": "7b36c3f1-dc02-4c43-9ef6-e410a4408054",
|
|
"title": "Et molestiae dolores officiis."
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "474bb3b6-d957-43b7-a1d5-5ec41d65168d",
|
|
"display_name": "crona.test",
|
|
"groups": [],
|
|
"culled_timestamp": "2034-10-10T15:00:36.377Z",
|
|
"stale_timestamp": "2034-09-26T15:00:36.377Z",
|
|
"stale_warning_timestamp": "2034-10-03T15:00:36.377Z",
|
|
"updated": "2024-09-26T15:00:36.377Z",
|
|
"insights_id": null,
|
|
"tags": [
|
|
{
|
|
"key": "bus",
|
|
"value": "neural",
|
|
"namespace": "calculating"
|
|
},
|
|
{
|
|
"key": "circuit",
|
|
"value": "multi-byte",
|
|
"namespace": "copying"
|
|
},
|
|
{
|
|
"key": "panel",
|
|
"value": "neural",
|
|
"namespace": "backing up"
|
|
},
|
|
{
|
|
"key": "circuit",
|
|
"value": "primary",
|
|
"namespace": "bypassing"
|
|
},
|
|
{
|
|
"key": "microchip",
|
|
"value": "haptic",
|
|
"namespace": "copying"
|
|
}
|
|
],
|
|
"type": "system",
|
|
"os_major_version": 8,
|
|
"os_minor_version": 0,
|
|
"policies": [
|
|
{
|
|
"id": "7b36c3f1-dc02-4c43-9ef6-e410a4408054",
|
|
"title": "Et molestiae dolores officiis."
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "55fd521a-d2ea-47ac-ad40-550a66a2e514",
|
|
"display_name": "schuster.test",
|
|
"groups": [],
|
|
"culled_timestamp": "2034-10-10T15:00:36.397Z",
|
|
"stale_timestamp": "2034-09-26T15:00:36.397Z",
|
|
"stale_warning_timestamp": "2034-10-03T15:00:36.397Z",
|
|
"updated": "2024-09-26T15:00:36.397Z",
|
|
"insights_id": null,
|
|
"tags": [
|
|
{
|
|
"key": "bus",
|
|
"value": "redundant",
|
|
"namespace": "copying"
|
|
},
|
|
{
|
|
"key": "pixel",
|
|
"value": "auxiliary",
|
|
"namespace": "navigating"
|
|
},
|
|
{
|
|
"key": "circuit",
|
|
"value": "open-source",
|
|
"namespace": "synthesizing"
|
|
},
|
|
{
|
|
"key": "port",
|
|
"value": "online",
|
|
"namespace": "overriding"
|
|
},
|
|
{
|
|
"key": "feed",
|
|
"value": "online",
|
|
"namespace": "copying"
|
|
}
|
|
],
|
|
"type": "system",
|
|
"os_major_version": 8,
|
|
"os_minor_version": 0,
|
|
"policies": [
|
|
{
|
|
"id": "7b36c3f1-dc02-4c43-9ef6-e410a4408054",
|
|
"title": "Et molestiae dolores officiis."
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "5d70dfa1-e8aa-4ed1-955c-6f9db7a903a1",
|
|
"display_name": "nicolas-bernhard.example",
|
|
"groups": [],
|
|
"culled_timestamp": "2034-10-10T15:00:36.387Z",
|
|
"stale_timestamp": "2034-09-26T15:00:36.387Z",
|
|
"stale_warning_timestamp": "2034-10-03T15:00:36.387Z",
|
|
"updated": "2024-09-26T15:00:36.387Z",
|
|
"insights_id": null,
|
|
"tags": [
|
|
{
|
|
"key": "transmitter",
|
|
"value": "bluetooth",
|
|
"namespace": "transmitting"
|
|
},
|
|
{
|
|
"key": "panel",
|
|
"value": "online",
|
|
"namespace": "programming"
|
|
},
|
|
{
|
|
"key": "firewall",
|
|
"value": "mobile",
|
|
"namespace": "hacking"
|
|
},
|
|
{
|
|
"key": "microchip",
|
|
"value": "back-end",
|
|
"namespace": "calculating"
|
|
},
|
|
{
|
|
"key": "firewall",
|
|
"value": "digital",
|
|
"namespace": "parsing"
|
|
}
|
|
],
|
|
"type": "system",
|
|
"os_major_version": 8,
|
|
"os_minor_version": 0,
|
|
"policies": [
|
|
{
|
|
"id": "7b36c3f1-dc02-4c43-9ef6-e410a4408054",
|
|
"title": "Et molestiae dolores officiis."
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"meta": {
|
|
"total": 25,
|
|
"filter": "(os_minor_version=0)",
|
|
"tags": [],
|
|
"limit": 10,
|
|
"offset": 0
|
|
},
|
|
"links": {
|
|
"first": "/api/compliance/v2/reports/7b36c3f1-dc02-4c43-9ef6-e410a4408054/systems?filter=%28os_minor_version%3D0%29&limit=10&offset=0",
|
|
"last": "/api/compliance/v2/reports/7b36c3f1-dc02-4c43-9ef6-e410a4408054/systems?filter=%28os_minor_version%3D0%29&limit=10&offset=20",
|
|
"next": "/api/compliance/v2/reports/7b36c3f1-dc02-4c43-9ef6-e410a4408054/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": "fc3ff422-d8fd-4d6d-a6ba-4799348f16e3",
|
|
"display_name": "luettgen.example",
|
|
"groups": [],
|
|
"culled_timestamp": "2034-10-10T15:00:38.834Z",
|
|
"stale_timestamp": "2034-09-26T15:00:38.834Z",
|
|
"stale_warning_timestamp": "2034-10-03T15:00:38.834Z",
|
|
"updated": "2024-09-26T15:00:38.834Z",
|
|
"insights_id": null,
|
|
"tags": [
|
|
{
|
|
"key": "port",
|
|
"value": "multi-byte",
|
|
"namespace": "synthesizing"
|
|
},
|
|
{
|
|
"key": "firewall",
|
|
"value": "mobile",
|
|
"namespace": "programming"
|
|
},
|
|
{
|
|
"key": "transmitter",
|
|
"value": "mobile",
|
|
"namespace": "compressing"
|
|
},
|
|
{
|
|
"key": "panel",
|
|
"value": "auxiliary",
|
|
"namespace": "connecting"
|
|
},
|
|
{
|
|
"key": "monitor",
|
|
"value": "online",
|
|
"namespace": "generating"
|
|
}
|
|
],
|
|
"type": "system",
|
|
"os_major_version": 8,
|
|
"os_minor_version": 0,
|
|
"policies": [
|
|
{
|
|
"id": "cb039b3f-78f2-44ba-b1ea-0bc0279a9550",
|
|
"title": "Repellat omnis maiores quis."
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"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 5d224890-ec60-41cf-acae-e6e78fbdd93e"
|
|
]
|
|
},
|
|
"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": "05c5fe1a-3ce0-41f7-85db-0ae440d75588",
|
|
"profile_id": "e05de16e-f9ba-4978-a0c5-a5be6581a46e",
|
|
"os_minor_version": 13,
|
|
"value_overrides": {},
|
|
"type": "tailoring",
|
|
"os_major_version": 7,
|
|
"security_guide_id": "790933d3-5ded-46c7-9158-775bc03184a1",
|
|
"security_guide_version": "100.96.39"
|
|
},
|
|
{
|
|
"id": "0e814a70-3346-4753-8bda-63cf4e2ef3ed",
|
|
"profile_id": "92937758-b2e5-444e-abd0-6fa7018eb225",
|
|
"os_minor_version": 16,
|
|
"value_overrides": {},
|
|
"type": "tailoring",
|
|
"os_major_version": 7,
|
|
"security_guide_id": "04527a94-40ba-4a52-9919-2e012f1ab98e",
|
|
"security_guide_version": "100.96.42"
|
|
},
|
|
{
|
|
"id": "0fe94821-69da-4de1-991a-7da54a855e08",
|
|
"profile_id": "0144d09b-3193-4ee8-a0f9-c99b7f082dd5",
|
|
"os_minor_version": 17,
|
|
"value_overrides": {},
|
|
"type": "tailoring",
|
|
"os_major_version": 7,
|
|
"security_guide_id": "b4fd1a91-f411-42dd-8032-29d717442b6c",
|
|
"security_guide_version": "100.96.43"
|
|
},
|
|
{
|
|
"id": "18903fbc-6dba-4f82-b530-c7c295c4985c",
|
|
"profile_id": "882196e5-899b-4a1b-ae38-2725ef978b63",
|
|
"os_minor_version": 20,
|
|
"value_overrides": {},
|
|
"type": "tailoring",
|
|
"os_major_version": 7,
|
|
"security_guide_id": "1f357ff8-81b0-4694-8594-f1cbeeba539f",
|
|
"security_guide_version": "100.96.46"
|
|
},
|
|
{
|
|
"id": "1ee85cc3-7e4b-407c-a76a-ef748d1f605b",
|
|
"profile_id": "fab079da-d984-4b0d-bc44-42ae75af6a5c",
|
|
"os_minor_version": 2,
|
|
"value_overrides": {},
|
|
"type": "tailoring",
|
|
"os_major_version": 7,
|
|
"security_guide_id": "0bed050a-6b6c-4137-8126-1d6f0a8cebd8",
|
|
"security_guide_version": "100.96.28"
|
|
},
|
|
{
|
|
"id": "2056c31b-6e49-47f5-b629-8f57edbc7919",
|
|
"profile_id": "8fb8e9fb-d5a7-46eb-8626-376b201917fd",
|
|
"os_minor_version": 21,
|
|
"value_overrides": {},
|
|
"type": "tailoring",
|
|
"os_major_version": 7,
|
|
"security_guide_id": "5efaf86b-15a6-47ee-8c12-49b0878818af",
|
|
"security_guide_version": "100.96.47"
|
|
},
|
|
{
|
|
"id": "2b310cdf-07d1-464b-a24e-8836d04276de",
|
|
"profile_id": "d3d67abd-a230-4127-9943-6ac041c6e059",
|
|
"os_minor_version": 18,
|
|
"value_overrides": {},
|
|
"type": "tailoring",
|
|
"os_major_version": 7,
|
|
"security_guide_id": "dbb7e2ba-7251-4f1e-95bf-055f345d6a1b",
|
|
"security_guide_version": "100.96.44"
|
|
},
|
|
{
|
|
"id": "31f1704d-7370-4fc8-8fbe-85b6d1089449",
|
|
"profile_id": "f8cabc53-5d3e-43d5-b45a-3696a82a0025",
|
|
"os_minor_version": 10,
|
|
"value_overrides": {},
|
|
"type": "tailoring",
|
|
"os_major_version": 7,
|
|
"security_guide_id": "18fe3e02-476b-4001-9330-164b61eb831d",
|
|
"security_guide_version": "100.96.36"
|
|
},
|
|
{
|
|
"id": "3d9d63a4-1d78-4be3-8469-1d51a66cda53",
|
|
"profile_id": "32af31ad-88b3-4f59-accd-3a951b7b8008",
|
|
"os_minor_version": 15,
|
|
"value_overrides": {},
|
|
"type": "tailoring",
|
|
"os_major_version": 7,
|
|
"security_guide_id": "2330813f-05e1-4ade-bc20-d93feb7b4d57",
|
|
"security_guide_version": "100.96.41"
|
|
},
|
|
{
|
|
"id": "434e90c3-e510-4e16-ae72-c5eaba0c0acd",
|
|
"profile_id": "6ebb0348-b669-4fdf-a90a-7c9441ad5732",
|
|
"os_minor_version": 1,
|
|
"value_overrides": {},
|
|
"type": "tailoring",
|
|
"os_major_version": 7,
|
|
"security_guide_id": "4f64a55f-c078-430b-909a-9dd6624d5e34",
|
|
"security_guide_version": "100.96.27"
|
|
}
|
|
],
|
|
"meta": {
|
|
"total": 25,
|
|
"limit": 10,
|
|
"offset": 0
|
|
},
|
|
"links": {
|
|
"first": "/api/compliance/v2/policies/dab98810-b85f-4169-a39c-de095aabde5a/tailorings?limit=10&offset=0",
|
|
"last": "/api/compliance/v2/policies/dab98810-b85f-4169-a39c-de095aabde5a/tailorings?limit=10&offset=20",
|
|
"next": "/api/compliance/v2/policies/dab98810-b85f-4169-a39c-de095aabde5a/tailorings?limit=10&offset=10"
|
|
}
|
|
},
|
|
"summary": "",
|
|
"description": ""
|
|
},
|
|
"List of Tailorings sorted by \"os_minor_version:asc\"": {
|
|
"value": {
|
|
"data": [
|
|
{
|
|
"id": "1a27a6ed-1cd1-4694-9104-2d11ed44d9a2",
|
|
"profile_id": "37ebc1de-22f5-4a54-8b4d-c968feda0252",
|
|
"os_minor_version": 0,
|
|
"value_overrides": {},
|
|
"type": "tailoring",
|
|
"os_major_version": 7,
|
|
"security_guide_id": "83d24e72-06b1-4c22-8a6e-1ea55f6350a6",
|
|
"security_guide_version": "100.97.1"
|
|
},
|
|
{
|
|
"id": "3294e381-e2b2-48f8-8340-34c8a6b0adbb",
|
|
"profile_id": "11045045-1a9a-4c92-b3e2-8b7f75fa2758",
|
|
"os_minor_version": 1,
|
|
"value_overrides": {},
|
|
"type": "tailoring",
|
|
"os_major_version": 7,
|
|
"security_guide_id": "c47bbf0e-83e0-4ada-a690-e13b79fc09af",
|
|
"security_guide_version": "100.97.2"
|
|
},
|
|
{
|
|
"id": "81836d41-7d50-4d68-86ac-d76e2c47d6a9",
|
|
"profile_id": "6baea8a0-2c06-4f03-bada-ca85567dee0b",
|
|
"os_minor_version": 2,
|
|
"value_overrides": {},
|
|
"type": "tailoring",
|
|
"os_major_version": 7,
|
|
"security_guide_id": "c52462f0-7fc8-4ede-b25b-1dad3bfa7219",
|
|
"security_guide_version": "100.97.3"
|
|
},
|
|
{
|
|
"id": "7cba4042-46e0-4f0c-8524-cc44ea1b2e68",
|
|
"profile_id": "371d25b7-76f5-4fef-8b0f-ff373299d98f",
|
|
"os_minor_version": 3,
|
|
"value_overrides": {},
|
|
"type": "tailoring",
|
|
"os_major_version": 7,
|
|
"security_guide_id": "e8e6278b-df85-44be-997b-c9874119077a",
|
|
"security_guide_version": "100.97.4"
|
|
},
|
|
{
|
|
"id": "11fc833b-52ce-4ca7-81d3-ffc552c57271",
|
|
"profile_id": "f2a85fb7-a3ef-46d3-a574-a4dd6c7b1bbe",
|
|
"os_minor_version": 4,
|
|
"value_overrides": {},
|
|
"type": "tailoring",
|
|
"os_major_version": 7,
|
|
"security_guide_id": "ee97cf48-7dc7-4d21-8102-68eeeff00193",
|
|
"security_guide_version": "100.97.5"
|
|
},
|
|
{
|
|
"id": "27c4c495-e795-4af1-aca4-37aa31af464c",
|
|
"profile_id": "95debd5d-d77b-4b93-aa29-b909a0b80778",
|
|
"os_minor_version": 5,
|
|
"value_overrides": {},
|
|
"type": "tailoring",
|
|
"os_major_version": 7,
|
|
"security_guide_id": "1fe5b74f-f9d1-4258-93eb-8b0f2989f4bc",
|
|
"security_guide_version": "100.97.6"
|
|
},
|
|
{
|
|
"id": "6e1f7d2e-70d3-4ca6-afae-98337f5d881c",
|
|
"profile_id": "7e5265e8-cc93-4fbf-8e7d-478c54d13166",
|
|
"os_minor_version": 6,
|
|
"value_overrides": {},
|
|
"type": "tailoring",
|
|
"os_major_version": 7,
|
|
"security_guide_id": "0f39671a-f14e-499f-a2db-9ea9fde44bef",
|
|
"security_guide_version": "100.97.7"
|
|
},
|
|
{
|
|
"id": "ad109ffd-4591-4000-9cb7-a396d93380b1",
|
|
"profile_id": "1631b21e-18b3-4f88-91cc-bd046ab94a15",
|
|
"os_minor_version": 7,
|
|
"value_overrides": {},
|
|
"type": "tailoring",
|
|
"os_major_version": 7,
|
|
"security_guide_id": "c4d6a301-b554-4e2c-be0f-debbbbb513a0",
|
|
"security_guide_version": "100.97.8"
|
|
},
|
|
{
|
|
"id": "aa0d125c-8ea7-42e6-b819-7aa66549b822",
|
|
"profile_id": "1dab2451-f15c-4e56-b88a-71804b3ee1dd",
|
|
"os_minor_version": 8,
|
|
"value_overrides": {},
|
|
"type": "tailoring",
|
|
"os_major_version": 7,
|
|
"security_guide_id": "a280534b-1980-46a5-94ea-0476cbfc0dfd",
|
|
"security_guide_version": "100.97.9"
|
|
},
|
|
{
|
|
"id": "013b808e-820e-406e-9c21-5ab336808ee5",
|
|
"profile_id": "8345d6ac-ec03-4912-b367-1dbcd5406afd",
|
|
"os_minor_version": 9,
|
|
"value_overrides": {},
|
|
"type": "tailoring",
|
|
"os_major_version": 7,
|
|
"security_guide_id": "93ed0a27-fd4a-411f-8f73-e9abfae163cd",
|
|
"security_guide_version": "100.97.10"
|
|
}
|
|
],
|
|
"meta": {
|
|
"total": 25,
|
|
"limit": 10,
|
|
"offset": 0,
|
|
"sort_by": "os_minor_version"
|
|
},
|
|
"links": {
|
|
"first": "/api/compliance/v2/policies/5888882b-fb07-4fb7-a3ea-7bac2ad4fcbd/tailorings?limit=10&offset=0&sort_by=os_minor_version",
|
|
"last": "/api/compliance/v2/policies/5888882b-fb07-4fb7-a3ea-7bac2ad4fcbd/tailorings?limit=10&offset=20&sort_by=os_minor_version",
|
|
"next": "/api/compliance/v2/policies/5888882b-fb07-4fb7-a3ea-7bac2ad4fcbd/tailorings?limit=10&offset=10&sort_by=os_minor_version"
|
|
}
|
|
},
|
|
"summary": "",
|
|
"description": ""
|
|
},
|
|
"List of Tailorings filtered by '(os_minor_version=5)'": {
|
|
"value": {
|
|
"data": [
|
|
{
|
|
"id": "0aebc9f6-0933-43bc-af2d-a9aa88e35251",
|
|
"profile_id": "b83800da-14cf-4f70-bd22-f2aac33725d2",
|
|
"os_minor_version": 5,
|
|
"value_overrides": {},
|
|
"type": "tailoring",
|
|
"os_major_version": 7,
|
|
"security_guide_id": "df03c97e-ad16-4122-bbb7-17f52b1b5d01",
|
|
"security_guide_version": "100.97.31"
|
|
}
|
|
],
|
|
"meta": {
|
|
"total": 1,
|
|
"filter": "(os_minor_version=5)",
|
|
"limit": 10,
|
|
"offset": 0
|
|
},
|
|
"links": {
|
|
"first": "/api/compliance/v2/policies/12d908fa-15d9-4e76-95f6-3b108d9b7892/tailorings?filter=%28os_minor_version%3D5%29&limit=10&offset=0",
|
|
"last": "/api/compliance/v2/policies/12d908fa-15d9-4e76-95f6-3b108d9b7892/tailorings?filter=%28os_minor_version%3D5%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": "972767e8-0249-42dd-8906-8f07e681eb67",
|
|
"profile_id": "17392a68-af6b-4f7e-9bbe-6886056de049",
|
|
"os_minor_version": 1,
|
|
"value_overrides": {},
|
|
"type": "tailoring",
|
|
"os_major_version": 7,
|
|
"security_guide_id": "336b6ace-7b2a-4746-a2bb-dfd812a0930b",
|
|
"security_guide_version": "100.99.1"
|
|
}
|
|
},
|
|
"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 7e0505ba-b698-4b39-a37d-088a5aa4876e"
|
|
]
|
|
},
|
|
"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": "38945135-870a-48cc-b81c-dd43714d9bd1",
|
|
"profile_id": "590d9108-c502-4270-bffe-81b44ec05990",
|
|
"os_minor_version": 1,
|
|
"value_overrides": {
|
|
"9d8114ef-ae0d-49db-94dd-9f2ab1506ff1": "123"
|
|
},
|
|
"type": "tailoring",
|
|
"os_major_version": 7,
|
|
"security_guide_id": "e3bbcfe8-5ec8-4f3a-b83b-16d519b63b23",
|
|
"security_guide_version": "100.99.2"
|
|
}
|
|
},
|
|
"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_40f117cd8170214555297c8360af2e03",
|
|
"title": "Hic sequi eum rem.",
|
|
"groups": {},
|
|
"rules": {},
|
|
"variables": {
|
|
"foo_value_a7f1a659-bdb0-46d0-b798-759be71e94aa": {
|
|
"value": "58383"
|
|
},
|
|
"foo_value_5266839a-4022-4ebd-9889-7ec8beb739e8": {
|
|
"value": "977158"
|
|
}
|
|
}
|
|
}
|
|
]
|
|
},
|
|
"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": "00c0827f-b49d-47f2-9161-14dea710610a",
|
|
"end_time": "2024-09-26T14:59:41.623Z",
|
|
"failed_rule_count": 0,
|
|
"supported": true,
|
|
"score": 56.35319343360952,
|
|
"type": "test_result",
|
|
"display_name": "schaefer.example",
|
|
"groups": [],
|
|
"tags": [
|
|
{
|
|
"key": "bandwidth",
|
|
"value": "neural",
|
|
"namespace": "compressing"
|
|
},
|
|
{
|
|
"key": "driver",
|
|
"value": "neural",
|
|
"namespace": "quantifying"
|
|
},
|
|
{
|
|
"key": "capacitor",
|
|
"value": "online",
|
|
"namespace": "synthesizing"
|
|
},
|
|
{
|
|
"key": "monitor",
|
|
"value": "haptic",
|
|
"namespace": "generating"
|
|
},
|
|
{
|
|
"key": "microchip",
|
|
"value": "neural",
|
|
"namespace": "quantifying"
|
|
}
|
|
],
|
|
"os_major_version": 8,
|
|
"os_minor_version": 0,
|
|
"compliant": false,
|
|
"system_id": "f466fa72-36ba-4e23-bbeb-a7cb9e7b6260",
|
|
"security_guide_version": "100.100.5"
|
|
},
|
|
{
|
|
"id": "014ac05b-4706-4fc7-ba46-3d65d3a71349",
|
|
"end_time": "2024-09-26T14:59:41.646Z",
|
|
"failed_rule_count": 0,
|
|
"supported": true,
|
|
"score": 36.07539127220642,
|
|
"type": "test_result",
|
|
"display_name": "hodkiewicz.example",
|
|
"groups": [],
|
|
"tags": [
|
|
{
|
|
"key": "monitor",
|
|
"value": "cross-platform",
|
|
"namespace": "generating"
|
|
},
|
|
{
|
|
"key": "bandwidth",
|
|
"value": "mobile",
|
|
"namespace": "navigating"
|
|
},
|
|
{
|
|
"key": "driver",
|
|
"value": "primary",
|
|
"namespace": "navigating"
|
|
},
|
|
{
|
|
"key": "system",
|
|
"value": "virtual",
|
|
"namespace": "generating"
|
|
},
|
|
{
|
|
"key": "bus",
|
|
"value": "optical",
|
|
"namespace": "hacking"
|
|
}
|
|
],
|
|
"os_major_version": 8,
|
|
"os_minor_version": 0,
|
|
"compliant": false,
|
|
"system_id": "20057c44-610c-47dc-9353-a5b122e43435",
|
|
"security_guide_version": "100.100.5"
|
|
},
|
|
{
|
|
"id": "042a09a8-b6f4-4441-8717-d304e32c9049",
|
|
"end_time": "2024-09-26T14:59:41.611Z",
|
|
"failed_rule_count": 0,
|
|
"supported": true,
|
|
"score": 31.60371802445772,
|
|
"type": "test_result",
|
|
"display_name": "hagenes.test",
|
|
"groups": [],
|
|
"tags": [
|
|
{
|
|
"key": "card",
|
|
"value": "back-end",
|
|
"namespace": "parsing"
|
|
},
|
|
{
|
|
"key": "card",
|
|
"value": "open-source",
|
|
"namespace": "hacking"
|
|
},
|
|
{
|
|
"key": "circuit",
|
|
"value": "virtual",
|
|
"namespace": "compressing"
|
|
},
|
|
{
|
|
"key": "matrix",
|
|
"value": "open-source",
|
|
"namespace": "indexing"
|
|
},
|
|
{
|
|
"key": "sensor",
|
|
"value": "haptic",
|
|
"namespace": "programming"
|
|
}
|
|
],
|
|
"os_major_version": 8,
|
|
"os_minor_version": 0,
|
|
"compliant": false,
|
|
"system_id": "2992c5b6-7d09-47a2-8e03-5d1417faab76",
|
|
"security_guide_version": "100.100.5"
|
|
},
|
|
{
|
|
"id": "1e6ca764-a247-4347-907e-12f604858a83",
|
|
"end_time": "2024-09-26T14:59:41.710Z",
|
|
"failed_rule_count": 0,
|
|
"supported": true,
|
|
"score": 40.47057553788414,
|
|
"type": "test_result",
|
|
"display_name": "schulist.example",
|
|
"groups": [],
|
|
"tags": [
|
|
{
|
|
"key": "interface",
|
|
"value": "solid state",
|
|
"namespace": "compressing"
|
|
},
|
|
{
|
|
"key": "bandwidth",
|
|
"value": "digital",
|
|
"namespace": "calculating"
|
|
},
|
|
{
|
|
"key": "card",
|
|
"value": "auxiliary",
|
|
"namespace": "synthesizing"
|
|
},
|
|
{
|
|
"key": "microchip",
|
|
"value": "cross-platform",
|
|
"namespace": "quantifying"
|
|
},
|
|
{
|
|
"key": "sensor",
|
|
"value": "solid state",
|
|
"namespace": "overriding"
|
|
}
|
|
],
|
|
"os_major_version": 8,
|
|
"os_minor_version": 0,
|
|
"compliant": false,
|
|
"system_id": "5b626ef0-996a-437e-b077-fe80eefd7e90",
|
|
"security_guide_version": "100.100.5"
|
|
},
|
|
{
|
|
"id": "22a32ccb-1b4a-4e92-ab4a-485b17736548",
|
|
"end_time": "2024-09-26T14:59:41.669Z",
|
|
"failed_rule_count": 0,
|
|
"supported": true,
|
|
"score": 38.04856262343173,
|
|
"type": "test_result",
|
|
"display_name": "white.example",
|
|
"groups": [],
|
|
"tags": [
|
|
{
|
|
"key": "transmitter",
|
|
"value": "virtual",
|
|
"namespace": "compressing"
|
|
},
|
|
{
|
|
"key": "array",
|
|
"value": "open-source",
|
|
"namespace": "calculating"
|
|
},
|
|
{
|
|
"key": "monitor",
|
|
"value": "virtual",
|
|
"namespace": "synthesizing"
|
|
},
|
|
{
|
|
"key": "port",
|
|
"value": "cross-platform",
|
|
"namespace": "backing up"
|
|
},
|
|
{
|
|
"key": "array",
|
|
"value": "bluetooth",
|
|
"namespace": "transmitting"
|
|
}
|
|
],
|
|
"os_major_version": 8,
|
|
"os_minor_version": 0,
|
|
"compliant": false,
|
|
"system_id": "cda7f499-d0f7-49d5-82eb-41ab952c1d01",
|
|
"security_guide_version": "100.100.5"
|
|
},
|
|
{
|
|
"id": "2fa8aa71-a2cd-4fcf-8f65-bbe10667e936",
|
|
"end_time": "2024-09-26T14:59:41.634Z",
|
|
"failed_rule_count": 0,
|
|
"supported": true,
|
|
"score": 49.03082571702993,
|
|
"type": "test_result",
|
|
"display_name": "aufderhar.test",
|
|
"groups": [],
|
|
"tags": [
|
|
{
|
|
"key": "port",
|
|
"value": "redundant",
|
|
"namespace": "connecting"
|
|
},
|
|
{
|
|
"key": "microchip",
|
|
"value": "bluetooth",
|
|
"namespace": "indexing"
|
|
},
|
|
{
|
|
"key": "monitor",
|
|
"value": "mobile",
|
|
"namespace": "copying"
|
|
},
|
|
{
|
|
"key": "interface",
|
|
"value": "mobile",
|
|
"namespace": "connecting"
|
|
},
|
|
{
|
|
"key": "microchip",
|
|
"value": "solid state",
|
|
"namespace": "transmitting"
|
|
}
|
|
],
|
|
"os_major_version": 8,
|
|
"os_minor_version": 0,
|
|
"compliant": false,
|
|
"system_id": "5bf6e04e-826f-4102-96c0-3f0c0a80f1a1",
|
|
"security_guide_version": "100.100.5"
|
|
},
|
|
{
|
|
"id": "39915807-3bbc-4cda-8fad-180282cff03c",
|
|
"end_time": "2024-09-26T14:59:41.809Z",
|
|
"failed_rule_count": 0,
|
|
"supported": true,
|
|
"score": 31.56200403905455,
|
|
"type": "test_result",
|
|
"display_name": "conn.test",
|
|
"groups": [],
|
|
"tags": [
|
|
{
|
|
"key": "alarm",
|
|
"value": "online",
|
|
"namespace": "transmitting"
|
|
},
|
|
{
|
|
"key": "interface",
|
|
"value": "bluetooth",
|
|
"namespace": "transmitting"
|
|
},
|
|
{
|
|
"key": "microchip",
|
|
"value": "virtual",
|
|
"namespace": "quantifying"
|
|
},
|
|
{
|
|
"key": "interface",
|
|
"value": "redundant",
|
|
"namespace": "compressing"
|
|
},
|
|
{
|
|
"key": "port",
|
|
"value": "wireless",
|
|
"namespace": "compressing"
|
|
}
|
|
],
|
|
"os_major_version": 8,
|
|
"os_minor_version": 0,
|
|
"compliant": false,
|
|
"system_id": "f6058c87-a75f-4fbf-b44b-925e475b1936",
|
|
"security_guide_version": "100.100.5"
|
|
},
|
|
{
|
|
"id": "59d45d9e-f68c-4141-a243-e350e84a82a7",
|
|
"end_time": "2024-09-26T14:59:41.882Z",
|
|
"failed_rule_count": 0,
|
|
"supported": true,
|
|
"score": 25.89380596542032,
|
|
"type": "test_result",
|
|
"display_name": "larkin-schiller.example",
|
|
"groups": [],
|
|
"tags": [
|
|
{
|
|
"key": "matrix",
|
|
"value": "multi-byte",
|
|
"namespace": "programming"
|
|
},
|
|
{
|
|
"key": "driver",
|
|
"value": "auxiliary",
|
|
"namespace": "calculating"
|
|
},
|
|
{
|
|
"key": "alarm",
|
|
"value": "wireless",
|
|
"namespace": "overriding"
|
|
},
|
|
{
|
|
"key": "capacitor",
|
|
"value": "solid state",
|
|
"namespace": "bypassing"
|
|
},
|
|
{
|
|
"key": "sensor",
|
|
"value": "back-end",
|
|
"namespace": "synthesizing"
|
|
}
|
|
],
|
|
"os_major_version": 8,
|
|
"os_minor_version": 0,
|
|
"compliant": false,
|
|
"system_id": "4ddeb360-12df-4299-9af7-6566e47c45ef",
|
|
"security_guide_version": "100.100.5"
|
|
},
|
|
{
|
|
"id": "65c6df37-8fbf-4bc4-9340-26edc64500d5",
|
|
"end_time": "2024-09-26T14:59:41.797Z",
|
|
"failed_rule_count": 0,
|
|
"supported": true,
|
|
"score": 76.99416917509068,
|
|
"type": "test_result",
|
|
"display_name": "skiles-cormier.test",
|
|
"groups": [],
|
|
"tags": [
|
|
{
|
|
"key": "alarm",
|
|
"value": "auxiliary",
|
|
"namespace": "hacking"
|
|
},
|
|
{
|
|
"key": "application",
|
|
"value": "back-end",
|
|
"namespace": "bypassing"
|
|
},
|
|
{
|
|
"key": "bandwidth",
|
|
"value": "1080p",
|
|
"namespace": "transmitting"
|
|
},
|
|
{
|
|
"key": "pixel",
|
|
"value": "auxiliary",
|
|
"namespace": "compressing"
|
|
},
|
|
{
|
|
"key": "microchip",
|
|
"value": "online",
|
|
"namespace": "connecting"
|
|
}
|
|
],
|
|
"os_major_version": 8,
|
|
"os_minor_version": 0,
|
|
"compliant": false,
|
|
"system_id": "0b80275d-6f74-4ac3-819e-5e628584a6dc",
|
|
"security_guide_version": "100.100.5"
|
|
},
|
|
{
|
|
"id": "661cf324-ea81-45ef-8730-9603a1e41e4a",
|
|
"end_time": "2024-09-26T14:59:41.785Z",
|
|
"failed_rule_count": 0,
|
|
"supported": true,
|
|
"score": 90.69536730385956,
|
|
"type": "test_result",
|
|
"display_name": "trantow-jerde.test",
|
|
"groups": [],
|
|
"tags": [
|
|
{
|
|
"key": "card",
|
|
"value": "back-end",
|
|
"namespace": "navigating"
|
|
},
|
|
{
|
|
"key": "capacitor",
|
|
"value": "mobile",
|
|
"namespace": "parsing"
|
|
},
|
|
{
|
|
"key": "application",
|
|
"value": "primary",
|
|
"namespace": "backing up"
|
|
},
|
|
{
|
|
"key": "array",
|
|
"value": "1080p",
|
|
"namespace": "synthesizing"
|
|
},
|
|
{
|
|
"key": "panel",
|
|
"value": "virtual",
|
|
"namespace": "connecting"
|
|
}
|
|
],
|
|
"os_major_version": 8,
|
|
"os_minor_version": 0,
|
|
"compliant": true,
|
|
"system_id": "e3b55b02-9cfc-4e00-bd56-fc4be29f2b9b",
|
|
"security_guide_version": "100.100.5"
|
|
}
|
|
],
|
|
"meta": {
|
|
"total": 25,
|
|
"limit": 10,
|
|
"offset": 0
|
|
},
|
|
"links": {
|
|
"first": "/api/compliance/v2/reports/3cf64689-48e0-4b94-b3c9-fb8e8daee59b/test_results?limit=10&offset=0",
|
|
"last": "/api/compliance/v2/reports/3cf64689-48e0-4b94-b3c9-fb8e8daee59b/test_results?limit=10&offset=20",
|
|
"next": "/api/compliance/v2/reports/3cf64689-48e0-4b94-b3c9-fb8e8daee59b/test_results?limit=10&offset=10"
|
|
}
|
|
},
|
|
"summary": "",
|
|
"description": ""
|
|
},
|
|
"List of Test Results sorted by \"score:asc\"": {
|
|
"value": {
|
|
"data": [
|
|
{
|
|
"id": "63e96a65-d7c6-4387-8d43-bc2c9709e67c",
|
|
"end_time": "2024-09-26T14:59:42.560Z",
|
|
"failed_rule_count": 0,
|
|
"supported": true,
|
|
"score": 6.773079632804901,
|
|
"type": "test_result",
|
|
"display_name": "yundt-trantow.test",
|
|
"groups": [],
|
|
"tags": [
|
|
{
|
|
"key": "driver",
|
|
"value": "open-source",
|
|
"namespace": "bypassing"
|
|
},
|
|
{
|
|
"key": "feed",
|
|
"value": "wireless",
|
|
"namespace": "generating"
|
|
},
|
|
{
|
|
"key": "system",
|
|
"value": "online",
|
|
"namespace": "calculating"
|
|
},
|
|
{
|
|
"key": "matrix",
|
|
"value": "neural",
|
|
"namespace": "generating"
|
|
},
|
|
{
|
|
"key": "system",
|
|
"value": "neural",
|
|
"namespace": "copying"
|
|
}
|
|
],
|
|
"os_major_version": 8,
|
|
"os_minor_version": 0,
|
|
"compliant": false,
|
|
"system_id": "ceb285bb-be86-4cfd-8e7f-6bcfb0f81be0",
|
|
"security_guide_version": "100.101.20"
|
|
},
|
|
{
|
|
"id": "f056a7a3-c81b-4580-ad3c-4eeb50ee26f5",
|
|
"end_time": "2024-09-26T14:59:42.324Z",
|
|
"failed_rule_count": 0,
|
|
"supported": true,
|
|
"score": 13.66499828584575,
|
|
"type": "test_result",
|
|
"display_name": "krajcik.example",
|
|
"groups": [],
|
|
"tags": [
|
|
{
|
|
"key": "driver",
|
|
"value": "virtual",
|
|
"namespace": "synthesizing"
|
|
},
|
|
{
|
|
"key": "bus",
|
|
"value": "online",
|
|
"namespace": "copying"
|
|
},
|
|
{
|
|
"key": "array",
|
|
"value": "redundant",
|
|
"namespace": "bypassing"
|
|
},
|
|
{
|
|
"key": "circuit",
|
|
"value": "mobile",
|
|
"namespace": "generating"
|
|
},
|
|
{
|
|
"key": "driver",
|
|
"value": "1080p",
|
|
"namespace": "generating"
|
|
}
|
|
],
|
|
"os_major_version": 8,
|
|
"os_minor_version": 0,
|
|
"compliant": false,
|
|
"system_id": "d8871ae6-8dd6-48f7-85cb-e4380436f0bb",
|
|
"security_guide_version": "100.101.20"
|
|
},
|
|
{
|
|
"id": "1c3d3701-a9f3-4b3a-975b-f06b5a77e4c0",
|
|
"end_time": "2024-09-26T14:59:42.536Z",
|
|
"failed_rule_count": 0,
|
|
"supported": true,
|
|
"score": 16.44308801583933,
|
|
"type": "test_result",
|
|
"display_name": "leffler.test",
|
|
"groups": [],
|
|
"tags": [
|
|
{
|
|
"key": "system",
|
|
"value": "mobile",
|
|
"namespace": "quantifying"
|
|
},
|
|
{
|
|
"key": "feed",
|
|
"value": "virtual",
|
|
"namespace": "parsing"
|
|
},
|
|
{
|
|
"key": "circuit",
|
|
"value": "redundant",
|
|
"namespace": "overriding"
|
|
},
|
|
{
|
|
"key": "bus",
|
|
"value": "open-source",
|
|
"namespace": "calculating"
|
|
},
|
|
{
|
|
"key": "circuit",
|
|
"value": "primary",
|
|
"namespace": "connecting"
|
|
}
|
|
],
|
|
"os_major_version": 8,
|
|
"os_minor_version": 0,
|
|
"compliant": false,
|
|
"system_id": "ecbdb15d-59d4-4ada-9064-0b4573f51029",
|
|
"security_guide_version": "100.101.20"
|
|
},
|
|
{
|
|
"id": "9f80c4c7-360b-4815-86b8-a6afffb062e6",
|
|
"end_time": "2024-09-26T14:59:42.548Z",
|
|
"failed_rule_count": 0,
|
|
"supported": true,
|
|
"score": 16.83272262987039,
|
|
"type": "test_result",
|
|
"display_name": "langosh.example",
|
|
"groups": [],
|
|
"tags": [
|
|
{
|
|
"key": "pixel",
|
|
"value": "open-source",
|
|
"namespace": "hacking"
|
|
},
|
|
{
|
|
"key": "firewall",
|
|
"value": "optical",
|
|
"namespace": "parsing"
|
|
},
|
|
{
|
|
"key": "card",
|
|
"value": "haptic",
|
|
"namespace": "calculating"
|
|
},
|
|
{
|
|
"key": "card",
|
|
"value": "neural",
|
|
"namespace": "generating"
|
|
},
|
|
{
|
|
"key": "monitor",
|
|
"value": "back-end",
|
|
"namespace": "generating"
|
|
}
|
|
],
|
|
"os_major_version": 8,
|
|
"os_minor_version": 0,
|
|
"compliant": false,
|
|
"system_id": "e1fcd0d1-cffb-4579-b161-c52e0baa92f7",
|
|
"security_guide_version": "100.101.20"
|
|
},
|
|
{
|
|
"id": "e86f077a-c9db-4a90-8cb2-7ef347fa2ce4",
|
|
"end_time": "2024-09-26T14:59:42.524Z",
|
|
"failed_rule_count": 0,
|
|
"supported": true,
|
|
"score": 17.92881083274495,
|
|
"type": "test_result",
|
|
"display_name": "cartwright-watsica.test",
|
|
"groups": [],
|
|
"tags": [
|
|
{
|
|
"key": "bandwidth",
|
|
"value": "back-end",
|
|
"namespace": "generating"
|
|
},
|
|
{
|
|
"key": "application",
|
|
"value": "1080p",
|
|
"namespace": "calculating"
|
|
},
|
|
{
|
|
"key": "port",
|
|
"value": "1080p",
|
|
"namespace": "programming"
|
|
},
|
|
{
|
|
"key": "capacitor",
|
|
"value": "virtual",
|
|
"namespace": "synthesizing"
|
|
},
|
|
{
|
|
"key": "transmitter",
|
|
"value": "virtual",
|
|
"namespace": "transmitting"
|
|
}
|
|
],
|
|
"os_major_version": 8,
|
|
"os_minor_version": 0,
|
|
"compliant": false,
|
|
"system_id": "c9eee02f-9d44-4555-a87e-fb55f1dff166",
|
|
"security_guide_version": "100.101.20"
|
|
},
|
|
{
|
|
"id": "708e767e-0baa-459b-993f-ab38d4f73861",
|
|
"end_time": "2024-09-26T14:59:42.398Z",
|
|
"failed_rule_count": 0,
|
|
"supported": true,
|
|
"score": 24.27652911571515,
|
|
"type": "test_result",
|
|
"display_name": "okon.example",
|
|
"groups": [],
|
|
"tags": [
|
|
{
|
|
"key": "panel",
|
|
"value": "1080p",
|
|
"namespace": "overriding"
|
|
},
|
|
{
|
|
"key": "microchip",
|
|
"value": "neural",
|
|
"namespace": "generating"
|
|
},
|
|
{
|
|
"key": "driver",
|
|
"value": "virtual",
|
|
"namespace": "backing up"
|
|
},
|
|
{
|
|
"key": "alarm",
|
|
"value": "back-end",
|
|
"namespace": "copying"
|
|
},
|
|
{
|
|
"key": "microchip",
|
|
"value": "neural",
|
|
"namespace": "copying"
|
|
}
|
|
],
|
|
"os_major_version": 8,
|
|
"os_minor_version": 0,
|
|
"compliant": false,
|
|
"system_id": "fa57db67-c41f-460c-a7aa-35c2f2203320",
|
|
"security_guide_version": "100.101.20"
|
|
},
|
|
{
|
|
"id": "cc15cc7e-8c81-4517-8c9a-55e291830288",
|
|
"end_time": "2024-09-26T14:59:42.512Z",
|
|
"failed_rule_count": 0,
|
|
"supported": true,
|
|
"score": 24.97809729275173,
|
|
"type": "test_result",
|
|
"display_name": "weissnat.example",
|
|
"groups": [],
|
|
"tags": [
|
|
{
|
|
"key": "feed",
|
|
"value": "solid state",
|
|
"namespace": "programming"
|
|
},
|
|
{
|
|
"key": "panel",
|
|
"value": "virtual",
|
|
"namespace": "transmitting"
|
|
},
|
|
{
|
|
"key": "protocol",
|
|
"value": "online",
|
|
"namespace": "parsing"
|
|
},
|
|
{
|
|
"key": "protocol",
|
|
"value": "1080p",
|
|
"namespace": "generating"
|
|
},
|
|
{
|
|
"key": "driver",
|
|
"value": "online",
|
|
"namespace": "synthesizing"
|
|
}
|
|
],
|
|
"os_major_version": 8,
|
|
"os_minor_version": 0,
|
|
"compliant": false,
|
|
"system_id": "af2e58ed-eb97-41b5-b078-cff7068b8ffc",
|
|
"security_guide_version": "100.101.20"
|
|
},
|
|
{
|
|
"id": "a3a70ac5-f7b9-4f2f-9478-69c4829722db",
|
|
"end_time": "2024-09-26T14:59:42.577Z",
|
|
"failed_rule_count": 0,
|
|
"supported": true,
|
|
"score": 26.17138089252588,
|
|
"type": "test_result",
|
|
"display_name": "bergstrom-hagenes.test",
|
|
"groups": [],
|
|
"tags": [
|
|
{
|
|
"key": "card",
|
|
"value": "multi-byte",
|
|
"namespace": "hacking"
|
|
},
|
|
{
|
|
"key": "driver",
|
|
"value": "back-end",
|
|
"namespace": "calculating"
|
|
},
|
|
{
|
|
"key": "pixel",
|
|
"value": "multi-byte",
|
|
"namespace": "navigating"
|
|
},
|
|
{
|
|
"key": "array",
|
|
"value": "optical",
|
|
"namespace": "connecting"
|
|
},
|
|
{
|
|
"key": "interface",
|
|
"value": "optical",
|
|
"namespace": "quantifying"
|
|
}
|
|
],
|
|
"os_major_version": 8,
|
|
"os_minor_version": 0,
|
|
"compliant": false,
|
|
"system_id": "1d79ebbf-a8f1-4fc2-a64e-92a631ccb6db",
|
|
"security_guide_version": "100.101.20"
|
|
},
|
|
{
|
|
"id": "392e8c54-f28a-4fbb-9c10-e73cfb68b23c",
|
|
"end_time": "2024-09-26T14:59:42.618Z",
|
|
"failed_rule_count": 0,
|
|
"supported": true,
|
|
"score": 27.90603982103225,
|
|
"type": "test_result",
|
|
"display_name": "weimann-ondricka.example",
|
|
"groups": [],
|
|
"tags": [
|
|
{
|
|
"key": "panel",
|
|
"value": "1080p",
|
|
"namespace": "synthesizing"
|
|
},
|
|
{
|
|
"key": "matrix",
|
|
"value": "redundant",
|
|
"namespace": "quantifying"
|
|
},
|
|
{
|
|
"key": "monitor",
|
|
"value": "wireless",
|
|
"namespace": "generating"
|
|
},
|
|
{
|
|
"key": "system",
|
|
"value": "digital",
|
|
"namespace": "programming"
|
|
},
|
|
{
|
|
"key": "program",
|
|
"value": "mobile",
|
|
"namespace": "synthesizing"
|
|
}
|
|
],
|
|
"os_major_version": 8,
|
|
"os_minor_version": 0,
|
|
"compliant": false,
|
|
"system_id": "1d6ac37c-ef06-4734-922b-acf0f9f2a8fb",
|
|
"security_guide_version": "100.101.20"
|
|
},
|
|
{
|
|
"id": "4b5d2e8e-d8d2-42f0-89c0-ffbdbecd2424",
|
|
"end_time": "2024-09-26T14:59:42.464Z",
|
|
"failed_rule_count": 0,
|
|
"supported": true,
|
|
"score": 28.57712159597632,
|
|
"type": "test_result",
|
|
"display_name": "jast.test",
|
|
"groups": [],
|
|
"tags": [
|
|
{
|
|
"key": "alarm",
|
|
"value": "bluetooth",
|
|
"namespace": "backing up"
|
|
},
|
|
{
|
|
"key": "program",
|
|
"value": "redundant",
|
|
"namespace": "connecting"
|
|
},
|
|
{
|
|
"key": "pixel",
|
|
"value": "primary",
|
|
"namespace": "transmitting"
|
|
},
|
|
{
|
|
"key": "interface",
|
|
"value": "cross-platform",
|
|
"namespace": "quantifying"
|
|
},
|
|
{
|
|
"key": "hard drive",
|
|
"value": "optical",
|
|
"namespace": "indexing"
|
|
}
|
|
],
|
|
"os_major_version": 8,
|
|
"os_minor_version": 0,
|
|
"compliant": false,
|
|
"system_id": "3b2f8003-2050-4bb3-83c7-714d95d6e7d5",
|
|
"security_guide_version": "100.101.20"
|
|
}
|
|
],
|
|
"meta": {
|
|
"total": 25,
|
|
"limit": 10,
|
|
"offset": 0,
|
|
"sort_by": "score"
|
|
},
|
|
"links": {
|
|
"first": "/api/compliance/v2/reports/8f7de963-aad7-43bf-85f9-c75f407e2fa3/test_results?limit=10&offset=0&sort_by=score",
|
|
"last": "/api/compliance/v2/reports/8f7de963-aad7-43bf-85f9-c75f407e2fa3/test_results?limit=10&offset=20&sort_by=score",
|
|
"next": "/api/compliance/v2/reports/8f7de963-aad7-43bf-85f9-c75f407e2fa3/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/d368679d-b6d2-49eb-bd48-e473c807641c/test_results?filter=%28os_minor_version%3D8%29&limit=10&offset=0",
|
|
"last": "/api/compliance/v2/reports/d368679d-b6d2-49eb-bd48-e473c807641c/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": "9ddffbce-07c9-4b19-914d-a72d42d3134d",
|
|
"end_time": "2024-09-26T14:59:45.831Z",
|
|
"failed_rule_count": 0,
|
|
"supported": true,
|
|
"score": 5.610192037281614,
|
|
"type": "test_result",
|
|
"display_name": "romaguera.example",
|
|
"groups": [],
|
|
"tags": [
|
|
{
|
|
"key": "array",
|
|
"value": "back-end",
|
|
"namespace": "parsing"
|
|
},
|
|
{
|
|
"key": "alarm",
|
|
"value": "multi-byte",
|
|
"namespace": "compressing"
|
|
},
|
|
{
|
|
"key": "feed",
|
|
"value": "haptic",
|
|
"namespace": "indexing"
|
|
},
|
|
{
|
|
"key": "panel",
|
|
"value": "digital",
|
|
"namespace": "copying"
|
|
},
|
|
{
|
|
"key": "firewall",
|
|
"value": "solid state",
|
|
"namespace": "hacking"
|
|
}
|
|
],
|
|
"os_major_version": 8,
|
|
"os_minor_version": 0,
|
|
"compliant": false,
|
|
"system_id": "6fe946c2-a08e-43f5-9846-d73efb94df92",
|
|
"security_guide_version": "100.107.36"
|
|
}
|
|
},
|
|
"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 60db0d14-48c0-4d60-b23b-853f1fee68c9"
|
|
]
|
|
},
|
|
"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": "0ae5f07f-aa70-45fd-89c2-02bf28cf348f",
|
|
"ref_id": "foo_value_a3da3980-f709-487b-9475-06239981e798",
|
|
"title": "Provident quis asperiores inventore.",
|
|
"description": "Eaque cupiditate iure. Culpa molestias autem. Sit esse sint.",
|
|
"value_type": "number",
|
|
"default_value": "0.7116054684631561",
|
|
"type": "value_definition"
|
|
},
|
|
{
|
|
"id": "17ba97e9-6606-48cd-bfc6-b404fed95634",
|
|
"ref_id": "foo_value_e0ad6697-5e16-46bf-88a5-8aec86bc980d",
|
|
"title": "Quo accusamus aliquam doloremque.",
|
|
"description": "Aut quo aspernatur. Sapiente quas magnam. Autem odio non.",
|
|
"value_type": "number",
|
|
"default_value": "0.048119050834456445",
|
|
"type": "value_definition"
|
|
},
|
|
{
|
|
"id": "1a198b1b-df30-47c5-bbc3-b12a04807329",
|
|
"ref_id": "foo_value_b0411e84-6a21-4c81-9de6-d106bd7453b6",
|
|
"title": "Aut odit consequatur ea.",
|
|
"description": "Omnis voluptas exercitationem. Odio animi harum. Et suscipit minima.",
|
|
"value_type": "number",
|
|
"default_value": "0.4423476736057256",
|
|
"type": "value_definition"
|
|
},
|
|
{
|
|
"id": "2a75325c-0662-41e5-a493-80646dd6a75e",
|
|
"ref_id": "foo_value_5d80cf01-d57a-4e14-a7f9-875530259fd3",
|
|
"title": "Provident animi blanditiis dolor.",
|
|
"description": "Commodi voluptas asperiores. Inventore molestias provident. Qui id ad.",
|
|
"value_type": "number",
|
|
"default_value": "0.8769513093375716",
|
|
"type": "value_definition"
|
|
},
|
|
{
|
|
"id": "421d2463-3a19-41f9-bd0c-406ef4da2896",
|
|
"ref_id": "foo_value_ef26f3e2-f20b-48be-8bc9-b868ea81ac31",
|
|
"title": "Perspiciatis porro earum eligendi.",
|
|
"description": "Explicabo quod fugit. Voluptates aspernatur autem. Doloribus commodi mollitia.",
|
|
"value_type": "number",
|
|
"default_value": "0.7150502594980165",
|
|
"type": "value_definition"
|
|
},
|
|
{
|
|
"id": "4ed75998-2b3f-4fd7-902f-be344b416680",
|
|
"ref_id": "foo_value_61616b6c-cc60-450a-a06b-9e6dac9f4d8f",
|
|
"title": "Quasi laboriosam blanditiis sed.",
|
|
"description": "Natus odio et. Qui rerum numquam. Quod incidunt minus.",
|
|
"value_type": "number",
|
|
"default_value": "0.7957894613351393",
|
|
"type": "value_definition"
|
|
},
|
|
{
|
|
"id": "56462163-a5f9-4eb8-baae-28ae15165386",
|
|
"ref_id": "foo_value_0da29ec1-8119-48f7-a4de-1d2399118c64",
|
|
"title": "Occaecati consequuntur libero explicabo.",
|
|
"description": "Tempore ut sunt. Minus quos qui. Perspiciatis debitis qui.",
|
|
"value_type": "number",
|
|
"default_value": "0.6076497865438014",
|
|
"type": "value_definition"
|
|
},
|
|
{
|
|
"id": "57b9dd3d-caf3-4cd0-9511-3093df21e03a",
|
|
"ref_id": "foo_value_a3cb2c6f-99f8-46bb-b877-1aba11a7db9e",
|
|
"title": "Ea impedit error deserunt.",
|
|
"description": "Natus suscipit veniam. Eum explicabo qui. Veniam necessitatibus qui.",
|
|
"value_type": "number",
|
|
"default_value": "0.9954197031393313",
|
|
"type": "value_definition"
|
|
},
|
|
{
|
|
"id": "604cab42-e836-4167-96b4-7a392740a364",
|
|
"ref_id": "foo_value_769377a7-e0e2-4b9a-be51-99214269cb1b",
|
|
"title": "Sed ut vel voluptas.",
|
|
"description": "Qui ab sit. Et maxime autem. Sunt sapiente culpa.",
|
|
"value_type": "number",
|
|
"default_value": "0.9323126759614869",
|
|
"type": "value_definition"
|
|
},
|
|
{
|
|
"id": "652f47ab-ff04-415a-80f6-972bd4083d2a",
|
|
"ref_id": "foo_value_4f769584-0641-404f-a396-dff43739d753",
|
|
"title": "Libero temporibus modi voluptatem.",
|
|
"description": "Similique sed minus. Et nemo quidem. Delectus et impedit.",
|
|
"value_type": "number",
|
|
"default_value": "0.5006720003596721",
|
|
"type": "value_definition"
|
|
}
|
|
],
|
|
"meta": {
|
|
"total": 25,
|
|
"limit": 10,
|
|
"offset": 0
|
|
},
|
|
"links": {
|
|
"first": "/api/compliance/v2/security_guides/2173b4dd-2bdc-4e11-a291-25f07b969a3b/value_definitions?limit=10&offset=0",
|
|
"last": "/api/compliance/v2/security_guides/2173b4dd-2bdc-4e11-a291-25f07b969a3b/value_definitions?limit=10&offset=20",
|
|
"next": "/api/compliance/v2/security_guides/2173b4dd-2bdc-4e11-a291-25f07b969a3b/value_definitions?limit=10&offset=10"
|
|
}
|
|
},
|
|
"summary": "",
|
|
"description": ""
|
|
},
|
|
"List of Value Definitions sorted by \"title:asc\"": {
|
|
"value": {
|
|
"data": [
|
|
{
|
|
"id": "35a5ff0b-f289-4b1d-9881-b38fd3ef7012",
|
|
"ref_id": "foo_value_355ce445-a3a4-4266-a00b-229d388e678a",
|
|
"title": "Aut facilis blanditiis non.",
|
|
"description": "Eos ut amet. Accusamus voluptates placeat. Ea eius ut.",
|
|
"value_type": "number",
|
|
"default_value": "0.4397324578460001",
|
|
"type": "value_definition"
|
|
},
|
|
{
|
|
"id": "c7fc75e7-c636-414a-9cb1-10be68e2358c",
|
|
"ref_id": "foo_value_5807ec33-e379-4b2e-bc87-6a3a7668ff83",
|
|
"title": "Aut sit iste ex.",
|
|
"description": "Non et repellendus. In quis maxime. Officiis ut fugiat.",
|
|
"value_type": "number",
|
|
"default_value": "0.4193370869132086",
|
|
"type": "value_definition"
|
|
},
|
|
{
|
|
"id": "3dbe3a0c-ce8e-432c-bcaa-70466b59f3cc",
|
|
"ref_id": "foo_value_4d245b18-c563-47ff-9ed7-39a218e25808",
|
|
"title": "Cumque voluptas eos dolore.",
|
|
"description": "Unde soluta reiciendis. Dolorem eius laborum. Odio quam non.",
|
|
"value_type": "number",
|
|
"default_value": "0.0356179302548415",
|
|
"type": "value_definition"
|
|
},
|
|
{
|
|
"id": "da3474ec-647f-4f37-b611-9b33c9b53fdf",
|
|
"ref_id": "foo_value_d646149a-3aa9-4fc1-ae4c-1148ad217d8c",
|
|
"title": "Cupiditate voluptatem sed hic.",
|
|
"description": "Maiores sint similique. Earum et itaque. Porro sunt perferendis.",
|
|
"value_type": "number",
|
|
"default_value": "0.5295401593150946",
|
|
"type": "value_definition"
|
|
},
|
|
{
|
|
"id": "fcf2a2a4-b903-470d-ba8e-c95a0d16cfc0",
|
|
"ref_id": "foo_value_b25528cb-1999-47aa-bd0b-3f905f581169",
|
|
"title": "Est et earum maiores.",
|
|
"description": "Numquam non deserunt. Commodi sed veritatis. Accusantium voluptatem qui.",
|
|
"value_type": "number",
|
|
"default_value": "0.06957910092499353",
|
|
"type": "value_definition"
|
|
},
|
|
{
|
|
"id": "a9feaaba-38a2-499d-9249-390e8a76e372",
|
|
"ref_id": "foo_value_e56ff461-8015-4053-8e7b-d416b03b0700",
|
|
"title": "Et qui quasi magni.",
|
|
"description": "Aut consequatur nihil. Qui repellendus nisi. Praesentium accusamus explicabo.",
|
|
"value_type": "number",
|
|
"default_value": "0.7355952145116341",
|
|
"type": "value_definition"
|
|
},
|
|
{
|
|
"id": "171b5920-de71-487d-a153-1352955b46f5",
|
|
"ref_id": "foo_value_3ba504f5-7f65-4de4-a852-ba1de96c81f8",
|
|
"title": "Fugiat blanditiis saepe maiores.",
|
|
"description": "Praesentium quos aut. Et dicta dolorum. Vel est numquam.",
|
|
"value_type": "number",
|
|
"default_value": "0.42323979907334597",
|
|
"type": "value_definition"
|
|
},
|
|
{
|
|
"id": "484c6588-b5b4-4fa7-bbc0-635ed6ee2f95",
|
|
"ref_id": "foo_value_e01cc202-ff25-4508-bc1d-ab40f734b5bd",
|
|
"title": "Illo provident aut id.",
|
|
"description": "Iusto et quidem. Sit nulla ut. Et saepe voluptatem.",
|
|
"value_type": "number",
|
|
"default_value": "0.8543274029515779",
|
|
"type": "value_definition"
|
|
},
|
|
{
|
|
"id": "bfc3b2cc-a71b-446c-9874-9c3c305a05ba",
|
|
"ref_id": "foo_value_8da0c9ab-2306-4b6c-9b41-ec989991cc43",
|
|
"title": "In qui et enim.",
|
|
"description": "Qui tempora voluptatibus. Nesciunt ea ea. Odit dolorum voluptas.",
|
|
"value_type": "number",
|
|
"default_value": "0.9523314374442678",
|
|
"type": "value_definition"
|
|
},
|
|
{
|
|
"id": "3e7ddcd0-8478-41c5-9a88-01f0e8c9b2e8",
|
|
"ref_id": "foo_value_3465a61b-c80c-418a-9fe0-9f6c764ca04c",
|
|
"title": "Iusto molestiae eius porro.",
|
|
"description": "Nulla et dicta. Consequatur qui rerum. Vitae voluptatem ratione.",
|
|
"value_type": "number",
|
|
"default_value": "0.14876871320205043",
|
|
"type": "value_definition"
|
|
}
|
|
],
|
|
"meta": {
|
|
"total": 25,
|
|
"limit": 10,
|
|
"offset": 0,
|
|
"sort_by": "title"
|
|
},
|
|
"links": {
|
|
"first": "/api/compliance/v2/security_guides/d1c48051-93e9-4c41-ac6b-1b0eebf83f28/value_definitions?limit=10&offset=0&sort_by=title",
|
|
"last": "/api/compliance/v2/security_guides/d1c48051-93e9-4c41-ac6b-1b0eebf83f28/value_definitions?limit=10&offset=20&sort_by=title",
|
|
"next": "/api/compliance/v2/security_guides/d1c48051-93e9-4c41-ac6b-1b0eebf83f28/value_definitions?limit=10&offset=10&sort_by=title"
|
|
}
|
|
},
|
|
"summary": "",
|
|
"description": ""
|
|
},
|
|
"List of Value Definitions filtered by '(title=Sapiente perspiciatis illo ut.)'": {
|
|
"value": {
|
|
"data": [
|
|
{
|
|
"id": "0c1c220f-b8ac-47d6-9d92-3d477d02f0d7",
|
|
"ref_id": "foo_value_9751c6d0-a601-4867-b30a-f0af089c7657",
|
|
"title": "Sapiente perspiciatis illo ut.",
|
|
"description": "Omnis rerum ea. Illo veritatis aspernatur. Dolore omnis odio.",
|
|
"value_type": "number",
|
|
"default_value": "0.5493687618820295",
|
|
"type": "value_definition"
|
|
}
|
|
],
|
|
"meta": {
|
|
"total": 1,
|
|
"filter": "(title=\"Sapiente perspiciatis illo ut.\")",
|
|
"limit": 10,
|
|
"offset": 0
|
|
},
|
|
"links": {
|
|
"first": "/api/compliance/v2/security_guides/64596b16-3650-468e-b850-9d324d5c4bbc/value_definitions?filter=%28title%3D%22Sapiente+perspiciatis+illo+ut.%22%29&limit=10&offset=0",
|
|
"last": "/api/compliance/v2/security_guides/64596b16-3650-468e-b850-9d324d5c4bbc/value_definitions?filter=%28title%3D%22Sapiente+perspiciatis+illo+ut.%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": "d255e01a-d7d7-404f-b092-048bb9f31330",
|
|
"ref_id": "foo_value_e7103831-e8af-4b4b-be14-b1336602513c",
|
|
"title": "Omnis velit et dolor.",
|
|
"description": "Sed deleniti quod. Reiciendis beatae nulla. Omnis repellendus perferendis.",
|
|
"value_type": "number",
|
|
"default_value": "0.7946787813385742",
|
|
"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 6f9f923b-7a07-4ecd-8488-c26c3be09c26"
|
|
]
|
|
},
|
|
"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"
|
|
},
|
|
"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"
|
|
},
|
|
"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": [
|
|
{
|
|
"518f52c4-9efe-4e83-8fbd-3d840265fe50": "foo",
|
|
"40dd588b-96bc-4180-a2ee-896f9a29116c": "123",
|
|
"f2fb4984-860f-4f53-84f9-d48f0381290c": "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"
|
|
},
|
|
"end_time": {
|
|
"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"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
} |