{ "openapi": "3.1.0", "info": { "title": "Cloud Services for RHEL Compliance API v2", "version": "v2", "description": "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 (`:asc` or `:desc`).

If no direction is selected, `: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 scoped_search query language. However, only `=` or `!=` (resp. `<>`) operators are supported.

Policies are searchable using attributes `title`, `os_major_version`, and `os_minor_version`

(e.g.: `(field_1=something AND field_2!=\"something else\") OR field_3>40`)", "schema": { "type": "string" } } ], "tags": [ "Policies" ], "description": "Retrieve the list of policies that have been created to test the compliance of your registered systems.", "operationId": "Policies", "responses": { "200": { "description": "Lists Policies", "content": { "application/vnd.api+json": { "examples": { "List of Policies": { "value": { "data": [ { "id": "0926253f-f9f5-453e-8b80-ae0a38515cc7", "title": "Vero assumenda error quo.", "description": "Et eos blanditiis. Repellat ullam error. Provident qui quos.", "business_objective": null, "compliance_threshold": 47.0, "total_system_count": 0, "type": "policy", "os_major_version": 7, "profile_title": "Repellat rerum magnam qui.", "ref_id": "xccdf_org.ssgproject.content_profile_d7cf760b9eecd58c74751603393fc2f4" }, { "id": "0e6963b8-8af0-4fdc-a2fc-bff28bd2ef09", "title": "Alias omnis dignissimos vel.", "description": "Dicta nesciunt aut. Cumque magni excepturi. Necessitatibus ad omnis.", "business_objective": null, "compliance_threshold": 21.0, "total_system_count": 0, "type": "policy", "os_major_version": 7, "profile_title": "Cumque sed iure vitae.", "ref_id": "xccdf_org.ssgproject.content_profile_05cb43b11b8826002a297a7ab5531633" }, { "id": "15ca7ac6-f2bb-4d35-af77-1ceedb16af3b", "title": "A doloribus dolor modi.", "description": "Consequuntur velit et. Consectetur fugit in. Est non at.", "business_objective": null, "compliance_threshold": 76.0, "total_system_count": 0, "type": "policy", "os_major_version": 7, "profile_title": "Quibusdam eveniet sit ut.", "ref_id": "xccdf_org.ssgproject.content_profile_78790567c2aa85950858b6c8bad3079c" }, { "id": "1f9bd602-b0de-47f2-83f7-db5a6ccc3ff1", "title": "Accusamus adipisci debitis sint.", "description": "Eveniet aut culpa. Architecto facilis quidem. Voluptatem et sunt.", "business_objective": null, "compliance_threshold": 34.0, "total_system_count": 0, "type": "policy", "os_major_version": 7, "profile_title": "Velit qui velit id.", "ref_id": "xccdf_org.ssgproject.content_profile_974e689ef1b4e08aaa958cb8f1009254" }, { "id": "249ab3d7-d2d8-4cca-9a94-277cb3fdb612", "title": "Quia ut occaecati accusantium.", "description": "Laboriosam natus magnam. Non sit maxime. Rerum voluptatem iure.", "business_objective": null, "compliance_threshold": 79.0, "total_system_count": 0, "type": "policy", "os_major_version": 7, "profile_title": "Nostrum praesentium et nobis.", "ref_id": "xccdf_org.ssgproject.content_profile_72d708b1a4c7902bfd67641dbbf76776" }, { "id": "2744c447-111b-42ad-96e5-85e0590a5a32", "title": "Enim ducimus est voluptas.", "description": "Ullam nam facere. Itaque aut et. Voluptatem eius repellat.", "business_objective": null, "compliance_threshold": 79.0, "total_system_count": 0, "type": "policy", "os_major_version": 7, "profile_title": "Alias suscipit pariatur distinctio.", "ref_id": "xccdf_org.ssgproject.content_profile_064b40ccf9aeac311a2738e3a7fc4155" }, { "id": "2e0933d6-969c-457a-9726-0f58367ad6b2", "title": "Deserunt dolores quos ipsum.", "description": "Aperiam molestiae aut. Libero et consectetur. Vitae commodi blanditiis.", "business_objective": null, "compliance_threshold": 98.0, "total_system_count": 0, "type": "policy", "os_major_version": 7, "profile_title": "Ut voluptatem aut eligendi.", "ref_id": "xccdf_org.ssgproject.content_profile_009193b5c204ef63d30c1fbe54ffa672" }, { "id": "3c02beca-de17-4e41-ac1e-ca4438869507", "title": "Possimus nulla necessitatibus facilis.", "description": "Porro voluptates laudantium. Aut molestiae vel. Expedita sit esse.", "business_objective": null, "compliance_threshold": 69.0, "total_system_count": 0, "type": "policy", "os_major_version": 7, "profile_title": "Aliquam rem quae tempora.", "ref_id": "xccdf_org.ssgproject.content_profile_d5ae0d259bb58156ff07332e8bfd6910" }, { "id": "405d017d-ef8a-4ae5-beeb-952cc17840fd", "title": "Non est aliquid consectetur.", "description": "Minus enim consectetur. Libero adipisci illum. Velit ipsa eos.", "business_objective": null, "compliance_threshold": 85.0, "total_system_count": 0, "type": "policy", "os_major_version": 7, "profile_title": "Nostrum sed ut non.", "ref_id": "xccdf_org.ssgproject.content_profile_be30c6268a013b7f97644451678f19c0" }, { "id": "42303347-a068-4f71-aa08-d9f56ad606aa", "title": "Fugit sit reprehenderit dolor.", "description": "Est excepturi fuga. Adipisci iure officia. Ratione quisquam in.", "business_objective": null, "compliance_threshold": 42.0, "total_system_count": 0, "type": "policy", "os_major_version": 7, "profile_title": "Non in doloribus perspiciatis.", "ref_id": "xccdf_org.ssgproject.content_profile_1b3527aaf143412deaa2b5d23f61f4cc" } ], "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": "07a7672c-7781-4f75-80f9-fbe943beb1e3", "title": "Nihil voluptate sint vel.", "description": "Perferendis sit sint. Magnam libero et. Aut cumque et.", "business_objective": null, "compliance_threshold": 31.0, "total_system_count": 0, "type": "policy", "os_major_version": 7, "profile_title": "Ea quos ipsa molestias.", "ref_id": "xccdf_org.ssgproject.content_profile_859f90f1aee25718d7c7d21b7ac7b072" }, { "id": "10ce2785-9da4-41f9-af03-e12417ad53ed", "title": "Nesciunt impedit recusandae sapiente.", "description": "Harum dolor quia. Praesentium fugit non. Nihil pariatur molestiae.", "business_objective": null, "compliance_threshold": 93.0, "total_system_count": 0, "type": "policy", "os_major_version": 7, "profile_title": "Fuga ut atque sit.", "ref_id": "xccdf_org.ssgproject.content_profile_a9ab1b5105ae2d62c66363d6d9f42c42" }, { "id": "12cfe39d-de71-446f-b480-ad4de580ba22", "title": "Et omnis magni necessitatibus.", "description": "Vero eos dolores. Dolore eos aut. Est aut et.", "business_objective": null, "compliance_threshold": 15.0, "total_system_count": 0, "type": "policy", "os_major_version": 7, "profile_title": "A reprehenderit consequatur omnis.", "ref_id": "xccdf_org.ssgproject.content_profile_c1c6ce49152b8fc0990bb1ff9bba4755" }, { "id": "28e1f990-a103-4200-91ca-18b901fb2bdb", "title": "Dignissimos consectetur amet est.", "description": "Iusto illo doloremque. Quibusdam libero et. Qui aut et.", "business_objective": null, "compliance_threshold": 17.0, "total_system_count": 0, "type": "policy", "os_major_version": 7, "profile_title": "Sit eius repellat architecto.", "ref_id": "xccdf_org.ssgproject.content_profile_8e051b0dccbaae93a56e82d3c3c475fb" }, { "id": "2a6db940-67b9-42d7-a5cf-f7502cd2d322", "title": "Alias eos quod vel.", "description": "Suscipit inventore vel. Illo maiores iure. Ipsum natus omnis.", "business_objective": null, "compliance_threshold": 14.0, "total_system_count": 0, "type": "policy", "os_major_version": 7, "profile_title": "Ipsa dolore et nemo.", "ref_id": "xccdf_org.ssgproject.content_profile_3bb4b3c9f5ece311a9dde17f828be6d3" }, { "id": "2a7cf41c-4c63-49f2-97f6-88cb25b71579", "title": "Quo vero qui deleniti.", "description": "Ipsa distinctio doloremque. Eaque labore iste. Modi necessitatibus aliquam.", "business_objective": null, "compliance_threshold": 29.0, "total_system_count": 0, "type": "policy", "os_major_version": 7, "profile_title": "Consequuntur est distinctio rerum.", "ref_id": "xccdf_org.ssgproject.content_profile_6f320a46ea8322231752a6eecc1a3c0d" }, { "id": "30b513de-fe85-48b5-b536-ae370fa9a87b", "title": "Tempora omnis reiciendis qui.", "description": "Numquam necessitatibus excepturi. Quos voluptatem suscipit. Minima eius quia.", "business_objective": null, "compliance_threshold": 3.0, "total_system_count": 0, "type": "policy", "os_major_version": 7, "profile_title": "Qui perferendis fugit autem.", "ref_id": "xccdf_org.ssgproject.content_profile_ec563cd0af91d2d868831468f5984e6c" }, { "id": "3722b949-669e-42a6-bbb3-3d6ba592c838", "title": "Quaerat occaecati fuga inventore.", "description": "Quas modi qui. Velit sed aut. Fugit cupiditate earum.", "business_objective": null, "compliance_threshold": 26.0, "total_system_count": 0, "type": "policy", "os_major_version": 7, "profile_title": "Ad sed est incidunt.", "ref_id": "xccdf_org.ssgproject.content_profile_0aaf85bb7b03868a3e2e76205370e412" }, { "id": "3cbd8a94-b914-4d39-92fb-ecaa5428d3bb", "title": "Quia minima veritatis et.", "description": "Tenetur et quo. Cum quo vitae. Et labore fugit.", "business_objective": null, "compliance_threshold": 81.0, "total_system_count": 0, "type": "policy", "os_major_version": 7, "profile_title": "Et voluptate ea eligendi.", "ref_id": "xccdf_org.ssgproject.content_profile_bddb249fcdc5ed74d02ef1c14e4534f2" }, { "id": "4492f30a-3c90-43cf-a0b5-a0cdbb3b6e46", "title": "Eveniet aut sit est.", "description": "Provident ad et. Aspernatur distinctio consequatur. Est natus facere.", "business_objective": null, "compliance_threshold": 36.0, "total_system_count": 0, "type": "policy", "os_major_version": 7, "profile_title": "Sed assumenda sint cumque.", "ref_id": "xccdf_org.ssgproject.content_profile_7ff3f5388b64988a9b77864593c22e15" } ], "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 new security policy.", "operationId": "CreatePolicy", "responses": { "201": { "description": "Creates a Policy", "content": { "application/vnd.api+json": { "examples": { "Response example": { "value": { "data": { "id": "eeb793ec-c1c9-4263-9b5b-aecf0c12f471", "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": "Voluptate nisi et aperiam.", "ref_id": "xccdf_org.ssgproject.content_profile_a3d538d8ef6c3fb133975a8dc9aac72d" } }, "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": "Retrieve a specific policy.", "operationId": "Policy", "responses": { "200": { "description": "Returns a Policy", "content": { "application/vnd.api+json": { "examples": { "Returns a Policy": { "value": { "data": { "id": "0b3954b1-2002-49f8-b061-c4a6c405f694", "title": "Aut molestias officia veritatis.", "description": "Eveniet quo officiis. Non tempora praesentium. Quod recusandae qui.", "business_objective": null, "compliance_threshold": 72.0, "total_system_count": 0, "type": "policy", "os_major_version": 7, "profile_title": "Reiciendis nam suscipit magni.", "ref_id": "xccdf_org.ssgproject.content_profile_25a2e6da9e549aa668ad9d541ff9e1b0" } }, "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 e712e3b7-52cb-401e-a7ad-0192806652ab" ] }, "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": "Edit or update an existing policy.", "operationId": "UpdatePolicy", "responses": { "202": { "description": "Updates a Policy", "content": { "application/vnd.api+json": { "examples": { "Returns the updated Policy": { "value": { "data": { "id": "d93e8af4-177b-47fd-bda3-86c0da40609a", "title": "Odio ea consequatur aliquam.", "description": "Et aut facere. Et ut temporibus. Provident harum odit.", "business_objective": null, "compliance_threshold": 100.0, "total_system_count": 0, "type": "policy", "os_major_version": 7, "profile_title": "Praesentium esse facere accusamus.", "ref_id": "xccdf_org.ssgproject.content_profile_6330eb3959ac56a5ed0075e583834632" } }, "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": "Delete a specific policy.", "operationId": "DeletePolicy", "responses": { "202": { "description": "Deletes a Policy", "content": { "application/vnd.api+json": { "examples": { "Deletes a Policy": { "value": { "data": { "id": "d7c2649d-4808-40d7-bf37-4e6c57256e56", "title": "Ab et corporis minus.", "description": "Eos asperiores illo. Qui consectetur quibusdam. Earum iste dolor.", "business_objective": null, "compliance_threshold": 57.0, "total_system_count": 0, "type": "policy", "os_major_version": 7, "profile_title": "Quidem iste facere incidunt.", "ref_id": "xccdf_org.ssgproject.content_profile_2b94b9424c04119718f6f9adfac98b8d" } }, "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 (`:asc` or `:desc`).

If no direction is selected, `: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 scoped_search query language. However, only `=` or `!=` (resp. `<>`) operators are supported.

Policies are searchable using attributes `title` and `os_minor_version`

(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": "List all policies assigned to a single system.", "operationId": "SystemsPolicies", "responses": { "200": { "description": "Lists Policies", "content": { "application/vnd.api+json": { "examples": { "List of Policies under a System": { "value": { "data": [ { "id": "0639612b-1f8c-4396-889f-18197406450c", "title": "Aliquam qui ut amet.", "description": "Pariatur laudantium eligendi. Molestiae voluptas quia. Deserunt facere perferendis.", "business_objective": null, "compliance_threshold": 78.0, "total_system_count": 1, "type": "policy", "os_major_version": 7, "profile_title": "Alias at optio est.", "ref_id": "xccdf_org.ssgproject.content_profile_48de53c4305ab431e108f51e505d33c8" }, { "id": "17d9914b-c3dd-458c-9d4c-3971a6e1fe4e", "title": "Ipsam tempora repudiandae dolorem.", "description": "Nemo ut hic. Et asperiores sequi. Et sit eos.", "business_objective": null, "compliance_threshold": 23.0, "total_system_count": 1, "type": "policy", "os_major_version": 7, "profile_title": "Est voluptas iusto eos.", "ref_id": "xccdf_org.ssgproject.content_profile_8c5df7b2c3d9442d6b06883ff2d29644" }, { "id": "1ddc4560-c490-4fd0-b955-c28031c8910b", "title": "Et ut eaque soluta.", "description": "Hic tenetur eos. Iste similique eligendi. Non dolorem rerum.", "business_objective": null, "compliance_threshold": 16.0, "total_system_count": 1, "type": "policy", "os_major_version": 7, "profile_title": "Quisquam natus omnis soluta.", "ref_id": "xccdf_org.ssgproject.content_profile_ef684141e79f75e419b64193a5aec922" }, { "id": "3b9f97a2-fe58-4de2-beeb-000a92462a90", "title": "Dolores et ullam enim.", "description": "Tempora sit a. Aut omnis quis. Quos eius odio.", "business_objective": null, "compliance_threshold": 56.0, "total_system_count": 1, "type": "policy", "os_major_version": 7, "profile_title": "Fugiat ipsum distinctio aut.", "ref_id": "xccdf_org.ssgproject.content_profile_eea1751a1fb9674dff6442656a41fc3d" }, { "id": "41f5b005-ccab-4765-b7dd-2695cb11132e", "title": "Voluptatem deleniti qui et.", "description": "Voluptatem amet vel. Aut sit sequi. Dicta nobis aut.", "business_objective": null, "compliance_threshold": 53.0, "total_system_count": 1, "type": "policy", "os_major_version": 7, "profile_title": "Qui explicabo quia alias.", "ref_id": "xccdf_org.ssgproject.content_profile_f47058db30bd511d6aac9c67848869fa" }, { "id": "5c60ddc6-93ca-4ec2-9e3d-4787cd2e021e", "title": "Magni dolores quo inventore.", "description": "Repudiandae tempore molestias. Enim voluptas ipsam. Repellat unde quia.", "business_objective": null, "compliance_threshold": 13.0, "total_system_count": 1, "type": "policy", "os_major_version": 7, "profile_title": "Enim itaque ut suscipit.", "ref_id": "xccdf_org.ssgproject.content_profile_3764e8cd58e4e503c9d1b32030a1aacf" }, { "id": "764f5ce5-7b4b-4052-b520-dd475e26ab54", "title": "Ea omnis id illo.", "description": "Dolore omnis fuga. Esse fugiat accusantium. Aperiam ducimus saepe.", "business_objective": null, "compliance_threshold": 56.0, "total_system_count": 1, "type": "policy", "os_major_version": 7, "profile_title": "Non non et dolores.", "ref_id": "xccdf_org.ssgproject.content_profile_d9f3ac7b815fa6bb156902ba9ec00cb0" }, { "id": "7d404832-fa14-4df8-86f3-961b987f3680", "title": "Voluptates facere nemo debitis.", "description": "Velit aliquam ullam. Sunt aliquam quaerat. Est ex quia.", "business_objective": null, "compliance_threshold": 81.0, "total_system_count": 1, "type": "policy", "os_major_version": 7, "profile_title": "Consequatur sit tempora facilis.", "ref_id": "xccdf_org.ssgproject.content_profile_2471640c6bef4ffeaf50dad5b9f68f8d" }, { "id": "82c07876-0f80-4c09-9320-a067548574ac", "title": "Quidem eius provident aliquam.", "description": "Nemo quisquam et. Omnis dignissimos corporis. Laudantium in cum.", "business_objective": null, "compliance_threshold": 51.0, "total_system_count": 1, "type": "policy", "os_major_version": 7, "profile_title": "A eos nihil blanditiis.", "ref_id": "xccdf_org.ssgproject.content_profile_24920d73ce51d1ed1c39abc5e3d5ba88" }, { "id": "8fe764d7-0d8a-4d34-9bdb-4e52b20b473d", "title": "Voluptas ut perferendis dolorem.", "description": "Ullam aperiam nihil. Voluptate autem minus. Dolore illo ab.", "business_objective": null, "compliance_threshold": 25.0, "total_system_count": 1, "type": "policy", "os_major_version": 7, "profile_title": "Eum harum ut natus.", "ref_id": "xccdf_org.ssgproject.content_profile_d4d1ede695a82b7af1d5217314d66986" } ], "meta": { "total": 25, "limit": 10, "offset": 0 }, "links": { "first": "/api/compliance/v2/systems/88aab99e-b835-4eae-b7ec-a6071846802d/policies?limit=10&offset=0", "last": "/api/compliance/v2/systems/88aab99e-b835-4eae-b7ec-a6071846802d/policies?limit=10&offset=20", "next": "/api/compliance/v2/systems/88aab99e-b835-4eae-b7ec-a6071846802d/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 (`:asc` or `:desc`).

If no direction is selected, `: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 scoped_search query language. However, only `=` or `!=` (resp. `<>`) operators are supported.

Profiles are searchable using attributes `title` and `ref_id`

(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": "List all security guide profiles.", "operationId": "Profiles", "responses": { "200": { "description": "Lists Profiles", "content": { "application/vnd.api+json": { "examples": { "List of Profiles": { "value": { "data": [ { "id": "019c7981-81b8-403e-9e0e-859965fadea2", "ref_id": "xccdf_org.ssgproject.content_profile_e035a8d9c715f3251f10986e95164b2f", "title": "Et aut omnis aperiam.", "description": "Harum et qui. Magnam minima ipsa. Impedit vero repellendus.", "value_overrides": {}, "type": "profile" }, { "id": "0ff6ca92-068a-4125-8044-73a34c064d2a", "ref_id": "xccdf_org.ssgproject.content_profile_d01ea498b9e61b3fcafb7b188807c402", "title": "Dolorem ratione pariatur molestias.", "description": "Omnis sit quo. Ea delectus beatae. Ut quod accusantium.", "value_overrides": {}, "type": "profile" }, { "id": "12f1cbb2-715a-4d24-8be4-046a6d2fb41b", "ref_id": "xccdf_org.ssgproject.content_profile_235303c3bdba8741f9d7a9349cb032a8", "title": "Laboriosam libero ut consequatur.", "description": "Aliquid eum expedita. Quae tempore laudantium. Facere eum laborum.", "value_overrides": {}, "type": "profile" }, { "id": "17d796db-a724-4720-aef7-a1e5ec79341d", "ref_id": "xccdf_org.ssgproject.content_profile_fc2cb8ea63a44e56c0722e5f80711f23", "title": "Quo at ipsam voluptas.", "description": "Eos eius rerum. Qui nihil fugiat. Dolor qui et.", "value_overrides": {}, "type": "profile" }, { "id": "1dde70bb-1503-4df5-a639-189ccb105c18", "ref_id": "xccdf_org.ssgproject.content_profile_b059689225b805ac539c810f015ce031", "title": "Odio atque vero doloribus.", "description": "Doloribus dolorem rem. Est nemo in. Rerum aut laudantium.", "value_overrides": {}, "type": "profile" }, { "id": "20b773cd-57e1-4747-9e92-f92c0c3e57b8", "ref_id": "xccdf_org.ssgproject.content_profile_7617f6bd00da2cd441cbb31c8de1d922", "title": "Est voluptas quos iusto.", "description": "Illum harum quos. Tenetur fuga eum. Officia sit aut.", "value_overrides": {}, "type": "profile" }, { "id": "234f1a8c-6a4f-47cf-a262-4979ba9736c8", "ref_id": "xccdf_org.ssgproject.content_profile_298c4698d780bdb60e1ff142d2527fd4", "title": "Accusamus odio reprehenderit ut.", "description": "Iste et odio. Aut rerum corrupti. Harum consequatur sequi.", "value_overrides": {}, "type": "profile" }, { "id": "2ce1a3c3-d1b1-4439-a23f-0da1d4f65cff", "ref_id": "xccdf_org.ssgproject.content_profile_c0a557d05702fc59fd8b136b744bb752", "title": "Totam ipsam sint eos.", "description": "Aut id rerum. Quia ut aut. Nihil debitis voluptatem.", "value_overrides": {}, "type": "profile" }, { "id": "35b32c42-bd44-4309-aa7d-1ddfb9d585af", "ref_id": "xccdf_org.ssgproject.content_profile_4460a27fcf038367238c1f32fdbb9f49", "title": "Distinctio ratione assumenda laborum.", "description": "Ipsum praesentium earum. Delectus tempore animi. Qui adipisci sit.", "value_overrides": {}, "type": "profile" }, { "id": "470630d3-1f08-471e-9be2-27747eb3248a", "ref_id": "xccdf_org.ssgproject.content_profile_d27a1fbf7ac08ff79b15d0cfe3b2a13e", "title": "Provident totam autem voluptas.", "description": "Eum maiores ullam. Quas consequuntur vel. Omnis qui architecto.", "value_overrides": {}, "type": "profile" } ], "meta": { "total": 25, "limit": 10, "offset": 0 }, "links": { "first": "/api/compliance/v2/security_guides/17569f64-b16c-4888-969c-e4bd7e1ed385/profiles?limit=10&offset=0", "last": "/api/compliance/v2/security_guides/17569f64-b16c-4888-969c-e4bd7e1ed385/profiles?limit=10&offset=20", "next": "/api/compliance/v2/security_guides/17569f64-b16c-4888-969c-e4bd7e1ed385/profiles?limit=10&offset=10" } }, "summary": "", "description": "" }, "List of Profiles sorted by \"title:asc\"": { "value": { "data": [ { "id": "f8e66f90-0320-4eea-a4b5-94259bbca4a0", "ref_id": "xccdf_org.ssgproject.content_profile_be2fbb64f1df8064885a9e60ab768d00", "title": "Animi explicabo et ipsam.", "description": "Sunt est blanditiis. Quidem omnis atque. Iure porro explicabo.", "value_overrides": {}, "type": "profile" }, { "id": "e450d4f5-2876-48ae-b992-100a8d39bfc8", "ref_id": "xccdf_org.ssgproject.content_profile_9f4ed88a76aafb580db2fc748a730b2d", "title": "Atque iste quia beatae.", "description": "Laudantium iste totam. Fugiat repellat dolores. Officiis consequatur et.", "value_overrides": {}, "type": "profile" }, { "id": "acd2feb0-bdaa-42a3-a48b-d0773fa519a1", "ref_id": "xccdf_org.ssgproject.content_profile_71e38eca713d1f2bee6822e3837e69b7", "title": "Autem voluptatem sapiente odit.", "description": "Ea iusto et. Qui quasi laudantium. Earum deleniti sint.", "value_overrides": {}, "type": "profile" }, { "id": "09cb7439-eeb4-4886-88c8-c0acc1114345", "ref_id": "xccdf_org.ssgproject.content_profile_60c58852e1246e92bf3ab8d07d5b2c38", "title": "Cumque inventore adipisci qui.", "description": "Totam veniam vel. Sit possimus iusto. Cupiditate ut saepe.", "value_overrides": {}, "type": "profile" }, { "id": "6d8f872b-5d5a-49db-80ca-2638adf35f92", "ref_id": "xccdf_org.ssgproject.content_profile_b1d093fb6c1eb7f08ae690d3e0505e49", "title": "Debitis voluptates et quia.", "description": "Maxime perspiciatis veritatis. Non sit sequi. Velit ea aut.", "value_overrides": {}, "type": "profile" }, { "id": "16e68bc2-f256-4b09-9b6a-63a033899b09", "ref_id": "xccdf_org.ssgproject.content_profile_33d5a763e680ff65f2dd009096f1cdaa", "title": "Dicta facilis et blanditiis.", "description": "Explicabo quia voluptas. Fugit laboriosam modi. Magnam aliquid tempore.", "value_overrides": {}, "type": "profile" }, { "id": "d6beb172-48cc-44ea-bb96-089b0fd55d6b", "ref_id": "xccdf_org.ssgproject.content_profile_d8f068ce2aa7c56f902d0bb6a99adffc", "title": "Et ut similique est.", "description": "Non enim facilis. Molestias eos sequi. Rerum eos ut.", "value_overrides": {}, "type": "profile" }, { "id": "9d203dcc-b116-4121-b3ee-5ba09b193c40", "ref_id": "xccdf_org.ssgproject.content_profile_0fec2e36ea7e02c8dd9af6a7f9dcc20e", "title": "Eveniet asperiores minus consequatur.", "description": "Id provident exercitationem. Voluptates aliquam atque. Eius ut velit.", "value_overrides": {}, "type": "profile" }, { "id": "9c5ccbd5-1761-4554-b049-f732af9f222b", "ref_id": "xccdf_org.ssgproject.content_profile_ae2807717a68a1d205c5705dc3842a77", "title": "Fugit est sint fugiat.", "description": "Quibusdam et beatae. Voluptas perferendis et. Ipsa ut iure.", "value_overrides": {}, "type": "profile" }, { "id": "d4e7711c-1226-48a2-8d08-672ae2244223", "ref_id": "xccdf_org.ssgproject.content_profile_5357cd54796aa1744c75caf22bfccb43", "title": "Magni ut rerum et.", "description": "Blanditiis ut consequatur. Quibusdam ullam et. Eos cupiditate excepturi.", "value_overrides": {}, "type": "profile" } ], "meta": { "total": 25, "limit": 10, "offset": 0, "sort_by": "title" }, "links": { "first": "/api/compliance/v2/security_guides/23c476f0-2074-4a91-8c18-42700db478e1/profiles?limit=10&offset=0&sort_by=title", "last": "/api/compliance/v2/security_guides/23c476f0-2074-4a91-8c18-42700db478e1/profiles?limit=10&offset=20&sort_by=title", "next": "/api/compliance/v2/security_guides/23c476f0-2074-4a91-8c18-42700db478e1/profiles?limit=10&offset=10&sort_by=title" } }, "summary": "", "description": "" }, "List of Profiles filtered by '(title=Deleniti incidunt aspernatur ab.)'": { "value": { "data": [ { "id": "195de4fc-f982-48ec-bf54-062108b8529f", "ref_id": "xccdf_org.ssgproject.content_profile_45c54089f0553714109bf44ccc060d81", "title": "Deleniti incidunt aspernatur ab.", "description": "Mollitia possimus et. Doloremque corrupti deleniti. Voluptatibus ut assumenda.", "value_overrides": {}, "type": "profile" } ], "meta": { "total": 1, "filter": "(title=\"Deleniti incidunt aspernatur ab.\")", "limit": 10, "offset": 0 }, "links": { "first": "/api/compliance/v2/security_guides/98075212-ea21-4431-841a-b5a79f192e1e/profiles?filter=%28title%3D%22Deleniti+incidunt+aspernatur+ab.%22%29&limit=10&offset=0", "last": "/api/compliance/v2/security_guides/98075212-ea21-4431-841a-b5a79f192e1e/profiles?filter=%28title%3D%22Deleniti+incidunt+aspernatur+ab.%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": "Retrieve a specific profile.", "operationId": "Profile", "responses": { "200": { "description": "Returns a Profile", "content": { "application/vnd.api+json": { "examples": { "Returns a Profile": { "value": { "data": { "id": "edb8199c-b2eb-4d67-ae13-9ee6f9ad7eb7", "ref_id": "xccdf_org.ssgproject.content_profile_f1b83b83378431bbd572e6a8c0564021", "title": "Rerum excepturi sint temporibus.", "description": "Cum dolores cumque. Quis corrupti sit. Sed quo voluptatum.", "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 76f4d2a3-a116-4567-a02b-4e07a12ca773" ] }, "summary": "", "description": "" } }, "schema": { "$ref": "#/components/schemas/errors" } } } } } } }, "/security_guides/{security_guide_id}/profiles/{profile_id}/rule_tree": { "get": { "summary": "Request the Rule Tree of 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" } } ], "tags": [ "Content" ], "description": "Returns the Rule Tree of a Profile", "operationId": "ProfileTree", "deprecated": true, "responses": { "200": { "description": "Returns the Rule Tree of a Profile", "content": { "application/vnd.api+json": { "examples": { "Returns the Rule Tree of a Profile": { "value": [ { "id": "d3a461d5-8df3-45f3-b19a-658777bfba87", "type": "rule_group", "children": [ { "id": "ac31dece-1eee-4725-8976-fe8ac5e5096f", "type": "rule" } ] }, { "id": "2001c851-2360-4c03-bc6d-fc536e186552", "type": "rule_group", "children": [ { "id": "9db5a9c0-1ae2-44c8-a6d0-12cfcb262d0a", "type": "rule" } ] }, { "id": "397537bb-7eae-4ec7-84b6-4fb2f9e502b4", "type": "rule_group", "children": [ { "id": "0cfbbab4-f189-41f0-92ea-30d4d6b42081", "type": "rule" } ] }, { "id": "2cfc00b9-6bea-4e22-b069-5c60a2ebce6f", "type": "rule_group", "children": [ { "id": "d881964e-e7d4-4808-85cf-34c7936e74bc", "type": "rule" } ] }, { "id": "e3e675c5-80d4-45c9-a0ec-2eea38dff802", "type": "rule_group", "children": [ { "id": "3c35a66d-77ee-44fd-b3da-cc52aac1e3f1", "type": "rule" } ] }, { "id": "350e1cc7-a022-4572-82b4-723cd9f64a23", "type": "rule_group", "children": [ { "id": "95eac319-b117-4d71-9376-802c293f02bf", "type": "rule" } ] }, { "id": "b447df33-6f73-4649-a9ef-9e9630d312a8", "type": "rule_group", "children": [ { "id": "7b263340-7f65-4c78-b2e1-1ee1447322a1", "type": "rule" } ] }, { "id": "3c8d58a9-3663-48ad-9330-e5af71fa5ea2", "type": "rule_group", "children": [ { "id": "2d46af23-8496-4cf0-8687-a15582074d34", "type": "rule" } ] }, { "id": "54f070f9-adaa-4239-b70f-d4b985502575", "type": "rule_group", "children": [ { "id": "8c1ad16a-1960-40d7-a876-839ed95474ce", "type": "rule" } ] }, { "id": "1e106725-351e-421a-9f2a-ab4b9e1de687", "type": "rule_group", "children": [ { "id": "097dcc4a-375b-4a97-876d-8741b8cfb304", "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 Profile": { "value": { "errors": [ "V2::Profile not found with ID 75f9976c-cc23-4710-bc85-5fe56477b444" ] }, "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 (`:asc` or `:desc`).

If no direction is selected, `: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 scoped_search query language. However, only `=` or `!=` (resp. `<>`) operators are supported.

Reports are searchable using attributes `title`, `os_major_version`, `with_reported_systems`, and `percent_compliant`

(e.g.: `(field_1=something AND field_2!=\"something else\") OR field_3>40`)", "schema": { "type": "string" } } ], "tags": [ "Reports" ], "description": "Retrieve a list of all available reports.", "operationId": "Reports", "responses": { "200": { "description": "Lists Reports", "content": { "application/vnd.api+json": { "examples": { "List of Reports": { "value": { "data": [ { "id": "41fcef69-a3cf-41c1-92d2-0894243d23b9", "title": "Qui labore quod et.", "description": "Perspiciatis corrupti voluptatem. Enim exercitationem rem. Inventore omnis quia.", "business_objective": "system", "compliance_threshold": 90.0, "type": "report", "os_major_version": 8, "profile_title": "Nam doloribus cum eaque.", "ref_id": "xccdf_org.ssgproject.content_profile_10f9bea05bf164597d21e3a4750121b9", "all_systems_exposed": true, "percent_compliant": 25, "assigned_system_count": 4, "compliant_system_count": 1, "unsupported_system_count": 2, "reported_system_count": 4 }, { "id": "693fd31c-913f-484b-82a4-41d95032ee6e", "title": "Sit eligendi repellat neque.", "description": "Quia quisquam in. Eaque et est. Quos aut omnis.", "business_objective": "feed", "compliance_threshold": 90.0, "type": "report", "os_major_version": 8, "profile_title": "Ea dolores vel facere.", "ref_id": "xccdf_org.ssgproject.content_profile_c8242d35f3155d838cf54d319de72424", "all_systems_exposed": true, "percent_compliant": 25, "assigned_system_count": 4, "compliant_system_count": 1, "unsupported_system_count": 2, "reported_system_count": 4 }, { "id": "bc23716e-19b2-4b5d-9576-cf7c2c6b58be", "title": "Qui quae doloremque cumque.", "description": "Repellat neque laborum. Minus sit iure. Officia nostrum ipsam.", "business_objective": "circuit", "compliance_threshold": 90.0, "type": "report", "os_major_version": 8, "profile_title": "Corrupti autem commodi molestias.", "ref_id": "xccdf_org.ssgproject.content_profile_dd874033fe31d88ad515e012104bd333", "all_systems_exposed": true, "percent_compliant": 25, "assigned_system_count": 4, "compliant_system_count": 1, "unsupported_system_count": 2, "reported_system_count": 4 }, { "id": "dd960254-7bdb-4d16-8bef-7cd430649362", "title": "Cupiditate corporis corrupti voluptate.", "description": "Recusandae deserunt molestiae. Voluptas deleniti qui. Similique sed dolorem.", "business_objective": "monitor", "compliance_threshold": 90.0, "type": "report", "os_major_version": 8, "profile_title": "Similique quidem molestiae eaque.", "ref_id": "xccdf_org.ssgproject.content_profile_dc968fd23a80e13edb1190438f29bafe", "all_systems_exposed": true, "percent_compliant": 25, "assigned_system_count": 4, "compliant_system_count": 1, "unsupported_system_count": 2, "reported_system_count": 4 }, { "id": "fbe777d0-a7c6-4cce-a0d4-a045e347a69e", "title": "Aut enim esse voluptatum.", "description": "Eos rem soluta. Aperiam eum unde. Ea saepe enim.", "business_objective": "card", "compliance_threshold": 90.0, "type": "report", "os_major_version": 8, "profile_title": "Impedit exercitationem amet dolores.", "ref_id": "xccdf_org.ssgproject.content_profile_b0304c9872a9eebdbe8ae2df030f6ca9", "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": "469333a5-b633-47c1-8035-273f2194c990", "title": "Velit pariatur quia nemo.", "description": "Aut id quia. Dolores sapiente inventore. Atque quibusdam et.", "business_objective": "alarm", "compliance_threshold": 90.0, "type": "report", "os_major_version": 8, "profile_title": "Molestiae accusamus labore veritatis.", "ref_id": "xccdf_org.ssgproject.content_profile_cf178d29b092d42abf4b5aa881494a9d", "all_systems_exposed": true, "percent_compliant": 25, "assigned_system_count": 4, "compliant_system_count": 1, "unsupported_system_count": 2, "reported_system_count": 4 }, { "id": "668a307d-c410-442c-874d-4b5e014fc1c0", "title": "Sed minima dignissimos voluptate.", "description": "Veritatis ullam sed. Ipsum doloremque ut. Et veniam itaque.", "business_objective": "card", "compliance_threshold": 90.0, "type": "report", "os_major_version": 8, "profile_title": "Inventore nihil fugiat et.", "ref_id": "xccdf_org.ssgproject.content_profile_2750a53100d76f26f0f197c25f81d97b", "all_systems_exposed": true, "percent_compliant": 25, "assigned_system_count": 4, "compliant_system_count": 1, "unsupported_system_count": 2, "reported_system_count": 4 }, { "id": "d409d05b-5385-4846-bcaa-465fd272742c", "title": "Vitae blanditiis fugiat sed.", "description": "Voluptas reiciendis veritatis. Earum consequatur est. Dolor doloremque velit.", "business_objective": "bandwidth", "compliance_threshold": 90.0, "type": "report", "os_major_version": 8, "profile_title": "Pariatur quia cum officiis.", "ref_id": "xccdf_org.ssgproject.content_profile_7b507483bd694e76d1c03a0fae0a3d83", "all_systems_exposed": true, "percent_compliant": 25, "assigned_system_count": 4, "compliant_system_count": 1, "unsupported_system_count": 2, "reported_system_count": 4 }, { "id": "e0915a19-331b-43b0-ac2a-66f201713874", "title": "Eum ex corporis omnis.", "description": "Quasi quae dignissimos. Aut in placeat. Aspernatur ea atque.", "business_objective": "transmitter", "compliance_threshold": 90.0, "type": "report", "os_major_version": 8, "profile_title": "Quia vero dolorum earum.", "ref_id": "xccdf_org.ssgproject.content_profile_30236198a4889b32cb5460af9a83aa75", "all_systems_exposed": true, "percent_compliant": 25, "assigned_system_count": 4, "compliant_system_count": 1, "unsupported_system_count": 2, "reported_system_count": 4 }, { "id": "f6f152ed-e761-4560-83d2-f5e9a1df86c4", "title": "Distinctio rerum sit nihil.", "description": "Non omnis hic. Harum dolorem et. Vero error ut.", "business_objective": "system", "compliance_threshold": 90.0, "type": "report", "os_major_version": 8, "profile_title": "Rem dolores et totam.", "ref_id": "xccdf_org.ssgproject.content_profile_7bb3500ee3cb16a9d9030052ea7c2d7d", "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 scoped_search query language. However, only `=` or `!=` (resp. `<>`) operators are supported.

Reports are searchable using attributes `title`, `os_major_version`, `with_reported_systems`, and `percent_compliant`

(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": "Retrieve a specific report.", "operationId": "Report", "responses": { "200": { "description": "Returns a Report", "content": { "application/vnd.api+json": { "examples": { "Returns a Report": { "value": { "data": { "id": "cc0350c8-05bc-4ce5-a287-9b0288b5bff6", "title": "Molestias consequatur magnam aliquid.", "description": "Tenetur esse distinctio. Architecto natus praesentium. Facilis rerum consequatur.", "business_objective": "transmitter", "compliance_threshold": 90.0, "type": "report", "os_major_version": 9, "profile_title": "Officia similique mollitia non.", "ref_id": "xccdf_org.ssgproject.content_profile_b2adac603216554b00678daf09344fd9", "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 1284c9b7-01cf-4338-82b1-6c439b228f5d" ] }, "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": "Delete test results for a specific report.", "operationId": "DeleteReport", "responses": { "202": { "description": "Deletes Report's test results", "content": { "application/vnd.api+json": { "examples": { "Deletes Report's test results": { "value": { "data": { "id": "54da7f07-8a05-4744-add0-ac098f6b7901", "title": "Fugiat nostrum id animi.", "description": "Repudiandae numquam et. Ad numquam dolores. Voluptates eos illo.", "business_objective": "protocol", "compliance_threshold": 90.0, "type": "report", "os_major_version": 9, "profile_title": "Aut est illum voluptates.", "ref_id": "xccdf_org.ssgproject.content_profile_603a8565987329e7e0157da48a173c43", "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 02f38533-3148-4dc3-a5fd-72152bde07ad" ] }, "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 (`:asc` or `:desc`).

If no direction is selected, `: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 scoped_search query language. However, only `=` or `!=` (resp. `<>`) operators are supported.

Reports are searchable using attributes `title`

(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": "Retrieve a list of reports for a specific system.", "operationId": "SystemReports", "responses": { "200": { "description": "Lists Reports", "content": { "application/vnd.api+json": { "examples": { "List of Reports": { "value": { "data": [ { "id": "4a2c3f0d-c00f-4c14-a4b2-6ca3cfafc00e", "title": "Suscipit quos sed aut.", "description": "Culpa tenetur quae. Omnis non dolores. Eum sit qui.", "business_objective": "hard drive", "compliance_threshold": 90.0, "type": "report", "os_major_version": 8, "profile_title": "Ut deleniti officiis unde.", "ref_id": "xccdf_org.ssgproject.content_profile_ffb38d0dcd2c01cd8297f33ddec00778", "all_systems_exposed": false, "percent_compliant": 0, "compliant_system_count": 0, "unsupported_system_count": 0, "reported_system_count": 0 }, { "id": "4b26fb0c-25db-4d5a-9db7-4d5c50f66728", "title": "Ipsam magnam hic et.", "description": "Nihil possimus dolorum. Aliquid nulla consequatur. Fugit et voluptate.", "business_objective": "pixel", "compliance_threshold": 90.0, "type": "report", "os_major_version": 8, "profile_title": "Non officiis qui excepturi.", "ref_id": "xccdf_org.ssgproject.content_profile_94d2a641e8c828657894918ca5c9199f", "all_systems_exposed": false, "percent_compliant": 0, "compliant_system_count": 0, "unsupported_system_count": 0, "reported_system_count": 0 }, { "id": "5d1f589b-a55e-41c8-8a1b-fdcbd78973a6", "title": "Perspiciatis impedit totam debitis.", "description": "Nisi eaque possimus. Omnis maxime voluptate. Alias nemo voluptatem.", "business_objective": "sensor", "compliance_threshold": 90.0, "type": "report", "os_major_version": 8, "profile_title": "Exercitationem sed labore repellat.", "ref_id": "xccdf_org.ssgproject.content_profile_3d17d4f07d684e9c11e2bb122399b97f", "all_systems_exposed": false, "percent_compliant": 0, "compliant_system_count": 0, "unsupported_system_count": 0, "reported_system_count": 0 }, { "id": "d46e65a1-ba80-42f8-be8a-c6b39641392a", "title": "Minus saepe autem voluptatem.", "description": "Dolorum expedita quia. Voluptatem at illo. Qui alias voluptatem.", "business_objective": "card", "compliance_threshold": 90.0, "type": "report", "os_major_version": 8, "profile_title": "Sit totam iusto culpa.", "ref_id": "xccdf_org.ssgproject.content_profile_0d61e557533e8042018c6f5eddd92786", "all_systems_exposed": false, "percent_compliant": 0, "compliant_system_count": 0, "unsupported_system_count": 0, "reported_system_count": 0 }, { "id": "e65f848c-a214-4bee-89a0-c257fa36cc28", "title": "Ea quia optio magni.", "description": "Rerum nemo voluptatem. Non enim fuga. Et nesciunt modi.", "business_objective": "port", "compliance_threshold": 90.0, "type": "report", "os_major_version": 8, "profile_title": "Velit odio animi necessitatibus.", "ref_id": "xccdf_org.ssgproject.content_profile_147d41d17f78e89a8334b07b75adcc14", "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/a28c2287-04ed-4c55-9650-8dac1baff4da/reports?limit=10&offset=0", "last": "/api/compliance/v2/systems/a28c2287-04ed-4c55-9650-8dac1baff4da/reports?limit=10&offset=0" } }, "summary": "", "description": "" }, "List of Reports sorted by \"title:asc\"": { "value": { "data": [ { "id": "06bd9c9e-5697-477e-a87d-5d5571312185", "title": "Cum repellendus aut vero.", "description": "Ipsam et et. Soluta ut reiciendis. Omnis vitae nostrum.", "business_objective": "feed", "compliance_threshold": 90.0, "type": "report", "os_major_version": 8, "profile_title": "Porro omnis in est.", "ref_id": "xccdf_org.ssgproject.content_profile_ceaaa24e9810d0b547a19fb51b73e62d", "all_systems_exposed": false, "percent_compliant": 0, "compliant_system_count": 0, "unsupported_system_count": 0, "reported_system_count": 0 }, { "id": "8af5bb4a-0494-476a-8757-7103a3e4027a", "title": "Eius amet nihil consequatur.", "description": "Non veritatis delectus. Fuga nesciunt eos. Quia aperiam atque.", "business_objective": "array", "compliance_threshold": 90.0, "type": "report", "os_major_version": 8, "profile_title": "Soluta ea sed debitis.", "ref_id": "xccdf_org.ssgproject.content_profile_1afd2590ccede1569babd7cd23902d04", "all_systems_exposed": false, "percent_compliant": 0, "compliant_system_count": 0, "unsupported_system_count": 0, "reported_system_count": 0 }, { "id": "0bdc972f-60b1-47dd-88ea-2af5de2ad119", "title": "Non ex et odit.", "description": "Sed eum et. Cupiditate non neque. Dolore consequuntur id.", "business_objective": "driver", "compliance_threshold": 90.0, "type": "report", "os_major_version": 8, "profile_title": "Iure quam nisi et.", "ref_id": "xccdf_org.ssgproject.content_profile_9ad183716bc3ad6b3e217ecaea45e265", "all_systems_exposed": false, "percent_compliant": 0, "compliant_system_count": 0, "unsupported_system_count": 0, "reported_system_count": 0 }, { "id": "15633180-2a40-4f01-8f5e-802214772178", "title": "Qui earum velit exercitationem.", "description": "Inventore rem quo. Molestiae officiis est. Assumenda illum sint.", "business_objective": "array", "compliance_threshold": 90.0, "type": "report", "os_major_version": 8, "profile_title": "Saepe mollitia doloribus aliquid.", "ref_id": "xccdf_org.ssgproject.content_profile_0f91e41b99d1799b81e88b626e05bee6", "all_systems_exposed": false, "percent_compliant": 0, "compliant_system_count": 0, "unsupported_system_count": 0, "reported_system_count": 0 }, { "id": "91249caa-f082-4e37-a6a3-a649cedd1881", "title": "Quia repellendus sapiente quod.", "description": "Nam blanditiis nesciunt. Pariatur delectus veniam. Voluptatem recusandae facere.", "business_objective": "alarm", "compliance_threshold": 90.0, "type": "report", "os_major_version": 8, "profile_title": "Perspiciatis ipsam saepe doloribus.", "ref_id": "xccdf_org.ssgproject.content_profile_8a6dbc681f51105cedf7d0eb1d5996e9", "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/b0720b36-0186-49c1-b3e6-a845ba7f83af/reports?limit=10&offset=0&sort_by=title", "last": "/api/compliance/v2/systems/b0720b36-0186-49c1-b3e6-a845ba7f83af/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 (`:asc` or `:desc`).

If no direction is selected, `: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 scoped_search query language. However, only `=` or `!=` (resp. `<>`) operators are supported.

Rule Groups are searchable using attributes `title` and `ref_id`

(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": "List all rules groups.", "operationId": "Rule Groups", "responses": { "200": { "description": "Lists Rule Groups", "content": { "application/vnd.api+json": { "examples": { "List of Rule Groups": { "value": { "data": [ { "id": "00fb7f96-39aa-4ae9-b7ad-6796d1d1b648", "ref_id": "xccdf_org.ssgproject.content_rule_group_3507e578b6f50ca6db1a70fc7efa7827", "title": "Sit voluptatem magnam libero.", "rationale": "Est perferendis ut. Optio magni doloremque. Voluptates consequatur repudiandae.", "description": "Velit doloremque harum. Eaque omnis rerum. Sit sed et.", "precedence": null, "type": "rule_group" }, { "id": "0932c3a1-8726-4352-8ebb-d6f8635c01f2", "ref_id": "xccdf_org.ssgproject.content_rule_group_0a60d6a499c0a57f70319e045ca42dc0", "title": "Libero iusto ut repudiandae.", "rationale": "Aut fuga cupiditate. Dignissimos sed eum. Vitae optio aut.", "description": "Cumque qui in. Iusto repellendus in. Voluptate rem quos.", "precedence": null, "type": "rule_group" }, { "id": "29d1d27f-ada2-4a42-ae24-a8b831b87d0c", "ref_id": "xccdf_org.ssgproject.content_rule_group_194b73c4fffacdcd8a3eb9026086063f", "title": "Sint aliquam aut voluptatum.", "rationale": "Ut dolores totam. Et nam sunt. Asperiores est sit.", "description": "Optio ut autem. Est aut ad. Soluta sit illum.", "precedence": null, "type": "rule_group" }, { "id": "42c26aff-66d1-4e31-8224-7b2d5787366e", "ref_id": "xccdf_org.ssgproject.content_rule_group_ea397f96ee117cf63d92f11b75521a5d", "title": "Sint aut sequi quaerat.", "rationale": "Sit quia laboriosam. Corrupti aut et. Vitae ullam nulla.", "description": "Eaque fuga dolores. Commodi sit ipsa. Consequatur eligendi soluta.", "precedence": null, "type": "rule_group" }, { "id": "4ff799ec-d9a3-4d32-8425-a9bbbffad755", "ref_id": "xccdf_org.ssgproject.content_rule_group_0d08dcc747acbf29e5f9a42a5b18864e", "title": "Quidem voluptas nihil laudantium.", "rationale": "Iure quia architecto. Id quidem molestiae. Excepturi amet ipsa.", "description": "Dolor amet sapiente. Vel minus eum. Omnis ipsa repudiandae.", "precedence": null, "type": "rule_group" }, { "id": "518f15ca-3628-4f7b-b701-fed6d376a994", "ref_id": "xccdf_org.ssgproject.content_rule_group_301c730775e3a17108b73e5e0724e12f", "title": "Laudantium fugit quaerat quisquam.", "rationale": "Natus mollitia quisquam. Dolorem dolores sint. Aut natus nesciunt.", "description": "Corporis reprehenderit at. Rerum et pariatur. Et et praesentium.", "precedence": null, "type": "rule_group" }, { "id": "6146f8a5-e565-4ff6-a4c4-697cb5b5a023", "ref_id": "xccdf_org.ssgproject.content_rule_group_7a680979437988141760552cce9d49ab", "title": "Impedit in qui numquam.", "rationale": "Accusantium et eos. Dolor esse quidem. Ea doloribus enim.", "description": "Facilis quo velit. Dolorem iusto et. Ut labore tempore.", "precedence": null, "type": "rule_group" }, { "id": "63fe57b0-6e4b-4388-ac9e-b8fb6da09bb9", "ref_id": "xccdf_org.ssgproject.content_rule_group_0baff8efba7ef8868eb580336b8ad9b1", "title": "Corporis consequuntur debitis id.", "rationale": "Quasi laborum inventore. Quis cum numquam. Perferendis voluptas atque.", "description": "Sit mollitia et. Ea provident aut. Quia quas quos.", "precedence": null, "type": "rule_group" }, { "id": "6d6f171a-7aed-442e-8efb-915ac7867b16", "ref_id": "xccdf_org.ssgproject.content_rule_group_a9d1c52aa63035e7c17afdbdc9929822", "title": "Accusamus adipisci atque animi.", "rationale": "Et hic ratione. Vero tenetur sed. Perspiciatis neque consectetur.", "description": "Est deleniti voluptatem. Tempore nisi officiis. Et maxime quos.", "precedence": null, "type": "rule_group" }, { "id": "747e752a-b8ce-437b-a0ef-6e41bec4a651", "ref_id": "xccdf_org.ssgproject.content_rule_group_90c3b368106a5c4bc802d94f4c05ce4c", "title": "Quis quia rerum ut.", "rationale": "Ipsum eaque sit. Et est aperiam. Et et tenetur.", "description": "Enim aut optio. Mollitia et quia. Non illum repudiandae.", "precedence": null, "type": "rule_group" } ], "meta": { "total": 25, "limit": 10, "offset": 0 }, "links": { "first": "/api/compliance/v2/security_guides/b46ceaeb-3695-48ae-83b7-51b6a44bd827/rule_groups?limit=10&offset=0", "last": "/api/compliance/v2/security_guides/b46ceaeb-3695-48ae-83b7-51b6a44bd827/rule_groups?limit=10&offset=20", "next": "/api/compliance/v2/security_guides/b46ceaeb-3695-48ae-83b7-51b6a44bd827/rule_groups?limit=10&offset=10" } }, "summary": "", "description": "" }, "List of Rule Groups sorted by \"precedence:asc\"": { "value": { "data": [ { "id": "0f17577f-27c4-4310-af7a-461b63445d86", "ref_id": "xccdf_org.ssgproject.content_rule_group_24401119ede8dfdfb7d850ac408fa96b", "title": "Ea veniam enim quaerat.", "rationale": "Sed soluta autem. Odio eaque et. Asperiores exercitationem accusantium.", "description": "Magnam consequatur aliquid. Est non blanditiis. Temporibus recusandae neque.", "precedence": null, "type": "rule_group" }, { "id": "17494801-aa7c-42ff-a71a-43c4c6bedebd", "ref_id": "xccdf_org.ssgproject.content_rule_group_a8cfe928eefd2c6717d6288d9cbd5bbc", "title": "Assumenda voluptatum est molestiae.", "rationale": "Debitis magnam delectus. Et exercitationem perferendis. Quidem natus et.", "description": "Quibusdam sequi veritatis. Earum porro eum. Vel nobis alias.", "precedence": null, "type": "rule_group" }, { "id": "1fd4628e-e059-4aaf-b6c9-af18f77a21ef", "ref_id": "xccdf_org.ssgproject.content_rule_group_5fff8c7706dda1919d61e81559f3c559", "title": "Perspiciatis voluptatem et eius.", "rationale": "Dicta et non. Ut tenetur modi. Excepturi deleniti omnis.", "description": "Similique qui dolore. Et aut repellendus. Optio ea asperiores.", "precedence": null, "type": "rule_group" }, { "id": "32504d28-81db-46c3-b0b3-13748f3b829e", "ref_id": "xccdf_org.ssgproject.content_rule_group_fbeebf53cb8b9bb7c7e5280af396e480", "title": "Doloribus a et et.", "rationale": "Expedita et dolorem. Blanditiis adipisci cupiditate. Blanditiis nemo fugit.", "description": "Amet cupiditate facere. Consectetur maiores cum. Beatae officia illum.", "precedence": null, "type": "rule_group" }, { "id": "3eb7e4f5-4a4d-4320-8501-4c8bb4b97c38", "ref_id": "xccdf_org.ssgproject.content_rule_group_9cda97b336450acf50f40c763e06deae", "title": "Quas dolores rerum nesciunt.", "rationale": "At suscipit animi. Qui dolorem culpa. Magnam eius veniam.", "description": "Repellat et aut. Occaecati vero similique. Fugit omnis sunt.", "precedence": null, "type": "rule_group" }, { "id": "503bca29-4f9d-4b74-840e-edfb375330dc", "ref_id": "xccdf_org.ssgproject.content_rule_group_b7e5c59eee26ed967d8487b0ab33a94f", "title": "Ea ullam temporibus velit.", "rationale": "Deserunt inventore repellat. Qui eaque repellat. Dignissimos autem accusantium.", "description": "Quia qui inventore. Sapiente sed aliquid. Sint amet officiis.", "precedence": null, "type": "rule_group" }, { "id": "5635e2e4-5d1d-4de3-9ee2-a2cb7da10bdc", "ref_id": "xccdf_org.ssgproject.content_rule_group_d28bd15d2f125ad5f4add75a647ce8ff", "title": "Sit aut ut eos.", "rationale": "Perspiciatis fuga id. Saepe vitae beatae. Velit magnam eos.", "description": "Eligendi sint dolor. Quis ut assumenda. Similique quam exercitationem.", "precedence": null, "type": "rule_group" }, { "id": "5e13f03b-29cd-47ff-9567-3fc671977377", "ref_id": "xccdf_org.ssgproject.content_rule_group_81fcfb233571e86cded6e6f8de5c7b99", "title": "Sit veniam sed nesciunt.", "rationale": "Est magni architecto. Non et culpa. Qui nostrum quia.", "description": "Qui sint eum. Aut dolores quis. Explicabo accusamus sit.", "precedence": null, "type": "rule_group" }, { "id": "66071f23-86bb-4476-837b-aee0436ac1b2", "ref_id": "xccdf_org.ssgproject.content_rule_group_4bfc3e2c2aeafdf7c6c615bef16aed48", "title": "Aliquam ut quibusdam id.", "rationale": "Quas qui maxime. Magni vero iusto. Qui veniam voluptas.", "description": "Repudiandae maiores aut. Consequatur corporis qui. Voluptatem rerum est.", "precedence": null, "type": "rule_group" }, { "id": "66d9aa22-981d-49a6-a030-826855aece33", "ref_id": "xccdf_org.ssgproject.content_rule_group_3d342c4a889e52a0637cd386bc027318", "title": "Rem rerum culpa omnis.", "rationale": "Consectetur non sunt. Consequuntur quo debitis. Aliquid harum corrupti.", "description": "Labore ad non. Omnis commodi asperiores. Voluptates libero voluptas.", "precedence": null, "type": "rule_group" } ], "meta": { "total": 25, "limit": 10, "offset": 0, "sort_by": "precedence" }, "links": { "first": "/api/compliance/v2/security_guides/a16fb9cc-c09e-41b2-9131-9aae5b8d54ef/rule_groups?limit=10&offset=0&sort_by=precedence", "last": "/api/compliance/v2/security_guides/a16fb9cc-c09e-41b2-9131-9aae5b8d54ef/rule_groups?limit=10&offset=20&sort_by=precedence", "next": "/api/compliance/v2/security_guides/a16fb9cc-c09e-41b2-9131-9aae5b8d54ef/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": "Retrieve a specific rule group.", "operationId": "RuleGroup", "responses": { "200": { "description": "Returns a Rule Group", "content": { "application/vnd.api+json": { "examples": { "Returns a Rule Group": { "value": { "data": { "id": "d963a0e4-b9b6-4978-baf3-09031decefd5", "ref_id": "xccdf_org.ssgproject.content_rule_group_ba59b1f28eefe9c3f991429e1e82f23b", "title": "Labore suscipit doloribus sunt.", "rationale": "Voluptatem veniam non. Quidem nulla et. Ad quia in.", "description": "Nobis dolor neque. Dolorum voluptatum dolore. Deserunt quos veniam.", "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 df2ebffb-bb6e-42d4-9b52-bcf4bc707987" ] }, "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 (`:asc` or `:desc`).

If no direction is selected, `: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 scoped_search query language. However, only `=` or `!=` (resp. `<>`) operators are supported.

Rule Results are searchable using attributes `result`, `title`, `severity`, `remediation_available`, and `rule_group_id`

(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": "Retrieve all of the rule results for a specific 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/67f135f8-856b-401d-8ff5-6ae342050998/test_results/16b8265c-f6a2-432f-aa38-134827f0ff7c/rule_results?limit=10&offset=0", "last": "/api/compliance/v2/reports/67f135f8-856b-401d-8ff5-6ae342050998/test_results/16b8265c-f6a2-432f-aa38-134827f0ff7c/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/f5dd334f-378d-4860-a1d4-b37486fda402/test_results/3cfb1b25-ed59-4f28-9886-90d7574a299e/rule_results?limit=10&offset=0&sort_by=result", "last": "/api/compliance/v2/reports/f5dd334f-378d-4860-a1d4-b37486fda402/test_results/3cfb1b25-ed59-4f28-9886-90d7574a299e/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/41d0df66-b6e6-4ff8-939b-f77b02f8c999/test_results/815f6488-3ddd-40fd-af1a-c58de621f21d/rule_results?filter=%28title%3Dfoo%29&limit=10&offset=0", "last": "/api/compliance/v2/reports/41d0df66-b6e6-4ff8-939b-f77b02f8c999/test_results/815f6488-3ddd-40fd-af1a-c58de621f21d/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 (`:asc` or `:desc`).

If no direction is selected, `: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 scoped_search query language. However, only `=` or `!=` (resp. `<>`) operators are supported.

Rules are searchable using attributes `title`, `severity`, `remediation_available`, and `rule_group_id`

(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": "Retrieve a list of rules for a specific security guide.", "operationId": "Rules", "responses": { "200": { "description": "Lists Rules", "content": { "application/vnd.api+json": { "examples": { "List of Rules": { "value": { "data": [ { "id": "023be570-5f1d-43e3-8f28-bda7df80b462", "ref_id": "xccdf_org.ssgproject.content_rule_d8273354e443d95646f7d94fb28b1910", "title": "Provident in sit quis.", "rationale": "Iste et repellat. Aperiam voluptatibus et. Est id quibusdam.", "description": "Omnis dolorem sed. Praesentium quos assumenda. Id sapiente voluptatem.", "severity": "low", "precedence": 1436, "identifier": { "href": "http://baumbach.test/rodolfo", "label": "Cotman" }, "references": [ { "href": "http://legros-hegmann.example/winfred", "label": "Gamil Zirak" }, { "href": "http://mayert-kunze.test/talitha", "label": "Beorn" }, { "href": "http://abbott.test/meggan.casper", "label": "Yávien" }, { "href": "http://crist.example/corrina_reynolds", "label": "Beregar" }, { "href": "http://ziemann.example/jan.leffler", "label": "Grishnákh" } ], "value_checks": null, "remediation_available": false, "rule_group_id": "e7788034-f884-49cc-8089-2d46eb3e8df6", "type": "rule" }, { "id": "0f7b2736-2828-42fd-b863-992ba5e14f8c", "ref_id": "xccdf_org.ssgproject.content_rule_cdfca5ac2756ec6d7d52f4e5945e14cb", "title": "Totam rem in non.", "rationale": "Doloribus nemo ad. Accusantium omnis voluptatem. Minima ut velit.", "description": "Alias et voluptas. Dolores voluptas ea. Explicabo animi est.", "severity": "medium", "precedence": 5284, "identifier": { "href": "http://carroll-haley.example/everett.little", "label": "Shelob" }, "references": [ { "href": "http://parisian.test/rubin.dach", "label": "Gollum" }, { "href": "http://carter.example/isaura_king", "label": "Tarannon Falastur" }, { "href": "http://stoltenberg.test/karma", "label": "Estella Bolger" }, { "href": "http://lowe.test/kristopher", "label": "Merimac Brandybuck" }, { "href": "http://altenwerth.test/betsey.franecki", "label": "Frór" } ], "value_checks": null, "remediation_available": false, "rule_group_id": "c3b3ea8c-f405-4b50-bb65-b0768dff4dd6", "type": "rule" }, { "id": "23daaaec-c098-48a5-9fa3-6d8166c632c5", "ref_id": "xccdf_org.ssgproject.content_rule_2445cbb9bd587c4b0eb458a29d9c1f83", "title": "Qui dicta fugit et.", "rationale": "Nam et adipisci. Quia vel rem. Porro rem dolores.", "description": "Modi non nemo. Natus iste voluptas. Minus magni veritatis.", "severity": "medium", "precedence": 8567, "identifier": { "href": "http://huels-considine.example/debera", "label": "Hild" }, "references": [ { "href": "http://ankunding-altenwerth.example/karlyn.oconner", "label": "Rose Gardner" }, { "href": "http://breitenberg.example/morris_stokes", "label": "Belegund" }, { "href": "http://romaguera.test/anne_green", "label": "Aravorn" }, { "href": "http://goodwin-kshlerin.example/kristopher.swaniawski", "label": "Cora Goodbody" }, { "href": "http://pfeffer.test/gregory_hamill", "label": "Orodreth" } ], "value_checks": null, "remediation_available": false, "rule_group_id": "82d0b961-5438-4fb8-a3cb-63b39b34125a", "type": "rule" }, { "id": "26df5848-42e4-4111-b8da-523c036711f4", "ref_id": "xccdf_org.ssgproject.content_rule_10d231520f01ef5d2b3e007d5e153da4", "title": "Perspiciatis debitis sint officia.", "rationale": "Corporis dolorem sint. Iste ea enim. Aut a occaecati.", "description": "Id nesciunt labore. Consectetur sint est. Aliquam laudantium qui.", "severity": "medium", "precedence": 8607, "identifier": { "href": "http://green-anderson.example/mauro.west", "label": "Mallor" }, "references": [ { "href": "http://quigley.example/joaquin_grimes", "label": "Eldacar" }, { "href": "http://herzog-wiza.example/jeffery_grady", "label": "Cora Goodbody" }, { "href": "http://schmidt.test/sophie", "label": "Brodda" }, { "href": "http://haley.test/coy", "label": "Erkenbrand" }, { "href": "http://borer-cassin.example/kaitlyn_brown", "label": "Forlong" } ], "value_checks": null, "remediation_available": false, "rule_group_id": "5e08984e-f183-4d20-87d7-56676ee772f8", "type": "rule" }, { "id": "42d46161-51b3-4ba6-85b3-65589e007266", "ref_id": "xccdf_org.ssgproject.content_rule_09777066185cb7fc9bc51d255a19d477", "title": "Dignissimos ut natus asperiores.", "rationale": "Sed expedita aut. Architecto non temporibus. Ad numquam aut.", "description": "Dolor numquam magnam. Natus et quae. Beatae ea iure.", "severity": "medium", "precedence": 9735, "identifier": { "href": "http://kuphal.test/jamar", "label": "Inzilbêth" }, "references": [ { "href": "http://ward.example/ruby", "label": "Huor" }, { "href": "http://walsh.example/clarence.botsford", "label": "Aranwë" }, { "href": "http://quitzon-rempel.test/nadia", "label": "Elenwë" }, { "href": "http://cassin-kunze.example/rich.hand", "label": "Imrahil" }, { "href": "http://muller-ohara.example/timmy", "label": "Imrahil" } ], "value_checks": null, "remediation_available": false, "rule_group_id": "15285618-2ece-43ec-8a61-706a0621b7ab", "type": "rule" }, { "id": "4df2bc8d-4147-455a-9a8f-92951d7f10f7", "ref_id": "xccdf_org.ssgproject.content_rule_292ddaca3c3b655879d545013d21aa6c", "title": "Ut laudantium magnam id.", "rationale": "Id quis vitae. Architecto quibusdam nihil. Ad et labore.", "description": "Quisquam voluptas atque. Voluptatem animi sunt. Error culpa ex.", "severity": "low", "precedence": 7869, "identifier": { "href": "http://bernhard-pollich.test/cassi.kovacek", "label": "Nessanië" }, "references": [ { "href": "http://beier-wisozk.test/wan.koelpin", "label": "Nurwë" }, { "href": "http://lynch.example/louis", "label": "Wiseman Gamwich" }, { "href": "http://nikolaus.test/jasper", "label": "Sangahyando" }, { "href": "http://gleason.test/antonia.bruen", "label": "Laura Grubb" }, { "href": "http://pacocha.test/ronald_ruecker", "label": "Valacar" } ], "value_checks": null, "remediation_available": false, "rule_group_id": "200821b6-63df-4117-8f4e-c9592e013d02", "type": "rule" }, { "id": "5f2556f8-bb18-4574-96b4-15f30fc66a0d", "ref_id": "xccdf_org.ssgproject.content_rule_0f99a7793b145cfb2469b459a7a47425", "title": "Sint voluptates quis eligendi.", "rationale": "Dolore et debitis. Amet minima magni. Deserunt iusto aliquam.", "description": "Delectus nam consequatur. Odio ut ut. Aut dignissimos aut.", "severity": "high", "precedence": 6767, "identifier": { "href": "http://osinski.test/teodoro.wiza", "label": "Telchar" }, "references": [ { "href": "http://koch-schoen.test/dewayne", "label": "Gorbadoc Brandybuck" }, { "href": "http://stokes-gibson.test/rickie.moore", "label": "Eilinel" }, { "href": "http://schumm.test/patrick", "label": "Ingwion" }, { "href": "http://trantow.test/roland", "label": "Gilly Brownlock" }, { "href": "http://lesch.test/royce_yost", "label": "Caliondo" } ], "value_checks": null, "remediation_available": false, "rule_group_id": "04d44a81-e5ea-4a68-8211-71178cab9e38", "type": "rule" }, { "id": "604a3af9-d983-4a73-b7c9-bcd6cda41a96", "ref_id": "xccdf_org.ssgproject.content_rule_0a5e8fe8074a24b3abad44733508e7ab", "title": "Minima amet ea harum.", "rationale": "Sed fuga voluptatem. Officia reiciendis sed. Hic voluptas nesciunt.", "description": "Excepturi ducimus et. Et est vel. Dolore impedit ut.", "severity": "high", "precedence": 6500, "identifier": { "href": "http://adams-braun.test/devin", "label": "Mairen" }, "references": [ { "href": "http://beahan.test/margarito.bradtke", "label": "Náin" }, { "href": "http://kris.example/trula", "label": "Belen" }, { "href": "http://pfannerstill.example/reba_goldner", "label": "Daisy Baggins" }, { "href": "http://rempel.test/leeanna.hansen", "label": "Isembard Took" }, { "href": "http://leuschke.test/hugo", "label": "Othrondir" } ], "value_checks": null, "remediation_available": false, "rule_group_id": "4845c31f-9fee-4c50-aca4-d2fd0d401985", "type": "rule" }, { "id": "6ad27251-d380-4a26-8abb-bc808c80a057", "ref_id": "xccdf_org.ssgproject.content_rule_6dcace801c14c87f70e1b1986185c8d4", "title": "Molestias aspernatur voluptatem earum.", "rationale": "Unde corrupti ea. Voluptatum vero est. Labore maiores non.", "description": "Sed alias harum. Quidem eaque eos. Et molestias omnis.", "severity": "medium", "precedence": 9859, "identifier": { "href": "http://gottlieb.test/helen", "label": "Rollo Boffin" }, "references": [ { "href": "http://white.example/vikki", "label": "Lalaith" }, { "href": "http://lindgren-herman.example/tangela", "label": "Khamûl" }, { "href": "http://labadie.test/tuan", "label": "Nar" }, { "href": "http://wehner.test/cinthia", "label": "Lóni" }, { "href": "http://toy-hartmann.example/tyrone", "label": "Borin" } ], "value_checks": null, "remediation_available": false, "rule_group_id": "f3bcd5af-9c81-4d7c-a68d-f2bec00a4ae0", "type": "rule" }, { "id": "7d2e28aa-7940-4ee5-95b9-3d4f1494d079", "ref_id": "xccdf_org.ssgproject.content_rule_bee0b5ca5269369c28f69320e875c60b", "title": "Ex numquam consequatur unde.", "rationale": "Corporis et et. Occaecati aliquid optio. Sequi cupiditate earum.", "description": "Accusamus tempore iure. Et veniam quia. Est aut et.", "severity": "high", "precedence": 3546, "identifier": { "href": "http://okuneva.example/luvenia", "label": "Nolondil" }, "references": [ { "href": "http://cummerata-kemmer.test/aleen", "label": "Uldor" }, { "href": "http://kuvalis.test/chieko_schuppe", "label": "Bifur" }, { "href": "http://feest.example/brice", "label": "Tar-Alcarin" }, { "href": "http://luettgen.test/joie", "label": "Barahir" }, { "href": "http://schinner-swaniawski.example/alfonzo.koch", "label": "Mithrellas" } ], "value_checks": null, "remediation_available": false, "rule_group_id": "1168a1b7-0f72-41ad-968c-2ad92dc84c4d", "type": "rule" } ], "meta": { "total": 25, "limit": 10, "offset": 0 }, "links": { "first": "/api/compliance/v2/security_guides/6d0c9ce0-5e8c-43b8-8ed7-9572faea8d49/rules?limit=10&offset=0", "last": "/api/compliance/v2/security_guides/6d0c9ce0-5e8c-43b8-8ed7-9572faea8d49/rules?limit=10&offset=20", "next": "/api/compliance/v2/security_guides/6d0c9ce0-5e8c-43b8-8ed7-9572faea8d49/rules?limit=10&offset=10" } }, "summary": "", "description": "" }, "List of Rules sorted by \"precedence:asc\"": { "value": { "data": [ { "id": "b3688fea-c928-40d2-80b4-3aa45a34cfa4", "ref_id": "xccdf_org.ssgproject.content_rule_8026cf3e5b8802436cf3e4b56704792e", "title": "Exercitationem sed quaerat quibusdam.", "rationale": "Fugiat commodi et. Deleniti et eos. Magnam dolores harum.", "description": "Et ut est. Quia tempora totam. Doloribus enim et.", "severity": "low", "precedence": 257, "identifier": { "href": "http://cronin.test/jefferey.hamill", "label": "Almarian" }, "references": [ { "href": "http://brown-kertzmann.example/doretha_nienow", "label": "Elwing" }, { "href": "http://reichel-kuhic.test/kristyn_paucek", "label": "Bombur" }, { "href": "http://wolf.example/latrisha.sauer", "label": "Lindir" }, { "href": "http://collins.example/jeannine.wilkinson", "label": "Írimon" }, { "href": "http://nienow.test/omer", "label": "Elwing" } ], "value_checks": null, "remediation_available": false, "rule_group_id": "a883761c-78fa-4845-9422-5bc63f4872e2", "type": "rule" }, { "id": "71408b55-c604-4b18-89d9-9109ecec3eca", "ref_id": "xccdf_org.ssgproject.content_rule_bd2426d8f96691bd7516eb35ed5d9d8c", "title": "Enim ducimus ut minima.", "rationale": "Reprehenderit autem aliquam. Molestias ex repellat. Reprehenderit qui error.", "description": "Voluptas quo pariatur. Vero facilis ut. Incidunt possimus laboriosam.", "severity": "medium", "precedence": 762, "identifier": { "href": "http://dubuque-krajcik.example/lorie", "label": "Posco Baggins" }, "references": [ { "href": "http://breitenberg.test/bertram.douglas", "label": "Rowan" }, { "href": "http://weimann.example/maribeth", "label": "Ciryatur" }, { "href": "http://dickens.test/venice.nader", "label": "Daisy Gardner" }, { "href": "http://will-wehner.test/jacquiline", "label": "Forthwini" }, { "href": "http://turcotte-schneider.test/gayle.smith", "label": "Gaffer Gamgee" } ], "value_checks": null, "remediation_available": false, "rule_group_id": "62435910-bfb5-436a-8689-1270004a1835", "type": "rule" }, { "id": "ef63cd66-be50-4985-96bc-de6688c9015d", "ref_id": "xccdf_org.ssgproject.content_rule_3a6d14330c7177a6fd011cbb8f51f50d", "title": "Voluptas dolorem labore et.", "rationale": "Aut autem velit. Minima voluptas ut. Ipsam et et.", "description": "Fuga odit quia. Quidem iusto similique. Aliquid quaerat molestiae.", "severity": "medium", "precedence": 950, "identifier": { "href": "http://pacocha.test/debby.walsh", "label": "Andwise Roper" }, "references": [ { "href": "http://kovacek.example/bonnie_okuneva", "label": "Eärendil" }, { "href": "http://wiegand.example/diego_schaefer", "label": "Gilly Brownlock" }, { "href": "http://oconner.test/libby.dicki", "label": "Finwë" }, { "href": "http://thompson-schmitt.example/jim", "label": "Isildur" }, { "href": "http://feil-gulgowski.example/adolph", "label": "Castamir" } ], "value_checks": null, "remediation_available": false, "rule_group_id": "12858593-b223-48d2-acd8-f2116cdb2813", "type": "rule" }, { "id": "6d2e89fb-a3a5-4776-989b-ba9bdd179a51", "ref_id": "xccdf_org.ssgproject.content_rule_4ddb7c2fed4080eff1926abee5ee44f0", "title": "Quisquam perferendis consequuntur praesentium.", "rationale": "Repellendus nostrum adipisci. Saepe ut odit. Quia quaerat reprehenderit.", "description": "Expedita dolores debitis. Aut necessitatibus a. Soluta quas voluptates.", "severity": "low", "precedence": 1148, "identifier": { "href": "http://heathcote-funk.test/francis", "label": "Melilot Brandybuck" }, "references": [ { "href": "http://feil.test/ricardo_wiegand", "label": "Adalgar Bolger" }, { "href": "http://stoltenberg.test/brett", "label": "Robin Smallburrow" }, { "href": "http://mante.example/florance.gorczany", "label": "Dúnhere" }, { "href": "http://prohaska-price.test/denice", "label": "Beren" }, { "href": "http://balistreri.example/na.mertz", "label": "Elrond" } ], "value_checks": null, "remediation_available": false, "rule_group_id": "ca8dd619-0f18-4a40-a6e0-3ee5c564f314", "type": "rule" }, { "id": "4caaad40-0bff-4fb2-8f5b-cad4935767b3", "ref_id": "xccdf_org.ssgproject.content_rule_3594081d8fbf8e54d79e9d916eb2f531", "title": "Voluptas enim nam nihil.", "rationale": "Exercitationem cupiditate et. Repellendus alias dolor. Provident illum ut.", "description": "Hic voluptatem dolores. Ex reprehenderit et. Ut maiores autem.", "severity": "medium", "precedence": 1903, "identifier": { "href": "http://bernier.example/shaun.feeney", "label": "Celeborn" }, "references": [ { "href": "http://senger.example/darline", "label": "Dírhael" }, { "href": "http://bins.test/terence_satterfield", "label": "Gundabald Bolger" }, { "href": "http://champlin-bradtke.example/lincoln.heaney", "label": "Forweg" }, { "href": "http://bailey.test/dante_hammes", "label": "Marmadas Brandybuck" }, { "href": "http://watsica.test/vernia", "label": "Farmer Maggot" } ], "value_checks": null, "remediation_available": false, "rule_group_id": "6f81b149-a497-4396-a334-7b5366214b8a", "type": "rule" }, { "id": "d22e2631-a5f6-4662-943a-2950aaf5cb78", "ref_id": "xccdf_org.ssgproject.content_rule_8382fd403599a2b6ae7c350d4ba111b7", "title": "In commodi incidunt deleniti.", "rationale": "Sed aut provident. Illum autem minima. Aut eaque voluptas.", "description": "Qui sed debitis. Enim saepe optio. Quia accusantium et.", "severity": "medium", "precedence": 2454, "identifier": { "href": "http://bauch.example/rachelle.carter", "label": "Elanor Gardner" }, "references": [ { "href": "http://prosacco.test/travis", "label": "Radagast" }, { "href": "http://brown.test/haydee.littel", "label": "Aghan" }, { "href": "http://johnston.example/rosetta", "label": "Faniel" }, { "href": "http://hudson.example/jesse", "label": "Morwen Steelsheen" }, { "href": "http://huel.test/gregorio.murray", "label": "Ornendil" } ], "value_checks": null, "remediation_available": false, "rule_group_id": "858bf8f0-dcf3-45e8-a6a6-c76a6fca462f", "type": "rule" }, { "id": "7ef65724-074d-42d1-8401-5aaf19cd7f5a", "ref_id": "xccdf_org.ssgproject.content_rule_b5054204e1dc727e23b571d667133d93", "title": "Dolor quisquam at error.", "rationale": "Doloremque blanditiis a. Fugit repudiandae nisi. Laborum odio tempore.", "description": "Accusantium adipisci praesentium. Expedita doloribus quibusdam. Accusamus reprehenderit sunt.", "severity": "low", "precedence": 2552, "identifier": { "href": "http://blanda.test/otha.lemke", "label": "Gimli" }, "references": [ { "href": "http://ullrich.example/gala_emard", "label": "Ingwion" }, { "href": "http://kihn.test/nichole", "label": "Borin" }, { "href": "http://bogan.test/christoper.kassulke", "label": "Adamanta Chubb" }, { "href": "http://hoppe-haag.example/tashina.schmeler", "label": "Eorl" }, { "href": "http://altenwerth.test/shauna.mcglynn", "label": "Hamfast Gardner" } ], "value_checks": null, "remediation_available": false, "rule_group_id": "7b12f802-d01b-4bd3-a2a7-21abe24360f7", "type": "rule" }, { "id": "c750caef-cf90-49be-abc1-e4b32b353b23", "ref_id": "xccdf_org.ssgproject.content_rule_779ead7777b6d367cdfe0ce6333135d3", "title": "Corrupti id dolor distinctio.", "rationale": "Consequuntur nam laborum. Nam qui consequuntur. Et incidunt quae.", "description": "Voluptatum et ut. Molestiae amet perferendis. Aliquam quia aut.", "severity": "high", "precedence": 3478, "identifier": { "href": "http://labadie.test/kenyatta", "label": "Roäc" }, "references": [ { "href": "http://doyle-ruecker.test/edythe", "label": "Axantur" }, { "href": "http://williamson-mante.example/roslyn", "label": "Arahad" }, { "href": "http://hills.test/waldo", "label": "Dior" }, { "href": "http://bruen-armstrong.example/carlton.parisian", "label": "Uldor" }, { "href": "http://roob.example/zandra_mills", "label": "Hyarmendacil" } ], "value_checks": null, "remediation_available": false, "rule_group_id": "53bddd4e-f2e3-456f-ad0f-426a19eda786", "type": "rule" }, { "id": "c932b341-30e6-4e4f-84ac-d75c22daedee", "ref_id": "xccdf_org.ssgproject.content_rule_b6cca00eef5a50d0fcc3c30d636c009f", "title": "Provident est accusamus voluptatibus.", "rationale": "Eum et voluptates. Quae deleniti et. Nisi voluptatum molestiae.", "description": "Est enim at. Sint suscipit qui. Voluptas nulla adipisci.", "severity": "low", "precedence": 3880, "identifier": { "href": "http://glover-rowe.test/leonarda", "label": "Galion" }, "references": [ { "href": "http://koelpin.test/keeley", "label": "Ebor" }, { "href": "http://yost-braun.test/cristobal.connelly", "label": "Maglor" }, { "href": "http://hammes-pfannerstill.example/debera", "label": "Maedhros" }, { "href": "http://dooley.test/brittni.kling", "label": "Durin's Bane" }, { "href": "http://marquardt.test/elsie", "label": "Nurwë" } ], "value_checks": null, "remediation_available": false, "rule_group_id": "b3b5154b-2e56-46a1-b6ba-e6fcddba186d", "type": "rule" }, { "id": "9ab41a76-aae1-4875-b0d9-1b35654b5436", "ref_id": "xccdf_org.ssgproject.content_rule_ba9bd222c34ae276f18a95e9b6df85ef", "title": "Voluptatem eaque officiis veritatis.", "rationale": "Molestiae delectus perspiciatis. Ut qui fugit. Nulla magnam veniam.", "description": "Expedita blanditiis hic. Aut est vitae. Consequatur cupiditate nemo.", "severity": "low", "precedence": 3915, "identifier": { "href": "http://becker-lindgren.example/marc.kulas", "label": "Magor" }, "references": [ { "href": "http://armstrong.example/thad_dietrich", "label": "Baran" }, { "href": "http://bailey.test/harry", "label": "Leaflock" }, { "href": "http://moen-koss.test/lacy_adams", "label": "Otto Boffin" }, { "href": "http://mosciski-pacocha.test/adina.mohr", "label": "Snaga" }, { "href": "http://keebler.test/anneliese", "label": "Dinodas Brandybuck" } ], "value_checks": null, "remediation_available": false, "rule_group_id": "7bc8f6e4-b16f-4862-b746-30e2e883dadc", "type": "rule" } ], "meta": { "total": 25, "limit": 10, "offset": 0, "sort_by": "precedence" }, "links": { "first": "/api/compliance/v2/security_guides/85d82063-b8f6-4e03-966c-01ab17f2a19c/rules?limit=10&offset=0&sort_by=precedence", "last": "/api/compliance/v2/security_guides/85d82063-b8f6-4e03-966c-01ab17f2a19c/rules?limit=10&offset=20&sort_by=precedence", "next": "/api/compliance/v2/security_guides/85d82063-b8f6-4e03-966c-01ab17f2a19c/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": "Retrieve a specific rule from a specific security guide.", "operationId": "Rule", "responses": { "200": { "description": "Returns a Rule", "content": { "application/vnd.api+json": { "examples": { "Returns a Rule": { "value": { "data": { "id": "152c200a-90a8-45e1-9110-060732745a3b", "ref_id": "xccdf_org.ssgproject.content_rule_394fc1e5c494c13371a68beb10452037", "title": "Quisquam quia in ipsum.", "rationale": "Rerum necessitatibus distinctio. Possimus debitis architecto. Commodi et dolores.", "description": "Veritatis facilis animi. Deleniti maxime eum. Perferendis modi praesentium.", "severity": "high", "precedence": 1427, "identifier": { "href": "http://langworth-crist.test/fidel.orn", "label": "Valandil" }, "references": [ { "href": "http://macgyver.example/adolfo", "label": "Aldor" }, { "href": "http://runte-kihn.example/paige.kovacek", "label": "Gorlim" }, { "href": "http://kassulke.test/maurine", "label": "Berylla Boffin" }, { "href": "http://satterfield.example/coralie_trantow", "label": "Tatië" }, { "href": "http://ankunding.test/leontine_macejkovic", "label": "Jessamine Boffin" } ], "value_checks": null, "remediation_available": false, "rule_group_id": "3fbf879a-c529-4bb0-a251-6023c5af116a", "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 33a78ac2-cb10-4da2-913f-4878c3128bb2" ] }, "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 (`:asc` or `:desc`).

If no direction is selected, `: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 scoped_search query language. However, only `=` or `!=` (resp. `<>`) operators are supported.

Rules are searchable using attributes `title`, `severity`, `remediation_available`, and `rule_group_id`

(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": "Retrieve a list of all security guide rules for a specific profile.", "operationId": "ProfileRules", "responses": { "200": { "description": "Lists Rules assigned to a Profile", "content": { "application/vnd.api+json": { "examples": { "List of Rules": { "value": { "data": [ { "id": "0a5acad8-353e-4ea7-848a-e7f5f1d7d8aa", "ref_id": "xccdf_org.ssgproject.content_rule_ae5bbef52fb6cf9c21895304fa906e99", "title": "Nisi amet eius velit.", "rationale": "Nemo ratione vero. Est cum consequatur. Dignissimos et et.", "description": "Qui hic commodi. Ut a qui. Minus atque molestiae.", "severity": "medium", "precedence": 5870, "identifier": { "href": "http://moen.example/marcos", "label": "Merimas Brandybuck" }, "references": [ { "href": "http://cruickshank.example/floretta.larkin", "label": "Gilbarad" }, { "href": "http://kautzer.example/arturo", "label": "Lúthien" }, { "href": "http://trantow.example/carissa_herzog", "label": "Beleth" }, { "href": "http://rau-walsh.test/matilde.krajcik", "label": "Berelach" }, { "href": "http://feest-von.test/yong", "label": "Wídfara" } ], "value_checks": null, "remediation_available": false, "rule_group_id": "fcc7e51b-b442-49cf-970d-bd245e419cf6", "type": "rule", "remediation_issue_id": null }, { "id": "1c8ea73b-f716-41f0-8e4c-9a440e25ac8a", "ref_id": "xccdf_org.ssgproject.content_rule_d837f17730c26a42c638dddb09da3b53", "title": "Libero aperiam sit officiis.", "rationale": "Vitae ab saepe. Maiores commodi dolor. Adipisci occaecati vel.", "description": "Non eum assumenda. Consequuntur laboriosam reiciendis. Nostrum libero molestiae.", "severity": "low", "precedence": 7352, "identifier": { "href": "http://abshire.example/hiram_will", "label": "Gerda Boffin" }, "references": [ { "href": "http://ferry.test/tena_sawayn", "label": "Calmacil" }, { "href": "http://powlowski.test/giuseppina.trantow", "label": "Orgulas Brandybuck" }, { "href": "http://metz.example/sparkle", "label": "Merry Gardner" }, { "href": "http://towne-kozey.example/candida", "label": "Gandalf" }, { "href": "http://nader.test/jerrod", "label": "Belba Baggins" } ], "value_checks": null, "remediation_available": false, "rule_group_id": "48d64f27-5854-4e36-acf1-c4b5ebc2a159", "type": "rule", "remediation_issue_id": null }, { "id": "26203892-7287-47d3-a03a-9109583858d5", "ref_id": "xccdf_org.ssgproject.content_rule_6bc2bdb176ad5b667df1520c6bf0c797", "title": "Ut ea dolor saepe.", "rationale": "Quia quisquam velit. Odit perferendis velit. Accusantium nam nihil.", "description": "Mollitia sint culpa. Quibusdam consectetur illo. Aut sit ut.", "severity": "high", "precedence": 8225, "identifier": { "href": "http://goyette.test/stan", "label": "Hending" }, "references": [ { "href": "http://dicki-hills.example/dirk", "label": "Hob Hayward" }, { "href": "http://dickens-fahey.example/merlyn_larkin", "label": "Drogo Baggins" }, { "href": "http://weissnat.example/gretta", "label": "Falco Chubb-Baggins" }, { "href": "http://wyman-reinger.example/landon", "label": "Gwaihir" }, { "href": "http://krajcik-lesch.example/barrett", "label": "Nessanië" } ], "value_checks": null, "remediation_available": false, "rule_group_id": "1dc604dc-4829-4c00-8d2a-0aa5796a4e3d", "type": "rule", "remediation_issue_id": null }, { "id": "3749991c-0d63-4250-abd6-0dafd0cfae20", "ref_id": "xccdf_org.ssgproject.content_rule_a969cd59ca08e77733bee8059d3d9f3d", "title": "Assumenda aliquam iusto odit.", "rationale": "Qui voluptate facere. Vitae perspiciatis et. Et est sit.", "description": "Rerum voluptas deserunt. Qui quod voluptatem. Nostrum aut reprehenderit.", "severity": "medium", "precedence": 3524, "identifier": { "href": "http://jakubowski-rempel.test/ike", "label": "Éothain" }, "references": [ { "href": "http://treutel.example/rina.mertz", "label": "Ulwarth" }, { "href": "http://bartoletti.example/davis_schmitt", "label": "Herendil" }, { "href": "http://bauch-okon.example/gennie_fay", "label": "Arminas" }, { "href": "http://gulgowski-ullrich.test/carrol.roberts", "label": "Donnamira Took" }, { "href": "http://bruen-bartell.test/tijuana", "label": "Inziladûn" } ], "value_checks": null, "remediation_available": false, "rule_group_id": "10473851-8f03-4c23-a02c-b65850f48c02", "type": "rule", "remediation_issue_id": null }, { "id": "3ed761ae-5b5a-4555-b98c-74b7d8771ed9", "ref_id": "xccdf_org.ssgproject.content_rule_62653a932d1f6f3f2a966781f954336a", "title": "Eum cupiditate ducimus tempora.", "rationale": "Quibusdam consequatur possimus. Sit necessitatibus similique. Totam esse nesciunt.", "description": "Saepe eum inventore. Ab accusamus enim. Debitis vel in.", "severity": "high", "precedence": 5105, "identifier": { "href": "http://konopelski.test/leora", "label": "Thorin" }, "references": [ { "href": "http://sipes-considine.test/harold_stiedemann", "label": "Harding of the Hill" }, { "href": "http://toy.test/raymond.robel", "label": "Telchar" }, { "href": "http://bogisich.example/eileen.dooley", "label": "Helm" }, { "href": "http://gutkowski-kunde.test/theo.abbott", "label": "Araphor" }, { "href": "http://friesen.test/carl", "label": "Landroval" } ], "value_checks": null, "remediation_available": false, "rule_group_id": "d5419adf-04f4-458c-b18b-269188fba13a", "type": "rule", "remediation_issue_id": null }, { "id": "46f1414c-b17b-4a0e-84d0-c100dce6930e", "ref_id": "xccdf_org.ssgproject.content_rule_48ed92cb834d8ea3b581669eb1fbe95d", "title": "Commodi modi in eveniet.", "rationale": "Aut eligendi qui. A ipsa animi. Ex tempora qui.", "description": "Quos qui optio. Dolores accusamus rerum. Tempora dolore voluptas.", "severity": "medium", "precedence": 1583, "identifier": { "href": "http://erdman.example/hana_windler", "label": "Hamfast Gardner" }, "references": [ { "href": "http://shanahan.example/phil.howe", "label": "Agathor" }, { "href": "http://huels-mosciski.test/cletus", "label": "Otto Boffin" }, { "href": "http://steuber.example/tanna", "label": "Tar-Aldarion" }, { "href": "http://greenfelder-dicki.example/reed_strosin", "label": "Rowan" }, { "href": "http://wintheiser-pacocha.example/jacques_ernser", "label": "Finbor" } ], "value_checks": null, "remediation_available": false, "rule_group_id": "72aeef62-0eb5-483e-b415-f7d58534c0d7", "type": "rule", "remediation_issue_id": null }, { "id": "54223f72-f475-42ee-b998-7cc687c3c1b0", "ref_id": "xccdf_org.ssgproject.content_rule_a11727f611bd7051f54f29a89c8a35a4", "title": "Dicta quia voluptates laudantium.", "rationale": "Molestiae aut delectus. Ad iusto facere. Voluptates reiciendis tempora.", "description": "Veniam nobis quae. Natus voluptatem recusandae. Est aut tenetur.", "severity": "high", "precedence": 2689, "identifier": { "href": "http://murphy-breitenberg.example/milton", "label": "Almarian" }, "references": [ { "href": "http://stoltenberg-waters.example/renay", "label": "Mosco Burrows" }, { "href": "http://kuhic.test/gudrun", "label": "Hallacar" }, { "href": "http://rowe-schmeler.test/ninfa", "label": "Vidumavi" }, { "href": "http://bauch.example/dusty_mcglynn", "label": "Celeborn" }, { "href": "http://heidenreich.example/alisia", "label": "Poldor" } ], "value_checks": null, "remediation_available": false, "rule_group_id": "96fb7e2f-f5f2-4a9b-84a6-816986b1aea1", "type": "rule", "remediation_issue_id": null }, { "id": "5f164ac1-f366-4037-912c-52a8e7ad653a", "ref_id": "xccdf_org.ssgproject.content_rule_274800d52a423b3d5bc01d1a0de41343", "title": "Quia quos et amet.", "rationale": "Quis in sapiente. Blanditiis incidunt officia. Nihil commodi nam.", "description": "Vel possimus neque. Non dolorem est. Consectetur dolores perferendis.", "severity": "high", "precedence": 7094, "identifier": { "href": "http://harber.test/hong", "label": "Iago Grubb" }, "references": [ { "href": "http://walter.example/collen", "label": "Nienor" }, { "href": "http://hilpert.example/colby_dubuque", "label": "Grimbold" }, { "href": "http://schaefer-torp.test/delana", "label": "Aranuir" }, { "href": "http://king-ankunding.example/arden", "label": "Robin Smallburrow" }, { "href": "http://pouros.test/kathyrn", "label": "Tar-Aldarion" } ], "value_checks": null, "remediation_available": false, "rule_group_id": "6083b4a9-bbeb-425c-8a96-0f6fe0b3ee44", "type": "rule", "remediation_issue_id": null }, { "id": "89633eb3-64a5-4568-b822-4d03565ace9f", "ref_id": "xccdf_org.ssgproject.content_rule_c0dbbc48dcfe6916698c1babdc5e7715", "title": "Sapiente recusandae iure fugiat.", "rationale": "Minima voluptatem debitis. Dolorem quae velit. Consequatur maiores eos.", "description": "Id veritatis amet. Voluptates labore autem. Assumenda hic est.", "severity": "medium", "precedence": 2998, "identifier": { "href": "http://sanford-oconner.test/trevor", "label": "Belladonna Took" }, "references": [ { "href": "http://fadel.test/tonia.huel", "label": "Morwë" }, { "href": "http://hermann.test/renato", "label": "Déorwine" }, { "href": "http://boehm.test/jonelle", "label": "Ondoher" }, { "href": "http://ratke.example/hubert", "label": "Brego" }, { "href": "http://jones.test/violeta", "label": "Valandil" } ], "value_checks": null, "remediation_available": false, "rule_group_id": "61685787-7ab2-403d-9695-b5c09c7510bd", "type": "rule", "remediation_issue_id": null }, { "id": "8d63a426-af3f-450e-beb1-305dd1b47852", "ref_id": "xccdf_org.ssgproject.content_rule_78e65d67cc39ad396cf8a16c59acf64b", "title": "Qui aut eius veritatis.", "rationale": "Libero magni nesciunt. Placeat qui facilis. Voluptatem harum ex.", "description": "Maiores blanditiis cumque. Aliquid adipisci molestiae. Numquam architecto sit.", "severity": "low", "precedence": 345, "identifier": { "href": "http://lubowitz-terry.example/jame", "label": "Azaghâl" }, "references": [ { "href": "http://ratke-spinka.test/terence_nitzsche", "label": "Meneldor" }, { "href": "http://feest-larkin.example/edmund", "label": "Beril" }, { "href": "http://schamberger-carroll.test/vicenta", "label": "Tata" }, { "href": "http://mcclure-kilback.test/stan", "label": "Menegilda Goold" }, { "href": "http://murazik.test/santo", "label": "Aldamir" } ], "value_checks": null, "remediation_available": false, "rule_group_id": "f51e160f-59c7-4659-b05f-ec6b25a30261", "type": "rule", "remediation_issue_id": null } ], "meta": { "total": 25, "limit": 10, "offset": 0 }, "links": { "first": "/api/compliance/v2/security_guides/4091b39f-cd62-497b-a72f-a22ded6618f5/profiles/cec8188c-1f6f-4e8c-8190-19bb2057a198/rules?limit=10&offset=0", "last": "/api/compliance/v2/security_guides/4091b39f-cd62-497b-a72f-a22ded6618f5/profiles/cec8188c-1f6f-4e8c-8190-19bb2057a198/rules?limit=10&offset=20", "next": "/api/compliance/v2/security_guides/4091b39f-cd62-497b-a72f-a22ded6618f5/profiles/cec8188c-1f6f-4e8c-8190-19bb2057a198/rules?limit=10&offset=10" } }, "summary": "", "description": "" }, "List of Rules sorted by \"precedence:asc\"": { "value": { "data": [ { "id": "7bdc6e5a-063a-42d8-a475-49c5fb33282b", "ref_id": "xccdf_org.ssgproject.content_rule_54b93a590699fad3fc2a17900b87c1e3", "title": "Nesciunt inventore itaque eos.", "rationale": "Consectetur eveniet perferendis. Voluptatem sit aliquam. Officia vero similique.", "description": "Optio magnam quia. Doloribus ut quia. Magni id sequi.", "severity": "medium", "precedence": 112, "identifier": { "href": "http://lehner.test/kandace", "label": "May Gamgee" }, "references": [ { "href": "http://mraz.test/sandra", "label": "Isengar Took" }, { "href": "http://ritchie.test/chance", "label": "Lavender Grubb" }, { "href": "http://prohaska.example/luke.cartwright", "label": "Irolas" }, { "href": "http://towne-prosacco.test/dwain", "label": "Pott the Mayor" }, { "href": "http://kuvalis-murphy.test/thuy", "label": "Ancalagon" } ], "value_checks": null, "remediation_available": false, "rule_group_id": "d27256ad-06ba-4a1c-b9d9-df3981be27ef", "type": "rule", "remediation_issue_id": null }, { "id": "04e41d23-cfee-4cea-8689-f77c295b60f3", "ref_id": "xccdf_org.ssgproject.content_rule_2f72d92c1f62d45a629435ef9d721f7f", "title": "Qui aut qui ab.", "rationale": "Id qui occaecati. Dolorem et numquam. Distinctio dolorem doloremque.", "description": "Iure placeat aut. Natus officiis qui. Soluta in tempore.", "severity": "medium", "precedence": 521, "identifier": { "href": "http://muller.test/marcelino_treutel", "label": "Balbo Baggins" }, "references": [ { "href": "http://kessler-runte.test/katherin", "label": "Isildur" }, { "href": "http://hegmann.example/ignacio", "label": "Mîm" }, { "href": "http://pagac.example/irish", "label": "Holdwine" }, { "href": "http://baumbach.test/gussie", "label": "Arador" }, { "href": "http://dooley-nitzsche.test/joelle.borer", "label": "Linda Baggins" } ], "value_checks": null, "remediation_available": false, "rule_group_id": "d50b2246-c0f8-47f0-b19f-7d3e4f3ac10c", "type": "rule", "remediation_issue_id": null }, { "id": "92084661-6054-4cbf-8a4f-5a091abc073c", "ref_id": "xccdf_org.ssgproject.content_rule_99a59a815f35910d057ccdf8cf5a0b29", "title": "Optio dolorem voluptatem voluptatem.", "rationale": "Porro minus autem. Veritatis neque qui. Ut laboriosam porro.", "description": "Sit omnis inventore. Fuga reprehenderit sit. Vitae dignissimos laborum.", "severity": "low", "precedence": 771, "identifier": { "href": "http://zulauf-jacobi.test/shawana", "label": "Faramir Took" }, "references": [ { "href": "http://mcglynn-crona.example/enoch_crona", "label": "Merry Gardner" }, { "href": "http://stoltenberg-breitenberg.example/dennise", "label": "Magor" }, { "href": "http://cremin-kuhic.example/bambi", "label": "Tar-Ardamin" }, { "href": "http://krajcik.example/adan", "label": "Angrim" }, { "href": "http://bruen-gutmann.test/lasandra", "label": "Oromendil" } ], "value_checks": null, "remediation_available": false, "rule_group_id": "de64a71c-dc8d-4edd-841e-5cc96a4f5be0", "type": "rule", "remediation_issue_id": null }, { "id": "00bda511-e7c3-4d1b-a799-f6731f28be86", "ref_id": "xccdf_org.ssgproject.content_rule_d4e66ba7fd23fb3dbc1ed3f3f19d4d55", "title": "Dicta rerum expedita et.", "rationale": "Eligendi voluptatem placeat. Laboriosam quasi pariatur. Magnam qui eos.", "description": "Et quis mollitia. Aspernatur alias assumenda. Odio corrupti illum.", "severity": "low", "precedence": 1004, "identifier": { "href": "http://wyman.test/pablo", "label": "Théodred" }, "references": [ { "href": "http://legros-langosh.test/janae.johns", "label": "Cottar" }, { "href": "http://dickinson-fritsch.test/gregg_jakubowski", "label": "Elros" }, { "href": "http://will-feest.example/kristi", "label": "Tanta Hornblower" }, { "href": "http://schumm-streich.example/sherice", "label": "Belecthor" }, { "href": "http://bernhard.example/candance", "label": "Tar-Palantir" } ], "value_checks": null, "remediation_available": false, "rule_group_id": "de4c733c-fa61-43ba-84f6-6b8402ac2d1c", "type": "rule", "remediation_issue_id": null }, { "id": "e328432a-ae12-4dd9-8d79-ae8ba3c291e5", "ref_id": "xccdf_org.ssgproject.content_rule_6169c61ba34be86c9c35d17ef7bca25c", "title": "Et maiores non consequatur.", "rationale": "Natus molestiae pariatur. Et itaque ut. Ut vitae doloribus.", "description": "Dolorem ut qui. Veritatis ab quia. Incidunt voluptatum dolores.", "severity": "low", "precedence": 2479, "identifier": { "href": "http://kovacek-kuvalis.test/leo", "label": "Egalmoth" }, "references": [ { "href": "http://walter-mraz.test/courtney_west", "label": "Orleg" }, { "href": "http://corkery-hyatt.test/boyd", "label": "Angrim" }, { "href": "http://hackett-conn.test/wayne", "label": "Tar-Ancalimon" }, { "href": "http://bednar-ernser.example/jimmy", "label": "Halfred Gamgee" }, { "href": "http://morissette.test/myrtie", "label": "Herugar Bolger" } ], "value_checks": null, "remediation_available": false, "rule_group_id": "32989a93-5bf0-49fb-af74-95b62325a937", "type": "rule", "remediation_issue_id": null }, { "id": "7ea5b1d2-8880-4e26-990a-b0ad3eec2fd8", "ref_id": "xccdf_org.ssgproject.content_rule_e28498cb988f1205256f0a521813fb10", "title": "Alias rem voluptatem suscipit.", "rationale": "Saepe voluptatem sed. Esse qui est. Iure ea sequi.", "description": "Sit sunt maxime. Commodi qui atque. Eos et beatae.", "severity": "high", "precedence": 2873, "identifier": { "href": "http://dicki-grimes.example/oliver", "label": "Eärendil" }, "references": [ { "href": "http://flatley.example/lavenia_skiles", "label": "Flambard Took" }, { "href": "http://sauer.example/genoveva.donnelly", "label": "Bucca of the Marish" }, { "href": "http://ondricka.example/nestor", "label": "Golasgil" }, { "href": "http://okeefe.example/lilliam.koepp", "label": "Maedhros" }, { "href": "http://lesch.example/ezra_stracke", "label": "Folco Burrowes" } ], "value_checks": null, "remediation_available": false, "rule_group_id": "f6e1778b-5899-4c82-aba0-9715c138fc3b", "type": "rule", "remediation_issue_id": null }, { "id": "477d8336-b66c-4174-83bf-9e80bf2077dc", "ref_id": "xccdf_org.ssgproject.content_rule_d7c6870e4de8f5dc242de86935c66a99", "title": "Quia inventore est suscipit.", "rationale": "Voluptatem voluptatem maxime. Repudiandae voluptas ratione. Rerum neque consequatur.", "description": "Natus occaecati et. Molestiae ut vitae. Et nisi dolorum.", "severity": "low", "precedence": 2955, "identifier": { "href": "http://auer.example/aleen", "label": "Findis" }, "references": [ { "href": "http://lebsack.test/ahmad_yundt", "label": "Mogru" }, { "href": "http://damore-ruecker.example/bonnie.klocko", "label": "Tar-Anducal" }, { "href": "http://hoeger.test/catherine", "label": "Meneldor" }, { "href": "http://becker.example/jaye_ziemann", "label": "Finwë" }, { "href": "http://yost.example/javier", "label": "Malva Headstrong" } ], "value_checks": null, "remediation_available": false, "rule_group_id": "cc7a62f2-593a-423a-b9ca-efc2cbff5851", "type": "rule", "remediation_issue_id": null }, { "id": "29399ef6-2869-4b19-8d0e-e2810ac37d32", "ref_id": "xccdf_org.ssgproject.content_rule_111d88a72138e1b785abb32288a479ac", "title": "Quod sunt perferendis accusamus.", "rationale": "Architecto et quia. Molestiae eveniet minima. Assumenda sapiente sint.", "description": "Doloremque voluptatem rerum. Repellat voluptas numquam. Quia cumque molestias.", "severity": "high", "precedence": 3319, "identifier": { "href": "http://rowe-cole.example/duane", "label": "Holman Cotton" }, "references": [ { "href": "http://parker.test/johnathan.schuster", "label": "Blodren" }, { "href": "http://leuschke-ondricka.test/thomasena", "label": "Arantar" }, { "href": "http://funk.test/coleen", "label": "Peeping Jack" }, { "href": "http://bins.example/cody", "label": "Halfred Greenhand" }, { "href": "http://waelchi-lynch.test/chan_cole", "label": "Fingon" } ], "value_checks": null, "remediation_available": false, "rule_group_id": "db463c50-e826-42be-8682-538d2892a7cd", "type": "rule", "remediation_issue_id": null }, { "id": "c369c24d-ac69-40b6-877b-6cecdb884d23", "ref_id": "xccdf_org.ssgproject.content_rule_0db8f04583b13e32d08fafeab58fc81d", "title": "Ut neque ea sapiente.", "rationale": "Et ullam et. Et quisquam accusamus. Delectus labore vero.", "description": "Consequatur temporibus cumque. Voluptates et id. Est et aut.", "severity": "low", "precedence": 3726, "identifier": { "href": "http://langworth.example/maire", "label": "Rowan" }, "references": [ { "href": "http://ondricka.example/melvin", "label": "Hathaldir" }, { "href": "http://sporer.example/roma.barton", "label": "Arassuil" }, { "href": "http://brakus.example/aline", "label": "Turambar" }, { "href": "http://vonrueden.test/jamie", "label": "Briffo Boffin" }, { "href": "http://treutel.test/irma_langworth", "label": "Éothain" } ], "value_checks": null, "remediation_available": false, "rule_group_id": "83166c1d-4201-4b94-b6ce-e5a0849a5f0a", "type": "rule", "remediation_issue_id": null }, { "id": "b102db39-b831-4d91-a12b-c6d448bbeb6f", "ref_id": "xccdf_org.ssgproject.content_rule_33c1965e14531ec1a9648abe2b61b670", "title": "Ipsum culpa velit ut.", "rationale": "Excepturi occaecati blanditiis. Voluptatum quo voluptas. Dolor modi voluptates.", "description": "Nulla aperiam qui. Eligendi dicta repellat. Possimus odit dolorem.", "severity": "low", "precedence": 3876, "identifier": { "href": "http://jacobson.test/noelia", "label": "Daisy Baggins" }, "references": [ { "href": "http://toy.example/hilaria.wiegand", "label": "Manthor" }, { "href": "http://ortiz-wiza.example/robbie", "label": "Enerdhil" }, { "href": "http://johnson.example/german", "label": "Brandir" }, { "href": "http://crist.test/marcelo", "label": "Harding" }, { "href": "http://hickle-langworth.example/nicholas", "label": "Mosco Burrows" } ], "value_checks": null, "remediation_available": false, "rule_group_id": "f03b6adc-1bc9-4ce0-9d1b-57a562d921b1", "type": "rule", "remediation_issue_id": null } ], "meta": { "total": 25, "limit": 10, "offset": 0, "sort_by": "precedence" }, "links": { "first": "/api/compliance/v2/security_guides/ab5e120b-5f7f-4d31-ba47-b3108d7d07f7/profiles/84a5e463-9152-4214-92e3-0f4a792d4470/rules?limit=10&offset=0&sort_by=precedence", "last": "/api/compliance/v2/security_guides/ab5e120b-5f7f-4d31-ba47-b3108d7d07f7/profiles/84a5e463-9152-4214-92e3-0f4a792d4470/rules?limit=10&offset=20&sort_by=precedence", "next": "/api/compliance/v2/security_guides/ab5e120b-5f7f-4d31-ba47-b3108d7d07f7/profiles/84a5e463-9152-4214-92e3-0f4a792d4470/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": "Retrieve a specific security guide rule for a specific 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": "b0f43f2f-dffe-43c2-b255-ab9a115e9c25", "ref_id": "xccdf_org.ssgproject.content_rule_d2f7690afac0a2375c3716352d067f68", "title": "Dolorem quas et rerum.", "rationale": "Fugit dolor iusto. Aliquam porro vel. Consequatur nihil odio.", "description": "Esse corrupti enim. Sunt blanditiis quo. Est et repellat.", "severity": "medium", "precedence": 6707, "identifier": { "href": "http://halvorson-kirlin.test/chrystal", "label": "Ithilbor" }, "references": [ { "href": "http://wilkinson-shields.example/jalisa_ebert", "label": "Thorin Stonehelm" }, { "href": "http://berge.test/setsuko", "label": "Elladan" }, { "href": "http://hand.test/oscar_medhurst", "label": "Telumehtar Umbardacil" }, { "href": "http://simonis-schinner.test/yi.labadie", "label": "Orgulas Brandybuck" }, { "href": "http://marvin.example/wendell.gusikowski", "label": "Ruby Gardner" } ], "value_checks": null, "remediation_available": false, "rule_group_id": "d9566e2d-9b35-48cd-9016-f1381e481748", "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 bffdbfe3-1bc7-4418-a437-ddf579f60ae2" ] }, "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 (`:asc` or `:desc`).

If no direction is selected, `: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 scoped_search query language. However, only `=` or `!=` (resp. `<>`) operators are supported.

Rules are searchable using attributes `title`, `severity`, `remediation_available`, and `rule_group_id`

(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": "Retrieve a list of rules relating to specific tailorings.", "operationId": "TailoringRules", "responses": { "200": { "description": "Lists Rules assigned to a Tailoring", "content": { "application/vnd.api+json": { "examples": { "List of Rules": { "value": { "data": [ { "id": "2432672c-c7f3-46de-8e2e-a4fbc6f354d5", "ref_id": "xccdf_org.ssgproject.content_rule_4a78169e78857f3e640580e2344f6938", "title": "Nobis quod expedita architecto.", "rationale": "Sit earum modi. Consectetur temporibus accusamus. Velit optio qui.", "description": "Accusamus deserunt in. Eaque omnis debitis. Dicta illo vero.", "severity": "low", "precedence": 1338, "identifier": { "href": "http://rau-cummings.test/israel.dibbert", "label": "Larnach" }, "references": [ { "href": "http://wunsch.test/noe", "label": "Beldis" }, { "href": "http://rippin-hane.example/hilma_erdman", "label": "Nimrodel" }, { "href": "http://botsford.test/teressa.rosenbaum", "label": "Tar-Meneldur" }, { "href": "http://anderson.example/ladonna.von", "label": "Inziladûn" }, { "href": "http://wolff.test/jenelle_sawayn", "label": "Isilmo" } ], "value_checks": null, "remediation_available": false, "rule_group_id": "ed6d0150-9c18-45e4-9c0c-881b6da2a33d", "type": "rule" } ], "meta": { "total": 1, "limit": 10, "offset": 0 }, "links": { "first": "/api/compliance/v2/policies/b30c6eb4-47a2-429e-90eb-a45e982fed63/tailorings/13b547a7-9ebf-4378-9d3e-29eaa51e7804/rules?limit=10&offset=0", "last": "/api/compliance/v2/policies/b30c6eb4-47a2-429e-90eb-a45e982fed63/tailorings/13b547a7-9ebf-4378-9d3e-29eaa51e7804/rules?limit=10&offset=0" } }, "summary": "", "description": "" }, "List of Rules sorted by \"precedence:asc\"": { "value": { "data": [ { "id": "9a0405d5-4adc-47b4-afcd-a935c0e2070b", "ref_id": "xccdf_org.ssgproject.content_rule_4c0c0cbf301ce98add29d8e40a84987a", "title": "Quam qui alias in.", "rationale": "Minus ipsum et. Illo cumque enim. Quis ea modi.", "description": "Voluptas natus hic. Hic enim sit. Eos voluptatem animi.", "severity": "medium", "precedence": 7549, "identifier": { "href": "http://bogisich.test/hai", "label": "Dora Baggins" }, "references": [ { "href": "http://yundt-casper.test/chuck_towne", "label": "Amlaith" }, { "href": "http://volkman.example/cesar_damore", "label": "Idis" }, { "href": "http://kris-howell.test/florencia_ferry", "label": "Argeleb" }, { "href": "http://barton.example/lynell.ebert", "label": "Borthand" }, { "href": "http://mclaughlin.test/tod", "label": "Treebeard" } ], "value_checks": null, "remediation_available": false, "rule_group_id": "3d55a216-060d-4574-b7e5-fcf34f03b923", "type": "rule" } ], "meta": { "total": 1, "limit": 10, "offset": 0, "sort_by": "precedence" }, "links": { "first": "/api/compliance/v2/policies/093293ca-f719-4e35-a242-305433bfc6cb/tailorings/3bf3c6a8-d254-48ad-9781-04428f99ec1a/rules?limit=10&offset=0&sort_by=precedence", "last": "/api/compliance/v2/policies/093293ca-f719-4e35-a242-305433bfc6cb/tailorings/3bf3c6a8-d254-48ad-9781-04428f99ec1a/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": "0eb54eca-e109-440c-a36a-28a653fe9f82", "ref_id": "xccdf_org.ssgproject.content_rule_af94b042de29bf8f4d665cb0e9d1a98d", "title": "Et qui quidem enim.", "rationale": "Quia pariatur dolor. Qui doloremque non. Magnam nam sed.", "description": "Et minima nihil. Et vel facilis. Mollitia reprehenderit suscipit.", "severity": "high", "precedence": 1506, "identifier": { "href": "http://frami.example/manuel", "label": "King of the Dead" }, "references": [ { "href": "http://abernathy.example/granville.vandervort", "label": "Erkenbrand" }, { "href": "http://hansen-tromp.test/talia", "label": "Haldar" }, { "href": "http://hills.test/shelby", "label": "Celebrían" }, { "href": "http://kub-bernier.test/hettie", "label": "Hobson" }, { "href": "http://johns.test/benjamin", "label": "William" } ], "value_checks": null, "remediation_available": false, "rule_group_id": "1a21326b-c3ad-4d85-9869-cd113f3b83d0", "type": "rule" }, { "id": "1a57713c-57ef-4910-8c64-13abcd11c550", "ref_id": "xccdf_org.ssgproject.content_rule_7159d0d01fe1deaaac45c123568c8a0e", "title": "Labore excepturi qui voluptate.", "rationale": "Nulla suscipit voluptates. Rerum nisi quis. Deleniti consequatur quia.", "description": "Enim expedita ullam. Corrupti aut quo. Maiores excepturi quia.", "severity": "low", "precedence": 9500, "identifier": { "href": "http://kunde.test/leigh", "label": "Siriondil" }, "references": [ { "href": "http://ortiz.example/susannah.dibbert", "label": "Daisy Baggins" }, { "href": "http://schaden-ankunding.example/alfred", "label": "Celeborn" }, { "href": "http://oreilly.example/jenice.cummings", "label": "Dori" }, { "href": "http://krajcik.example/art", "label": "Indis" }, { "href": "http://fay.example/merle", "label": "Mosco Burrows" } ], "value_checks": null, "remediation_available": false, "rule_group_id": "66bcfacf-ce12-47ad-9d54-e69fa60bd930", "type": "rule" }, { "id": "1cd3b8b0-6382-42ef-b293-85c50ff8f1b5", "ref_id": "xccdf_org.ssgproject.content_rule_ec827c07562798de214b4c4a76e2d1ea", "title": "Voluptatibus repellat veritatis id.", "rationale": "Et et commodi. Delectus et et. Doloremque eius quo.", "description": "Libero error dolores. Sequi velit veniam. Eveniet recusandae culpa.", "severity": "high", "precedence": 2388, "identifier": { "href": "http://feil.example/darin", "label": "Bowman Cotton" }, "references": [ { "href": "http://von-schmidt.example/milo", "label": "Emeldir" }, { "href": "http://mante.example/reed.quigley", "label": "Amlach" }, { "href": "http://turcotte.test/winford.gislason", "label": "Otho Sackville-Baggins" }, { "href": "http://nienow-lebsack.test/leandro_kihn", "label": "Robin Smallburrow" }, { "href": "http://stiedemann.test/toya", "label": "Malach" } ], "value_checks": null, "remediation_available": false, "rule_group_id": "6972c1eb-ac13-4a71-aaf6-3b5757a5d399", "type": "rule" }, { "id": "2665369c-187e-4b11-ad4a-0c802b89c912", "ref_id": "xccdf_org.ssgproject.content_rule_f8ece0df20bb6ffce861d52c0ffb486a", "title": "At vitae reprehenderit sed.", "rationale": "Blanditiis consequuntur aspernatur. Velit quaerat et. Officia laudantium eum.", "description": "Harum quasi praesentium. Explicabo culpa et. Est quia expedita.", "severity": "low", "precedence": 9264, "identifier": { "href": "http://halvorson-wunsch.test/geoffrey.simonis", "label": "Enel" }, "references": [ { "href": "http://oreilly.example/elna.fadel", "label": "Bucca of the Marish" }, { "href": "http://bosco.test/earle", "label": "Ulrad" }, { "href": "http://wunsch.test/alina.ohara", "label": "Orgulas Brandybuck" }, { "href": "http://wisozk.test/frankie", "label": "Aratan" }, { "href": "http://swift.example/tilda", "label": "Mungo Baggins" } ], "value_checks": null, "remediation_available": false, "rule_group_id": "f8139677-dc1e-4ab5-ae5c-1d6b4d62e1ae", "type": "rule" }, { "id": "4b1fa9b2-7d4b-4d75-be6f-1382a3a37e72", "ref_id": "xccdf_org.ssgproject.content_rule_7a76b16fd29e3e02071bb46c5f8aa17a", "title": "Rerum commodi in soluta.", "rationale": "Quam qui placeat. Vero doloremque ut. Ea esse ea.", "description": "Sint earum temporibus. Porro consectetur et. Esse et unde.", "severity": "low", "precedence": 3544, "identifier": { "href": "http://oreilly.test/laveta", "label": "Ghân-buri-Ghân" }, "references": [ { "href": "http://kris.test/luther", "label": "Aratan" }, { "href": "http://bartoletti-koelpin.example/hilton.corwin", "label": "Bowman Cotton" }, { "href": "http://murphy.test/gala.rau", "label": "Frerin" }, { "href": "http://hahn-hane.test/norman_dibbert", "label": "Tosto Boffin" }, { "href": "http://wunsch.example/joselyn.terry", "label": "Ragnor" } ], "value_checks": null, "remediation_available": false, "rule_group_id": "2533ecfc-d77a-4eea-ad06-16b1b8d9e8a6", "type": "rule" }, { "id": "4e014ee6-016d-4368-ac9c-022719676466", "ref_id": "xccdf_org.ssgproject.content_rule_5124402ce9606bced3849acbc6835798", "title": "Voluptatum qui magni quos.", "rationale": "A consequuntur praesentium. Neque soluta harum. Eum ut et.", "description": "Et voluptatem ut. Exercitationem vitae delectus. Et et velit.", "severity": "high", "precedence": 4843, "identifier": { "href": "http://corkery-davis.example/shaunte", "label": "Gram" }, "references": [ { "href": "http://labadie.test/jacqueline", "label": "Erchirion" }, { "href": "http://dickinson.example/retha", "label": "Lóni" }, { "href": "http://reilly.test/jena_bailey", "label": "Gothmog" }, { "href": "http://cummings.test/moshe", "label": "Donnamira Took" }, { "href": "http://treutel.example/bess_blick", "label": "Bregil" } ], "value_checks": null, "remediation_available": false, "rule_group_id": "85dc43d9-34e6-4cc9-b856-9a2a6ab5cd7c", "type": "rule" }, { "id": "61ecb1bb-2f43-457c-9b13-9c1fb7f5a181", "ref_id": "xccdf_org.ssgproject.content_rule_2e1867a532b0f20f45943ed384941b7c", "title": "Quo dolore dignissimos et.", "rationale": "Ut vel sunt. Ipsam nemo et. Molestias rerum voluptate.", "description": "Saepe quibusdam dolorem. Laudantium occaecati ut. Maiores et quas.", "severity": "medium", "precedence": 6688, "identifier": { "href": "http://glover-ruecker.example/anton", "label": "Angamaitë" }, "references": [ { "href": "http://rutherford.example/delila", "label": "Lenwë" }, { "href": "http://stamm-smith.test/katy.labadie", "label": "Folcred" }, { "href": "http://howe.example/norah", "label": "Imrazôr" }, { "href": "http://bartell-moore.example/sammy", "label": "Nimrodel" }, { "href": "http://kilback-kris.test/arnold.mraz", "label": "Nurwë" } ], "value_checks": null, "remediation_available": false, "rule_group_id": "008351e5-3c16-4c55-84be-11c2961531a2", "type": "rule" }, { "id": "72ad8804-aa41-46af-9f6b-00012e09e616", "ref_id": "xccdf_org.ssgproject.content_rule_6265706dfc0b5f2ada73cfb31bead9a9", "title": "Iure ipsa sapiente distinctio.", "rationale": "Sed et a. Suscipit nemo ut. Quis natus dolor.", "description": "Eum laudantium cumque. Repudiandae enim similique. Voluptatum id explicabo.", "severity": "medium", "precedence": 3364, "identifier": { "href": "http://grady.example/clinton", "label": "Sagroth" }, "references": [ { "href": "http://corkery-osinski.example/zita.west", "label": "Elentir" }, { "href": "http://anderson.example/chung", "label": "Dervorin" }, { "href": "http://morar.test/kathryne.yundt", "label": "Lúthien" }, { "href": "http://kohler-bernier.example/keven", "label": "Belen" }, { "href": "http://wiza.test/francesco", "label": "Elanor Gardner" } ], "value_checks": null, "remediation_available": false, "rule_group_id": "aab1db3b-4ae6-4373-a2bb-96c4d46e182f", "type": "rule" }, { "id": "76f4c37d-0da3-4fbe-b693-cfaf9e722dcc", "ref_id": "xccdf_org.ssgproject.content_rule_1db0a9cfdf31e20e258cea106f53080e", "title": "Occaecati quaerat quis laborum.", "rationale": "Fugit non dolorem. Debitis reiciendis et. Ut voluptatem laudantium.", "description": "Possimus aut corporis. Rerum dolorem aut. Totam quasi qui.", "severity": "medium", "precedence": 9660, "identifier": { "href": "http://ziemann-stehr.test/gary", "label": "Faniel" }, "references": [ { "href": "http://kulas.test/avery_stehr", "label": "Ioreth" }, { "href": "http://daugherty.example/rubin", "label": "Dori" }, { "href": "http://abbott-grant.test/cristen.gutmann", "label": "Lalaith" }, { "href": "http://emard.example/star.klocko", "label": "Bard" }, { "href": "http://beer-heidenreich.example/so_mosciski", "label": "Daeron" } ], "value_checks": null, "remediation_available": false, "rule_group_id": "15cb3d3e-80b5-48a1-9e79-1d1eea6f42ae", "type": "rule" }, { "id": "7826db2e-2d1f-49eb-b81a-405a3b27ab45", "ref_id": "xccdf_org.ssgproject.content_rule_d0f6167c35fa61e1481174dfe2e01240", "title": "Est occaecati minima cumque.", "rationale": "Earum maxime ex. Consequatur consequuntur ut. Voluptatem ipsum labore.", "description": "Unde nihil beatae. Culpa quia consequatur. Ut asperiores qui.", "severity": "low", "precedence": 5074, "identifier": { "href": "http://monahan.example/roxanne", "label": "Boar of Everholt" }, "references": [ { "href": "http://oconner.test/qiana.green", "label": "Dáin Ironfoot" }, { "href": "http://hand.example/isabella", "label": "Glirhuin" }, { "href": "http://satterfield.example/jennifer_harvey", "label": "Baran" }, { "href": "http://ondricka.example/isidra.greenfelder", "label": "Nellas" }, { "href": "http://jacobi.example/sherill", "label": "Beleg" } ], "value_checks": null, "remediation_available": false, "rule_group_id": "b6448d8b-2607-46ac-811f-80ce9141f645", "type": "rule" } ], "meta": { "total": 25, "limit": 10, "offset": 0 }, "links": { "first": "/api/compliance/v2/policies/f6cbfaf9-23ae-47e2-b8e2-f682b4dcb5e2/tailorings/eb648bb2-d524-4496-8c46-99f5c784ecb8/rules?limit=10&offset=0", "last": "/api/compliance/v2/policies/f6cbfaf9-23ae-47e2-b8e2-f682b4dcb5e2/tailorings/eb648bb2-d524-4496-8c46-99f5c784ecb8/rules?limit=10&offset=20", "next": "/api/compliance/v2/policies/f6cbfaf9-23ae-47e2-b8e2-f682b4dcb5e2/tailorings/eb648bb2-d524-4496-8c46-99f5c784ecb8/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": "Add a rule to a specific 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": "ba9f257f-a461-436e-ada9-3c482c835791", "ref_id": "xccdf_org.ssgproject.content_rule_2f2e6ebf53c5ccbb21a5f4b067f5ddfb", "title": "Culpa ut aliquid earum.", "rationale": "Dolorem quia nesciunt. Veniam neque consequatur. Animi voluptate fuga.", "description": "Quisquam consequatur odit. Ut ab suscipit. Fugit sint nobis.", "severity": "high", "precedence": 2764, "identifier": { "href": "http://schmitt.example/adam.hilll", "label": "Pervinca Took" }, "references": [ { "href": "http://lynch.test/dallas.ryan", "label": "Estelmo" }, { "href": "http://collins-fadel.example/wanita", "label": "Muzgash" }, { "href": "http://kreiger.test/teodoro_frami", "label": "Angelica Baggins" }, { "href": "http://williamson-lindgren.test/shawnna", "label": "Gormadoc Brandybuck" }, { "href": "http://jerde-morar.test/hank", "label": "Aldor" } ], "value_checks": null, "remediation_available": false, "rule_group_id": "9db23c6d-6c42-4ad4-a8c5-9cd4d9567099", "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 9a698fd4-d7b6-4c0f-9a8a-3577fb109eb8" ] }, "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": "Use this to remove a rule from your 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": "1a3bdb29-7294-42b2-b9dd-8adde6f06d34", "ref_id": "xccdf_org.ssgproject.content_rule_e175904fe73f5fceab8ac2cddde1400e", "title": "Laborum numquam et dolores.", "rationale": "Aut expedita voluptatum. Minus inventore non. Doloremque alias iste.", "description": "Sed cupiditate fugit. Laboriosam iure provident. Doloribus qui officiis.", "severity": "medium", "precedence": 5068, "identifier": { "href": "http://stokes.example/hipolito.leuschke", "label": "Enerdhil" }, "references": [ { "href": "http://sawayn.example/collette.willms", "label": "Malbeth" }, { "href": "http://streich-jones.test/gricelda", "label": "Iago Grubb" }, { "href": "http://schmitt.example/ervin", "label": "Isilmo" }, { "href": "http://pagac.test/bret", "label": "Aranwë" }, { "href": "http://oberbrunner-pfannerstill.test/bryon.runolfsson", "label": "Blanco Bracegirdle" } ], "value_checks": null, "remediation_available": false, "rule_group_id": "77e0fd94-e58d-4d5c-abfe-2a0aba65ff28", "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 e57d62e1-0044-4b72-9631-09981a286ac4" ] }, "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 (`:asc` or `:desc`).

If no direction is selected, `: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 scoped_search query language. However, only `=` or `!=` (resp. `<>`) operators are supported.

Security Guides are searchable using attributes `title`, `version`, `ref_id`, `os_major_version`, `profile_ref_id`, and `supported_profile`

(e.g.: `(field_1=something AND field_2!=\"something else\") OR field_3>40`)", "schema": { "type": "string" } } ], "tags": [ "Content" ], "description": "Retrieve a list of all SCAP security guides.", "operationId": "SecurityGuides", "responses": { "200": { "description": "Lists Security Guides", "content": { "application/vnd.api+json": { "examples": { "List of Security Guides": { "value": { "data": [ { "id": "0a79038a-7e09-49cf-9664-065c47367c7e", "ref_id": "xccdf_org.ssgproject.content_benchmark_RHEL-7", "title": "Perferendis quo sunt alias.", "version": "100.81.35", "description": "Omnis quo deleniti. Id ut nemo. Omnis et facere.", "os_major_version": 7, "type": "security_guide" }, { "id": "0ec21680-1166-4ca1-8cb0-09af88e5efc5", "ref_id": "xccdf_org.ssgproject.content_benchmark_RHEL-7", "title": "Et voluptas saepe alias.", "version": "100.81.31", "description": "Ratione non distinctio. Repellendus pariatur accusantium. Perspiciatis neque laboriosam.", "os_major_version": 7, "type": "security_guide" }, { "id": "3537335b-9100-4ff8-9014-b30b4604b733", "ref_id": "xccdf_org.ssgproject.content_benchmark_RHEL-7", "title": "Consequatur dolorum et accusamus.", "version": "100.81.25", "description": "Aut necessitatibus nihil. Autem qui magni. At illum qui.", "os_major_version": 7, "type": "security_guide" }, { "id": "433adc74-7284-4d42-a598-25aea59e44ae", "ref_id": "xccdf_org.ssgproject.content_benchmark_RHEL-7", "title": "Qui ut perspiciatis non.", "version": "100.81.43", "description": "Cum quis tenetur. Quae qui aspernatur. Tenetur possimus repellendus.", "os_major_version": 7, "type": "security_guide" }, { "id": "4b27fb6a-838d-4995-8f2d-518fc7ea584b", "ref_id": "xccdf_org.ssgproject.content_benchmark_RHEL-7", "title": "Et quas dolorum blanditiis.", "version": "100.81.30", "description": "Minus quas quisquam. Voluptatibus quisquam laborum. Tempora assumenda nostrum.", "os_major_version": 7, "type": "security_guide" }, { "id": "4fa02f5d-9d4d-441f-95d6-fbc3b8541be0", "ref_id": "xccdf_org.ssgproject.content_benchmark_RHEL-7", "title": "Occaecati hic repellat aliquam.", "version": "100.81.38", "description": "Quia iste quas. Est voluptatibus pariatur. Et in voluptate.", "os_major_version": 7, "type": "security_guide" }, { "id": "54638ca3-5136-44d9-b0b0-63a96eac3622", "ref_id": "xccdf_org.ssgproject.content_benchmark_RHEL-7", "title": "Et esse molestias molestiae.", "version": "100.81.24", "description": "Vero facilis voluptatem. Quasi iusto voluptate. Vel nobis consequatur.", "os_major_version": 7, "type": "security_guide" }, { "id": "5b95f20c-a224-461b-aaa3-0dc35a5d5d9a", "ref_id": "xccdf_org.ssgproject.content_benchmark_RHEL-7", "title": "Assumenda quia aliquid reprehenderit.", "version": "100.81.45", "description": "Perferendis aut sint. Praesentium est dolore. Et quod sint.", "os_major_version": 7, "type": "security_guide" }, { "id": "5c3f6b45-115f-405c-b4c2-71a12e81fbd5", "ref_id": "xccdf_org.ssgproject.content_benchmark_RHEL-7", "title": "In dolore vitae et.", "version": "100.81.26", "description": "Dolores rerum libero. Est quasi optio. Mollitia vitae quia.", "os_major_version": 7, "type": "security_guide" }, { "id": "5e862dba-b1e2-4c20-a73d-3ea2e9f77bb1", "ref_id": "xccdf_org.ssgproject.content_benchmark_RHEL-7", "title": "Ab magnam omnis quas.", "version": "100.81.42", "description": "Earum aut a. Ut nesciunt minus. Ut et omnis.", "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": "04a0b4fd-52b3-4537-8ec9-09829974f23e", "ref_id": "xccdf_org.ssgproject.content_benchmark_RHEL-7", "title": "Dolor provident at atque.", "version": "100.82.21", "description": "Qui iure quam. Odio modi optio. Amet ex enim.", "os_major_version": 7, "type": "security_guide" }, { "id": "0bea205a-3abb-4abd-bcfd-9f95ae05db1c", "ref_id": "xccdf_org.ssgproject.content_benchmark_RHEL-7", "title": "Corporis ut numquam architecto.", "version": "100.82.10", "description": "Reprehenderit dolor eum. Id tempora sunt. Autem neque sapiente.", "os_major_version": 7, "type": "security_guide" }, { "id": "1017e893-a2dd-4e57-8ae8-15f589d91c9d", "ref_id": "xccdf_org.ssgproject.content_benchmark_RHEL-7", "title": "Ratione sed id et.", "version": "100.82.2", "description": "Dolore omnis quod. Natus cum numquam. Omnis eligendi cum.", "os_major_version": 7, "type": "security_guide" }, { "id": "135bf44a-7bd3-4dc2-850b-efc42dd43450", "ref_id": "xccdf_org.ssgproject.content_benchmark_RHEL-7", "title": "Accusamus natus nulla sed.", "version": "100.82.1", "description": "Minima eius aut. Sunt excepturi culpa. Quia quidem excepturi.", "os_major_version": 7, "type": "security_guide" }, { "id": "145b7713-8a4c-4925-a2ef-f02798080609", "ref_id": "xccdf_org.ssgproject.content_benchmark_RHEL-7", "title": "Minima praesentium rerum delectus.", "version": "100.82.12", "description": "Iste sit incidunt. Provident beatae ratione. Atque aut sit.", "os_major_version": 7, "type": "security_guide" }, { "id": "2c1f726c-72cf-4893-9bf4-850d3748c14d", "ref_id": "xccdf_org.ssgproject.content_benchmark_RHEL-7", "title": "Temporibus laudantium sed dolorem.", "version": "100.82.18", "description": "Voluptatem molestias quas. Voluptas voluptatem sapiente. Perspiciatis perferendis voluptas.", "os_major_version": 7, "type": "security_guide" }, { "id": "405770e9-de62-46ca-8024-717c9ad2232f", "ref_id": "xccdf_org.ssgproject.content_benchmark_RHEL-7", "title": "Voluptas consequatur porro id.", "version": "100.82.15", "description": "Corrupti doloremque dolorem. Est laudantium sint. Eos nobis autem.", "os_major_version": 7, "type": "security_guide" }, { "id": "45c0c084-eb42-4b98-be2c-f9c3f62f3d95", "ref_id": "xccdf_org.ssgproject.content_benchmark_RHEL-7", "title": "Quia consequatur est voluptas.", "version": "100.82.22", "description": "Aspernatur consequatur quis. Ratione officiis fugiat. Nihil magnam sapiente.", "os_major_version": 7, "type": "security_guide" }, { "id": "52ed814b-8104-4f82-883e-351f2f63ffe6", "ref_id": "xccdf_org.ssgproject.content_benchmark_RHEL-7", "title": "Est sint nostrum quis.", "version": "100.82.8", "description": "Fugit voluptatem incidunt. Sit maxime provident. Quia perspiciatis nobis.", "os_major_version": 7, "type": "security_guide" }, { "id": "595a757e-5343-4dfc-9a27-81303efeeec0", "ref_id": "xccdf_org.ssgproject.content_benchmark_RHEL-7", "title": "Dolorem ullam fugit maiores.", "version": "100.82.19", "description": "Totam consequuntur ipsam. Aut quibusdam laudantium. Sed dolores sit.", "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 scoped_search query language. However, only `=` or `!=` (resp. `<>`) operators are supported.

Systems are searchable using attributes `display_name`, `os_version`, `os_major_version`, `os_minor_version`, `assigned_or_scanned`, `never_reported`, `group_name`, `policies`, and `profile_ref_id`

(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": "Retrieve a specific security guide.", "operationId": "SecurityGuide", "responses": { "200": { "description": "Returns a Security Guide", "content": { "application/vnd.api+json": { "examples": { "Returns a Security Guide": { "value": { "data": { "id": "d0b0d118-6682-4d8a-b43b-1b92daf74005", "ref_id": "xccdf_org.ssgproject.content_benchmark_RHEL-7", "title": "Culpa magnam aspernatur est.", "version": "100.84.23", "description": "Libero optio necessitatibus. Dolorem ex incidunt. Reiciendis et qui.", "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 ebddede9-9ca1-4dc1-a2ac-78f0663cb574" ] }, "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 rule tree of a security guide.", "operationId": "SecurityGuideRuleTree", "deprecated": true, "responses": { "200": { "description": "Returns the Rule Tree of a Security Guide", "content": { "application/vnd.api+json": { "examples": { "Returns the Rule Tree of a Security Guide": { "value": [ { "id": "668dd44c-0199-4f48-b243-04e04f576388", "type": "rule_group", "children": [ { "id": "7fe59cb0-64ad-4ffa-9a91-d4abf6f6b37c", "type": "rule" } ] }, { "id": "8d1ed432-c60e-42d1-a8e0-8e417fabb9d6", "type": "rule_group", "children": [ { "id": "c390bae0-c84f-4ae8-9813-f6ccb36ad352", "type": "rule" } ] }, { "id": "7e3f27bd-e3fc-4c35-ae96-6204d4ebe34f", "type": "rule_group", "children": [ { "id": "22c1cc85-075b-4149-981f-af408506098e", "type": "rule" } ] }, { "id": "57673e38-a100-4003-8443-047538762883", "type": "rule_group", "children": [ { "id": "8f96ab25-3cd1-4720-8914-c70773190e73", "type": "rule" } ] }, { "id": "601fb315-a1af-47e0-9d2a-a11c5055dced", "type": "rule_group", "children": [ { "id": "26e217c8-8095-4588-a1e6-c04adc5b7a40", "type": "rule" } ] }, { "id": "bb41c298-2328-438e-90dd-aa7d251ecf24", "type": "rule_group", "children": [ { "id": "6de2d83e-8fb2-4e7b-85ad-4b844d18af07", "type": "rule" } ] }, { "id": "b463185d-37cd-46d9-8ef0-499011450d40", "type": "rule_group", "children": [ { "id": "815481c5-293f-462d-a0ff-dd9e477fb420", "type": "rule" } ] }, { "id": "eb2d7918-af46-436d-a6e8-6770b9992323", "type": "rule_group", "children": [ { "id": "032b6571-ae31-4526-9611-cab8b39604d3", "type": "rule" } ] }, { "id": "9c5a225f-7ad1-408b-8b5c-5ab6785c3fd7", "type": "rule_group", "children": [ { "id": "a83adfa2-414d-4ab0-8679-eba85647d3a0", "type": "rule" } ] }, { "id": "b4a0b913-c024-4eb4-a99d-7c6e03bf7817", "type": "rule_group", "children": [ { "id": "0f93d69d-6bc3-4f00-adaf-886d8223d5f6", "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 c0da4edc-57a5-41ed-8796-6e1915a28682" ] }, "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 (`:asc` or `:desc`).

If no direction is selected, `: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 scoped_search query language. However, only `=` or `!=` (resp. `<>`) operators are supported.

Supported Profiles are searchable using attributes `os_major_version`, `title`, and `ref_id`

(e.g.: `(field_1=something AND field_2!=\"something else\") OR field_3>40`)", "schema": { "type": "string" } } ], "tags": [ "Content" ], "description": "Retrieve the list of profiles supported by particular RHEL versions.", "operationId": "SupportedProfiles", "responses": { "200": { "description": "Lists Supported Profiles", "content": { "application/vnd.api+json": { "examples": { "List of Supported Profiles": { "value": { "data": [ { "id": "d1a365bd-67c3-4d80-8b51-392a9c5d6c56", "title": "Perferendis sint id sed.", "description": "Voluptatum illo quo. Sit qui ut. Rem sed quia.", "ref_id": "xccdf_org.ssgproject.content_profile_2449f265188e3bebb620fa0bd0852f58", "security_guide_id": "928a116d-691e-40ff-939d-181192e43be1", "security_guide_version": "100.85.10", "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": "4a8bfdc1-c835-4b16-81c8-6f6422c9f417", "title": "Qui quam autem velit.", "description": "Adipisci distinctio maiores. Magnam vel dolore. Sequi repudiandae enim.", "ref_id": "xccdf_org.ssgproject.content_profile_6d03a31a93b2c5515732df7815d595c5", "security_guide_id": "256b4d41-42e1-423a-802f-de61637b09c4", "security_guide_version": "100.85.11", "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.
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 (`:asc` or `:desc`).

If no direction is selected, `:asc` is used by default.", "schema": { "type": "array", "items": { "enum": [ "display_name", "os_major_version", "os_minor_version", "os_version", "groups", "display_name:asc", "display_name:desc", "os_major_version:asc", "os_major_version:desc", "os_minor_version:asc", "os_minor_version:desc", "os_version:asc", "os_version:desc", "groups:asc", "groups:desc" ] } } }, { "name": "filter", "in": "query", "required": false, "description": "Query string to filter items by their attributes. Compliant with scoped_search query language. However, only `=` or `!=` (resp. `<>`) operators are supported.

Systems are searchable using attributes `display_name`, `os_major_version`, `os_minor_version`, `assigned_or_scanned`, `group_name`, `policies`, and `profile_ref_id`

(e.g.: `(field_1=something AND field_2!=\"something else\") OR field_3>40`)", "schema": { "type": "string" } } ], "tags": [ "Systems" ], "description": "List all systems that are accessible when you are logged into your account.", "operationId": "Systems", "responses": { "200": { "description": "Lists Systems", "content": { "application/vnd.api+json": { "examples": { "List of Systems": { "value": { "data": [ { "id": "0271ebbf-7740-4611-8a46-539d12132155", "display_name": "sporer.test", "groups": [], "culled_timestamp": "2034-12-07T09:30:07.725Z", "stale_timestamp": "2034-11-23T09:30:07.725Z", "stale_warning_timestamp": "2034-11-30T09:30:07.725Z", "updated": "2024-11-23T09:30:07.725Z", "insights_id": null, "tags": [ { "key": "program", "value": "cross-platform", "namespace": "compressing" }, { "key": "program", "value": "redundant", "namespace": "copying" }, { "key": "panel", "value": "optical", "namespace": "transmitting" }, { "key": "card", "value": "1080p", "namespace": "compressing" }, { "key": "microchip", "value": "wireless", "namespace": "quantifying" } ], "type": "system", "os_major_version": 8, "os_minor_version": 0, "policies": [] }, { "id": "07a586b7-e5e1-41c5-bc46-4812506ff1a3", "display_name": "mueller.test", "groups": [], "culled_timestamp": "2034-12-07T09:30:07.732Z", "stale_timestamp": "2034-11-23T09:30:07.732Z", "stale_warning_timestamp": "2034-11-30T09:30:07.732Z", "updated": "2024-11-23T09:30:07.732Z", "insights_id": null, "tags": [ { "key": "monitor", "value": "haptic", "namespace": "bypassing" }, { "key": "sensor", "value": "open-source", "namespace": "indexing" }, { "key": "bandwidth", "value": "redundant", "namespace": "overriding" }, { "key": "sensor", "value": "cross-platform", "namespace": "synthesizing" }, { "key": "driver", "value": "wireless", "namespace": "copying" } ], "type": "system", "os_major_version": 8, "os_minor_version": 0, "policies": [] }, { "id": "0c6f445b-0652-4357-9e17-995499272d39", "display_name": "hyatt-gerlach.test", "groups": [], "culled_timestamp": "2034-12-07T09:30:07.728Z", "stale_timestamp": "2034-11-23T09:30:07.728Z", "stale_warning_timestamp": "2034-11-30T09:30:07.728Z", "updated": "2024-11-23T09:30:07.728Z", "insights_id": null, "tags": [ { "key": "firewall", "value": "1080p", "namespace": "calculating" }, { "key": "pixel", "value": "neural", "namespace": "indexing" }, { "key": "firewall", "value": "neural", "namespace": "programming" }, { "key": "system", "value": "primary", "namespace": "transmitting" }, { "key": "program", "value": "auxiliary", "namespace": "navigating" } ], "type": "system", "os_major_version": 8, "os_minor_version": 0, "policies": [] }, { "id": "1d6e774a-9b95-4b11-ac5b-4e1ab9766869", "display_name": "bode.test", "groups": [], "culled_timestamp": "2034-12-07T09:30:07.718Z", "stale_timestamp": "2034-11-23T09:30:07.718Z", "stale_warning_timestamp": "2034-11-30T09:30:07.718Z", "updated": "2024-11-23T09:30:07.718Z", "insights_id": null, "tags": [ { "key": "bus", "value": "open-source", "namespace": "navigating" }, { "key": "alarm", "value": "multi-byte", "namespace": "indexing" }, { "key": "hard drive", "value": "online", "namespace": "transmitting" }, { "key": "array", "value": "virtual", "namespace": "copying" }, { "key": "array", "value": "neural", "namespace": "parsing" } ], "type": "system", "os_major_version": 8, "os_minor_version": 0, "policies": [] }, { "id": "1f1a5144-4eff-495e-9666-97bb031ce245", "display_name": "anderson-kuvalis.example", "groups": [], "culled_timestamp": "2034-12-07T09:30:07.731Z", "stale_timestamp": "2034-11-23T09:30:07.731Z", "stale_warning_timestamp": "2034-11-30T09:30:07.731Z", "updated": "2024-11-23T09:30:07.731Z", "insights_id": null, "tags": [ { "key": "port", "value": "1080p", "namespace": "connecting" }, { "key": "panel", "value": "digital", "namespace": "quantifying" }, { "key": "feed", "value": "neural", "namespace": "transmitting" }, { "key": "monitor", "value": "neural", "namespace": "calculating" }, { "key": "monitor", "value": "multi-byte", "namespace": "bypassing" } ], "type": "system", "os_major_version": 8, "os_minor_version": 0, "policies": [] }, { "id": "420e5f79-b9aa-4006-b5b2-d221fa90511a", "display_name": "miller.example", "groups": [], "culled_timestamp": "2034-12-07T09:30:07.725Z", "stale_timestamp": "2034-11-23T09:30:07.725Z", "stale_warning_timestamp": "2034-11-30T09:30:07.725Z", "updated": "2024-11-23T09:30:07.725Z", "insights_id": null, "tags": [ { "key": "bus", "value": "open-source", "namespace": "calculating" }, { "key": "application", "value": "virtual", "namespace": "copying" }, { "key": "hard drive", "value": "primary", "namespace": "parsing" }, { "key": "monitor", "value": "cross-platform", "namespace": "navigating" }, { "key": "capacitor", "value": "haptic", "namespace": "overriding" } ], "type": "system", "os_major_version": 8, "os_minor_version": 0, "policies": [] }, { "id": "5f7cbbf3-43df-4ab3-a442-e4c9e3a8d2a6", "display_name": "schinner.example", "groups": [], "culled_timestamp": "2034-12-07T09:30:07.728Z", "stale_timestamp": "2034-11-23T09:30:07.728Z", "stale_warning_timestamp": "2034-11-30T09:30:07.728Z", "updated": "2024-11-23T09:30:07.729Z", "insights_id": null, "tags": [ { "key": "feed", "value": "mobile", "namespace": "hacking" }, { "key": "panel", "value": "digital", "namespace": "indexing" }, { "key": "bus", "value": "virtual", "namespace": "synthesizing" }, { "key": "interface", "value": "mobile", "namespace": "synthesizing" }, { "key": "program", "value": "digital", "namespace": "parsing" } ], "type": "system", "os_major_version": 8, "os_minor_version": 0, "policies": [] }, { "id": "64615c30-ae8a-4cdd-ba29-6926efeeff2e", "display_name": "pfeffer.example", "groups": [], "culled_timestamp": "2034-12-07T09:30:07.729Z", "stale_timestamp": "2034-11-23T09:30:07.729Z", "stale_warning_timestamp": "2034-11-30T09:30:07.729Z", "updated": "2024-11-23T09:30:07.729Z", "insights_id": null, "tags": [ { "key": "panel", "value": "virtual", "namespace": "overriding" }, { "key": "monitor", "value": "cross-platform", "namespace": "overriding" }, { "key": "bus", "value": "digital", "namespace": "calculating" }, { "key": "monitor", "value": "optical", "namespace": "backing up" }, { "key": "pixel", "value": "primary", "namespace": "programming" } ], "type": "system", "os_major_version": 8, "os_minor_version": 0, "policies": [] }, { "id": "6da4fb15-5cbc-45db-825b-deb358ac192a", "display_name": "brown-turner.example", "groups": [], "culled_timestamp": "2034-12-07T09:30:07.721Z", "stale_timestamp": "2034-11-23T09:30:07.721Z", "stale_warning_timestamp": "2034-11-30T09:30:07.721Z", "updated": "2024-11-23T09:30:07.721Z", "insights_id": null, "tags": [ { "key": "panel", "value": "online", "namespace": "bypassing" }, { "key": "feed", "value": "wireless", "namespace": "backing up" }, { "key": "card", "value": "primary", "namespace": "compressing" }, { "key": "driver", "value": "cross-platform", "namespace": "calculating" }, { "key": "microchip", "value": "open-source", "namespace": "overriding" } ], "type": "system", "os_major_version": 8, "os_minor_version": 0, "policies": [] }, { "id": "74210eb2-16bb-4fbd-aa88-d552ffe061d7", "display_name": "kozey.test", "groups": [], "culled_timestamp": "2034-12-07T09:30:07.720Z", "stale_timestamp": "2034-11-23T09:30:07.720Z", "stale_warning_timestamp": "2034-11-30T09:30:07.720Z", "updated": "2024-11-23T09:30:07.720Z", "insights_id": null, "tags": [ { "key": "firewall", "value": "mobile", "namespace": "quantifying" }, { "key": "sensor", "value": "bluetooth", "namespace": "transmitting" }, { "key": "panel", "value": "digital", "namespace": "parsing" }, { "key": "bandwidth", "value": "open-source", "namespace": "backing up" }, { "key": "circuit", "value": "redundant", "namespace": "synthesizing" } ], "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": "0489244f-58d3-4125-8b42-14ea67577566", "display_name": "hayes-turner.test", "groups": [], "culled_timestamp": "2034-12-07T09:30:07.768Z", "stale_timestamp": "2034-11-23T09:30:07.768Z", "stale_warning_timestamp": "2034-11-30T09:30:07.768Z", "updated": "2024-11-23T09:30:07.768Z", "insights_id": null, "tags": [ { "key": "sensor", "value": "cross-platform", "namespace": "backing up" }, { "key": "program", "value": "auxiliary", "namespace": "navigating" }, { "key": "firewall", "value": "open-source", "namespace": "connecting" }, { "key": "circuit", "value": "virtual", "namespace": "backing up" }, { "key": "matrix", "value": "online", "namespace": "navigating" } ], "type": "system", "os_major_version": 8, "os_minor_version": 0, "policies": [] }, { "id": "0f8844fc-3f2b-4c0a-b0d0-ae2024e7ca55", "display_name": "kuhlman-kunze.example", "groups": [], "culled_timestamp": "2034-12-07T09:30:07.761Z", "stale_timestamp": "2034-11-23T09:30:07.761Z", "stale_warning_timestamp": "2034-11-30T09:30:07.761Z", "updated": "2024-11-23T09:30:07.761Z", "insights_id": null, "tags": [ { "key": "program", "value": "haptic", "namespace": "hacking" }, { "key": "pixel", "value": "cross-platform", "namespace": "bypassing" }, { "key": "port", "value": "back-end", "namespace": "parsing" }, { "key": "transmitter", "value": "auxiliary", "namespace": "hacking" }, { "key": "program", "value": "solid state", "namespace": "parsing" } ], "type": "system", "os_major_version": 8, "os_minor_version": 0, "policies": [] }, { "id": "1e69e6f7-7745-4b3c-8fcf-5eaaed0e4734", "display_name": "corwin-stiedemann.test", "groups": [], "culled_timestamp": "2034-12-07T09:30:07.769Z", "stale_timestamp": "2034-11-23T09:30:07.769Z", "stale_warning_timestamp": "2034-11-30T09:30:07.769Z", "updated": "2024-11-23T09:30:07.769Z", "insights_id": null, "tags": [ { "key": "bus", "value": "solid state", "namespace": "copying" }, { "key": "feed", "value": "solid state", "namespace": "indexing" }, { "key": "alarm", "value": "back-end", "namespace": "overriding" }, { "key": "bus", "value": "multi-byte", "namespace": "synthesizing" }, { "key": "panel", "value": "primary", "namespace": "copying" } ], "type": "system", "os_major_version": 8, "os_minor_version": 0, "policies": [] }, { "id": "3f1ea0ac-a60d-437b-a1e2-b7db8dbe9ab3", "display_name": "hoeger-mosciski.test", "groups": [], "culled_timestamp": "2034-12-07T09:30:07.760Z", "stale_timestamp": "2034-11-23T09:30:07.760Z", "stale_warning_timestamp": "2034-11-30T09:30:07.760Z", "updated": "2024-11-23T09:30:07.760Z", "insights_id": null, "tags": [ { "key": "protocol", "value": "haptic", "namespace": "transmitting" }, { "key": "protocol", "value": "redundant", "namespace": "bypassing" }, { "key": "system", "value": "optical", "namespace": "programming" }, { "key": "protocol", "value": "digital", "namespace": "synthesizing" }, { "key": "hard drive", "value": "solid state", "namespace": "backing up" } ], "type": "system", "os_major_version": 8, "os_minor_version": 0, "policies": [] }, { "id": "3fdacfff-05a4-433c-976d-5a1e6c348780", "display_name": "olson.example", "groups": [], "culled_timestamp": "2034-12-07T09:30:07.770Z", "stale_timestamp": "2034-11-23T09:30:07.770Z", "stale_warning_timestamp": "2034-11-30T09:30:07.770Z", "updated": "2024-11-23T09:30:07.770Z", "insights_id": null, "tags": [ { "key": "port", "value": "1080p", "namespace": "overriding" }, { "key": "protocol", "value": "neural", "namespace": "overriding" }, { "key": "program", "value": "multi-byte", "namespace": "overriding" }, { "key": "monitor", "value": "haptic", "namespace": "connecting" }, { "key": "pixel", "value": "primary", "namespace": "bypassing" } ], "type": "system", "os_major_version": 8, "os_minor_version": 0, "policies": [] }, { "id": "5162fada-3786-4e64-9276-d375602f9e0b", "display_name": "dietrich.example", "groups": [], "culled_timestamp": "2034-12-07T09:30:07.755Z", "stale_timestamp": "2034-11-23T09:30:07.755Z", "stale_warning_timestamp": "2034-11-30T09:30:07.755Z", "updated": "2024-11-23T09:30:07.755Z", "insights_id": null, "tags": [ { "key": "driver", "value": "back-end", "namespace": "bypassing" }, { "key": "firewall", "value": "solid state", "namespace": "connecting" }, { "key": "interface", "value": "mobile", "namespace": "copying" }, { "key": "application", "value": "cross-platform", "namespace": "copying" }, { "key": "port", "value": "back-end", "namespace": "calculating" } ], "type": "system", "os_major_version": 8, "os_minor_version": 0, "policies": [] }, { "id": "54f60dad-c916-422b-b601-c9b14e97c7db", "display_name": "hintz-dooley.example", "groups": [], "culled_timestamp": "2034-12-07T09:30:07.765Z", "stale_timestamp": "2034-11-23T09:30:07.765Z", "stale_warning_timestamp": "2034-11-30T09:30:07.765Z", "updated": "2024-11-23T09:30:07.766Z", "insights_id": null, "tags": [ { "key": "microchip", "value": "1080p", "namespace": "calculating" }, { "key": "hard drive", "value": "mobile", "namespace": "hacking" }, { "key": "capacitor", "value": "optical", "namespace": "connecting" }, { "key": "protocol", "value": "haptic", "namespace": "bypassing" }, { "key": "feed", "value": "auxiliary", "namespace": "programming" } ], "type": "system", "os_major_version": 8, "os_minor_version": 0, "policies": [] }, { "id": "5aad8476-0a1d-4814-9b42-24e5c8b319b1", "display_name": "conn.test", "groups": [], "culled_timestamp": "2034-12-07T09:30:07.773Z", "stale_timestamp": "2034-11-23T09:30:07.773Z", "stale_warning_timestamp": "2034-11-30T09:30:07.773Z", "updated": "2024-11-23T09:30:07.773Z", "insights_id": null, "tags": [ { "key": "bandwidth", "value": "back-end", "namespace": "backing up" }, { "key": "card", "value": "optical", "namespace": "parsing" }, { "key": "hard drive", "value": "digital", "namespace": "quantifying" }, { "key": "bus", "value": "virtual", "namespace": "quantifying" }, { "key": "matrix", "value": "bluetooth", "namespace": "hacking" } ], "type": "system", "os_major_version": 8, "os_minor_version": 0, "policies": [] }, { "id": "61e2f929-665d-46f3-929b-5e8cc18c3637", "display_name": "connelly.example", "groups": [], "culled_timestamp": "2034-12-07T09:30:07.772Z", "stale_timestamp": "2034-11-23T09:30:07.772Z", "stale_warning_timestamp": "2034-11-30T09:30:07.772Z", "updated": "2024-11-23T09:30:07.772Z", "insights_id": null, "tags": [ { "key": "protocol", "value": "cross-platform", "namespace": "bypassing" }, { "key": "microchip", "value": "online", "namespace": "overriding" }, { "key": "application", "value": "auxiliary", "namespace": "connecting" }, { "key": "panel", "value": "open-source", "namespace": "bypassing" }, { "key": "panel", "value": "cross-platform", "namespace": "hacking" } ], "type": "system", "os_major_version": 8, "os_minor_version": 0, "policies": [] }, { "id": "77e9bc0a-6131-4db0-ac9a-58231786f951", "display_name": "toy.test", "groups": [], "culled_timestamp": "2034-12-07T09:30:07.777Z", "stale_timestamp": "2034-11-23T09:30:07.777Z", "stale_warning_timestamp": "2034-11-30T09:30:07.777Z", "updated": "2024-11-23T09:30:07.777Z", "insights_id": null, "tags": [ { "key": "array", "value": "haptic", "namespace": "synthesizing" }, { "key": "card", "value": "mobile", "namespace": "overriding" }, { "key": "card", "value": "1080p", "namespace": "copying" }, { "key": "driver", "value": "cross-platform", "namespace": "quantifying" }, { "key": "feed", "value": "virtual", "namespace": "quantifying" } ], "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": "04c8c010-6650-4e7a-be78-cf5a810a1539", "display_name": "hackett-waters.example", "groups": [], "culled_timestamp": "2034-12-07T09:30:07.795Z", "stale_timestamp": "2034-11-23T09:30:07.795Z", "stale_warning_timestamp": "2034-11-30T09:30:07.795Z", "updated": "2024-11-23T09:30:07.795Z", "insights_id": null, "tags": [ { "key": "monitor", "value": "open-source", "namespace": "copying" }, { "key": "system", "value": "back-end", "namespace": "calculating" }, { "key": "transmitter", "value": "virtual", "namespace": "overriding" }, { "key": "firewall", "value": "neural", "namespace": "overriding" }, { "key": "driver", "value": "open-source", "namespace": "synthesizing" } ], "type": "system", "os_major_version": 8, "os_minor_version": 0, "policies": [] }, { "id": "0ab6e4e0-bbce-4a11-a9a6-2c41ed319b37", "display_name": "reinger.test", "groups": [], "culled_timestamp": "2034-12-07T09:30:07.796Z", "stale_timestamp": "2034-11-23T09:30:07.796Z", "stale_warning_timestamp": "2034-11-30T09:30:07.796Z", "updated": "2024-11-23T09:30:07.796Z", "insights_id": null, "tags": [ { "key": "transmitter", "value": "haptic", "namespace": "bypassing" }, { "key": "sensor", "value": "optical", "namespace": "calculating" }, { "key": "circuit", "value": "online", "namespace": "overriding" }, { "key": "firewall", "value": "primary", "namespace": "indexing" }, { "key": "port", "value": "neural", "namespace": "programming" } ], "type": "system", "os_major_version": 8, "os_minor_version": 0, "policies": [] }, { "id": "15b130ce-a993-4a02-8c54-7af618410efd", "display_name": "breitenberg-bernier.example", "groups": [], "culled_timestamp": "2034-12-07T09:30:07.794Z", "stale_timestamp": "2034-11-23T09:30:07.794Z", "stale_warning_timestamp": "2034-11-30T09:30:07.794Z", "updated": "2024-11-23T09:30:07.794Z", "insights_id": null, "tags": [ { "key": "circuit", "value": "haptic", "namespace": "hacking" }, { "key": "array", "value": "redundant", "namespace": "hacking" }, { "key": "monitor", "value": "auxiliary", "namespace": "copying" }, { "key": "interface", "value": "primary", "namespace": "transmitting" }, { "key": "pixel", "value": "digital", "namespace": "navigating" } ], "type": "system", "os_major_version": 8, "os_minor_version": 0, "policies": [] }, { "id": "16448988-410f-4897-b595-7be8369d126c", "display_name": "bruen.test", "groups": [], "culled_timestamp": "2034-12-07T09:30:07.806Z", "stale_timestamp": "2034-11-23T09:30:07.806Z", "stale_warning_timestamp": "2034-11-30T09:30:07.806Z", "updated": "2024-11-23T09:30:07.806Z", "insights_id": null, "tags": [ { "key": "card", "value": "wireless", "namespace": "overriding" }, { "key": "hard drive", "value": "digital", "namespace": "compressing" }, { "key": "bus", "value": "multi-byte", "namespace": "synthesizing" }, { "key": "microchip", "value": "solid state", "namespace": "navigating" }, { "key": "card", "value": "online", "namespace": "backing up" } ], "type": "system", "os_major_version": 8, "os_minor_version": 0, "policies": [] }, { "id": "1d10d7b1-d73b-4d69-85e0-7478ef62d3bc", "display_name": "hermiston-harber.example", "groups": [], "culled_timestamp": "2034-12-07T09:30:07.803Z", "stale_timestamp": "2034-11-23T09:30:07.803Z", "stale_warning_timestamp": "2034-11-30T09:30:07.803Z", "updated": "2024-11-23T09:30:07.803Z", "insights_id": null, "tags": [ { "key": "port", "value": "back-end", "namespace": "parsing" }, { "key": "program", "value": "haptic", "namespace": "bypassing" }, { "key": "port", "value": "auxiliary", "namespace": "parsing" }, { "key": "pixel", "value": "open-source", "namespace": "calculating" }, { "key": "driver", "value": "optical", "namespace": "indexing" } ], "type": "system", "os_major_version": 8, "os_minor_version": 0, "policies": [] }, { "id": "2f00f835-a252-443c-8ab9-bfc19cdac5f8", "display_name": "okeefe.example", "groups": [], "culled_timestamp": "2034-12-07T09:30:07.802Z", "stale_timestamp": "2034-11-23T09:30:07.802Z", "stale_warning_timestamp": "2034-11-30T09:30:07.802Z", "updated": "2024-11-23T09:30:07.802Z", "insights_id": null, "tags": [ { "key": "microchip", "value": "wireless", "namespace": "synthesizing" }, { "key": "pixel", "value": "wireless", "namespace": "overriding" }, { "key": "circuit", "value": "wireless", "namespace": "backing up" }, { "key": "interface", "value": "wireless", "namespace": "bypassing" }, { "key": "sensor", "value": "haptic", "namespace": "transmitting" } ], "type": "system", "os_major_version": 8, "os_minor_version": 0, "policies": [] }, { "id": "2fd9ca52-53f3-4f6f-b180-60e9ab556b9d", "display_name": "zboncak.test", "groups": [], "culled_timestamp": "2034-12-07T09:30:07.806Z", "stale_timestamp": "2034-11-23T09:30:07.806Z", "stale_warning_timestamp": "2034-11-30T09:30:07.806Z", "updated": "2024-11-23T09:30:07.806Z", "insights_id": null, "tags": [ { "key": "transmitter", "value": "wireless", "namespace": "bypassing" }, { "key": "microchip", "value": "online", "namespace": "compressing" }, { "key": "pixel", "value": "wireless", "namespace": "bypassing" }, { "key": "circuit", "value": "primary", "namespace": "quantifying" }, { "key": "application", "value": "virtual", "namespace": "calculating" } ], "type": "system", "os_major_version": 8, "os_minor_version": 0, "policies": [] }, { "id": "407d7fd9-8f49-404d-99b5-2c5e75543c04", "display_name": "fritsch.test", "groups": [], "culled_timestamp": "2034-12-07T09:30:07.811Z", "stale_timestamp": "2034-11-23T09:30:07.811Z", "stale_warning_timestamp": "2034-11-30T09:30:07.811Z", "updated": "2024-11-23T09:30:07.811Z", "insights_id": null, "tags": [ { "key": "transmitter", "value": "virtual", "namespace": "connecting" }, { "key": "application", "value": "solid state", "namespace": "parsing" }, { "key": "feed", "value": "back-end", "namespace": "connecting" }, { "key": "microchip", "value": "cross-platform", "namespace": "calculating" }, { "key": "monitor", "value": "virtual", "namespace": "copying" } ], "type": "system", "os_major_version": 8, "os_minor_version": 0, "policies": [] }, { "id": "4395c053-f0e1-4115-88be-74ce82fa9fbf", "display_name": "leannon.example", "groups": [], "culled_timestamp": "2034-12-07T09:30:07.808Z", "stale_timestamp": "2034-11-23T09:30:07.808Z", "stale_warning_timestamp": "2034-11-30T09:30:07.808Z", "updated": "2024-11-23T09:30:07.808Z", "insights_id": null, "tags": [ { "key": "panel", "value": "wireless", "namespace": "navigating" }, { "key": "feed", "value": "wireless", "namespace": "generating" }, { "key": "program", "value": "cross-platform", "namespace": "transmitting" }, { "key": "application", "value": "redundant", "namespace": "synthesizing" }, { "key": "bandwidth", "value": "online", "namespace": "indexing" } ], "type": "system", "os_major_version": 8, "os_minor_version": 0, "policies": [] }, { "id": "57919c4d-0901-49e9-89ac-e21028677f4e", "display_name": "abshire-collier.example", "groups": [], "culled_timestamp": "2034-12-07T09:30:07.812Z", "stale_timestamp": "2034-11-23T09:30:07.812Z", "stale_warning_timestamp": "2034-11-30T09:30:07.812Z", "updated": "2024-11-23T09:30:07.812Z", "insights_id": null, "tags": [ { "key": "monitor", "value": "digital", "namespace": "copying" }, { "key": "firewall", "value": "mobile", "namespace": "compressing" }, { "key": "capacitor", "value": "bluetooth", "namespace": "transmitting" }, { "key": "firewall", "value": "1080p", "namespace": "overriding" }, { "key": "bus", "value": "digital", "namespace": "transmitting" } ], "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 scoped_search query language. However, only `=` or `!=` (resp. `<>`) operators are supported.

Systems are searchable using attributes `display_name`, `os_version`, `os_major_version`, `os_minor_version`, `assigned_or_scanned`, `never_reported`, `group_name`, `policies`, and `profile_ref_id`

(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": "Get information about one specific system.", "operationId": "System", "responses": { "200": { "description": "Returns a System", "content": { "application/vnd.api+json": { "examples": { "Returns a System": { "value": { "data": { "id": "f24dfc9f-d2a2-4a3e-9be5-9a6bd6267e86", "display_name": "hyatt-ondricka.test", "groups": [], "culled_timestamp": "2034-12-07T09:30:07.938Z", "stale_timestamp": "2034-11-23T09:30:07.938Z", "stale_warning_timestamp": "2034-11-30T09:30:07.938Z", "updated": "2024-11-23T09:30:07.938Z", "insights_id": null, "tags": [ { "key": "hard drive", "value": "mobile", "namespace": "overriding" }, { "key": "capacitor", "value": "mobile", "namespace": "copying" }, { "key": "panel", "value": "online", "namespace": "indexing" }, { "key": "hard drive", "value": "haptic", "namespace": "copying" }, { "key": "bus", "value": "redundant", "namespace": "bypassing" } ], "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 64715ad4-0c3e-4b76-af30-86907d871e62" ] }, "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.
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 (`:asc` or `:desc`).

If no direction is selected, `:asc` is used by default.", "schema": { "type": "array", "items": { "enum": [ "display_name", "os_minor_version", "os_version", "groups", "display_name:asc", "display_name:desc", "os_minor_version:asc", "os_minor_version:desc", "os_version:asc", "os_version:desc", "groups:asc", "groups:desc" ] } } }, { "name": "filter", "in": "query", "required": false, "description": "Query string to filter items by their attributes. Compliant with scoped_search query language. However, only `=` or `!=` (resp. `<>`) operators are supported.

Systems are searchable using attributes `display_name`, `os_minor_version`, and `group_name`

(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": "Retrieve all of the systems assigned to a specific policy.", "operationId": "PolicySystems", "responses": { "200": { "description": "Lists Systems assigned to a Policy", "content": { "application/vnd.api+json": { "examples": { "List of Systems": { "value": { "data": [ { "id": "0b072e35-b24b-4e91-9923-763858c4699e", "display_name": "olson.test", "groups": [], "culled_timestamp": "2034-12-07T09:30:08.040Z", "stale_timestamp": "2034-11-23T09:30:08.040Z", "stale_warning_timestamp": "2034-11-30T09:30:08.040Z", "updated": "2024-11-23T09:30:08.040Z", "insights_id": null, "tags": [ { "key": "feed", "value": "online", "namespace": "calculating" }, { "key": "pixel", "value": "open-source", "namespace": "hacking" }, { "key": "firewall", "value": "multi-byte", "namespace": "generating" }, { "key": "feed", "value": "multi-byte", "namespace": "generating" }, { "key": "hard drive", "value": "1080p", "namespace": "quantifying" } ], "type": "system", "os_major_version": 8, "os_minor_version": 0 }, { "id": "1451e499-3556-440c-8f98-3da37304ee1e", "display_name": "stark.test", "groups": [], "culled_timestamp": "2034-12-07T09:30:08.070Z", "stale_timestamp": "2034-11-23T09:30:08.070Z", "stale_warning_timestamp": "2034-11-30T09:30:08.070Z", "updated": "2024-11-23T09:30:08.070Z", "insights_id": null, "tags": [ { "key": "system", "value": "wireless", "namespace": "synthesizing" }, { "key": "hard drive", "value": "online", "namespace": "synthesizing" }, { "key": "microchip", "value": "bluetooth", "namespace": "generating" }, { "key": "matrix", "value": "auxiliary", "namespace": "parsing" }, { "key": "card", "value": "redundant", "namespace": "bypassing" } ], "type": "system", "os_major_version": 8, "os_minor_version": 0 }, { "id": "1d002b12-6098-4475-a78a-90d642d4c074", "display_name": "hintz.test", "groups": [], "culled_timestamp": "2034-12-07T09:30:07.997Z", "stale_timestamp": "2034-11-23T09:30:07.997Z", "stale_warning_timestamp": "2034-11-30T09:30:07.997Z", "updated": "2024-11-23T09:30:07.997Z", "insights_id": null, "tags": [ { "key": "array", "value": "mobile", "namespace": "connecting" }, { "key": "alarm", "value": "primary", "namespace": "indexing" }, { "key": "transmitter", "value": "haptic", "namespace": "synthesizing" }, { "key": "matrix", "value": "cross-platform", "namespace": "quantifying" }, { "key": "application", "value": "back-end", "namespace": "overriding" } ], "type": "system", "os_major_version": 8, "os_minor_version": 0 }, { "id": "472d3259-f50b-48f1-84b1-20ed11db993e", "display_name": "brown-yost.test", "groups": [], "culled_timestamp": "2034-12-07T09:30:08.003Z", "stale_timestamp": "2034-11-23T09:30:08.003Z", "stale_warning_timestamp": "2034-11-30T09:30:08.003Z", "updated": "2024-11-23T09:30:08.003Z", "insights_id": null, "tags": [ { "key": "hard drive", "value": "optical", "namespace": "parsing" }, { "key": "program", "value": "bluetooth", "namespace": "hacking" }, { "key": "interface", "value": "primary", "namespace": "calculating" }, { "key": "panel", "value": "auxiliary", "namespace": "copying" }, { "key": "transmitter", "value": "redundant", "namespace": "generating" } ], "type": "system", "os_major_version": 8, "os_minor_version": 0 }, { "id": "5fa793ba-5409-4b7a-918b-97f52f20037d", "display_name": "oconner.test", "groups": [], "culled_timestamp": "2034-12-07T09:30:08.079Z", "stale_timestamp": "2034-11-23T09:30:08.079Z", "stale_warning_timestamp": "2034-11-30T09:30:08.079Z", "updated": "2024-11-23T09:30:08.080Z", "insights_id": null, "tags": [ { "key": "monitor", "value": "bluetooth", "namespace": "programming" }, { "key": "circuit", "value": "neural", "namespace": "programming" }, { "key": "feed", "value": "online", "namespace": "backing up" }, { "key": "driver", "value": "cross-platform", "namespace": "bypassing" }, { "key": "firewall", "value": "virtual", "namespace": "hacking" } ], "type": "system", "os_major_version": 8, "os_minor_version": 0 }, { "id": "6128214c-b3bc-4130-bd91-52e0a936ef9a", "display_name": "conn.example", "groups": [], "culled_timestamp": "2034-12-07T09:30:08.018Z", "stale_timestamp": "2034-11-23T09:30:08.018Z", "stale_warning_timestamp": "2034-11-30T09:30:08.018Z", "updated": "2024-11-23T09:30:08.018Z", "insights_id": null, "tags": [ { "key": "feed", "value": "mobile", "namespace": "compressing" }, { "key": "card", "value": "open-source", "namespace": "calculating" }, { "key": "bandwidth", "value": "virtual", "namespace": "navigating" }, { "key": "program", "value": "open-source", "namespace": "backing up" }, { "key": "feed", "value": "multi-byte", "namespace": "overriding" } ], "type": "system", "os_major_version": 8, "os_minor_version": 0 }, { "id": "66959695-b4a7-47fa-b2b9-58f3f2b9271e", "display_name": "kohler.test", "groups": [], "culled_timestamp": "2034-12-07T09:30:07.975Z", "stale_timestamp": "2034-11-23T09:30:07.975Z", "stale_warning_timestamp": "2034-11-30T09:30:07.975Z", "updated": "2024-11-23T09:30:07.975Z", "insights_id": null, "tags": [ { "key": "microchip", "value": "back-end", "namespace": "parsing" }, { "key": "sensor", "value": "haptic", "namespace": "navigating" }, { "key": "array", "value": "online", "namespace": "indexing" }, { "key": "driver", "value": "multi-byte", "namespace": "connecting" }, { "key": "port", "value": "primary", "namespace": "calculating" } ], "type": "system", "os_major_version": 8, "os_minor_version": 0 }, { "id": "66b8d413-ce7b-4c6a-8433-f77930fa82c7", "display_name": "wolff-skiles.test", "groups": [], "culled_timestamp": "2034-12-07T09:30:08.098Z", "stale_timestamp": "2034-11-23T09:30:08.098Z", "stale_warning_timestamp": "2034-11-30T09:30:08.098Z", "updated": "2024-11-23T09:30:08.098Z", "insights_id": null, "tags": [ { "key": "program", "value": "multi-byte", "namespace": "quantifying" }, { "key": "driver", "value": "1080p", "namespace": "copying" }, { "key": "program", "value": "online", "namespace": "transmitting" }, { "key": "array", "value": "auxiliary", "namespace": "navigating" }, { "key": "matrix", "value": "cross-platform", "namespace": "hacking" } ], "type": "system", "os_major_version": 8, "os_minor_version": 0 }, { "id": "73617798-231a-4248-b14d-9b129e77b0c3", "display_name": "tillman.test", "groups": [], "culled_timestamp": "2034-12-07T09:30:08.103Z", "stale_timestamp": "2034-11-23T09:30:08.103Z", "stale_warning_timestamp": "2034-11-30T09:30:08.103Z", "updated": "2024-11-23T09:30:08.103Z", "insights_id": null, "tags": [ { "key": "program", "value": "open-source", "namespace": "calculating" }, { "key": "application", "value": "redundant", "namespace": "calculating" }, { "key": "hard drive", "value": "neural", "namespace": "transmitting" }, { "key": "bandwidth", "value": "wireless", "namespace": "hacking" }, { "key": "bandwidth", "value": "bluetooth", "namespace": "generating" } ], "type": "system", "os_major_version": 8, "os_minor_version": 0 }, { "id": "75b7b206-e71d-400b-b136-0cb5c8410552", "display_name": "weimann.test", "groups": [], "culled_timestamp": "2034-12-07T09:30:08.034Z", "stale_timestamp": "2034-11-23T09:30:08.034Z", "stale_warning_timestamp": "2034-11-30T09:30:08.034Z", "updated": "2024-11-23T09:30:08.034Z", "insights_id": null, "tags": [ { "key": "microchip", "value": "cross-platform", "namespace": "bypassing" }, { "key": "application", "value": "haptic", "namespace": "overriding" }, { "key": "driver", "value": "mobile", "namespace": "transmitting" }, { "key": "circuit", "value": "bluetooth", "namespace": "copying" }, { "key": "port", "value": "back-end", "namespace": "copying" } ], "type": "system", "os_major_version": 8, "os_minor_version": 0 } ], "meta": { "total": 25, "tags": [], "limit": 10, "offset": 0 }, "links": { "first": "/api/compliance/v2/policies/4d57913c-ca1d-47af-9717-98f09e60d49b/systems?limit=10&offset=0", "last": "/api/compliance/v2/policies/4d57913c-ca1d-47af-9717-98f09e60d49b/systems?limit=10&offset=20", "next": "/api/compliance/v2/policies/4d57913c-ca1d-47af-9717-98f09e60d49b/systems?limit=10&offset=10" } }, "summary": "", "description": "" }, "List of Systems sorted by \"os_minor_version:asc\"": { "value": { "data": [ { "id": "0e3b36fc-7f02-4a9d-a4b4-7f8aac185ffb", "display_name": "carroll.example", "groups": [], "culled_timestamp": "2034-12-07T09:30:08.234Z", "stale_timestamp": "2034-11-23T09:30:08.234Z", "stale_warning_timestamp": "2034-11-30T09:30:08.234Z", "updated": "2024-11-23T09:30:08.234Z", "insights_id": null, "tags": [ { "key": "alarm", "value": "wireless", "namespace": "quantifying" }, { "key": "monitor", "value": "cross-platform", "namespace": "navigating" }, { "key": "alarm", "value": "wireless", "namespace": "connecting" }, { "key": "array", "value": "optical", "namespace": "connecting" }, { "key": "driver", "value": "virtual", "namespace": "parsing" } ], "type": "system", "os_major_version": 8, "os_minor_version": 0 }, { "id": "14e92554-29fb-401f-befe-ad87733faf20", "display_name": "moore-bailey.example", "groups": [], "culled_timestamp": "2034-12-07T09:30:08.154Z", "stale_timestamp": "2034-11-23T09:30:08.154Z", "stale_warning_timestamp": "2034-11-30T09:30:08.154Z", "updated": "2024-11-23T09:30:08.154Z", "insights_id": null, "tags": [ { "key": "application", "value": "open-source", "namespace": "synthesizing" }, { "key": "transmitter", "value": "online", "namespace": "transmitting" }, { "key": "application", "value": "back-end", "namespace": "transmitting" }, { "key": "sensor", "value": "primary", "namespace": "copying" }, { "key": "capacitor", "value": "1080p", "namespace": "synthesizing" } ], "type": "system", "os_major_version": 8, "os_minor_version": 0 }, { "id": "1e43e243-bb97-44b2-8def-16c1da80ca72", "display_name": "farrell.test", "groups": [], "culled_timestamp": "2034-12-07T09:30:08.209Z", "stale_timestamp": "2034-11-23T09:30:08.209Z", "stale_warning_timestamp": "2034-11-30T09:30:08.209Z", "updated": "2024-11-23T09:30:08.209Z", "insights_id": null, "tags": [ { "key": "hard drive", "value": "multi-byte", "namespace": "hacking" }, { "key": "transmitter", "value": "virtual", "namespace": "connecting" }, { "key": "microchip", "value": "open-source", "namespace": "transmitting" }, { "key": "alarm", "value": "haptic", "namespace": "programming" }, { "key": "panel", "value": "back-end", "namespace": "transmitting" } ], "type": "system", "os_major_version": 8, "os_minor_version": 0 }, { "id": "21f97f65-38df-4adc-ad9c-bf465e3b9694", "display_name": "von.example", "groups": [], "culled_timestamp": "2034-12-07T09:30:08.214Z", "stale_timestamp": "2034-11-23T09:30:08.214Z", "stale_warning_timestamp": "2034-11-30T09:30:08.214Z", "updated": "2024-11-23T09:30:08.214Z", "insights_id": null, "tags": [ { "key": "feed", "value": "redundant", "namespace": "bypassing" }, { "key": "pixel", "value": "neural", "namespace": "calculating" }, { "key": "array", "value": "solid state", "namespace": "copying" }, { "key": "application", "value": "primary", "namespace": "overriding" }, { "key": "microchip", "value": "back-end", "namespace": "hacking" } ], "type": "system", "os_major_version": 8, "os_minor_version": 0 }, { "id": "3a66bbd9-24a6-49fd-a459-861e723c6fff", "display_name": "hauck-bogisich.test", "groups": [], "culled_timestamp": "2034-12-07T09:30:08.188Z", "stale_timestamp": "2034-11-23T09:30:08.188Z", "stale_warning_timestamp": "2034-11-30T09:30:08.188Z", "updated": "2024-11-23T09:30:08.188Z", "insights_id": null, "tags": [ { "key": "circuit", "value": "cross-platform", "namespace": "bypassing" }, { "key": "feed", "value": "neural", "namespace": "indexing" }, { "key": "pixel", "value": "cross-platform", "namespace": "synthesizing" }, { "key": "port", "value": "online", "namespace": "calculating" }, { "key": "application", "value": "cross-platform", "namespace": "parsing" } ], "type": "system", "os_major_version": 8, "os_minor_version": 0 }, { "id": "3aa2b0f8-e967-4802-b011-c450d9ea447e", "display_name": "bosco.test", "groups": [], "culled_timestamp": "2034-12-07T09:30:08.260Z", "stale_timestamp": "2034-11-23T09:30:08.260Z", "stale_warning_timestamp": "2034-11-30T09:30:08.260Z", "updated": "2024-11-23T09:30:08.260Z", "insights_id": null, "tags": [ { "key": "driver", "value": "cross-platform", "namespace": "overriding" }, { "key": "capacitor", "value": "mobile", "namespace": "navigating" }, { "key": "microchip", "value": "solid state", "namespace": "parsing" }, { "key": "bandwidth", "value": "virtual", "namespace": "parsing" }, { "key": "capacitor", "value": "optical", "namespace": "backing up" } ], "type": "system", "os_major_version": 8, "os_minor_version": 0 }, { "id": "46982a06-d7db-4c3e-832a-b4bc14679fa2", "display_name": "reilly.example", "groups": [], "culled_timestamp": "2034-12-07T09:30:08.219Z", "stale_timestamp": "2034-11-23T09:30:08.219Z", "stale_warning_timestamp": "2034-11-30T09:30:08.219Z", "updated": "2024-11-23T09:30:08.219Z", "insights_id": null, "tags": [ { "key": "panel", "value": "back-end", "namespace": "programming" }, { "key": "capacitor", "value": "wireless", "namespace": "copying" }, { "key": "capacitor", "value": "primary", "namespace": "transmitting" }, { "key": "driver", "value": "primary", "namespace": "backing up" }, { "key": "matrix", "value": "optical", "namespace": "indexing" } ], "type": "system", "os_major_version": 8, "os_minor_version": 0 }, { "id": "4b6c7966-bf2c-457c-bea9-646c759eedbe", "display_name": "rohan.test", "groups": [], "culled_timestamp": "2034-12-07T09:30:08.144Z", "stale_timestamp": "2034-11-23T09:30:08.144Z", "stale_warning_timestamp": "2034-11-30T09:30:08.144Z", "updated": "2024-11-23T09:30:08.144Z", "insights_id": null, "tags": [ { "key": "interface", "value": "auxiliary", "namespace": "copying" }, { "key": "sensor", "value": "primary", "namespace": "overriding" }, { "key": "microchip", "value": "multi-byte", "namespace": "programming" }, { "key": "card", "value": "haptic", "namespace": "compressing" }, { "key": "circuit", "value": "primary", "namespace": "bypassing" } ], "type": "system", "os_major_version": 8, "os_minor_version": 0 }, { "id": "4d1f4133-9d43-458b-8879-e8e4e4f95fd8", "display_name": "dibbert.test", "groups": [], "culled_timestamp": "2034-12-07T09:30:08.240Z", "stale_timestamp": "2034-11-23T09:30:08.240Z", "stale_warning_timestamp": "2034-11-30T09:30:08.240Z", "updated": "2024-11-23T09:30:08.240Z", "insights_id": null, "tags": [ { "key": "hard drive", "value": "online", "namespace": "synthesizing" }, { "key": "application", "value": "online", "namespace": "calculating" }, { "key": "program", "value": "primary", "namespace": "transmitting" }, { "key": "transmitter", "value": "back-end", "namespace": "quantifying" }, { "key": "pixel", "value": "haptic", "namespace": "calculating" } ], "type": "system", "os_major_version": 8, "os_minor_version": 0 }, { "id": "4e5ab2ca-d144-4e9d-90fb-236bc98a5ae0", "display_name": "gorczany.test", "groups": [], "culled_timestamp": "2034-12-07T09:30:08.182Z", "stale_timestamp": "2034-11-23T09:30:08.182Z", "stale_warning_timestamp": "2034-11-30T09:30:08.182Z", "updated": "2024-11-23T09:30:08.182Z", "insights_id": null, "tags": [ { "key": "system", "value": "online", "namespace": "bypassing" }, { "key": "capacitor", "value": "optical", "namespace": "backing up" }, { "key": "circuit", "value": "digital", "namespace": "indexing" }, { "key": "monitor", "value": "wireless", "namespace": "synthesizing" }, { "key": "application", "value": "online", "namespace": "calculating" } ], "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/0d17f9ff-2b79-4a90-ad65-9851b899e142/systems?limit=10&offset=0&sort_by=os_minor_version", "last": "/api/compliance/v2/policies/0d17f9ff-2b79-4a90-ad65-9851b899e142/systems?limit=10&offset=20&sort_by=os_minor_version", "next": "/api/compliance/v2/policies/0d17f9ff-2b79-4a90-ad65-9851b899e142/systems?limit=10&offset=10&sort_by=os_minor_version" } }, "summary": "", "description": "" }, "List of Systems filtered by \"(os_minor_version=0)\"": { "value": { "data": [ { "id": "073920fd-6371-476b-9d94-59d365b2bf36", "display_name": "jacobs.test", "groups": [], "culled_timestamp": "2034-12-07T09:30:08.355Z", "stale_timestamp": "2034-11-23T09:30:08.355Z", "stale_warning_timestamp": "2034-11-30T09:30:08.355Z", "updated": "2024-11-23T09:30:08.355Z", "insights_id": null, "tags": [ { "key": "circuit", "value": "virtual", "namespace": "synthesizing" }, { "key": "capacitor", "value": "neural", "namespace": "connecting" }, { "key": "array", "value": "optical", "namespace": "copying" }, { "key": "port", "value": "bluetooth", "namespace": "transmitting" }, { "key": "hard drive", "value": "digital", "namespace": "parsing" } ], "type": "system", "os_major_version": 8, "os_minor_version": 0 }, { "id": "076877be-3449-468d-addc-73fe82453e08", "display_name": "kuhn.example", "groups": [], "culled_timestamp": "2034-12-07T09:30:08.328Z", "stale_timestamp": "2034-11-23T09:30:08.328Z", "stale_warning_timestamp": "2034-11-30T09:30:08.328Z", "updated": "2024-11-23T09:30:08.328Z", "insights_id": null, "tags": [ { "key": "sensor", "value": "auxiliary", "namespace": "bypassing" }, { "key": "bandwidth", "value": "optical", "namespace": "connecting" }, { "key": "matrix", "value": "bluetooth", "namespace": "backing up" }, { "key": "port", "value": "redundant", "namespace": "backing up" }, { "key": "pixel", "value": "primary", "namespace": "transmitting" } ], "type": "system", "os_major_version": 8, "os_minor_version": 0 }, { "id": "0907bf45-b228-460b-989a-8414b7429f12", "display_name": "kerluke-lowe.example", "groups": [], "culled_timestamp": "2034-12-07T09:30:08.285Z", "stale_timestamp": "2034-11-23T09:30:08.285Z", "stale_warning_timestamp": "2034-11-30T09:30:08.285Z", "updated": "2024-11-23T09:30:08.285Z", "insights_id": null, "tags": [ { "key": "bandwidth", "value": "primary", "namespace": "transmitting" }, { "key": "bandwidth", "value": "redundant", "namespace": "copying" }, { "key": "monitor", "value": "bluetooth", "namespace": "compressing" }, { "key": "feed", "value": "1080p", "namespace": "overriding" }, { "key": "alarm", "value": "multi-byte", "namespace": "programming" } ], "type": "system", "os_major_version": 8, "os_minor_version": 0 }, { "id": "24c8942c-00d6-4456-9a9b-a820336a52c9", "display_name": "torp.example", "groups": [], "culled_timestamp": "2034-12-07T09:30:08.323Z", "stale_timestamp": "2034-11-23T09:30:08.323Z", "stale_warning_timestamp": "2034-11-30T09:30:08.323Z", "updated": "2024-11-23T09:30:08.323Z", "insights_id": null, "tags": [ { "key": "protocol", "value": "mobile", "namespace": "bypassing" }, { "key": "monitor", "value": "virtual", "namespace": "navigating" }, { "key": "application", "value": "open-source", "namespace": "calculating" }, { "key": "program", "value": "mobile", "namespace": "parsing" }, { "key": "program", "value": "solid state", "namespace": "copying" } ], "type": "system", "os_major_version": 8, "os_minor_version": 0 }, { "id": "2869e663-5458-4387-ba82-14befcac7f30", "display_name": "schmitt.example", "groups": [], "culled_timestamp": "2034-12-07T09:30:08.339Z", "stale_timestamp": "2034-11-23T09:30:08.339Z", "stale_warning_timestamp": "2034-11-30T09:30:08.339Z", "updated": "2024-11-23T09:30:08.339Z", "insights_id": null, "tags": [ { "key": "matrix", "value": "multi-byte", "namespace": "bypassing" }, { "key": "panel", "value": "1080p", "namespace": "backing up" }, { "key": "alarm", "value": "1080p", "namespace": "generating" }, { "key": "firewall", "value": "auxiliary", "namespace": "indexing" }, { "key": "bus", "value": "auxiliary", "namespace": "synthesizing" } ], "type": "system", "os_major_version": 8, "os_minor_version": 0 }, { "id": "2d6e53b6-ccdf-438d-9459-e79110c96887", "display_name": "thiel-rippin.test", "groups": [], "culled_timestamp": "2034-12-07T09:30:08.362Z", "stale_timestamp": "2034-11-23T09:30:08.362Z", "stale_warning_timestamp": "2034-11-30T09:30:08.362Z", "updated": "2024-11-23T09:30:08.362Z", "insights_id": null, "tags": [ { "key": "pixel", "value": "neural", "namespace": "copying" }, { "key": "firewall", "value": "online", "namespace": "compressing" }, { "key": "transmitter", "value": "virtual", "namespace": "generating" }, { "key": "firewall", "value": "online", "namespace": "calculating" }, { "key": "sensor", "value": "virtual", "namespace": "calculating" } ], "type": "system", "os_major_version": 8, "os_minor_version": 0 }, { "id": "2d81ffc6-2013-4e0c-9567-b6cb64ffb2fe", "display_name": "marvin.test", "groups": [], "culled_timestamp": "2034-12-07T09:30:08.415Z", "stale_timestamp": "2034-11-23T09:30:08.415Z", "stale_warning_timestamp": "2034-11-30T09:30:08.415Z", "updated": "2024-11-23T09:30:08.415Z", "insights_id": null, "tags": [ { "key": "alarm", "value": "multi-byte", "namespace": "transmitting" }, { "key": "capacitor", "value": "bluetooth", "namespace": "transmitting" }, { "key": "transmitter", "value": "redundant", "namespace": "hacking" }, { "key": "array", "value": "solid state", "namespace": "bypassing" }, { "key": "monitor", "value": "cross-platform", "namespace": "compressing" } ], "type": "system", "os_major_version": 8, "os_minor_version": 0 }, { "id": "2daafe25-9771-4f58-ac85-03c16a8c49d9", "display_name": "hauck.test", "groups": [], "culled_timestamp": "2034-12-07T09:30:08.400Z", "stale_timestamp": "2034-11-23T09:30:08.400Z", "stale_warning_timestamp": "2034-11-30T09:30:08.400Z", "updated": "2024-11-23T09:30:08.400Z", "insights_id": null, "tags": [ { "key": "protocol", "value": "online", "namespace": "navigating" }, { "key": "capacitor", "value": "primary", "namespace": "transmitting" }, { "key": "hard drive", "value": "optical", "namespace": "copying" }, { "key": "application", "value": "back-end", "namespace": "transmitting" }, { "key": "array", "value": "primary", "namespace": "connecting" } ], "type": "system", "os_major_version": 8, "os_minor_version": 0 }, { "id": "68c07652-be84-4c80-a9fa-76db6c07f620", "display_name": "balistreri.example", "groups": [], "culled_timestamp": "2034-12-07T09:30:08.410Z", "stale_timestamp": "2034-11-23T09:30:08.410Z", "stale_warning_timestamp": "2034-11-30T09:30:08.410Z", "updated": "2024-11-23T09:30:08.410Z", "insights_id": null, "tags": [ { "key": "circuit", "value": "mobile", "namespace": "hacking" }, { "key": "array", "value": "open-source", "namespace": "programming" }, { "key": "array", "value": "solid state", "namespace": "compressing" }, { "key": "port", "value": "digital", "namespace": "indexing" }, { "key": "bus", "value": "multi-byte", "namespace": "calculating" } ], "type": "system", "os_major_version": 8, "os_minor_version": 0 }, { "id": "6c44b88e-f0a7-4a23-9083-12ac3be9d4ce", "display_name": "goldner.example", "groups": [], "culled_timestamp": "2034-12-07T09:30:08.312Z", "stale_timestamp": "2034-11-23T09:30:08.312Z", "stale_warning_timestamp": "2034-11-30T09:30:08.312Z", "updated": "2024-11-23T09:30:08.312Z", "insights_id": null, "tags": [ { "key": "capacitor", "value": "back-end", "namespace": "copying" }, { "key": "capacitor", "value": "primary", "namespace": "copying" }, { "key": "card", "value": "cross-platform", "namespace": "programming" }, { "key": "transmitter", "value": "solid state", "namespace": "hacking" }, { "key": "application", "value": "1080p", "namespace": "parsing" } ], "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/aff389b8-d1b9-4eb1-bd6b-8994902a1f99/systems?filter=%28os_minor_version%3D0%29&limit=10&offset=0", "last": "/api/compliance/v2/policies/aff389b8-d1b9-4eb1-bd6b-8994902a1f99/systems?filter=%28os_minor_version%3D0%29&limit=10&offset=20", "next": "/api/compliance/v2/policies/aff389b8-d1b9-4eb1-bd6b-8994902a1f99/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": "234bf987-a93a-4f96-b63e-1226db6db875", "display_name": "ruecker.example", "groups": [], "culled_timestamp": "2034-12-07T09:30:08.918Z", "stale_timestamp": "2034-11-23T09:30:08.918Z", "stale_warning_timestamp": "2034-11-30T09:30:08.918Z", "updated": "2024-11-23T09:30:08.918Z", "insights_id": null, "tags": [ { "key": "matrix", "value": "bluetooth", "namespace": "synthesizing" }, { "key": "matrix", "value": "wireless", "namespace": "compressing" }, { "key": "bandwidth", "value": "1080p", "namespace": "bypassing" }, { "key": "microchip", "value": "optical", "namespace": "programming" }, { "key": "panel", "value": "solid state", "namespace": "parsing" } ], "type": "system", "os_major_version": 8, "os_minor_version": 0 }, { "id": "319f1b3c-4b43-4c0e-9183-0fbbaf3f26b0", "display_name": "toy.test", "groups": [], "culled_timestamp": "2034-12-07T09:30:08.905Z", "stale_timestamp": "2034-11-23T09:30:08.905Z", "stale_warning_timestamp": "2034-11-30T09:30:08.905Z", "updated": "2024-11-23T09:30:08.905Z", "insights_id": null, "tags": [ { "key": "hard drive", "value": "multi-byte", "namespace": "bypassing" }, { "key": "feed", "value": "auxiliary", "namespace": "hacking" }, { "key": "interface", "value": "online", "namespace": "indexing" }, { "key": "microchip", "value": "redundant", "namespace": "quantifying" }, { "key": "interface", "value": "open-source", "namespace": "copying" } ], "type": "system", "os_major_version": 8, "os_minor_version": 0 }, { "id": "325c430d-01aa-4ea3-b60f-016262de9277", "display_name": "franecki.test", "groups": [], "culled_timestamp": "2034-12-07T09:30:08.909Z", "stale_timestamp": "2034-11-23T09:30:08.909Z", "stale_warning_timestamp": "2034-11-30T09:30:08.909Z", "updated": "2024-11-23T09:30:08.909Z", "insights_id": null, "tags": [ { "key": "capacitor", "value": "solid state", "namespace": "compressing" }, { "key": "transmitter", "value": "haptic", "namespace": "navigating" }, { "key": "sensor", "value": "digital", "namespace": "synthesizing" }, { "key": "pixel", "value": "cross-platform", "namespace": "overriding" }, { "key": "monitor", "value": "virtual", "namespace": "overriding" } ], "type": "system", "os_major_version": 8, "os_minor_version": 0 }, { "id": "3612cfbc-91ba-42a7-bf29-4b2d3d2a2448", "display_name": "powlowski-hane.test", "groups": [], "culled_timestamp": "2034-12-07T09:30:08.908Z", "stale_timestamp": "2034-11-23T09:30:08.908Z", "stale_warning_timestamp": "2034-11-30T09:30:08.908Z", "updated": "2024-11-23T09:30:08.908Z", "insights_id": null, "tags": [ { "key": "firewall", "value": "solid state", "namespace": "calculating" }, { "key": "interface", "value": "neural", "namespace": "overriding" }, { "key": "interface", "value": "cross-platform", "namespace": "parsing" }, { "key": "transmitter", "value": "cross-platform", "namespace": "parsing" }, { "key": "firewall", "value": "mobile", "namespace": "indexing" } ], "type": "system", "os_major_version": 8, "os_minor_version": 0 }, { "id": "425c8546-cc0c-46ad-bc85-d98af3a76b4c", "display_name": "donnelly-fay.example", "groups": [], "culled_timestamp": "2034-12-07T09:30:08.899Z", "stale_timestamp": "2034-11-23T09:30:08.899Z", "stale_warning_timestamp": "2034-11-30T09:30:08.899Z", "updated": "2024-11-23T09:30:08.899Z", "insights_id": null, "tags": [ { "key": "capacitor", "value": "1080p", "namespace": "transmitting" }, { "key": "alarm", "value": "auxiliary", "namespace": "compressing" }, { "key": "transmitter", "value": "haptic", "namespace": "transmitting" }, { "key": "port", "value": "wireless", "namespace": "navigating" }, { "key": "bus", "value": "optical", "namespace": "overriding" } ], "type": "system", "os_major_version": 8, "os_minor_version": 0 }, { "id": "4ee76d1c-6965-4c43-8ec1-da5b681300f8", "display_name": "block-nikolaus.test", "groups": [], "culled_timestamp": "2034-12-07T09:30:08.903Z", "stale_timestamp": "2034-11-23T09:30:08.903Z", "stale_warning_timestamp": "2034-11-30T09:30:08.903Z", "updated": "2024-11-23T09:30:08.903Z", "insights_id": null, "tags": [ { "key": "bandwidth", "value": "online", "namespace": "indexing" }, { "key": "bandwidth", "value": "open-source", "namespace": "transmitting" }, { "key": "transmitter", "value": "redundant", "namespace": "backing up" }, { "key": "sensor", "value": "open-source", "namespace": "synthesizing" }, { "key": "feed", "value": "neural", "namespace": "indexing" } ], "type": "system", "os_major_version": 8, "os_minor_version": 0 }, { "id": "50d6bf18-fef8-4587-b918-9f94625c9016", "display_name": "swaniawski-fadel.example", "groups": [], "culled_timestamp": "2034-12-07T09:30:08.901Z", "stale_timestamp": "2034-11-23T09:30:08.901Z", "stale_warning_timestamp": "2034-11-30T09:30:08.901Z", "updated": "2024-11-23T09:30:08.901Z", "insights_id": null, "tags": [ { "key": "matrix", "value": "multi-byte", "namespace": "compressing" }, { "key": "panel", "value": "virtual", "namespace": "connecting" }, { "key": "firewall", "value": "auxiliary", "namespace": "calculating" }, { "key": "pixel", "value": "optical", "namespace": "generating" }, { "key": "port", "value": "back-end", "namespace": "bypassing" } ], "type": "system", "os_major_version": 8, "os_minor_version": 0 }, { "id": "51090cae-8688-4404-ba0f-56f06098d8c6", "display_name": "quitzon.example", "groups": [], "culled_timestamp": "2034-12-07T09:30:08.912Z", "stale_timestamp": "2034-11-23T09:30:08.912Z", "stale_warning_timestamp": "2034-11-30T09:30:08.912Z", "updated": "2024-11-23T09:30:08.912Z", "insights_id": null, "tags": [ { "key": "port", "value": "multi-byte", "namespace": "transmitting" }, { "key": "circuit", "value": "auxiliary", "namespace": "quantifying" }, { "key": "bus", "value": "open-source", "namespace": "backing up" }, { "key": "pixel", "value": "optical", "namespace": "calculating" }, { "key": "port", "value": "neural", "namespace": "generating" } ], "type": "system", "os_major_version": 8, "os_minor_version": 0 }, { "id": "52e6d50d-dc26-42bb-af23-eed0eb4a0e41", "display_name": "lemke-labadie.test", "groups": [], "culled_timestamp": "2034-12-07T09:30:08.905Z", "stale_timestamp": "2034-11-23T09:30:08.905Z", "stale_warning_timestamp": "2034-11-30T09:30:08.905Z", "updated": "2024-11-23T09:30:08.905Z", "insights_id": null, "tags": [ { "key": "matrix", "value": "neural", "namespace": "synthesizing" }, { "key": "microchip", "value": "digital", "namespace": "transmitting" }, { "key": "firewall", "value": "haptic", "namespace": "copying" }, { "key": "program", "value": "virtual", "namespace": "compressing" }, { "key": "pixel", "value": "wireless", "namespace": "transmitting" } ], "type": "system", "os_major_version": 8, "os_minor_version": 0 }, { "id": "57b0da00-cf2f-4017-a502-6b5e555d4182", "display_name": "hudson.example", "groups": [], "culled_timestamp": "2034-12-07T09:30:08.913Z", "stale_timestamp": "2034-11-23T09:30:08.913Z", "stale_warning_timestamp": "2034-11-30T09:30:08.913Z", "updated": "2024-11-23T09:30:08.913Z", "insights_id": null, "tags": [ { "key": "port", "value": "auxiliary", "namespace": "hacking" }, { "key": "monitor", "value": "auxiliary", "namespace": "calculating" }, { "key": "alarm", "value": "1080p", "namespace": "quantifying" }, { "key": "circuit", "value": "solid state", "namespace": "calculating" }, { "key": "application", "value": "bluetooth", "namespace": "copying" } ], "type": "system", "os_major_version": 8, "os_minor_version": 0 } ], "meta": { "total": 25, "tags": [], "limit": 10, "offset": 0 }, "links": { "first": "/api/compliance/v2/policies/f6e5c572-f161-4900-9882-2d360d592c60/systems?limit=10&offset=0", "last": "/api/compliance/v2/policies/f6e5c572-f161-4900-9882-2d360d592c60/systems?limit=10&offset=20", "next": "/api/compliance/v2/policies/f6e5c572-f161-4900-9882-2d360d592c60/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": [ "e7de0701-d540-4bd2-a898-00df28c7dbf5" ] } } } } } } } } }, "/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 scoped_search query language. However, only `=` or `!=` (resp. `<>`) operators are supported.

Systems are searchable using attributes `display_name`, `os_version`, `os_major_version`, `os_minor_version`, `assigned_or_scanned`, `never_reported`, `group_name`, `policies`, and `profile_ref_id`

(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": "Assign a specific system to a specific 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": "8e6496f7-1fc3-4a88-abce-0da3c0b1a671", "display_name": "towne.example", "groups": [], "culled_timestamp": "2034-12-07T09:30:09.114Z", "stale_timestamp": "2034-11-23T09:30:09.114Z", "stale_warning_timestamp": "2034-11-30T09:30:09.114Z", "updated": "2024-11-23T09:30:09.114Z", "insights_id": null, "tags": [ { "key": "monitor", "value": "back-end", "namespace": "compressing" }, { "key": "microchip", "value": "redundant", "namespace": "parsing" }, { "key": "transmitter", "value": "back-end", "namespace": "compressing" }, { "key": "array", "value": "online", "namespace": "navigating" }, { "key": "bus", "value": "solid state", "namespace": "compressing" } ], "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 305bef61-48d5-4639-b5c9-f086bc3f5dc0" ] }, "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": "Remove a specific system from a specific 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": "98c0f7c4-3e06-4c46-aa08-07033a535285", "display_name": "wilkinson-price.test", "groups": [], "culled_timestamp": "2034-12-07T09:30:09.164Z", "stale_timestamp": "2034-11-23T09:30:09.164Z", "stale_warning_timestamp": "2034-11-30T09:30:09.164Z", "updated": "2024-11-23T09:30:09.164Z", "insights_id": null, "tags": [ { "key": "monitor", "value": "cross-platform", "namespace": "synthesizing" }, { "key": "monitor", "value": "haptic", "namespace": "synthesizing" }, { "key": "program", "value": "online", "namespace": "connecting" }, { "key": "card", "value": "digital", "namespace": "calculating" }, { "key": "interface", "value": "solid state", "namespace": "transmitting" } ], "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 d8f0f8e9-ed18-43e6-88f4-15ce22a7a379" ] }, "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.
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 (`:asc` or `:desc`).

If no direction is selected, `:asc` is used by default.", "schema": { "type": "array", "items": { "enum": [ "display_name", "os_minor_version", "os_version", "groups", "display_name:asc", "display_name:desc", "os_minor_version:asc", "os_minor_version:desc", "os_version:asc", "os_version:desc", "groups:asc", "groups:desc" ] } } }, { "name": "filter", "in": "query", "required": false, "description": "Query string to filter items by their attributes. Compliant with scoped_search query language. However, only `=` or `!=` (resp. `<>`) operators are supported.

Systems are searchable using attributes `display_name`, `os_minor_version`, `never_reported`, and `group_name`

(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": "Retrieve all of the systems for a specific report.", "operationId": "ReportSystems", "responses": { "200": { "description": "Lists Systems assigned to a Report", "content": { "application/vnd.api+json": { "examples": { "List of Systems": { "value": { "data": [ { "id": "096d854b-982a-432d-a24a-5cff42b956ee", "display_name": "hirthe.test", "groups": [], "culled_timestamp": "2034-12-07T09:30:09.478Z", "stale_timestamp": "2034-11-23T09:30:09.478Z", "stale_warning_timestamp": "2034-11-30T09:30:09.478Z", "updated": "2024-11-23T09:30:09.478Z", "insights_id": null, "tags": [ { "key": "panel", "value": "1080p", "namespace": "overriding" }, { "key": "protocol", "value": "mobile", "namespace": "quantifying" }, { "key": "alarm", "value": "primary", "namespace": "calculating" }, { "key": "port", "value": "virtual", "namespace": "backing up" }, { "key": "panel", "value": "auxiliary", "namespace": "backing up" } ], "type": "system", "os_major_version": 8, "os_minor_version": 0, "policies": [ { "id": "c6712af8-9707-4036-8242-adab3e58f4ec", "title": "Excepturi rem sed et." } ] }, { "id": "0ba6e3bd-0dfc-4919-a355-d9bf118cddcd", "display_name": "block-heidenreich.test", "groups": [], "culled_timestamp": "2034-12-07T09:30:09.431Z", "stale_timestamp": "2034-11-23T09:30:09.431Z", "stale_warning_timestamp": "2034-11-30T09:30:09.431Z", "updated": "2024-11-23T09:30:09.431Z", "insights_id": null, "tags": [ { "key": "microchip", "value": "back-end", "namespace": "quantifying" }, { "key": "application", "value": "solid state", "namespace": "generating" }, { "key": "feed", "value": "cross-platform", "namespace": "parsing" }, { "key": "bandwidth", "value": "primary", "namespace": "navigating" }, { "key": "port", "value": "auxiliary", "namespace": "bypassing" } ], "type": "system", "os_major_version": 8, "os_minor_version": 0, "policies": [ { "id": "c6712af8-9707-4036-8242-adab3e58f4ec", "title": "Excepturi rem sed et." } ] }, { "id": "13a038ff-aecf-4b6a-8f4c-a3f7849d33b1", "display_name": "mcglynn.test", "groups": [], "culled_timestamp": "2034-12-07T09:30:09.407Z", "stale_timestamp": "2034-11-23T09:30:09.407Z", "stale_warning_timestamp": "2034-11-30T09:30:09.407Z", "updated": "2024-11-23T09:30:09.407Z", "insights_id": null, "tags": [ { "key": "matrix", "value": "open-source", "namespace": "transmitting" }, { "key": "card", "value": "bluetooth", "namespace": "calculating" }, { "key": "bandwidth", "value": "wireless", "namespace": "overriding" }, { "key": "matrix", "value": "auxiliary", "namespace": "overriding" }, { "key": "protocol", "value": "auxiliary", "namespace": "hacking" } ], "type": "system", "os_major_version": 8, "os_minor_version": 0, "policies": [ { "id": "c6712af8-9707-4036-8242-adab3e58f4ec", "title": "Excepturi rem sed et." } ] }, { "id": "31826589-a557-47fa-a680-f8d9df92211b", "display_name": "hoppe.test", "groups": [], "culled_timestamp": "2034-12-07T09:30:09.396Z", "stale_timestamp": "2034-11-23T09:30:09.396Z", "stale_warning_timestamp": "2034-11-30T09:30:09.396Z", "updated": "2024-11-23T09:30:09.396Z", "insights_id": null, "tags": [ { "key": "sensor", "value": "online", "namespace": "overriding" }, { "key": "system", "value": "1080p", "namespace": "indexing" }, { "key": "panel", "value": "bluetooth", "namespace": "synthesizing" }, { "key": "hard drive", "value": "wireless", "namespace": "bypassing" }, { "key": "transmitter", "value": "1080p", "namespace": "quantifying" } ], "type": "system", "os_major_version": 8, "os_minor_version": 0, "policies": [ { "id": "c6712af8-9707-4036-8242-adab3e58f4ec", "title": "Excepturi rem sed et." } ] }, { "id": "3a77c6ce-a7dc-4a63-b654-07fbce88e52d", "display_name": "bode.test", "groups": [], "culled_timestamp": "2034-12-07T09:30:09.460Z", "stale_timestamp": "2034-11-23T09:30:09.460Z", "stale_warning_timestamp": "2034-11-30T09:30:09.460Z", "updated": "2024-11-23T09:30:09.460Z", "insights_id": null, "tags": [ { "key": "interface", "value": "virtual", "namespace": "generating" }, { "key": "array", "value": "solid state", "namespace": "programming" }, { "key": "bus", "value": "mobile", "namespace": "navigating" }, { "key": "driver", "value": "multi-byte", "namespace": "transmitting" }, { "key": "driver", "value": "mobile", "namespace": "synthesizing" } ], "type": "system", "os_major_version": 8, "os_minor_version": 0, "policies": [ { "id": "c6712af8-9707-4036-8242-adab3e58f4ec", "title": "Excepturi rem sed et." } ] }, { "id": "470e53cd-2ed4-4a85-a4f0-21de25ed736f", "display_name": "berge.test", "groups": [], "culled_timestamp": "2034-12-07T09:30:09.412Z", "stale_timestamp": "2034-11-23T09:30:09.412Z", "stale_warning_timestamp": "2034-11-30T09:30:09.412Z", "updated": "2024-11-23T09:30:09.412Z", "insights_id": null, "tags": [ { "key": "program", "value": "mobile", "namespace": "synthesizing" }, { "key": "interface", "value": "wireless", "namespace": "navigating" }, { "key": "capacitor", "value": "optical", "namespace": "generating" }, { "key": "capacitor", "value": "neural", "namespace": "quantifying" }, { "key": "driver", "value": "multi-byte", "namespace": "connecting" } ], "type": "system", "os_major_version": 8, "os_minor_version": 0, "policies": [ { "id": "c6712af8-9707-4036-8242-adab3e58f4ec", "title": "Excepturi rem sed et." } ] }, { "id": "58e2c86a-f725-45cc-b7c0-cf197d701dcd", "display_name": "corkery.example", "groups": [], "culled_timestamp": "2034-12-07T09:30:09.520Z", "stale_timestamp": "2034-11-23T09:30:09.520Z", "stale_warning_timestamp": "2034-11-30T09:30:09.520Z", "updated": "2024-11-23T09:30:09.520Z", "insights_id": null, "tags": [ { "key": "card", "value": "wireless", "namespace": "quantifying" }, { "key": "driver", "value": "virtual", "namespace": "compressing" }, { "key": "circuit", "value": "open-source", "namespace": "parsing" }, { "key": "capacitor", "value": "primary", "namespace": "programming" }, { "key": "transmitter", "value": "haptic", "namespace": "quantifying" } ], "type": "system", "os_major_version": 8, "os_minor_version": 0, "policies": [ { "id": "c6712af8-9707-4036-8242-adab3e58f4ec", "title": "Excepturi rem sed et." } ] }, { "id": "5b5c5138-fa2b-43d3-b4c5-cce4abb7aaca", "display_name": "lang.example", "groups": [], "culled_timestamp": "2034-12-07T09:30:09.499Z", "stale_timestamp": "2034-11-23T09:30:09.499Z", "stale_warning_timestamp": "2034-11-30T09:30:09.499Z", "updated": "2024-11-23T09:30:09.499Z", "insights_id": null, "tags": [ { "key": "bus", "value": "virtual", "namespace": "programming" }, { "key": "pixel", "value": "primary", "namespace": "connecting" }, { "key": "panel", "value": "virtual", "namespace": "calculating" }, { "key": "interface", "value": "neural", "namespace": "indexing" }, { "key": "matrix", "value": "back-end", "namespace": "indexing" } ], "type": "system", "os_major_version": 8, "os_minor_version": 0, "policies": [ { "id": "c6712af8-9707-4036-8242-adab3e58f4ec", "title": "Excepturi rem sed et." } ] }, { "id": "5bff40c5-0771-46d5-8c36-b54f00593963", "display_name": "denesik.example", "groups": [], "culled_timestamp": "2034-12-07T09:30:09.426Z", "stale_timestamp": "2034-11-23T09:30:09.426Z", "stale_warning_timestamp": "2034-11-30T09:30:09.426Z", "updated": "2024-11-23T09:30:09.426Z", "insights_id": null, "tags": [ { "key": "driver", "value": "wireless", "namespace": "navigating" }, { "key": "alarm", "value": "wireless", "namespace": "synthesizing" }, { "key": "interface", "value": "redundant", "namespace": "generating" }, { "key": "microchip", "value": "bluetooth", "namespace": "compressing" }, { "key": "monitor", "value": "multi-byte", "namespace": "transmitting" } ], "type": "system", "os_major_version": 8, "os_minor_version": 0, "policies": [ { "id": "c6712af8-9707-4036-8242-adab3e58f4ec", "title": "Excepturi rem sed et." } ] }, { "id": "5ff276fc-f901-4b9d-b68c-483b03c0277b", "display_name": "glover-sanford.example", "groups": [], "culled_timestamp": "2034-12-07T09:30:09.525Z", "stale_timestamp": "2034-11-23T09:30:09.525Z", "stale_warning_timestamp": "2034-11-30T09:30:09.525Z", "updated": "2024-11-23T09:30:09.525Z", "insights_id": null, "tags": [ { "key": "program", "value": "primary", "namespace": "overriding" }, { "key": "capacitor", "value": "optical", "namespace": "generating" }, { "key": "protocol", "value": "wireless", "namespace": "backing up" }, { "key": "application", "value": "neural", "namespace": "backing up" }, { "key": "driver", "value": "back-end", "namespace": "quantifying" } ], "type": "system", "os_major_version": 8, "os_minor_version": 0, "policies": [ { "id": "c6712af8-9707-4036-8242-adab3e58f4ec", "title": "Excepturi rem sed et." } ] } ], "meta": { "total": 25, "tags": [], "limit": 10, "offset": 0 }, "links": { "first": "/api/compliance/v2/reports/c6712af8-9707-4036-8242-adab3e58f4ec/systems?limit=10&offset=0", "last": "/api/compliance/v2/reports/c6712af8-9707-4036-8242-adab3e58f4ec/systems?limit=10&offset=20", "next": "/api/compliance/v2/reports/c6712af8-9707-4036-8242-adab3e58f4ec/systems?limit=10&offset=10" } }, "summary": "", "description": "" }, "List of Systems sorted by \"os_minor_version:asc\"": { "value": { "data": [ { "id": "00b6ed52-0069-4137-a562-0e2cc978591c", "display_name": "bogan.example", "groups": [], "culled_timestamp": "2034-12-07T09:30:09.868Z", "stale_timestamp": "2034-11-23T09:30:09.868Z", "stale_warning_timestamp": "2034-11-30T09:30:09.868Z", "updated": "2024-11-23T09:30:09.868Z", "insights_id": null, "tags": [ { "key": "program", "value": "virtual", "namespace": "copying" }, { "key": "microchip", "value": "neural", "namespace": "copying" }, { "key": "port", "value": "1080p", "namespace": "backing up" }, { "key": "program", "value": "back-end", "namespace": "bypassing" }, { "key": "firewall", "value": "online", "namespace": "hacking" } ], "type": "system", "os_major_version": 8, "os_minor_version": 0, "policies": [ { "id": "6195cb2e-e9d2-432a-84ef-0d1a06bbe6b9", "title": "Voluptas quo et et." } ] }, { "id": "09dc7cb8-f91f-41db-a572-82abe57652c1", "display_name": "reilly.example", "groups": [], "culled_timestamp": "2034-12-07T09:30:09.812Z", "stale_timestamp": "2034-11-23T09:30:09.812Z", "stale_warning_timestamp": "2034-11-30T09:30:09.812Z", "updated": "2024-11-23T09:30:09.812Z", "insights_id": null, "tags": [ { "key": "firewall", "value": "haptic", "namespace": "navigating" }, { "key": "bandwidth", "value": "neural", "namespace": "calculating" }, { "key": "transmitter", "value": "1080p", "namespace": "copying" }, { "key": "system", "value": "digital", "namespace": "backing up" }, { "key": "transmitter", "value": "virtual", "namespace": "hacking" } ], "type": "system", "os_major_version": 8, "os_minor_version": 0, "policies": [ { "id": "6195cb2e-e9d2-432a-84ef-0d1a06bbe6b9", "title": "Voluptas quo et et." } ] }, { "id": "2b4a6b25-3076-4f0e-9915-7e1dc10fec47", "display_name": "weimann.test", "groups": [], "culled_timestamp": "2034-12-07T09:30:09.836Z", "stale_timestamp": "2034-11-23T09:30:09.836Z", "stale_warning_timestamp": "2034-11-30T09:30:09.836Z", "updated": "2024-11-23T09:30:09.836Z", "insights_id": null, "tags": [ { "key": "card", "value": "cross-platform", "namespace": "indexing" }, { "key": "system", "value": "auxiliary", "namespace": "copying" }, { "key": "protocol", "value": "solid state", "namespace": "navigating" }, { "key": "matrix", "value": "virtual", "namespace": "connecting" }, { "key": "monitor", "value": "wireless", "namespace": "backing up" } ], "type": "system", "os_major_version": 8, "os_minor_version": 0, "policies": [ { "id": "6195cb2e-e9d2-432a-84ef-0d1a06bbe6b9", "title": "Voluptas quo et et." } ] }, { "id": "3e877517-ab2c-464b-8dbe-2b1dde4f94dc", "display_name": "erdman.test", "groups": [], "culled_timestamp": "2034-12-07T09:30:09.771Z", "stale_timestamp": "2034-11-23T09:30:09.771Z", "stale_warning_timestamp": "2034-11-30T09:30:09.771Z", "updated": "2024-11-23T09:30:09.771Z", "insights_id": null, "tags": [ { "key": "alarm", "value": "solid state", "namespace": "quantifying" }, { "key": "matrix", "value": "digital", "namespace": "transmitting" }, { "key": "pixel", "value": "back-end", "namespace": "quantifying" }, { "key": "card", "value": "multi-byte", "namespace": "copying" }, { "key": "microchip", "value": "open-source", "namespace": "indexing" } ], "type": "system", "os_major_version": 8, "os_minor_version": 0, "policies": [ { "id": "6195cb2e-e9d2-432a-84ef-0d1a06bbe6b9", "title": "Voluptas quo et et." } ] }, { "id": "4a9619d7-67a9-44dc-a606-7bde18a355cc", "display_name": "emard.test", "groups": [], "culled_timestamp": "2034-12-07T09:30:09.807Z", "stale_timestamp": "2034-11-23T09:30:09.807Z", "stale_warning_timestamp": "2034-11-30T09:30:09.807Z", "updated": "2024-11-23T09:30:09.807Z", "insights_id": null, "tags": [ { "key": "interface", "value": "digital", "namespace": "transmitting" }, { "key": "interface", "value": "open-source", "namespace": "hacking" }, { "key": "feed", "value": "mobile", "namespace": "connecting" }, { "key": "transmitter", "value": "online", "namespace": "parsing" }, { "key": "program", "value": "virtual", "namespace": "synthesizing" } ], "type": "system", "os_major_version": 8, "os_minor_version": 0, "policies": [ { "id": "6195cb2e-e9d2-432a-84ef-0d1a06bbe6b9", "title": "Voluptas quo et et." } ] }, { "id": "4d7262ed-4e8e-42fe-9b4f-b50db73afff1", "display_name": "ferry-ziemann.example", "groups": [], "culled_timestamp": "2034-12-07T09:30:09.852Z", "stale_timestamp": "2034-11-23T09:30:09.852Z", "stale_warning_timestamp": "2034-11-30T09:30:09.852Z", "updated": "2024-11-23T09:30:09.852Z", "insights_id": null, "tags": [ { "key": "driver", "value": "auxiliary", "namespace": "hacking" }, { "key": "application", "value": "auxiliary", "namespace": "quantifying" }, { "key": "microchip", "value": "online", "namespace": "backing up" }, { "key": "port", "value": "1080p", "namespace": "synthesizing" }, { "key": "panel", "value": "1080p", "namespace": "connecting" } ], "type": "system", "os_major_version": 8, "os_minor_version": 0, "policies": [ { "id": "6195cb2e-e9d2-432a-84ef-0d1a06bbe6b9", "title": "Voluptas quo et et." } ] }, { "id": "5995781c-1c5b-4253-850f-b2286c240f4d", "display_name": "oconner.example", "groups": [], "culled_timestamp": "2034-12-07T09:30:09.820Z", "stale_timestamp": "2034-11-23T09:30:09.820Z", "stale_warning_timestamp": "2034-11-30T09:30:09.820Z", "updated": "2024-11-23T09:30:09.820Z", "insights_id": null, "tags": [ { "key": "program", "value": "virtual", "namespace": "backing up" }, { "key": "panel", "value": "back-end", "namespace": "programming" }, { "key": "application", "value": "primary", "namespace": "synthesizing" }, { "key": "microchip", "value": "bluetooth", "namespace": "generating" }, { "key": "transmitter", "value": "multi-byte", "namespace": "navigating" } ], "type": "system", "os_major_version": 8, "os_minor_version": 0, "policies": [ { "id": "6195cb2e-e9d2-432a-84ef-0d1a06bbe6b9", "title": "Voluptas quo et et." } ] }, { "id": "5b7f6975-d75a-46c2-b3eb-0d7eedd21fbb", "display_name": "littel.test", "groups": [], "culled_timestamp": "2034-12-07T09:30:09.802Z", "stale_timestamp": "2034-11-23T09:30:09.802Z", "stale_warning_timestamp": "2034-11-30T09:30:09.802Z", "updated": "2024-11-23T09:30:09.802Z", "insights_id": null, "tags": [ { "key": "system", "value": "bluetooth", "namespace": "bypassing" }, { "key": "array", "value": "open-source", "namespace": "programming" }, { "key": "driver", "value": "redundant", "namespace": "generating" }, { "key": "bus", "value": "cross-platform", "namespace": "bypassing" }, { "key": "monitor", "value": "neural", "namespace": "backing up" } ], "type": "system", "os_major_version": 8, "os_minor_version": 0, "policies": [ { "id": "6195cb2e-e9d2-432a-84ef-0d1a06bbe6b9", "title": "Voluptas quo et et." } ] }, { "id": "6250b19b-ec87-4f72-8a47-c42dcdc77148", "display_name": "wilkinson.example", "groups": [], "culled_timestamp": "2034-12-07T09:30:09.781Z", "stale_timestamp": "2034-11-23T09:30:09.781Z", "stale_warning_timestamp": "2034-11-30T09:30:09.781Z", "updated": "2024-11-23T09:30:09.781Z", "insights_id": null, "tags": [ { "key": "panel", "value": "optical", "namespace": "navigating" }, { "key": "circuit", "value": "haptic", "namespace": "connecting" }, { "key": "system", "value": "bluetooth", "namespace": "compressing" }, { "key": "driver", "value": "cross-platform", "namespace": "calculating" }, { "key": "array", "value": "solid state", "namespace": "overriding" } ], "type": "system", "os_major_version": 8, "os_minor_version": 0, "policies": [ { "id": "6195cb2e-e9d2-432a-84ef-0d1a06bbe6b9", "title": "Voluptas quo et et." } ] }, { "id": "6372f602-02e7-43b8-9c47-82bf72d3d485", "display_name": "rutherford.example", "groups": [], "culled_timestamp": "2034-12-07T09:30:09.760Z", "stale_timestamp": "2034-11-23T09:30:09.760Z", "stale_warning_timestamp": "2034-11-30T09:30:09.760Z", "updated": "2024-11-23T09:30:09.760Z", "insights_id": null, "tags": [ { "key": "application", "value": "solid state", "namespace": "navigating" }, { "key": "alarm", "value": "virtual", "namespace": "transmitting" }, { "key": "hard drive", "value": "auxiliary", "namespace": "synthesizing" }, { "key": "feed", "value": "bluetooth", "namespace": "copying" }, { "key": "alarm", "value": "optical", "namespace": "connecting" } ], "type": "system", "os_major_version": 8, "os_minor_version": 0, "policies": [ { "id": "6195cb2e-e9d2-432a-84ef-0d1a06bbe6b9", "title": "Voluptas quo et et." } ] } ], "meta": { "total": 25, "tags": [], "limit": 10, "offset": 0, "sort_by": "os_minor_version" }, "links": { "first": "/api/compliance/v2/reports/6195cb2e-e9d2-432a-84ef-0d1a06bbe6b9/systems?limit=10&offset=0&sort_by=os_minor_version", "last": "/api/compliance/v2/reports/6195cb2e-e9d2-432a-84ef-0d1a06bbe6b9/systems?limit=10&offset=20&sort_by=os_minor_version", "next": "/api/compliance/v2/reports/6195cb2e-e9d2-432a-84ef-0d1a06bbe6b9/systems?limit=10&offset=10&sort_by=os_minor_version" } }, "summary": "", "description": "" }, "List of Systems filtered by \"(os_minor_version=0)\"": { "value": { "data": [ { "id": "0e03f58e-d3a1-4c82-b63f-8925b8d35591", "display_name": "jakubowski.example", "groups": [], "culled_timestamp": "2034-12-07T09:30:10.140Z", "stale_timestamp": "2034-11-23T09:30:10.140Z", "stale_warning_timestamp": "2034-11-30T09:30:10.140Z", "updated": "2024-11-23T09:30:10.140Z", "insights_id": null, "tags": [ { "key": "port", "value": "digital", "namespace": "programming" }, { "key": "transmitter", "value": "online", "namespace": "navigating" }, { "key": "feed", "value": "wireless", "namespace": "copying" }, { "key": "bus", "value": "online", "namespace": "calculating" }, { "key": "port", "value": "redundant", "namespace": "transmitting" } ], "type": "system", "os_major_version": 8, "os_minor_version": 0, "policies": [ { "id": "ad88dd46-2e61-49de-b3f0-48ca26f5e2bb", "title": "Quibusdam aut ut facere." } ] }, { "id": "125f3ec3-c124-4ea3-87bb-48d3be95af55", "display_name": "pacocha.example", "groups": [], "culled_timestamp": "2034-12-07T09:30:10.190Z", "stale_timestamp": "2034-11-23T09:30:10.190Z", "stale_warning_timestamp": "2034-11-30T09:30:10.190Z", "updated": "2024-11-23T09:30:10.190Z", "insights_id": null, "tags": [ { "key": "transmitter", "value": "wireless", "namespace": "transmitting" }, { "key": "capacitor", "value": "cross-platform", "namespace": "connecting" }, { "key": "bandwidth", "value": "mobile", "namespace": "backing up" }, { "key": "array", "value": "auxiliary", "namespace": "parsing" }, { "key": "port", "value": "digital", "namespace": "synthesizing" } ], "type": "system", "os_major_version": 8, "os_minor_version": 0, "policies": [ { "id": "ad88dd46-2e61-49de-b3f0-48ca26f5e2bb", "title": "Quibusdam aut ut facere." } ] }, { "id": "134d9516-76c5-42fb-bf98-44bb9647c761", "display_name": "kling.example", "groups": [], "culled_timestamp": "2034-12-07T09:30:10.103Z", "stale_timestamp": "2034-11-23T09:30:10.103Z", "stale_warning_timestamp": "2034-11-30T09:30:10.103Z", "updated": "2024-11-23T09:30:10.103Z", "insights_id": null, "tags": [ { "key": "application", "value": "virtual", "namespace": "copying" }, { "key": "bandwidth", "value": "online", "namespace": "navigating" }, { "key": "panel", "value": "bluetooth", "namespace": "parsing" }, { "key": "program", "value": "digital", "namespace": "synthesizing" }, { "key": "application", "value": "wireless", "namespace": "compressing" } ], "type": "system", "os_major_version": 8, "os_minor_version": 0, "policies": [ { "id": "ad88dd46-2e61-49de-b3f0-48ca26f5e2bb", "title": "Quibusdam aut ut facere." } ] }, { "id": "160ed158-d158-4ac0-bd57-d4b5add69dbb", "display_name": "armstrong-gusikowski.example", "groups": [], "culled_timestamp": "2034-12-07T09:30:10.178Z", "stale_timestamp": "2034-11-23T09:30:10.178Z", "stale_warning_timestamp": "2034-11-30T09:30:10.178Z", "updated": "2024-11-23T09:30:10.178Z", "insights_id": null, "tags": [ { "key": "program", "value": "virtual", "namespace": "hacking" }, { "key": "monitor", "value": "1080p", "namespace": "connecting" }, { "key": "port", "value": "cross-platform", "namespace": "generating" }, { "key": "microchip", "value": "back-end", "namespace": "transmitting" }, { "key": "matrix", "value": "virtual", "namespace": "quantifying" } ], "type": "system", "os_major_version": 8, "os_minor_version": 0, "policies": [ { "id": "ad88dd46-2e61-49de-b3f0-48ca26f5e2bb", "title": "Quibusdam aut ut facere." } ] }, { "id": "2093a57f-6a51-436e-90f1-2a36011e0f6e", "display_name": "ratke.example", "groups": [], "culled_timestamp": "2034-12-07T09:30:10.205Z", "stale_timestamp": "2034-11-23T09:30:10.205Z", "stale_warning_timestamp": "2034-11-30T09:30:10.205Z", "updated": "2024-11-23T09:30:10.205Z", "insights_id": null, "tags": [ { "key": "feed", "value": "cross-platform", "namespace": "overriding" }, { "key": "pixel", "value": "neural", "namespace": "compressing" }, { "key": "alarm", "value": "primary", "namespace": "quantifying" }, { "key": "card", "value": "neural", "namespace": "backing up" }, { "key": "array", "value": "open-source", "namespace": "parsing" } ], "type": "system", "os_major_version": 8, "os_minor_version": 0, "policies": [ { "id": "ad88dd46-2e61-49de-b3f0-48ca26f5e2bb", "title": "Quibusdam aut ut facere." } ] }, { "id": "25e1ae6a-08cf-4ea4-bace-141f78fef090", "display_name": "king-ondricka.test", "groups": [], "culled_timestamp": "2034-12-07T09:30:10.113Z", "stale_timestamp": "2034-11-23T09:30:10.113Z", "stale_warning_timestamp": "2034-11-30T09:30:10.113Z", "updated": "2024-11-23T09:30:10.113Z", "insights_id": null, "tags": [ { "key": "application", "value": "back-end", "namespace": "bypassing" }, { "key": "interface", "value": "1080p", "namespace": "calculating" }, { "key": "feed", "value": "wireless", "namespace": "programming" }, { "key": "alarm", "value": "multi-byte", "namespace": "hacking" }, { "key": "protocol", "value": "cross-platform", "namespace": "parsing" } ], "type": "system", "os_major_version": 8, "os_minor_version": 0, "policies": [ { "id": "ad88dd46-2e61-49de-b3f0-48ca26f5e2bb", "title": "Quibusdam aut ut facere." } ] }, { "id": "2ac6f939-4be5-483b-a99d-02912efb02c9", "display_name": "okeefe.test", "groups": [], "culled_timestamp": "2034-12-07T09:30:10.249Z", "stale_timestamp": "2034-11-23T09:30:10.249Z", "stale_warning_timestamp": "2034-11-30T09:30:10.249Z", "updated": "2024-11-23T09:30:10.249Z", "insights_id": null, "tags": [ { "key": "hard drive", "value": "cross-platform", "namespace": "parsing" }, { "key": "system", "value": "haptic", "namespace": "programming" }, { "key": "card", "value": "optical", "namespace": "backing up" }, { "key": "bandwidth", "value": "redundant", "namespace": "quantifying" }, { "key": "panel", "value": "wireless", "namespace": "connecting" } ], "type": "system", "os_major_version": 8, "os_minor_version": 0, "policies": [ { "id": "ad88dd46-2e61-49de-b3f0-48ca26f5e2bb", "title": "Quibusdam aut ut facere." } ] }, { "id": "2bd9e065-70b2-4503-99dc-5394c5bca3bd", "display_name": "tillman-sporer.example", "groups": [], "culled_timestamp": "2034-12-07T09:30:10.244Z", "stale_timestamp": "2034-11-23T09:30:10.244Z", "stale_warning_timestamp": "2034-11-30T09:30:10.244Z", "updated": "2024-11-23T09:30:10.244Z", "insights_id": null, "tags": [ { "key": "monitor", "value": "neural", "namespace": "backing up" }, { "key": "interface", "value": "wireless", "namespace": "compressing" }, { "key": "transmitter", "value": "cross-platform", "namespace": "backing up" }, { "key": "bus", "value": "back-end", "namespace": "overriding" }, { "key": "system", "value": "cross-platform", "namespace": "backing up" } ], "type": "system", "os_major_version": 8, "os_minor_version": 0, "policies": [ { "id": "ad88dd46-2e61-49de-b3f0-48ca26f5e2bb", "title": "Quibusdam aut ut facere." } ] }, { "id": "374e6319-15e1-49c6-813b-a59562c6eab7", "display_name": "hammes.test", "groups": [], "culled_timestamp": "2034-12-07T09:30:10.225Z", "stale_timestamp": "2034-11-23T09:30:10.225Z", "stale_warning_timestamp": "2034-11-30T09:30:10.225Z", "updated": "2024-11-23T09:30:10.225Z", "insights_id": null, "tags": [ { "key": "protocol", "value": "haptic", "namespace": "transmitting" }, { "key": "bus", "value": "bluetooth", "namespace": "copying" }, { "key": "system", "value": "online", "namespace": "programming" }, { "key": "system", "value": "open-source", "namespace": "synthesizing" }, { "key": "system", "value": "solid state", "namespace": "compressing" } ], "type": "system", "os_major_version": 8, "os_minor_version": 0, "policies": [ { "id": "ad88dd46-2e61-49de-b3f0-48ca26f5e2bb", "title": "Quibusdam aut ut facere." } ] }, { "id": "3e2fa67e-73e3-41f6-88e0-85617055ac95", "display_name": "bahringer.test", "groups": [], "culled_timestamp": "2034-12-07T09:30:10.119Z", "stale_timestamp": "2034-11-23T09:30:10.119Z", "stale_warning_timestamp": "2034-11-30T09:30:10.119Z", "updated": "2024-11-23T09:30:10.119Z", "insights_id": null, "tags": [ { "key": "driver", "value": "back-end", "namespace": "quantifying" }, { "key": "sensor", "value": "redundant", "namespace": "calculating" }, { "key": "firewall", "value": "mobile", "namespace": "indexing" }, { "key": "protocol", "value": "multi-byte", "namespace": "connecting" }, { "key": "alarm", "value": "digital", "namespace": "navigating" } ], "type": "system", "os_major_version": 8, "os_minor_version": 0, "policies": [ { "id": "ad88dd46-2e61-49de-b3f0-48ca26f5e2bb", "title": "Quibusdam aut ut facere." } ] } ], "meta": { "total": 25, "filter": "(os_minor_version=0)", "tags": [], "limit": 10, "offset": 0 }, "links": { "first": "/api/compliance/v2/reports/ad88dd46-2e61-49de-b3f0-48ca26f5e2bb/systems?filter=%28os_minor_version%3D0%29&limit=10&offset=0", "last": "/api/compliance/v2/reports/ad88dd46-2e61-49de-b3f0-48ca26f5e2bb/systems?filter=%28os_minor_version%3D0%29&limit=10&offset=20", "next": "/api/compliance/v2/reports/ad88dd46-2e61-49de-b3f0-48ca26f5e2bb/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 scoped_search query language. However, only `=` or `!=` (resp. `<>`) operators are supported.

Systems are searchable using attributes `display_name`, `os_version`, `os_major_version`, `os_minor_version`, `assigned_or_scanned`, `never_reported`, `group_name`, `policies`, and `profile_ref_id`

(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": "Retrieve a specific system from a specific 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": "5d183edd-f32c-4e64-846e-95e666d5b724", "display_name": "weimann-stroman.test", "groups": [], "culled_timestamp": "2034-12-07T09:30:11.531Z", "stale_timestamp": "2034-11-23T09:30:11.531Z", "stale_warning_timestamp": "2034-11-30T09:30:11.531Z", "updated": "2024-11-23T09:30:11.531Z", "insights_id": null, "tags": [ { "key": "sensor", "value": "primary", "namespace": "navigating" }, { "key": "capacitor", "value": "auxiliary", "namespace": "parsing" }, { "key": "driver", "value": "wireless", "namespace": "parsing" }, { "key": "matrix", "value": "open-source", "namespace": "transmitting" }, { "key": "pixel", "value": "bluetooth", "namespace": "indexing" } ], "type": "system", "os_major_version": 8, "os_minor_version": 0, "policies": [ { "id": "460d0879-f0ef-462f-a4b2-ee7d975d6c6f", "title": "Voluptatum voluptatem veritatis cupiditate." } ] } }, "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 ae13ba2c-39ec-49ac-b80f-824e7ac93dfb" ] }, "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 (`:asc` or `:desc`).

If no direction is selected, `: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 scoped_search query language. However, only `=` or `!=` (resp. `<>`) operators are supported.

Tailorings are searchable using attributes `os_minor_version`

(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": "Retrieve a list of all tailorings.", "operationId": "Tailorings", "responses": { "200": { "description": "Lists Tailorings", "content": { "application/vnd.api+json": { "examples": { "List of Tailorings": { "value": { "data": [ { "id": "06ef057f-dfcd-4fe9-8a9c-49c8ac01ef64", "profile_id": "a6f68007-4c3a-49b8-98f6-6bed3e334a6e", "os_minor_version": 11, "value_overrides": {}, "type": "tailoring", "os_major_version": 7, "security_guide_id": "a5f536b2-9c3d-430c-b376-ea8ffae2d765", "security_guide_version": "100.95.40" }, { "id": "1225d382-59aa-47ef-aecb-57def034532e", "profile_id": "6e2120b1-cb78-4b9a-82dd-f13073e5b52b", "os_minor_version": 6, "value_overrides": {}, "type": "tailoring", "os_major_version": 7, "security_guide_id": "08331e69-dbb3-4fcc-9612-4fb7333c9ece", "security_guide_version": "100.95.35" }, { "id": "1c735705-03cf-4c39-95b8-92c3b8816375", "profile_id": "dca56ed4-b608-495c-b9e5-826f9e62c608", "os_minor_version": 17, "value_overrides": {}, "type": "tailoring", "os_major_version": 7, "security_guide_id": "bd32c197-94ae-4042-8278-304934511ae1", "security_guide_version": "100.95.46" }, { "id": "24c62cd0-51ef-4c66-8c5b-7a47992e9584", "profile_id": "94d1984d-a446-44df-a3ac-6cf6733e5618", "os_minor_version": 2, "value_overrides": {}, "type": "tailoring", "os_major_version": 7, "security_guide_id": "847d53d8-a04c-4460-99b2-61e8adfa5297", "security_guide_version": "100.95.31" }, { "id": "393bbad5-fb80-4fc6-aace-939b469443a1", "profile_id": "5e5d60f2-21c0-4922-9c8b-e9bb5f0ae8e0", "os_minor_version": 10, "value_overrides": {}, "type": "tailoring", "os_major_version": 7, "security_guide_id": "541a0cac-0b6f-4b4b-b27a-dccce90cc2f9", "security_guide_version": "100.95.39" }, { "id": "3aad6a6d-6ddd-42d8-98aa-d6943fc4cdfb", "profile_id": "315e2821-4631-487d-b455-60d832b8b7b3", "os_minor_version": 22, "value_overrides": {}, "type": "tailoring", "os_major_version": 7, "security_guide_id": "3f87045e-0907-4fa5-9cb7-373ae80775ed", "security_guide_version": "100.96.1" }, { "id": "419e5279-78f8-47c7-9115-8a622e0e6ce5", "profile_id": "c72f3d78-b5b4-4d6e-8e02-48059b7748db", "os_minor_version": 20, "value_overrides": {}, "type": "tailoring", "os_major_version": 7, "security_guide_id": "6a2f865d-7b17-426b-9691-b1cef5629f33", "security_guide_version": "100.95.49" }, { "id": "43fbf0b3-9da5-4e6c-a5c3-80aa2b6089b6", "profile_id": "fb5b1528-49a0-4f05-8116-f8db491ab9a9", "os_minor_version": 14, "value_overrides": {}, "type": "tailoring", "os_major_version": 7, "security_guide_id": "acb08f51-d82a-4dc0-9739-8e3841e21666", "security_guide_version": "100.95.43" }, { "id": "47ea3104-464d-45d5-a1d5-8f8343caa71f", "profile_id": "9b0c2b59-c737-4475-8ba7-2a285a970cb2", "os_minor_version": 9, "value_overrides": {}, "type": "tailoring", "os_major_version": 7, "security_guide_id": "3962e625-f3a2-43fb-9833-861fc1b829c9", "security_guide_version": "100.95.38" }, { "id": "4983d5af-ae27-470a-a0d4-5a7b9013384d", "profile_id": "c8bc23e9-1bad-4f54-8ca5-321724a7c39b", "os_minor_version": 23, "value_overrides": {}, "type": "tailoring", "os_major_version": 7, "security_guide_id": "11deebb9-f9a8-4189-b2ee-a36950258ac2", "security_guide_version": "100.96.2" } ], "meta": { "total": 25, "limit": 10, "offset": 0 }, "links": { "first": "/api/compliance/v2/policies/3b9a7430-27eb-4a17-b70c-8554e08f5529/tailorings?limit=10&offset=0", "last": "/api/compliance/v2/policies/3b9a7430-27eb-4a17-b70c-8554e08f5529/tailorings?limit=10&offset=20", "next": "/api/compliance/v2/policies/3b9a7430-27eb-4a17-b70c-8554e08f5529/tailorings?limit=10&offset=10" } }, "summary": "", "description": "" }, "List of Tailorings sorted by \"os_minor_version:asc\"": { "value": { "data": [ { "id": "37fd4b8a-420a-4b1a-b14f-9c204c92cd77", "profile_id": "642edda3-39b6-4b07-81f1-f266ea978cfe", "os_minor_version": 0, "value_overrides": {}, "type": "tailoring", "os_major_version": 7, "security_guide_id": "bd109768-9740-4a3a-8b46-fafb85cf9599", "security_guide_version": "100.96.4" }, { "id": "2a070360-059e-4a68-998e-69f17a1410ac", "profile_id": "6416018b-5f8b-4633-b729-ebe7618d4bd7", "os_minor_version": 1, "value_overrides": {}, "type": "tailoring", "os_major_version": 7, "security_guide_id": "5b8fd4d8-5ee0-4cec-a30b-a17130f777c9", "security_guide_version": "100.96.5" }, { "id": "23cf8afa-ea43-4ba8-9a1d-d34cf8b12e6e", "profile_id": "6ddbf3a8-6a2d-47a6-bf5c-b00a82496960", "os_minor_version": 2, "value_overrides": {}, "type": "tailoring", "os_major_version": 7, "security_guide_id": "a0c8d62d-2295-4ca0-a55a-7d4e24937869", "security_guide_version": "100.96.6" }, { "id": "85620130-ae3d-4e05-9dd5-2f366d55230d", "profile_id": "63449913-37bb-4caa-9c2a-617b25b6302d", "os_minor_version": 3, "value_overrides": {}, "type": "tailoring", "os_major_version": 7, "security_guide_id": "b5a12b24-9d9e-40df-ad0b-892ac49bf0dd", "security_guide_version": "100.96.7" }, { "id": "042dcdb1-e7fc-4f08-b8d0-72756587c11a", "profile_id": "35b87893-7dbd-4b9f-8a31-be584f858983", "os_minor_version": 4, "value_overrides": {}, "type": "tailoring", "os_major_version": 7, "security_guide_id": "94f1de5e-dd29-4008-9a6c-a212101fba81", "security_guide_version": "100.96.8" }, { "id": "4e924eae-17b2-4fca-aff6-5925d0e81612", "profile_id": "e6fb4fd8-cf76-4a48-9e71-0078f20fb458", "os_minor_version": 5, "value_overrides": {}, "type": "tailoring", "os_major_version": 7, "security_guide_id": "efa516c9-445e-41f2-933d-748f56367ba1", "security_guide_version": "100.96.9" }, { "id": "c9fccca6-1a13-45c8-ba12-1ec4a41f93b0", "profile_id": "22bf2cbc-6510-4c79-bf83-ef7dc767c932", "os_minor_version": 6, "value_overrides": {}, "type": "tailoring", "os_major_version": 7, "security_guide_id": "7d0f293e-4b4e-4a4a-b10c-74bae82030f3", "security_guide_version": "100.96.10" }, { "id": "864f3ed1-664e-4af4-8a48-27fb5a98ef9f", "profile_id": "364b70d6-9bc2-44e5-90cf-8509c8d4034d", "os_minor_version": 7, "value_overrides": {}, "type": "tailoring", "os_major_version": 7, "security_guide_id": "713a91f6-7c09-49f4-9d73-92984b5c2c6e", "security_guide_version": "100.96.11" }, { "id": "e334658d-739a-49dd-9dab-00f83d5be0cd", "profile_id": "f93f7f24-e56c-47c3-865c-198d6787aa39", "os_minor_version": 8, "value_overrides": {}, "type": "tailoring", "os_major_version": 7, "security_guide_id": "647e70d0-aa2c-407c-b1e0-e444a4222c51", "security_guide_version": "100.96.12" }, { "id": "b1551fe1-c020-46b2-be77-bbd0291a5ce1", "profile_id": "fdd66a43-fa59-4336-a0a8-23800a33c63d", "os_minor_version": 9, "value_overrides": {}, "type": "tailoring", "os_major_version": 7, "security_guide_id": "fdb0d3d8-5890-46e9-a8f2-149f9f0bedae", "security_guide_version": "100.96.13" } ], "meta": { "total": 25, "limit": 10, "offset": 0, "sort_by": "os_minor_version" }, "links": { "first": "/api/compliance/v2/policies/0c9432e5-b693-46b3-8a3f-640d433b16c6/tailorings?limit=10&offset=0&sort_by=os_minor_version", "last": "/api/compliance/v2/policies/0c9432e5-b693-46b3-8a3f-640d433b16c6/tailorings?limit=10&offset=20&sort_by=os_minor_version", "next": "/api/compliance/v2/policies/0c9432e5-b693-46b3-8a3f-640d433b16c6/tailorings?limit=10&offset=10&sort_by=os_minor_version" } }, "summary": "", "description": "" }, "List of Tailorings filtered by '(os_minor_version=18)'": { "value": { "data": [ { "id": "21b09b11-06b0-49ee-a2b3-ab8f79eed544", "profile_id": "9b08e719-ce6f-4aae-b8df-8001abfb6552", "os_minor_version": 18, "value_overrides": {}, "type": "tailoring", "os_major_version": 7, "security_guide_id": "3a47d5f0-20ac-4ff4-8175-820a006dcd2a", "security_guide_version": "100.96.47" } ], "meta": { "total": 1, "filter": "(os_minor_version=18)", "limit": 10, "offset": 0 }, "links": { "first": "/api/compliance/v2/policies/fcada9d2-165d-4bed-8997-e102c9cf299c/tailorings?filter=%28os_minor_version%3D18%29&limit=10&offset=0", "last": "/api/compliance/v2/policies/fcada9d2-165d-4bed-8997-e102c9cf299c/tailorings?filter=%28os_minor_version%3D18%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" } } } } } }, "post": { "summary": "Create 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" } } ], "tags": [ "Policies" ], "description": "Create a Tailoring with the provided attributes (for ImageBuilder only)", "operationId": "CreateTailoring", "deprecated": true, "responses": { "201": { "description": "Creates a Tailoring", "content": { "application/vnd.api+json": { "examples": { "Response example": { "value": { "data": { "id": "b87f00a2-2fa6-4df5-a9fa-1e7f3b49df08", "profile_id": "98befc9a-572b-46aa-b127-76b66edf2c20", "os_minor_version": 1, "value_overrides": {}, "type": "tailoring", "os_major_version": 7, "security_guide_id": "4e44b6c3-c36e-41e8-9a50-ddf3ec73c312", "security_guide_version": "100.98.4" } }, "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_create" } } } } } }, "/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": "Retrieve a specific tailoring.", "operationId": "Tailoring", "responses": { "200": { "description": "Returns a Tailoring", "content": { "application/vnd.api+json": { "examples": { "Returns a Tailoring": { "value": { "data": { "id": "14c41d27-8857-4f15-b765-77f56dc7d731", "profile_id": "b93c7d11-0bde-43d7-a128-5a55e2027804", "os_minor_version": 1, "value_overrides": {}, "type": "tailoring", "os_major_version": 7, "security_guide_id": "028806a9-05b5-40fa-8cb5-34f8a8e9d886", "security_guide_version": "100.98.5" } }, "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 6d14bf0f-72e5-4a59-994f-95cabfab2702" ] }, "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": "Edit or update an existing tailoring.", "operationId": "UpdateTailoring", "responses": { "202": { "description": "Updates a Tailoring", "content": { "application/vnd.api+json": { "examples": { "Returns the updated Tailoring": { "value": { "data": { "id": "5bfebb5f-112e-4fee-ac1a-8556b782a7b7", "profile_id": "aa64cda3-9c2d-4b22-b034-349552ced71c", "os_minor_version": 1, "value_overrides": { "87660867-d806-4ddd-8795-8947c51849b4": "123" }, "type": "tailoring", "os_major_version": 7, "security_guide_id": "891ae942-519e-4141-a2b9-e475119041ef", "security_guide_version": "100.98.6" } }, "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}/rule_tree": { "get": { "summary": "Request the Rule Tree of 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": "Returns rule tree of a tailoring.", "operationId": "TailoringRuleTree", "deprecated": true, "responses": { "200": { "description": "Returns the Rule Tree of a Tailoring", "content": { "application/vnd.api+json": { "examples": { "Returns the Rule Tree of a Tailoring": { "value": [ { "id": "2b286d51-b026-4196-b1fe-f587a1203eea", "type": "rule_group", "children": [ { "id": "410524f4-1c41-4702-b156-d48126ad9bf1", "type": "rule" } ] }, { "id": "b125f721-3a99-43d4-8948-405c5b332a29", "type": "rule_group", "children": [ { "id": "2cf28d23-c4fd-4f7c-afa9-857587ad6e83", "type": "rule" } ] }, { "id": "90b94b4d-8cfe-46da-84b4-1235e455e64e", "type": "rule_group", "children": [ { "id": "43225e31-51f6-487b-b4f2-06132f5ae3a7", "type": "rule" } ] }, { "id": "d52b0b32-88c5-4f8e-9312-77cf3f563fb0", "type": "rule_group", "children": [ { "id": "9daf859f-9cd9-4e94-928f-4a600522bf48", "type": "rule" } ] }, { "id": "296daa93-7d77-43a0-846f-bdb3cf5eaf88", "type": "rule_group", "children": [ { "id": "5484ef57-0de5-404a-9587-eb1e552b2e08", "type": "rule" } ] }, { "id": "e5a3b13e-6dc4-47e7-b0e1-4fca15bbfd1c", "type": "rule_group", "children": [ { "id": "8810c953-e48a-4138-abf9-2ea917820ccd", "type": "rule" } ] }, { "id": "dc51660b-deab-4cb5-9cde-1165e1137794", "type": "rule_group", "children": [ { "id": "4efb0ed5-2525-4136-975f-564e0beb69b6", "type": "rule" } ] }, { "id": "9682df8d-7984-43ca-a151-5d53439febc1", "type": "rule_group", "children": [ { "id": "4b02ccdb-cbc5-4a8d-8c13-fc33226b6c86", "type": "rule" } ] }, { "id": "d0171699-ab26-4cba-929a-6125ba5ad1e4", "type": "rule_group", "children": [ { "id": "e546b2db-8a6a-4f37-bb37-f531da2ebcdc", "type": "rule" } ] }, { "id": "0b1be316-3c74-4b42-a36d-495569a1a745", "type": "rule_group", "children": [ { "id": "0e8fb956-1f1f-48e5-832b-0bc45717cbb1", "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 Tailoring": { "value": { "errors": [ "V2::Tailoring not found with ID 605c5ca9-3a1b-4c79-a042-ac6cdc0499a9" ] }, "summary": "", "description": "" } }, "schema": { "$ref": "#/components/schemas/errors" } } } } } } }, "/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": "Retrieve a tailoring file of a specific tailoring.", "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_3ef60d9b5f3e2ff14447e08eaab3d25b", "title": "Ut quis dolorem quo.", "groups": {}, "rules": {}, "variables": { "foo_value_04828135-013c-43f0-aebd-ee19df3253d1": { "value": "405716" }, "foo_value_dcc8625a-333e-45ef-be39-08ff6b0bd23a": { "value": "146232" } } } ] }, "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": "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.
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 (`:asc` or `:desc`).

If no direction is selected, `: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 scoped_search query language. However, only `=` or `!=` (resp. `<>`) operators are supported.

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`

(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": "Retrieve all of the test results for a specific 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": "056dcc55-fc43-4f5d-88d9-85312d6e2db1", "end_time": "2024-11-23T09:29:13.471Z", "failed_rule_count": 0, "supported": true, "score": 63.38656323684226, "type": "test_result", "display_name": "koss.example", "groups": [], "tags": [ { "key": "matrix", "value": "auxiliary", "namespace": "navigating" }, { "key": "program", "value": "cross-platform", "namespace": "synthesizing" }, { "key": "panel", "value": "digital", "namespace": "bypassing" }, { "key": "circuit", "value": "wireless", "namespace": "quantifying" }, { "key": "hard drive", "value": "digital", "namespace": "connecting" } ], "os_major_version": 8, "os_minor_version": 0, "compliant": false, "system_id": "76fb0776-657f-43b0-b91a-0fdb295acda9", "security_guide_version": "100.100.23" }, { "id": "24deee50-0551-43bb-bdeb-5ac7df118510", "end_time": "2024-11-23T09:29:13.476Z", "failed_rule_count": 0, "supported": true, "score": 50.89076594183962, "type": "test_result", "display_name": "heidenreich-bechtelar.test", "groups": [], "tags": [ { "key": "monitor", "value": "optical", "namespace": "transmitting" }, { "key": "capacitor", "value": "auxiliary", "namespace": "generating" }, { "key": "port", "value": "online", "namespace": "generating" }, { "key": "program", "value": "solid state", "namespace": "navigating" }, { "key": "capacitor", "value": "multi-byte", "namespace": "compressing" } ], "os_major_version": 8, "os_minor_version": 0, "compliant": false, "system_id": "41bc2faa-07f7-43d2-9a14-3b4ec1d23ee9", "security_guide_version": "100.100.23" }, { "id": "3520cdf1-8a99-4330-aa87-bb4ec21ee433", "end_time": "2024-11-23T09:29:13.608Z", "failed_rule_count": 0, "supported": true, "score": 75.96307955214992, "type": "test_result", "display_name": "wolff.test", "groups": [], "tags": [ { "key": "pixel", "value": "virtual", "namespace": "copying" }, { "key": "microchip", "value": "solid state", "namespace": "programming" }, { "key": "application", "value": "neural", "namespace": "indexing" }, { "key": "alarm", "value": "auxiliary", "namespace": "backing up" }, { "key": "feed", "value": "multi-byte", "namespace": "calculating" } ], "os_major_version": 8, "os_minor_version": 0, "compliant": false, "system_id": "2c52ef9f-a19d-4b2f-b10d-fd1f97ecb401", "security_guide_version": "100.100.23" }, { "id": "37f25749-9428-407e-b545-61d377e376ff", "end_time": "2024-11-23T09:29:13.544Z", "failed_rule_count": 0, "supported": true, "score": 56.01902024349224, "type": "test_result", "display_name": "kunde.test", "groups": [], "tags": [ { "key": "pixel", "value": "solid state", "namespace": "generating" }, { "key": "interface", "value": "open-source", "namespace": "navigating" }, { "key": "application", "value": "optical", "namespace": "compressing" }, { "key": "driver", "value": "primary", "namespace": "hacking" }, { "key": "pixel", "value": "redundant", "namespace": "quantifying" } ], "os_major_version": 8, "os_minor_version": 0, "compliant": false, "system_id": "6d939a6a-18fa-4a83-9391-924ff7d0008a", "security_guide_version": "100.100.23" }, { "id": "39c959f7-6033-4ac4-bfa6-1dcc29e5c287", "end_time": "2024-11-23T09:29:13.494Z", "failed_rule_count": 0, "supported": true, "score": 42.29670226418916, "type": "test_result", "display_name": "tromp.test", "groups": [], "tags": [ { "key": "transmitter", "value": "virtual", "namespace": "synthesizing" }, { "key": "application", "value": "online", "namespace": "bypassing" }, { "key": "card", "value": "multi-byte", "namespace": "parsing" }, { "key": "feed", "value": "back-end", "namespace": "compressing" }, { "key": "matrix", "value": "online", "namespace": "parsing" } ], "os_major_version": 8, "os_minor_version": 0, "compliant": false, "system_id": "fce2d362-d3a7-4652-805b-7d31a4d8fece", "security_guide_version": "100.100.23" }, { "id": "46baf15d-32d5-4a05-a5de-a221f1c5cc70", "end_time": "2024-11-23T09:29:13.507Z", "failed_rule_count": 0, "supported": true, "score": 70.20547946561567, "type": "test_result", "display_name": "cremin-pollich.example", "groups": [], "tags": [ { "key": "protocol", "value": "digital", "namespace": "bypassing" }, { "key": "protocol", "value": "wireless", "namespace": "indexing" }, { "key": "matrix", "value": "virtual", "namespace": "overriding" }, { "key": "array", "value": "primary", "namespace": "connecting" }, { "key": "application", "value": "open-source", "namespace": "connecting" } ], "os_major_version": 8, "os_minor_version": 0, "compliant": false, "system_id": "4f1461ed-a66f-4888-9133-6fa90e769d47", "security_guide_version": "100.100.23" }, { "id": "49eac2cf-4f9d-4a54-a9ab-4f848d6becbd", "end_time": "2024-11-23T09:29:13.576Z", "failed_rule_count": 0, "supported": true, "score": 11.92583487962368, "type": "test_result", "display_name": "hoeger.test", "groups": [], "tags": [ { "key": "feed", "value": "digital", "namespace": "backing up" }, { "key": "microchip", "value": "haptic", "namespace": "indexing" }, { "key": "hard drive", "value": "back-end", "namespace": "parsing" }, { "key": "card", "value": "1080p", "namespace": "compressing" }, { "key": "capacitor", "value": "digital", "namespace": "calculating" } ], "os_major_version": 8, "os_minor_version": 0, "compliant": false, "system_id": "136c0b55-8c42-4cca-b405-f55e32ed1316", "security_guide_version": "100.100.23" }, { "id": "6257c2ee-5232-4932-b98a-0bc9824fe1ec", "end_time": "2024-11-23T09:29:13.570Z", "failed_rule_count": 0, "supported": true, "score": 57.5815230941054, "type": "test_result", "display_name": "bayer-cruickshank.test", "groups": [], "tags": [ { "key": "protocol", "value": "auxiliary", "namespace": "generating" }, { "key": "matrix", "value": "back-end", "namespace": "compressing" }, { "key": "alarm", "value": "digital", "namespace": "indexing" }, { "key": "sensor", "value": "optical", "namespace": "hacking" }, { "key": "application", "value": "online", "namespace": "copying" } ], "os_major_version": 8, "os_minor_version": 0, "compliant": false, "system_id": "17d82d56-0c82-416a-abcd-811eabd587c4", "security_guide_version": "100.100.23" }, { "id": "627b34cb-d52d-4936-8f26-0f32881f21c5", "end_time": "2024-11-23T09:29:13.482Z", "failed_rule_count": 0, "supported": true, "score": 28.60286633233848, "type": "test_result", "display_name": "schmidt.test", "groups": [], "tags": [ { "key": "bandwidth", "value": "primary", "namespace": "calculating" }, { "key": "microchip", "value": "multi-byte", "namespace": "overriding" }, { "key": "bandwidth", "value": "multi-byte", "namespace": "overriding" }, { "key": "system", "value": "wireless", "namespace": "backing up" }, { "key": "transmitter", "value": "1080p", "namespace": "overriding" } ], "os_major_version": 8, "os_minor_version": 0, "compliant": false, "system_id": "9fcd948f-b67d-46d1-89d6-dca78e177b2a", "security_guide_version": "100.100.23" }, { "id": "717ba712-f991-4340-872e-1db7699c9b9d", "end_time": "2024-11-23T09:29:13.589Z", "failed_rule_count": 0, "supported": true, "score": 4.715833120124535, "type": "test_result", "display_name": "hoppe-king.example", "groups": [], "tags": [ { "key": "port", "value": "digital", "namespace": "hacking" }, { "key": "microchip", "value": "mobile", "namespace": "overriding" }, { "key": "program", "value": "wireless", "namespace": "connecting" }, { "key": "monitor", "value": "mobile", "namespace": "compressing" }, { "key": "hard drive", "value": "back-end", "namespace": "synthesizing" } ], "os_major_version": 8, "os_minor_version": 0, "compliant": false, "system_id": "660d9e54-6c7f-432f-baa9-a6f16ad181d5", "security_guide_version": "100.100.23" } ], "meta": { "total": 25, "tags": [], "limit": 10, "offset": 0 }, "links": { "first": "/api/compliance/v2/reports/98b123cb-a64b-4850-b947-40d43658a90d/test_results?limit=10&offset=0", "last": "/api/compliance/v2/reports/98b123cb-a64b-4850-b947-40d43658a90d/test_results?limit=10&offset=20", "next": "/api/compliance/v2/reports/98b123cb-a64b-4850-b947-40d43658a90d/test_results?limit=10&offset=10" } }, "summary": "", "description": "" }, "List of Test Results sorted by \"score:asc\"": { "value": { "data": [ { "id": "f63feb03-8348-446a-a9c2-25b286ee0217", "end_time": "2024-11-23T09:29:13.989Z", "failed_rule_count": 0, "supported": true, "score": 12.42807800105265, "type": "test_result", "display_name": "murphy.example", "groups": [], "tags": [ { "key": "card", "value": "cross-platform", "namespace": "hacking" }, { "key": "application", "value": "digital", "namespace": "parsing" }, { "key": "protocol", "value": "mobile", "namespace": "overriding" }, { "key": "capacitor", "value": "solid state", "namespace": "synthesizing" }, { "key": "microchip", "value": "1080p", "namespace": "overriding" } ], "os_major_version": 8, "os_minor_version": 0, "compliant": false, "system_id": "18523e7e-56c5-43fb-a901-be6c1e846958", "security_guide_version": "100.101.40" }, { "id": "a085c374-867d-416e-a0ce-e6d5a5ae8138", "end_time": "2024-11-23T09:29:13.995Z", "failed_rule_count": 0, "supported": true, "score": 16.777458265505, "type": "test_result", "display_name": "sporer.example", "groups": [], "tags": [ { "key": "system", "value": "haptic", "namespace": "bypassing" }, { "key": "panel", "value": "online", "namespace": "backing up" }, { "key": "sensor", "value": "optical", "namespace": "backing up" }, { "key": "transmitter", "value": "1080p", "namespace": "calculating" }, { "key": "microchip", "value": "wireless", "namespace": "transmitting" } ], "os_major_version": 8, "os_minor_version": 0, "compliant": false, "system_id": "8cf4ebb8-8394-41c8-bfc7-f3adf16554c2", "security_guide_version": "100.101.40" }, { "id": "ad7a36f6-0651-406b-8fd2-2d05abed6d96", "end_time": "2024-11-23T09:29:13.889Z", "failed_rule_count": 0, "supported": true, "score": 23.684712022929, "type": "test_result", "display_name": "lynch.example", "groups": [], "tags": [ { "key": "capacitor", "value": "bluetooth", "namespace": "copying" }, { "key": "feed", "value": "bluetooth", "namespace": "bypassing" }, { "key": "array", "value": "multi-byte", "namespace": "bypassing" }, { "key": "firewall", "value": "virtual", "namespace": "overriding" }, { "key": "firewall", "value": "back-end", "namespace": "quantifying" } ], "os_major_version": 8, "os_minor_version": 0, "compliant": false, "system_id": "8a88890d-e770-4fb5-b266-b65006885e7c", "security_guide_version": "100.101.40" }, { "id": "0273fbbe-8212-44b7-aedb-e8f6b8a9764a", "end_time": "2024-11-23T09:29:13.972Z", "failed_rule_count": 0, "supported": true, "score": 26.04523395370187, "type": "test_result", "display_name": "lemke.example", "groups": [], "tags": [ { "key": "matrix", "value": "mobile", "namespace": "parsing" }, { "key": "interface", "value": "solid state", "namespace": "parsing" }, { "key": "array", "value": "1080p", "namespace": "programming" }, { "key": "system", "value": "virtual", "namespace": "calculating" }, { "key": "interface", "value": "primary", "namespace": "indexing" } ], "os_major_version": 8, "os_minor_version": 0, "compliant": false, "system_id": "66ac55b9-3987-40fe-a7b0-567f2a2e803b", "security_guide_version": "100.101.40" }, { "id": "181e66f7-8eab-4124-8aff-41605fed4445", "end_time": "2024-11-23T09:29:13.954Z", "failed_rule_count": 0, "supported": true, "score": 36.68994556658671, "type": "test_result", "display_name": "hartmann.example", "groups": [], "tags": [ { "key": "circuit", "value": "cross-platform", "namespace": "connecting" }, { "key": "panel", "value": "haptic", "namespace": "synthesizing" }, { "key": "bandwidth", "value": "solid state", "namespace": "hacking" }, { "key": "sensor", "value": "open-source", "namespace": "navigating" }, { "key": "system", "value": "auxiliary", "namespace": "backing up" } ], "os_major_version": 8, "os_minor_version": 0, "compliant": false, "system_id": "8e90858d-b7eb-4ebf-be2a-c8318a57ca51", "security_guide_version": "100.101.40" }, { "id": "2c3aa043-5e1e-4249-9bd0-057dbc0edba5", "end_time": "2024-11-23T09:29:13.901Z", "failed_rule_count": 0, "supported": true, "score": 38.90242262261728, "type": "test_result", "display_name": "crooks.example", "groups": [], "tags": [ { "key": "panel", "value": "bluetooth", "namespace": "synthesizing" }, { "key": "alarm", "value": "optical", "namespace": "transmitting" }, { "key": "sensor", "value": "primary", "namespace": "hacking" }, { "key": "sensor", "value": "multi-byte", "namespace": "backing up" }, { "key": "interface", "value": "optical", "namespace": "connecting" } ], "os_major_version": 8, "os_minor_version": 0, "compliant": false, "system_id": "c5643bce-bca4-4e25-aa07-f164e7ac4ec2", "security_guide_version": "100.101.40" }, { "id": "93939589-9339-4473-a65b-c7a0ddad7c18", "end_time": "2024-11-23T09:29:13.931Z", "failed_rule_count": 0, "supported": true, "score": 41.06830190615271, "type": "test_result", "display_name": "rodriguez-gulgowski.test", "groups": [], "tags": [ { "key": "capacitor", "value": "auxiliary", "namespace": "synthesizing" }, { "key": "hard drive", "value": "wireless", "namespace": "navigating" }, { "key": "circuit", "value": "bluetooth", "namespace": "navigating" }, { "key": "system", "value": "primary", "namespace": "backing up" }, { "key": "circuit", "value": "back-end", "namespace": "programming" } ], "os_major_version": 8, "os_minor_version": 0, "compliant": false, "system_id": "99ab16d8-0da5-4df6-bad5-b56000ba4932", "security_guide_version": "100.101.40" }, { "id": "8183e5e0-9060-444d-8168-061b5745c092", "end_time": "2024-11-23T09:29:13.914Z", "failed_rule_count": 0, "supported": true, "score": 44.58820890076775, "type": "test_result", "display_name": "bednar-harber.test", "groups": [], "tags": [ { "key": "matrix", "value": "optical", "namespace": "connecting" }, { "key": "interface", "value": "multi-byte", "namespace": "synthesizing" }, { "key": "capacitor", "value": "virtual", "namespace": "transmitting" }, { "key": "circuit", "value": "virtual", "namespace": "bypassing" }, { "key": "port", "value": "auxiliary", "namespace": "generating" } ], "os_major_version": 8, "os_minor_version": 0, "compliant": false, "system_id": "93b8a3e8-c7d5-41dd-94e5-7d091a7d2583", "security_guide_version": "100.101.40" }, { "id": "27f90cc7-14b5-4bbd-b2cf-2be0f45c86ae", "end_time": "2024-11-23T09:29:13.977Z", "failed_rule_count": 0, "supported": true, "score": 44.79751689283131, "type": "test_result", "display_name": "marks.example", "groups": [], "tags": [ { "key": "circuit", "value": "open-source", "namespace": "parsing" }, { "key": "port", "value": "primary", "namespace": "quantifying" }, { "key": "bus", "value": "solid state", "namespace": "overriding" }, { "key": "microchip", "value": "open-source", "namespace": "backing up" }, { "key": "program", "value": "multi-byte", "namespace": "backing up" } ], "os_major_version": 8, "os_minor_version": 0, "compliant": false, "system_id": "23c36f20-2c9b-4ecb-a3ba-82c7ed8864dd", "security_guide_version": "100.101.40" }, { "id": "4fade579-4125-403f-81b8-20c86993efba", "end_time": "2024-11-23T09:29:13.877Z", "failed_rule_count": 0, "supported": true, "score": 46.00489454546969, "type": "test_result", "display_name": "rice-gislason.example", "groups": [], "tags": [ { "key": "circuit", "value": "mobile", "namespace": "overriding" }, { "key": "matrix", "value": "solid state", "namespace": "calculating" }, { "key": "card", "value": "wireless", "namespace": "backing up" }, { "key": "capacitor", "value": "virtual", "namespace": "overriding" }, { "key": "monitor", "value": "open-source", "namespace": "generating" } ], "os_major_version": 8, "os_minor_version": 0, "compliant": false, "system_id": "cd6aec4c-6fdf-442e-b024-60a3d3545157", "security_guide_version": "100.101.40" } ], "meta": { "total": 25, "tags": [], "limit": 10, "offset": 0, "sort_by": "score" }, "links": { "first": "/api/compliance/v2/reports/c3d7f4b2-db2d-4646-b49f-473053956f43/test_results?limit=10&offset=0&sort_by=score", "last": "/api/compliance/v2/reports/c3d7f4b2-db2d-4646-b49f-473053956f43/test_results?limit=10&offset=20&sort_by=score", "next": "/api/compliance/v2/reports/c3d7f4b2-db2d-4646-b49f-473053956f43/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)", "tags": [], "limit": 10, "offset": 0 }, "links": { "first": "/api/compliance/v2/reports/1cd3a25b-469e-4f67-b703-2f5b38441b72/test_results?filter=%28os_minor_version%3D8%29&limit=10&offset=0", "last": "/api/compliance/v2/reports/1cd3a25b-469e-4f67-b703-2f5b38441b72/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 scoped_search query language. However, only `=` or `!=` (resp. `<>`) operators are supported.

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`

(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/security_guide_versions": { "get": { "summary": "Request the list of available Security Guide versions", "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": "This feature is exclusively used by the frontend", "operationId": "ReportTestResultsSG", "deprecated": true, "responses": { "200": { "description": "Lists available Security Guide versions", "content": { "application/vnd.api+json": { "examples": { "List of available Security Guide versions": { "value": [ "100.107.39" ], "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": "Retrieve a specific test result for a specific 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": "5674063f-8bb2-4453-b04b-f0732d60be33", "end_time": "2024-11-23T09:29:16.147Z", "failed_rule_count": 0, "supported": true, "score": 97.76381952384386, "type": "test_result", "display_name": "rutherford.example", "groups": [], "tags": [ { "key": "array", "value": "1080p", "namespace": "overriding" }, { "key": "driver", "value": "multi-byte", "namespace": "indexing" }, { "key": "transmitter", "value": "primary", "namespace": "generating" }, { "key": "microchip", "value": "multi-byte", "namespace": "synthesizing" }, { "key": "application", "value": "wireless", "namespace": "hacking" } ], "os_major_version": 8, "os_minor_version": 0, "compliant": true, "system_id": "75b0119e-fa3b-4f0d-8909-51778bd9c4a6", "security_guide_version": "100.109.16" } }, "summary": "", "description": "" } }, "schema": { "type": "object", "properties": { "data": { "type": "object", "properties": { "schema": { "$ref": "#/components/schemas/system" } } } } } } } }, "404": { "description": "Returns with Not Found", "content": { "application/vnd.api+json": { "examples": { "Description of an error when requesting a non-existing Test Result": { "value": { "errors": [ "V2::TestResult not found with ID a579c721-9b43-4647-9f9d-c39086e3a386" ] }, "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 (`:asc` or `:desc`).

If no direction is selected, `: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 scoped_search query language. However, only `=` or `!=` (resp. `<>`) operators are supported.

Value Definitions are searchable using attributes `title` and `ref_id`

(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": "Retrieve a list of the fields which can be edited within a profile.", "operationId": "ValueDefinitions", "responses": { "200": { "description": "Lists Value Definitions", "content": { "application/vnd.api+json": { "examples": { "List of Value Definitions": { "value": { "data": [ { "id": "0144b187-7082-42cd-a8c1-d69e989f0023", "ref_id": "foo_value_703f790d-21d9-47e5-b218-aeb58feda781", "title": "Enim voluptatem nisi maiores.", "description": "Non quibusdam fugiat. Quia itaque aut. Quia quisquam velit.", "value_type": "number", "default_value": "0.4412923014454486", "type": "value_definition" }, { "id": "0b4bf39d-5029-4424-bbd8-ee6b5fa6829c", "ref_id": "foo_value_40f50a85-b3ae-4fe7-8904-1b3061443606", "title": "Ad ipsam qui vitae.", "description": "Qui in fugit. Molestias asperiores error. Temporibus est ipsum.", "value_type": "number", "default_value": "0.24361512180720002", "type": "value_definition" }, { "id": "122d3788-5764-45b0-961f-49037a791109", "ref_id": "foo_value_01849eb3-3d05-4f30-a82e-07fbdb1a8a18", "title": "Ex culpa quisquam voluptas.", "description": "Laborum eum eum. Non quis vel. Quia dolor tempore.", "value_type": "number", "default_value": "0.0015693353714830716", "type": "value_definition" }, { "id": "1790177b-3dfe-4568-bedc-13675ff36149", "ref_id": "foo_value_3085b250-28d7-49f5-bb36-7f6df9e1d0c2", "title": "Unde culpa est dolor.", "description": "Nesciunt non repellat. Maxime iusto itaque. Cupiditate earum inventore.", "value_type": "number", "default_value": "0.923845517299785", "type": "value_definition" }, { "id": "2184a316-62f0-4386-9654-c84cf64c653c", "ref_id": "foo_value_43d08c5a-9a90-49d3-8757-5642ed9468bd", "title": "Vero adipisci at dolor.", "description": "Sed sint eum. Praesentium porro tempora. Quas nostrum suscipit.", "value_type": "number", "default_value": "0.2819857708605198", "type": "value_definition" }, { "id": "58d141d2-424d-4aeb-930b-2e1746ecce9d", "ref_id": "foo_value_fb3b9aa6-46d3-44c9-8445-3cb5413a32de", "title": "Excepturi est velit et.", "description": "Ut similique praesentium. Eos minima repudiandae. Doloribus esse eveniet.", "value_type": "number", "default_value": "0.3281505693203356", "type": "value_definition" }, { "id": "59a70d65-4b29-4f42-ad3a-789a7327c01f", "ref_id": "foo_value_ef701b6a-aa67-4029-b9e9-f86f379b3e25", "title": "Eum tenetur voluptates nobis.", "description": "Deserunt molestias voluptatum. Alias sit eum. Aut harum voluptatem.", "value_type": "number", "default_value": "0.6344440411128011", "type": "value_definition" }, { "id": "6782c485-b61e-41cc-a88d-e5a796334f4e", "ref_id": "foo_value_a86375c8-41f7-4459-a030-4ca08d6d9987", "title": "Et nihil libero in.", "description": "Magnam aut quo. Et unde distinctio. A ut dolorem.", "value_type": "number", "default_value": "0.4692000812174909", "type": "value_definition" }, { "id": "6d8aa609-b0fd-4d5e-88f8-851850c4e032", "ref_id": "foo_value_e1ac4f39-9302-46e9-8373-f83c488fab84", "title": "Ratione qui ad ea.", "description": "Voluptas eum ad. Repellat ut rerum. Quos et dolorem.", "value_type": "number", "default_value": "0.7159694341190964", "type": "value_definition" }, { "id": "7b9f8c80-db8a-4a58-b9a0-c8844893dd17", "ref_id": "foo_value_0bcf3fa2-a719-40c0-aa10-c36abbbef3f7", "title": "Non molestiae in qui.", "description": "Et ut quam. Qui ut sit. Corrupti voluptatibus officia.", "value_type": "number", "default_value": "0.8940229538931513", "type": "value_definition" } ], "meta": { "total": 25, "limit": 10, "offset": 0 }, "links": { "first": "/api/compliance/v2/security_guides/c484f239-e357-47cf-b71a-5318c33ab9a7/value_definitions?limit=10&offset=0", "last": "/api/compliance/v2/security_guides/c484f239-e357-47cf-b71a-5318c33ab9a7/value_definitions?limit=10&offset=20", "next": "/api/compliance/v2/security_guides/c484f239-e357-47cf-b71a-5318c33ab9a7/value_definitions?limit=10&offset=10" } }, "summary": "", "description": "" }, "List of Value Definitions sorted by \"title:asc\"": { "value": { "data": [ { "id": "734be4ad-6fb8-4266-8f21-2c8f32d6d51c", "ref_id": "foo_value_28a12b81-8231-4b29-a94d-a3fc5af44fb3", "title": "Asperiores odit et facere.", "description": "In adipisci tenetur. Quis consectetur minus. Expedita nihil consequatur.", "value_type": "number", "default_value": "0.9213639674723846", "type": "value_definition" }, { "id": "04d06218-6dd3-4e36-977b-c286a77c2a2e", "ref_id": "foo_value_e6892e6d-f35c-4f74-98da-95fa828360f4", "title": "Consequatur deserunt quo modi.", "description": "Accusamus maiores cum. Accusantium ratione explicabo. Odit fuga facilis.", "value_type": "number", "default_value": "0.9810592055325207", "type": "value_definition" }, { "id": "86af1497-9a18-4078-bcb5-8538158ff143", "ref_id": "foo_value_1ded6319-73e1-485a-a6b3-ab3b6d9a5c04", "title": "Corrupti laborum praesentium doloremque.", "description": "Aut repellendus ut. Tempore dignissimos eligendi. Dolor facilis et.", "value_type": "number", "default_value": "0.6899939092037719", "type": "value_definition" }, { "id": "7a7c6011-e408-4992-99ec-164691bc2324", "ref_id": "foo_value_bbe38d5a-276b-406b-a751-b061a5297fd3", "title": "Dolor deserunt sed est.", "description": "Temporibus fugiat officia. Et doloremque eos. Quidem provident tenetur.", "value_type": "number", "default_value": "0.20198143459335627", "type": "value_definition" }, { "id": "185da6ad-331d-4c65-9387-7abf4e240c0e", "ref_id": "foo_value_69ca3fd1-bb6d-4596-a74a-1afd7c16f27a", "title": "Dolor nihil odio asperiores.", "description": "Numquam natus quos. Quia accusantium et. Autem perspiciatis consequuntur.", "value_type": "number", "default_value": "0.028141406552997683", "type": "value_definition" }, { "id": "700a65e6-3836-4bec-b856-4aec7e19ac9c", "ref_id": "foo_value_875177f7-cb46-46ab-accc-e057e0f78f02", "title": "Dolorem ad rerum quas.", "description": "Ut consequatur qui. Eos ab inventore. Nihil ut vel.", "value_type": "number", "default_value": "0.36162502651171646", "type": "value_definition" }, { "id": "c337074e-9239-40a9-9991-9356c19d8454", "ref_id": "foo_value_482a20f4-0096-42d9-a26b-dafda2b3a424", "title": "Dolores doloremque nisi est.", "description": "Non consequuntur mollitia. Architecto laborum omnis. Non velit eius.", "value_type": "number", "default_value": "0.7413582245498793", "type": "value_definition" }, { "id": "16d91cd0-fe17-42ed-b366-73a147539ba2", "ref_id": "foo_value_61be5f07-4e9c-4593-8957-e84c4f8a70ce", "title": "Ducimus et sed ipsam.", "description": "Quia libero itaque. Vitae sed et. Et omnis dolor.", "value_type": "number", "default_value": "0.24290272346421216", "type": "value_definition" }, { "id": "e1ef2ceb-c700-43b5-bae4-098072059fdc", "ref_id": "foo_value_d22cd7a1-8c0a-4c43-8c61-c3d0b0b7aa7b", "title": "Ducimus voluptates quae pariatur.", "description": "Qui ex sed. Nulla aut esse. Autem qui error.", "value_type": "number", "default_value": "0.36950427644205264", "type": "value_definition" }, { "id": "5c7becca-1f71-4c73-918e-954f8e0fb5bf", "ref_id": "foo_value_4d071a47-783b-44db-992a-9ed59adaa13f", "title": "Eius voluptas illum suscipit.", "description": "Quas fuga omnis. Dolores vel expedita. Autem est debitis.", "value_type": "number", "default_value": "0.49777502604910806", "type": "value_definition" } ], "meta": { "total": 25, "limit": 10, "offset": 0, "sort_by": "title" }, "links": { "first": "/api/compliance/v2/security_guides/7657b710-2fcd-43d2-864d-9adde43d6664/value_definitions?limit=10&offset=0&sort_by=title", "last": "/api/compliance/v2/security_guides/7657b710-2fcd-43d2-864d-9adde43d6664/value_definitions?limit=10&offset=20&sort_by=title", "next": "/api/compliance/v2/security_guides/7657b710-2fcd-43d2-864d-9adde43d6664/value_definitions?limit=10&offset=10&sort_by=title" } }, "summary": "", "description": "" }, "List of Value Definitions filtered by '(title=Sit aspernatur ea quod.)'": { "value": { "data": [ { "id": "00bce4f8-5c39-489f-9d91-dbf9fef80b92", "ref_id": "foo_value_714adaca-f594-4154-8348-4f79d82a862f", "title": "Sit aspernatur ea quod.", "description": "Quasi et repudiandae. Blanditiis praesentium quo. Repudiandae alias quis.", "value_type": "number", "default_value": "0.4946603344230176", "type": "value_definition" } ], "meta": { "total": 1, "filter": "(title=\"Sit aspernatur ea quod.\")", "limit": 10, "offset": 0 }, "links": { "first": "/api/compliance/v2/security_guides/82daa9a5-3b2a-48ae-bad9-ab32d4e1c935/value_definitions?filter=%28title%3D%22Sit+aspernatur+ea+quod.%22%29&limit=10&offset=0", "last": "/api/compliance/v2/security_guides/82daa9a5-3b2a-48ae-bad9-ab32d4e1c935/value_definitions?filter=%28title%3D%22Sit+aspernatur+ea+quod.%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": "Retrieve a specific value definition.", "operationId": "ValueDefinition", "responses": { "200": { "description": "Returns a Value Definition", "content": { "application/vnd.api+json": { "examples": { "Returns a Value Definition": { "value": { "data": { "id": "cd45edac-8f3a-4c4a-8ff6-216f6b3d2625", "ref_id": "foo_value_4b9c72ed-aef4-420b-b2f9-ab5567d3fbe6", "title": "Minus dignissimos qui praesentium.", "description": "Ut ut minima. Fuga rerum totam. Non quia enim.", "value_type": "number", "default_value": "0.45874239642045966", "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 f9e06c27-f9e3-4cbe-95fc-45e529c06ff8" ] }, "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" }, "rule_group_id": { "type": "string", "format": "uuid", "examples": [ "cf50fd69-0205-49e8-8e12-c1b2a6291f1d" ], "readOnly": true, "description": "UUID of the parent Rule Group" }, "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" }, "rule_group_id": { "type": "string", "format": "uuid", "examples": [ "cf50fd69-0205-49e8-8e12-c1b2a6291f1d" ], "readOnly": true, "description": "UUID of the parent Rule Group" }, "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": [ { "5d249a75-52b5-46b5-8c63-48584e8fb287": "foo", "76e7a222-d6a1-415e-ae2d-8a412d844d9a": "123", "5755ab37-cbbd-453b-a0d8-cb3dd50110ee": "false" } ] } } }, "tailoring_create": { "type": "object", "required": [ "os_minor_version" ], "properties": { "os_minor_version": { "type": "number", "examples": [ 1 ], "description": "Minor version of the Operating System that the Tailoring covers" } } }, "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" } } } } } }