17263 lines
No EOL
717 KiB
JSON
17263 lines
No EOL
717 KiB
JSON
{
|
|
"openapi": "3.1.0",
|
|
"info": {
|
|
"title": "Cloud Services for RHEL Compliance API v2",
|
|
"version": "v2",
|
|
"description": "UNDER DEVELOPMENT: This version of the API is not fully done and some parts of it might change! This is the API for Cloud Services for RHEL Compliance. You can find out more about Red Hat Cloud Services for RHEL at [https://console.redhat.com/](https://console.redhat.com/)"
|
|
},
|
|
"servers": [
|
|
{
|
|
"url": "https://{defaultHost}/api/compliance/v2",
|
|
"variables": {
|
|
"defaultHost": {
|
|
"default": "console.redhat.com"
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"paths": {
|
|
"/policies": {
|
|
"get": {
|
|
"summary": "Request Policies",
|
|
"parameters": [
|
|
{
|
|
"name": "X-RH-IDENTITY",
|
|
"in": "header",
|
|
"schema": {
|
|
"type": "string"
|
|
},
|
|
"description": "For internal use only"
|
|
},
|
|
{
|
|
"name": "limit",
|
|
"in": "query",
|
|
"required": false,
|
|
"description": "Number of items to return per page",
|
|
"schema": {
|
|
"type": "number",
|
|
"maximum": 100,
|
|
"minimum": 1,
|
|
"default": 10
|
|
}
|
|
},
|
|
{
|
|
"name": "offset",
|
|
"in": "query",
|
|
"required": false,
|
|
"description": "Offset of first item of paginated response",
|
|
"schema": {
|
|
"type": "integer",
|
|
"minimum": 0,
|
|
"default": 0
|
|
}
|
|
},
|
|
{
|
|
"name": "ids_only",
|
|
"in": "query",
|
|
"required": false,
|
|
"description": "Indicates whether to return only resource IDs.",
|
|
"schema": {
|
|
"type": "boolean"
|
|
}
|
|
},
|
|
{
|
|
"name": "sort_by",
|
|
"in": "query",
|
|
"required": false,
|
|
"description": "Attribute and direction to sort the items by. Represented by an array of fields with an optional direction (`<key>:asc` or `<key>:desc`).<br><br>If no direction is selected, `<key>:asc` is used by default.",
|
|
"schema": {
|
|
"type": "array",
|
|
"items": {
|
|
"enum": [
|
|
"title",
|
|
"os_major_version",
|
|
"total_system_count",
|
|
"business_objective",
|
|
"compliance_threshold",
|
|
"title:asc",
|
|
"title:desc",
|
|
"os_major_version:asc",
|
|
"os_major_version:desc",
|
|
"total_system_count:asc",
|
|
"total_system_count:desc",
|
|
"business_objective:asc",
|
|
"business_objective:desc",
|
|
"compliance_threshold:asc",
|
|
"compliance_threshold:desc"
|
|
]
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"name": "filter",
|
|
"in": "query",
|
|
"required": false,
|
|
"description": "Query string to filter items by their attributes. Compliant with <a href=\"https://github.com/wvanbergen/scoped_search/wiki/Query-language\" target=\"_blank\" title=\"github.com/wvanbergen/scoped_search\">scoped_search query language</a>. However, only `=` or `!=` (resp. `<>`) operators are supported.<br><br>Policies are searchable using attributes `title`, `os_major_version`, and `os_minor_version`<br><br>(e.g.: `(field_1=something AND field_2!=\"something else\") OR field_3>40`)",
|
|
"schema": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
],
|
|
"tags": [
|
|
"Policies"
|
|
],
|
|
"description": "Lists Policies",
|
|
"operationId": "Policies",
|
|
"responses": {
|
|
"200": {
|
|
"description": "Lists Policies",
|
|
"content": {
|
|
"application/vnd.api+json": {
|
|
"examples": {
|
|
"List of Policies": {
|
|
"value": {
|
|
"data": [
|
|
{
|
|
"id": "1e8b2d9f-0b52-471a-84c6-f27a8c132b08",
|
|
"title": "Non et recusandae eum.",
|
|
"description": "Et blanditiis modi. Esse cumque quisquam. Excepturi illo aliquid.",
|
|
"business_objective": null,
|
|
"compliance_threshold": 28.0,
|
|
"total_system_count": 0,
|
|
"type": "policy",
|
|
"os_major_version": 7,
|
|
"profile_title": "Ut at non sapiente.",
|
|
"ref_id": "xccdf_org.ssgproject.content_profile_6dd789beb2434074ed70db1f5c29df5f"
|
|
},
|
|
{
|
|
"id": "291bfe3a-21ab-4fd2-9acb-48c78a3838f8",
|
|
"title": "Fuga ex ipsam a.",
|
|
"description": "Accusantium eum dolor. Non quidem sed. Delectus non eum.",
|
|
"business_objective": null,
|
|
"compliance_threshold": 7.0,
|
|
"total_system_count": 0,
|
|
"type": "policy",
|
|
"os_major_version": 7,
|
|
"profile_title": "Modi quia voluptas cum.",
|
|
"ref_id": "xccdf_org.ssgproject.content_profile_f50d3b7d5a6f3e3b13e5a9907df0a182"
|
|
},
|
|
{
|
|
"id": "2bfca793-77ed-48d7-90d2-b7f260f787c6",
|
|
"title": "Laboriosam vel inventore aut.",
|
|
"description": "Quod et eaque. Sed et ullam. Placeat et delectus.",
|
|
"business_objective": null,
|
|
"compliance_threshold": 11.0,
|
|
"total_system_count": 0,
|
|
"type": "policy",
|
|
"os_major_version": 7,
|
|
"profile_title": "Sit sint ipsa eveniet.",
|
|
"ref_id": "xccdf_org.ssgproject.content_profile_9dad62312cff745c5c7c92e0d6650380"
|
|
},
|
|
{
|
|
"id": "2ca18f7a-4786-41c4-a8e9-3b08c6fd3ebd",
|
|
"title": "Est et expedita voluptatem.",
|
|
"description": "Dolores asperiores ut. Officia quasi dolor. Non facere nulla.",
|
|
"business_objective": null,
|
|
"compliance_threshold": 34.0,
|
|
"total_system_count": 0,
|
|
"type": "policy",
|
|
"os_major_version": 7,
|
|
"profile_title": "Omnis ipsum veniam eaque.",
|
|
"ref_id": "xccdf_org.ssgproject.content_profile_f1006fc7aacd2b9070587a5e22d68ca8"
|
|
},
|
|
{
|
|
"id": "4732f1f4-99b8-496d-a202-8a94537d40c5",
|
|
"title": "Minus voluptas eius nulla.",
|
|
"description": "Aliquam non ducimus. Est cupiditate sunt. Laudantium ipsam dicta.",
|
|
"business_objective": null,
|
|
"compliance_threshold": 10.0,
|
|
"total_system_count": 0,
|
|
"type": "policy",
|
|
"os_major_version": 7,
|
|
"profile_title": "Ipsum impedit alias nihil.",
|
|
"ref_id": "xccdf_org.ssgproject.content_profile_c60348c3eea4fc728b3dc4a921d38295"
|
|
},
|
|
{
|
|
"id": "51cfd220-4d61-4c29-a875-c0853dc646b5",
|
|
"title": "Culpa doloribus dicta temporibus.",
|
|
"description": "Eaque sapiente ea. Deleniti et facilis. Qui sunt laborum.",
|
|
"business_objective": null,
|
|
"compliance_threshold": 94.0,
|
|
"total_system_count": 0,
|
|
"type": "policy",
|
|
"os_major_version": 7,
|
|
"profile_title": "Non optio voluptatibus facere.",
|
|
"ref_id": "xccdf_org.ssgproject.content_profile_042c3d90cad00f4209dca515c4d04070"
|
|
},
|
|
{
|
|
"id": "52b43899-b292-4f61-906c-91cd71a65ef5",
|
|
"title": "Unde maiores possimus ut.",
|
|
"description": "Quam possimus sint. Quisquam et omnis. Placeat optio aliquam.",
|
|
"business_objective": null,
|
|
"compliance_threshold": 8.0,
|
|
"total_system_count": 0,
|
|
"type": "policy",
|
|
"os_major_version": 7,
|
|
"profile_title": "Totam enim debitis est.",
|
|
"ref_id": "xccdf_org.ssgproject.content_profile_56429861b4538aaa559e82d405e0283a"
|
|
},
|
|
{
|
|
"id": "626d1594-848f-4272-8112-a5b0996c7884",
|
|
"title": "Quo quae in dolorem.",
|
|
"description": "Possimus illo quo. Repellat ut reprehenderit. Qui doloribus aut.",
|
|
"business_objective": null,
|
|
"compliance_threshold": 68.0,
|
|
"total_system_count": 0,
|
|
"type": "policy",
|
|
"os_major_version": 7,
|
|
"profile_title": "Non rem ut nihil.",
|
|
"ref_id": "xccdf_org.ssgproject.content_profile_e7bacd6c901e6c13df1849dc560a31d2"
|
|
},
|
|
{
|
|
"id": "7f44f4f4-0b49-4fae-b5a0-fd0a55813362",
|
|
"title": "Ut aperiam expedita quia.",
|
|
"description": "Rerum adipisci qui. Alias error voluptas. Sequi facere aut.",
|
|
"business_objective": null,
|
|
"compliance_threshold": 16.0,
|
|
"total_system_count": 0,
|
|
"type": "policy",
|
|
"os_major_version": 7,
|
|
"profile_title": "Dolor labore sed ad.",
|
|
"ref_id": "xccdf_org.ssgproject.content_profile_e20bcf4aa6adfef578b9ef8068f37c66"
|
|
},
|
|
{
|
|
"id": "8d9604f0-3374-4ca0-97d9-65ebb84f3923",
|
|
"title": "Est expedita ut est.",
|
|
"description": "Aut enim nihil. Excepturi iste magni. Voluptatem et exercitationem.",
|
|
"business_objective": null,
|
|
"compliance_threshold": 78.0,
|
|
"total_system_count": 0,
|
|
"type": "policy",
|
|
"os_major_version": 7,
|
|
"profile_title": "Consectetur ipsa sed recusandae.",
|
|
"ref_id": "xccdf_org.ssgproject.content_profile_bd588c7bce2396f67392444bfe87dfe6"
|
|
}
|
|
],
|
|
"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": "0157da80-af3e-49c9-9ce1-d14a2a6bd50b",
|
|
"title": "Laudantium eligendi ipsam explicabo.",
|
|
"description": "Sit non nam. Porro qui repellendus. Fugiat doloremque dolorem.",
|
|
"business_objective": null,
|
|
"compliance_threshold": 61.0,
|
|
"total_system_count": 0,
|
|
"type": "policy",
|
|
"os_major_version": 7,
|
|
"profile_title": "Sed et sunt consequatur.",
|
|
"ref_id": "xccdf_org.ssgproject.content_profile_bc1b58f3a2fa16d036d7d3705083e676"
|
|
},
|
|
{
|
|
"id": "01efb8ff-c59c-4728-acb2-8ac8035a05d8",
|
|
"title": "Ea consequatur ea vel.",
|
|
"description": "Necessitatibus illo quod. Veniam repellat libero. Pariatur quo quod.",
|
|
"business_objective": null,
|
|
"compliance_threshold": 80.0,
|
|
"total_system_count": 0,
|
|
"type": "policy",
|
|
"os_major_version": 7,
|
|
"profile_title": "Eum similique nihil illum.",
|
|
"ref_id": "xccdf_org.ssgproject.content_profile_a597e6f07775d9f88059f7de72672588"
|
|
},
|
|
{
|
|
"id": "0211bb64-34e9-4e43-9104-134fc0c5af77",
|
|
"title": "Earum dolores illum porro.",
|
|
"description": "Quas laudantium dolorum. Aut temporibus ipsam. Nihil esse deserunt.",
|
|
"business_objective": null,
|
|
"compliance_threshold": 21.0,
|
|
"total_system_count": 0,
|
|
"type": "policy",
|
|
"os_major_version": 7,
|
|
"profile_title": "Corporis pariatur omnis animi.",
|
|
"ref_id": "xccdf_org.ssgproject.content_profile_86cd3fa2276c616f250187aba6d8129b"
|
|
},
|
|
{
|
|
"id": "099172ac-24dd-4ea2-bc9b-2e47604ab3b2",
|
|
"title": "Aut non doloribus est.",
|
|
"description": "Voluptatem eos ut. Et quae mollitia. Aut est autem.",
|
|
"business_objective": null,
|
|
"compliance_threshold": 94.0,
|
|
"total_system_count": 0,
|
|
"type": "policy",
|
|
"os_major_version": 7,
|
|
"profile_title": "Voluptatem non aut voluptate.",
|
|
"ref_id": "xccdf_org.ssgproject.content_profile_31f925052f7014474e72c2761a06d3db"
|
|
},
|
|
{
|
|
"id": "1620bf96-3ead-4c56-ab3d-d1a7de7ec158",
|
|
"title": "Reprehenderit ipsum consectetur repudiandae.",
|
|
"description": "Alias soluta quasi. Quia provident delectus. Exercitationem ducimus assumenda.",
|
|
"business_objective": null,
|
|
"compliance_threshold": 86.0,
|
|
"total_system_count": 0,
|
|
"type": "policy",
|
|
"os_major_version": 7,
|
|
"profile_title": "Fugiat doloremque et est.",
|
|
"ref_id": "xccdf_org.ssgproject.content_profile_c6cf68ce4bffe42fb9edf677df1c4fb2"
|
|
},
|
|
{
|
|
"id": "1c26bc6f-837c-421c-b6d5-ca624071f1e6",
|
|
"title": "Et et praesentium ut.",
|
|
"description": "Fuga voluptatibus fugit. Odio eaque excepturi. Hic fugit vel.",
|
|
"business_objective": null,
|
|
"compliance_threshold": 76.0,
|
|
"total_system_count": 0,
|
|
"type": "policy",
|
|
"os_major_version": 7,
|
|
"profile_title": "Fugiat reiciendis voluptatem consequuntur.",
|
|
"ref_id": "xccdf_org.ssgproject.content_profile_87c0c613c708408d9c8262f9d6b7cb28"
|
|
},
|
|
{
|
|
"id": "1db4c087-428d-4f76-978b-8cb234674646",
|
|
"title": "Magnam dolore est sit.",
|
|
"description": "Sapiente voluptate occaecati. Et ipsa nostrum. Qui veritatis perspiciatis.",
|
|
"business_objective": null,
|
|
"compliance_threshold": 85.0,
|
|
"total_system_count": 0,
|
|
"type": "policy",
|
|
"os_major_version": 7,
|
|
"profile_title": "Consequuntur sit est quasi.",
|
|
"ref_id": "xccdf_org.ssgproject.content_profile_b88d384a9ddb52fb54fc79b99418eaab"
|
|
},
|
|
{
|
|
"id": "1dfec942-7160-4621-89d0-db8ee89981fc",
|
|
"title": "Doloremque aperiam dolores reprehenderit.",
|
|
"description": "Optio dolor quod. Nostrum et eos. Nihil aut nam.",
|
|
"business_objective": null,
|
|
"compliance_threshold": 28.0,
|
|
"total_system_count": 0,
|
|
"type": "policy",
|
|
"os_major_version": 7,
|
|
"profile_title": "Quia facilis sed sit.",
|
|
"ref_id": "xccdf_org.ssgproject.content_profile_73b4368f08c4abea4bc95825d00f1618"
|
|
},
|
|
{
|
|
"id": "1f54a655-249f-4b57-8ca0-e9140fd73d68",
|
|
"title": "Et illum molestias delectus.",
|
|
"description": "Consectetur nisi et. Eum quaerat est. Rerum voluptate excepturi.",
|
|
"business_objective": null,
|
|
"compliance_threshold": 17.0,
|
|
"total_system_count": 0,
|
|
"type": "policy",
|
|
"os_major_version": 7,
|
|
"profile_title": "Sit nemo quia tempore.",
|
|
"ref_id": "xccdf_org.ssgproject.content_profile_f403668b1543d7b990acad7b6ecb4db2"
|
|
},
|
|
{
|
|
"id": "2049c901-0185-44de-a908-c8b5cdaf4587",
|
|
"title": "Voluptatibus quae eaque amet.",
|
|
"description": "Laborum modi corrupti. Ea qui quo. Praesentium quae iure.",
|
|
"business_objective": null,
|
|
"compliance_threshold": 92.0,
|
|
"total_system_count": 0,
|
|
"type": "policy",
|
|
"os_major_version": 7,
|
|
"profile_title": "Voluptas a voluptatem praesentium.",
|
|
"ref_id": "xccdf_org.ssgproject.content_profile_9d043997f22760061ea7a2c82528f160"
|
|
}
|
|
],
|
|
"meta": {
|
|
"total": 25,
|
|
"limit": 10,
|
|
"offset": 0,
|
|
"sort_by": "os_major_version"
|
|
},
|
|
"links": {
|
|
"first": "/api/compliance/v2/policies?limit=10&offset=0&sort_by=os_major_version",
|
|
"last": "/api/compliance/v2/policies?limit=10&offset=20&sort_by=os_major_version",
|
|
"next": "/api/compliance/v2/policies?limit=10&offset=10&sort_by=os_major_version"
|
|
}
|
|
},
|
|
"summary": "",
|
|
"description": ""
|
|
},
|
|
"List of Policies filtered by \"(os_major_version=8)\"": {
|
|
"value": {
|
|
"data": [],
|
|
"meta": {
|
|
"total": 0,
|
|
"filter": "(os_major_version=8)",
|
|
"limit": 10,
|
|
"offset": 0
|
|
},
|
|
"links": {
|
|
"first": "/api/compliance/v2/policies?filter=%28os_major_version%3D8%29&limit=10&offset=0",
|
|
"last": "/api/compliance/v2/policies?filter=%28os_major_version%3D8%29&limit=10&offset=0"
|
|
}
|
|
},
|
|
"summary": "",
|
|
"description": ""
|
|
}
|
|
},
|
|
"schema": {
|
|
"type": "object",
|
|
"properties": {
|
|
"meta": {
|
|
"$ref": "#/components/schemas/metadata"
|
|
},
|
|
"links": {
|
|
"$ref": "#/components/schemas/links"
|
|
},
|
|
"data": {
|
|
"type": "array",
|
|
"items": {
|
|
"properties": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/policy"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"422": {
|
|
"description": "Returns with Unprocessable Content",
|
|
"content": {
|
|
"application/vnd.api+json": {
|
|
"examples": {
|
|
"Description of an error when sorting by incorrect parameter": {
|
|
"value": {
|
|
"errors": [
|
|
"Result cannot be sorted by the 'description' column."
|
|
]
|
|
},
|
|
"summary": "",
|
|
"description": ""
|
|
},
|
|
"Description of an error when requesting higher limit than supported": {
|
|
"value": {
|
|
"errors": [
|
|
"Invalid parameter: limit must be less than or equal to 100"
|
|
]
|
|
},
|
|
"summary": "",
|
|
"description": ""
|
|
}
|
|
},
|
|
"schema": {
|
|
"$ref": "#/components/schemas/errors"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"post": {
|
|
"summary": "Create a Policy",
|
|
"parameters": [
|
|
{
|
|
"name": "X-RH-IDENTITY",
|
|
"in": "header",
|
|
"schema": {
|
|
"type": "string"
|
|
},
|
|
"description": "For internal use only"
|
|
}
|
|
],
|
|
"tags": [
|
|
"Policies"
|
|
],
|
|
"description": "Create a Policy with the provided attributes",
|
|
"operationId": "CreatePolicy",
|
|
"responses": {
|
|
"201": {
|
|
"description": "Creates a Policy",
|
|
"content": {
|
|
"application/vnd.api+json": {
|
|
"examples": {
|
|
"Response example": {
|
|
"value": {
|
|
"data": {
|
|
"id": "01f3a639-e822-43b0-9fea-df829bfc3a9a",
|
|
"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": "Dolorem quis molestiae porro.",
|
|
"ref_id": "xccdf_org.ssgproject.content_profile_7474439a304a0282b43508aa0ef85083"
|
|
}
|
|
},
|
|
"summary": "",
|
|
"description": ""
|
|
}
|
|
},
|
|
"schema": {
|
|
"type": "object",
|
|
"properties": {
|
|
"data": {
|
|
"type": "object",
|
|
"properties": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/policy"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"requestBody": {
|
|
"content": {
|
|
"application/vnd.api+json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/policy"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"/policies/{policy_id}": {
|
|
"get": {
|
|
"summary": "Request a Policy",
|
|
"parameters": [
|
|
{
|
|
"name": "X-RH-IDENTITY",
|
|
"in": "header",
|
|
"schema": {
|
|
"type": "string"
|
|
},
|
|
"description": "For internal use only"
|
|
},
|
|
{
|
|
"name": "policy_id",
|
|
"in": "path",
|
|
"required": true,
|
|
"schema": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
],
|
|
"tags": [
|
|
"Policies"
|
|
],
|
|
"description": "Returns a Policy",
|
|
"operationId": "Policy",
|
|
"responses": {
|
|
"200": {
|
|
"description": "Returns a Policy",
|
|
"content": {
|
|
"application/vnd.api+json": {
|
|
"examples": {
|
|
"Returns a Policy": {
|
|
"value": {
|
|
"data": {
|
|
"id": "a7ebf179-8b69-4a19-bd75-ef694afc5e87",
|
|
"title": "Ut minus sint aut.",
|
|
"description": "Iusto et aut. Eum enim inventore. Architecto sed laboriosam.",
|
|
"business_objective": null,
|
|
"compliance_threshold": 80.0,
|
|
"total_system_count": 0,
|
|
"type": "policy",
|
|
"os_major_version": 7,
|
|
"profile_title": "Culpa quas sint aut.",
|
|
"ref_id": "xccdf_org.ssgproject.content_profile_e2066ae015bae278d349ba208cb013e7"
|
|
}
|
|
},
|
|
"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 b97e144c-5114-4fc6-be7e-f86d6f7a56a0"
|
|
]
|
|
},
|
|
"summary": "",
|
|
"description": ""
|
|
}
|
|
},
|
|
"schema": {
|
|
"$ref": "#/components/schemas/errors"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"patch": {
|
|
"summary": "Update a Policy",
|
|
"parameters": [
|
|
{
|
|
"name": "X-RH-IDENTITY",
|
|
"in": "header",
|
|
"schema": {
|
|
"type": "string"
|
|
},
|
|
"description": "For internal use only"
|
|
},
|
|
{
|
|
"name": "policy_id",
|
|
"in": "path",
|
|
"required": true,
|
|
"schema": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
],
|
|
"tags": [
|
|
"Policies"
|
|
],
|
|
"description": "Updates a Policy with the provided attributes",
|
|
"operationId": "UpdatePolicy",
|
|
"responses": {
|
|
"202": {
|
|
"description": "Updates a Policy",
|
|
"content": {
|
|
"application/vnd.api+json": {
|
|
"examples": {
|
|
"Returns the updated Policy": {
|
|
"value": {
|
|
"data": {
|
|
"id": "ee4b4d2d-d705-4837-8ebd-3b77f40a0f7b",
|
|
"title": "Ea dolores aut sunt.",
|
|
"description": "Sunt aliquid animi. Quasi quae sed. Et eum vel.",
|
|
"business_objective": null,
|
|
"compliance_threshold": 100.0,
|
|
"total_system_count": 0,
|
|
"type": "policy",
|
|
"os_major_version": 7,
|
|
"profile_title": "Veniam qui quia nesciunt.",
|
|
"ref_id": "xccdf_org.ssgproject.content_profile_6e6055d74042a1eb86de2ef7906c4740"
|
|
}
|
|
},
|
|
"summary": "",
|
|
"description": ""
|
|
}
|
|
},
|
|
"schema": {
|
|
"type": "object",
|
|
"properties": {
|
|
"data": {
|
|
"type": "object",
|
|
"properties": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/policy"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"requestBody": {
|
|
"content": {
|
|
"application/vnd.api+json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/policy_update"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"delete": {
|
|
"summary": "Delete a Policy",
|
|
"parameters": [
|
|
{
|
|
"name": "X-RH-IDENTITY",
|
|
"in": "header",
|
|
"schema": {
|
|
"type": "string"
|
|
},
|
|
"description": "For internal use only"
|
|
},
|
|
{
|
|
"name": "policy_id",
|
|
"in": "path",
|
|
"required": true,
|
|
"schema": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
],
|
|
"tags": [
|
|
"Policies"
|
|
],
|
|
"description": "Deletes a Policy",
|
|
"operationId": "DeletePolicy",
|
|
"responses": {
|
|
"202": {
|
|
"description": "Deletes a Policy",
|
|
"content": {
|
|
"application/vnd.api+json": {
|
|
"examples": {
|
|
"Deletes a Policy": {
|
|
"value": {
|
|
"data": {
|
|
"id": "11f0bd24-0e33-4653-9d86-f770483b1438",
|
|
"title": "Adipisci quo ut qui.",
|
|
"description": "Non at et. Qui et natus. Ut ipsum tenetur.",
|
|
"business_objective": null,
|
|
"compliance_threshold": 0.0,
|
|
"total_system_count": 0,
|
|
"type": "policy",
|
|
"os_major_version": 7,
|
|
"profile_title": "Placeat ducimus omnis adipisci.",
|
|
"ref_id": "xccdf_org.ssgproject.content_profile_29daefab642465e65a9836c1fde2bce9"
|
|
}
|
|
},
|
|
"summary": "",
|
|
"description": ""
|
|
}
|
|
},
|
|
"schema": {
|
|
"type": "object",
|
|
"properties": {
|
|
"data": {
|
|
"type": "object",
|
|
"properties": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/policy"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"/systems/{system_id}/policies": {
|
|
"get": {
|
|
"summary": "Request Policies assigned to a System",
|
|
"parameters": [
|
|
{
|
|
"name": "X-RH-IDENTITY",
|
|
"in": "header",
|
|
"schema": {
|
|
"type": "string"
|
|
},
|
|
"description": "For internal use only"
|
|
},
|
|
{
|
|
"name": "limit",
|
|
"in": "query",
|
|
"required": false,
|
|
"description": "Number of items to return per page",
|
|
"schema": {
|
|
"type": "number",
|
|
"maximum": 100,
|
|
"minimum": 1,
|
|
"default": 10
|
|
}
|
|
},
|
|
{
|
|
"name": "offset",
|
|
"in": "query",
|
|
"required": false,
|
|
"description": "Offset of first item of paginated response",
|
|
"schema": {
|
|
"type": "integer",
|
|
"minimum": 0,
|
|
"default": 0
|
|
}
|
|
},
|
|
{
|
|
"name": "ids_only",
|
|
"in": "query",
|
|
"required": false,
|
|
"description": "Indicates whether to return only resource IDs.",
|
|
"schema": {
|
|
"type": "boolean"
|
|
}
|
|
},
|
|
{
|
|
"name": "sort_by",
|
|
"in": "query",
|
|
"required": false,
|
|
"description": "Attribute and direction to sort the items by. Represented by an array of fields with an optional direction (`<key>:asc` or `<key>:desc`).<br><br>If no direction is selected, `<key>:asc` is used by default.",
|
|
"schema": {
|
|
"type": "array",
|
|
"items": {
|
|
"enum": [
|
|
"title",
|
|
"business_objective",
|
|
"compliance_threshold",
|
|
"title:asc",
|
|
"title:desc",
|
|
"business_objective:asc",
|
|
"business_objective:desc",
|
|
"compliance_threshold:asc",
|
|
"compliance_threshold:desc"
|
|
]
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"name": "filter",
|
|
"in": "query",
|
|
"required": false,
|
|
"description": "Query string to filter items by their attributes. Compliant with <a href=\"https://github.com/wvanbergen/scoped_search/wiki/Query-language\" target=\"_blank\" title=\"github.com/wvanbergen/scoped_search\">scoped_search query language</a>. However, only `=` or `!=` (resp. `<>`) operators are supported.<br><br>Policies are searchable using attributes `title` and `os_minor_version`<br><br>(e.g.: `(field_1=something AND field_2!=\"something else\") OR field_3>40`)",
|
|
"schema": {
|
|
"type": "string"
|
|
}
|
|
},
|
|
{
|
|
"name": "system_id",
|
|
"in": "path",
|
|
"required": true,
|
|
"schema": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
],
|
|
"tags": [
|
|
"Systems"
|
|
],
|
|
"description": "Lists Policies under a System",
|
|
"operationId": "SystemsPolicies",
|
|
"responses": {
|
|
"200": {
|
|
"description": "Lists Policies",
|
|
"content": {
|
|
"application/vnd.api+json": {
|
|
"examples": {
|
|
"List of Policies under a System": {
|
|
"value": {
|
|
"data": [
|
|
{
|
|
"id": "0f9a01c2-cbe7-4884-8ee5-a9372865a563",
|
|
"title": "Consequuntur nobis iure nam.",
|
|
"description": "Vero doloribus autem. Expedita blanditiis voluptas. Est qui alias.",
|
|
"business_objective": null,
|
|
"compliance_threshold": 26.0,
|
|
"total_system_count": 1,
|
|
"type": "policy",
|
|
"os_major_version": 7,
|
|
"profile_title": "Ut laboriosam molestiae enim.",
|
|
"ref_id": "xccdf_org.ssgproject.content_profile_1b6fea841708085727eec141c0774d6f"
|
|
},
|
|
{
|
|
"id": "20710202-407c-408b-bc2c-70461befe615",
|
|
"title": "Qui id aut accusantium.",
|
|
"description": "Ipsam sunt quaerat. Blanditiis maxime numquam. Quisquam qui dolor.",
|
|
"business_objective": null,
|
|
"compliance_threshold": 76.0,
|
|
"total_system_count": 1,
|
|
"type": "policy",
|
|
"os_major_version": 7,
|
|
"profile_title": "Error et et eum.",
|
|
"ref_id": "xccdf_org.ssgproject.content_profile_8b8d1342636cdbdd1b3c7f52e5980f8f"
|
|
},
|
|
{
|
|
"id": "3cb53d7a-3a37-4fa8-9437-95b51e8ea92a",
|
|
"title": "Ut recusandae est error.",
|
|
"description": "Est non ab. Aspernatur est exercitationem. Odio nobis in.",
|
|
"business_objective": null,
|
|
"compliance_threshold": 40.0,
|
|
"total_system_count": 1,
|
|
"type": "policy",
|
|
"os_major_version": 7,
|
|
"profile_title": "Omnis quia dicta possimus.",
|
|
"ref_id": "xccdf_org.ssgproject.content_profile_49d48717657d2290a67dc08d5b0d90a6"
|
|
},
|
|
{
|
|
"id": "3df69852-217e-4a17-b952-81842819aec9",
|
|
"title": "Ad aut asperiores aliquam.",
|
|
"description": "Qui velit minima. Molestiae nostrum temporibus. Recusandae suscipit quibusdam.",
|
|
"business_objective": null,
|
|
"compliance_threshold": 51.0,
|
|
"total_system_count": 1,
|
|
"type": "policy",
|
|
"os_major_version": 7,
|
|
"profile_title": "Maiores eum sed et.",
|
|
"ref_id": "xccdf_org.ssgproject.content_profile_fc30c908c0ff612374128da26f96e233"
|
|
},
|
|
{
|
|
"id": "3fbec48e-f5a3-40fd-89cb-dbeb51ccb22f",
|
|
"title": "Perspiciatis quo nemo eos.",
|
|
"description": "Velit rerum eum. Voluptas ut nesciunt. Voluptatem eius consectetur.",
|
|
"business_objective": null,
|
|
"compliance_threshold": 57.0,
|
|
"total_system_count": 1,
|
|
"type": "policy",
|
|
"os_major_version": 7,
|
|
"profile_title": "Dolor esse cum dolorum.",
|
|
"ref_id": "xccdf_org.ssgproject.content_profile_79f34c673e8c0552b0edbe6661649c59"
|
|
},
|
|
{
|
|
"id": "46637429-b489-4e5c-b9ee-63765344f510",
|
|
"title": "Saepe nesciunt molestiae dolorem.",
|
|
"description": "Officiis id quidem. Rerum natus eum. Placeat fuga vitae.",
|
|
"business_objective": null,
|
|
"compliance_threshold": 24.0,
|
|
"total_system_count": 1,
|
|
"type": "policy",
|
|
"os_major_version": 7,
|
|
"profile_title": "Et sint laborum saepe.",
|
|
"ref_id": "xccdf_org.ssgproject.content_profile_a0510c2cfe2fc647955f1684b395e03e"
|
|
},
|
|
{
|
|
"id": "4b4ad319-db26-4cff-b5dc-83240d44bee4",
|
|
"title": "Et sed non illo.",
|
|
"description": "Est animi ea. Voluptatem nihil natus. Libero veniam ea.",
|
|
"business_objective": null,
|
|
"compliance_threshold": 0.0,
|
|
"total_system_count": 1,
|
|
"type": "policy",
|
|
"os_major_version": 7,
|
|
"profile_title": "Accusamus numquam ut est.",
|
|
"ref_id": "xccdf_org.ssgproject.content_profile_b9962eaa51c221d3027e3ac0a699dc8f"
|
|
},
|
|
{
|
|
"id": "4b5aed65-6bb3-4c57-bf7b-8b11a7574643",
|
|
"title": "Sit qui ipsum optio.",
|
|
"description": "Est culpa sunt. Odit officia repellat. Accusantium quod quo.",
|
|
"business_objective": null,
|
|
"compliance_threshold": 33.0,
|
|
"total_system_count": 1,
|
|
"type": "policy",
|
|
"os_major_version": 7,
|
|
"profile_title": "Occaecati mollitia ratione illo.",
|
|
"ref_id": "xccdf_org.ssgproject.content_profile_56fd3867b9dd3b2d4e0ce199a2abb779"
|
|
},
|
|
{
|
|
"id": "60cdeca1-15c5-4d84-b96b-e0e0f2882825",
|
|
"title": "Fugiat perferendis enim debitis.",
|
|
"description": "Ipsa quidem deserunt. Ratione fugit repudiandae. Dolorem aut eum.",
|
|
"business_objective": null,
|
|
"compliance_threshold": 98.0,
|
|
"total_system_count": 1,
|
|
"type": "policy",
|
|
"os_major_version": 7,
|
|
"profile_title": "Molestias vel dolor totam.",
|
|
"ref_id": "xccdf_org.ssgproject.content_profile_aff1765e5d3b08f541126933a8ac2f3a"
|
|
},
|
|
{
|
|
"id": "793970e9-e6c2-434f-864c-2e7faa0c8c85",
|
|
"title": "Dolorum quia perferendis id.",
|
|
"description": "Facilis iste qui. Asperiores distinctio fugiat. Dolore quia atque.",
|
|
"business_objective": null,
|
|
"compliance_threshold": 52.0,
|
|
"total_system_count": 1,
|
|
"type": "policy",
|
|
"os_major_version": 7,
|
|
"profile_title": "Quia possimus nihil aspernatur.",
|
|
"ref_id": "xccdf_org.ssgproject.content_profile_81d191dc836edb90a1202231de40dfd3"
|
|
}
|
|
],
|
|
"meta": {
|
|
"total": 25,
|
|
"limit": 10,
|
|
"offset": 0
|
|
},
|
|
"links": {
|
|
"first": "/api/compliance/v2/systems/8bc3b9f4-c45d-416c-b203-9450c5797750/policies?limit=10&offset=0",
|
|
"last": "/api/compliance/v2/systems/8bc3b9f4-c45d-416c-b203-9450c5797750/policies?limit=10&offset=20",
|
|
"next": "/api/compliance/v2/systems/8bc3b9f4-c45d-416c-b203-9450c5797750/policies?limit=10&offset=10"
|
|
}
|
|
},
|
|
"summary": "",
|
|
"description": ""
|
|
}
|
|
},
|
|
"schema": {
|
|
"type": "object",
|
|
"properties": {
|
|
"meta": {
|
|
"$ref": "#/components/schemas/metadata"
|
|
},
|
|
"links": {
|
|
"$ref": "#/components/schemas/links"
|
|
},
|
|
"data": {
|
|
"type": "array",
|
|
"items": {
|
|
"properties": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/policy"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"/security_guides/{security_guide_id}/profiles": {
|
|
"get": {
|
|
"summary": "Request Profiles",
|
|
"parameters": [
|
|
{
|
|
"name": "X-RH-IDENTITY",
|
|
"in": "header",
|
|
"schema": {
|
|
"type": "string"
|
|
},
|
|
"description": "For internal use only"
|
|
},
|
|
{
|
|
"name": "limit",
|
|
"in": "query",
|
|
"required": false,
|
|
"description": "Number of items to return per page",
|
|
"schema": {
|
|
"type": "number",
|
|
"maximum": 100,
|
|
"minimum": 1,
|
|
"default": 10
|
|
}
|
|
},
|
|
{
|
|
"name": "offset",
|
|
"in": "query",
|
|
"required": false,
|
|
"description": "Offset of first item of paginated response",
|
|
"schema": {
|
|
"type": "integer",
|
|
"minimum": 0,
|
|
"default": 0
|
|
}
|
|
},
|
|
{
|
|
"name": "ids_only",
|
|
"in": "query",
|
|
"required": false,
|
|
"description": "Indicates whether to return only resource IDs.",
|
|
"schema": {
|
|
"type": "boolean"
|
|
}
|
|
},
|
|
{
|
|
"name": "sort_by",
|
|
"in": "query",
|
|
"required": false,
|
|
"description": "Attribute and direction to sort the items by. Represented by an array of fields with an optional direction (`<key>:asc` or `<key>:desc`).<br><br>If no direction is selected, `<key>:asc` is used by default.",
|
|
"schema": {
|
|
"type": "array",
|
|
"items": {
|
|
"enum": [
|
|
"title",
|
|
"title:asc",
|
|
"title:desc"
|
|
]
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"name": "filter",
|
|
"in": "query",
|
|
"required": false,
|
|
"description": "Query string to filter items by their attributes. Compliant with <a href=\"https://github.com/wvanbergen/scoped_search/wiki/Query-language\" target=\"_blank\" title=\"github.com/wvanbergen/scoped_search\">scoped_search query language</a>. However, only `=` or `!=` (resp. `<>`) operators are supported.<br><br>Profiles are searchable using attributes `title` and `ref_id`<br><br>(e.g.: `(field_1=something AND field_2!=\"something else\") OR field_3>40`)",
|
|
"schema": {
|
|
"type": "string"
|
|
}
|
|
},
|
|
{
|
|
"name": "security_guide_id",
|
|
"in": "path",
|
|
"required": true,
|
|
"schema": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
],
|
|
"tags": [
|
|
"Content"
|
|
],
|
|
"description": "Lists Profiles",
|
|
"operationId": "Profiles",
|
|
"responses": {
|
|
"200": {
|
|
"description": "Lists Profiles",
|
|
"content": {
|
|
"application/vnd.api+json": {
|
|
"examples": {
|
|
"List of Profiles": {
|
|
"value": {
|
|
"data": [
|
|
{
|
|
"id": "017608cd-c91e-47e9-94d7-5980898daf0b",
|
|
"ref_id": "xccdf_org.ssgproject.content_profile_2a1c930e19687ba8e0fec98420f1b237",
|
|
"title": "Quae enim labore officia.",
|
|
"description": "At ut enim. Tenetur necessitatibus facere. Vel quo ut.",
|
|
"value_overrides": {},
|
|
"type": "profile"
|
|
},
|
|
{
|
|
"id": "19b76880-c8c7-4d08-9c31-08082efac079",
|
|
"ref_id": "xccdf_org.ssgproject.content_profile_8bc86b88459012b13428623b6545583c",
|
|
"title": "Commodi quo et voluptatem.",
|
|
"description": "Quia est dolor. Aut quos adipisci. Temporibus velit in.",
|
|
"value_overrides": {},
|
|
"type": "profile"
|
|
},
|
|
{
|
|
"id": "207c373a-01f1-4ca9-985d-d23d1a49647e",
|
|
"ref_id": "xccdf_org.ssgproject.content_profile_b2fb18d6e86c61f03d87b7c7f2686242",
|
|
"title": "In nulla repudiandae dolorem.",
|
|
"description": "Nihil dolor aliquid. Iusto voluptas voluptatem. Fugiat exercitationem molestiae.",
|
|
"value_overrides": {},
|
|
"type": "profile"
|
|
},
|
|
{
|
|
"id": "406f365a-b5ca-43b4-91ed-2ea411d6af5e",
|
|
"ref_id": "xccdf_org.ssgproject.content_profile_ac8f9570dc5637d435ba0bc93464b776",
|
|
"title": "Consequuntur expedita cumque accusantium.",
|
|
"description": "Et officia pariatur. Voluptatem quo molestiae. Laudantium minima aut.",
|
|
"value_overrides": {},
|
|
"type": "profile"
|
|
},
|
|
{
|
|
"id": "45bcffa3-23e9-4d23-88a2-c9d394c5f351",
|
|
"ref_id": "xccdf_org.ssgproject.content_profile_5d1943000ea3b6f31643cf8c2bccbb3a",
|
|
"title": "Labore adipisci alias impedit.",
|
|
"description": "Fugiat officiis qui. Ratione qui omnis. In ipsum possimus.",
|
|
"value_overrides": {},
|
|
"type": "profile"
|
|
},
|
|
{
|
|
"id": "46499e30-4820-480a-a4d0-31fdb81cd2f7",
|
|
"ref_id": "xccdf_org.ssgproject.content_profile_3ed52762bea59f05379ede4f87fd7f12",
|
|
"title": "Totam pariatur similique aut.",
|
|
"description": "Dignissimos qui aspernatur. Culpa sit beatae. Excepturi aut voluptates.",
|
|
"value_overrides": {},
|
|
"type": "profile"
|
|
},
|
|
{
|
|
"id": "4a5fe12d-423d-4fc5-a856-e5a61880468a",
|
|
"ref_id": "xccdf_org.ssgproject.content_profile_830a783ddd64b2fcb1d9ce5d76deaf1a",
|
|
"title": "Labore aliquam voluptatem porro.",
|
|
"description": "Et praesentium officiis. Recusandae repellat voluptatem. Voluptate occaecati exercitationem.",
|
|
"value_overrides": {},
|
|
"type": "profile"
|
|
},
|
|
{
|
|
"id": "64d2dfbc-f2c9-4f53-9eb7-5681e578b6d8",
|
|
"ref_id": "xccdf_org.ssgproject.content_profile_38350fb75be961232889121f2be0dcb2",
|
|
"title": "Aut doloremque aut et.",
|
|
"description": "Repellendus quaerat rerum. Sunt modi officiis. Totam animi voluptas.",
|
|
"value_overrides": {},
|
|
"type": "profile"
|
|
},
|
|
{
|
|
"id": "66bfd844-9ce7-4a51-840c-ebc5c989f9e4",
|
|
"ref_id": "xccdf_org.ssgproject.content_profile_2a891f2341e8a2119d881293e29b4dbd",
|
|
"title": "Sit ut eligendi quia.",
|
|
"description": "Eum incidunt minima. Recusandae consequatur nam. Voluptatem beatae odio.",
|
|
"value_overrides": {},
|
|
"type": "profile"
|
|
},
|
|
{
|
|
"id": "6a052a69-b09f-4f1a-bb93-7d8e20221fd1",
|
|
"ref_id": "xccdf_org.ssgproject.content_profile_9c60efc8033dd5f8a640529fab93d296",
|
|
"title": "Nemo dolorem necessitatibus delectus.",
|
|
"description": "Quia et ab. Aliquam consectetur et. Totam ab omnis.",
|
|
"value_overrides": {},
|
|
"type": "profile"
|
|
}
|
|
],
|
|
"meta": {
|
|
"total": 25,
|
|
"limit": 10,
|
|
"offset": 0
|
|
},
|
|
"links": {
|
|
"first": "/api/compliance/v2/security_guides/4c015bf9-7b25-4559-8773-8f8b81833243/profiles?limit=10&offset=0",
|
|
"last": "/api/compliance/v2/security_guides/4c015bf9-7b25-4559-8773-8f8b81833243/profiles?limit=10&offset=20",
|
|
"next": "/api/compliance/v2/security_guides/4c015bf9-7b25-4559-8773-8f8b81833243/profiles?limit=10&offset=10"
|
|
}
|
|
},
|
|
"summary": "",
|
|
"description": ""
|
|
},
|
|
"List of Profiles sorted by \"title:asc\"": {
|
|
"value": {
|
|
"data": [
|
|
{
|
|
"id": "8fb494c0-b267-4aa3-9b76-8eca54792cdd",
|
|
"ref_id": "xccdf_org.ssgproject.content_profile_65bf5026ee1957c0efd6a501d333d22a",
|
|
"title": "Aliquam sint a sed.",
|
|
"description": "Vero explicabo alias. Excepturi sit vel. Totam consequatur eum.",
|
|
"value_overrides": {},
|
|
"type": "profile"
|
|
},
|
|
{
|
|
"id": "cfd3e743-0b7c-45bf-be10-ad42f2583162",
|
|
"ref_id": "xccdf_org.ssgproject.content_profile_4376ed20fb51d5db9e705468a352e94e",
|
|
"title": "Asperiores ut architecto et.",
|
|
"description": "Dolor a voluptatem. Vitae sint quas. Officiis omnis molestias.",
|
|
"value_overrides": {},
|
|
"type": "profile"
|
|
},
|
|
{
|
|
"id": "b72c12d4-4aa8-40c1-a232-8ae50ccb8fc2",
|
|
"ref_id": "xccdf_org.ssgproject.content_profile_780ce80d51b3351729628fdf725a99dc",
|
|
"title": "Deleniti harum nulla et.",
|
|
"description": "Accusantium quaerat repellendus. Reprehenderit neque ut. Saepe quidem illum.",
|
|
"value_overrides": {},
|
|
"type": "profile"
|
|
},
|
|
{
|
|
"id": "963dcc30-904e-4c24-89cc-782da0834522",
|
|
"ref_id": "xccdf_org.ssgproject.content_profile_88ea60aba26af76014da0e891918c409",
|
|
"title": "Ea expedita cumque error.",
|
|
"description": "Sed vel deserunt. Veniam vitae nulla. Nobis numquam facilis.",
|
|
"value_overrides": {},
|
|
"type": "profile"
|
|
},
|
|
{
|
|
"id": "2938938f-2a62-4025-98c2-530431c5e02c",
|
|
"ref_id": "xccdf_org.ssgproject.content_profile_6960c95dade97079e9a686019e71bf19",
|
|
"title": "Ea laboriosam dolor ratione.",
|
|
"description": "Non voluptates aliquam. Doloribus est ducimus. Iusto optio dolorem.",
|
|
"value_overrides": {},
|
|
"type": "profile"
|
|
},
|
|
{
|
|
"id": "5bc7df68-d6a0-4244-8609-7284b5cd24df",
|
|
"ref_id": "xccdf_org.ssgproject.content_profile_6dfb737131a5a396fcbcc8b81dc991a9",
|
|
"title": "Et adipisci expedita laudantium.",
|
|
"description": "Aliquam sint similique. Quaerat accusamus dolores. Soluta molestias nam.",
|
|
"value_overrides": {},
|
|
"type": "profile"
|
|
},
|
|
{
|
|
"id": "884eb839-195e-478c-bfde-32096b4edd79",
|
|
"ref_id": "xccdf_org.ssgproject.content_profile_4c57710280ea8dd3e09fb79efa8b3ad8",
|
|
"title": "Et consequatur temporibus beatae.",
|
|
"description": "Accusantium quidem voluptatem. Cumque dignissimos soluta. Et quo quae.",
|
|
"value_overrides": {},
|
|
"type": "profile"
|
|
},
|
|
{
|
|
"id": "570be343-6b63-4ed7-bfb9-2e2be85a1449",
|
|
"ref_id": "xccdf_org.ssgproject.content_profile_aff9368328fd06b04c9c2d6f9f76cc80",
|
|
"title": "Et officiis architecto nesciunt.",
|
|
"description": "Ea cupiditate voluptatem. Magnam aut et. Qui est voluptatibus.",
|
|
"value_overrides": {},
|
|
"type": "profile"
|
|
},
|
|
{
|
|
"id": "58bbb366-684d-4c8a-b580-469f185d12e3",
|
|
"ref_id": "xccdf_org.ssgproject.content_profile_9fab1772bffde158c17dd05fff39d63e",
|
|
"title": "Fugit accusantium cumque et.",
|
|
"description": "Saepe eveniet cumque. Dolorum quam qui. Magni quos sunt.",
|
|
"value_overrides": {},
|
|
"type": "profile"
|
|
},
|
|
{
|
|
"id": "0e27ed8e-0c1a-49b2-b48e-e122acf96695",
|
|
"ref_id": "xccdf_org.ssgproject.content_profile_c3b5d73f78935339df61ad920408e132",
|
|
"title": "Id ut ea similique.",
|
|
"description": "Quo amet libero. Sed aut sunt. Animi delectus et.",
|
|
"value_overrides": {},
|
|
"type": "profile"
|
|
}
|
|
],
|
|
"meta": {
|
|
"total": 25,
|
|
"limit": 10,
|
|
"offset": 0,
|
|
"sort_by": "title"
|
|
},
|
|
"links": {
|
|
"first": "/api/compliance/v2/security_guides/0634d3fc-8bc3-418e-b021-79bd5da9d5b7/profiles?limit=10&offset=0&sort_by=title",
|
|
"last": "/api/compliance/v2/security_guides/0634d3fc-8bc3-418e-b021-79bd5da9d5b7/profiles?limit=10&offset=20&sort_by=title",
|
|
"next": "/api/compliance/v2/security_guides/0634d3fc-8bc3-418e-b021-79bd5da9d5b7/profiles?limit=10&offset=10&sort_by=title"
|
|
}
|
|
},
|
|
"summary": "",
|
|
"description": ""
|
|
},
|
|
"List of Profiles filtered by '(title=Vero cumque eligendi ratione.)'": {
|
|
"value": {
|
|
"data": [
|
|
{
|
|
"id": "0141ca1b-a3b4-43b6-895c-8eb28b3fa761",
|
|
"ref_id": "xccdf_org.ssgproject.content_profile_91870f6d6fcdbb9fac1ddebb01a967fe",
|
|
"title": "Vero cumque eligendi ratione.",
|
|
"description": "Non repellendus unde. Error id ullam. Temporibus molestiae nostrum.",
|
|
"value_overrides": {},
|
|
"type": "profile"
|
|
}
|
|
],
|
|
"meta": {
|
|
"total": 1,
|
|
"filter": "(title=\"Vero cumque eligendi ratione.\")",
|
|
"limit": 10,
|
|
"offset": 0
|
|
},
|
|
"links": {
|
|
"first": "/api/compliance/v2/security_guides/482878c1-18ed-4a7b-b651-ed34aa19a288/profiles?filter=%28title%3D%22Vero+cumque+eligendi+ratione.%22%29&limit=10&offset=0",
|
|
"last": "/api/compliance/v2/security_guides/482878c1-18ed-4a7b-b651-ed34aa19a288/profiles?filter=%28title%3D%22Vero+cumque+eligendi+ratione.%22%29&limit=10&offset=0"
|
|
}
|
|
},
|
|
"summary": "",
|
|
"description": ""
|
|
}
|
|
},
|
|
"schema": {
|
|
"type": "object",
|
|
"properties": {
|
|
"meta": {
|
|
"$ref": "#/components/schemas/metadata"
|
|
},
|
|
"links": {
|
|
"$ref": "#/components/schemas/links"
|
|
},
|
|
"data": {
|
|
"type": "array",
|
|
"items": {
|
|
"properties": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/profile"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"422": {
|
|
"description": "Returns with Unprocessable Content",
|
|
"content": {
|
|
"application/vnd.api+json": {
|
|
"examples": {
|
|
"Description of an error when sorting by incorrect parameter": {
|
|
"value": {
|
|
"errors": [
|
|
"Result cannot be sorted by the 'description' column."
|
|
]
|
|
},
|
|
"summary": "",
|
|
"description": ""
|
|
},
|
|
"Description of an error when requesting higher limit than supported": {
|
|
"value": {
|
|
"errors": [
|
|
"Invalid parameter: limit must be less than or equal to 100"
|
|
]
|
|
},
|
|
"summary": "",
|
|
"description": ""
|
|
}
|
|
},
|
|
"schema": {
|
|
"$ref": "#/components/schemas/errors"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"/security_guides/{security_guide_id}/profiles/{profile_id}": {
|
|
"get": {
|
|
"summary": "Request a Profile",
|
|
"parameters": [
|
|
{
|
|
"name": "X-RH-IDENTITY",
|
|
"in": "header",
|
|
"schema": {
|
|
"type": "string"
|
|
},
|
|
"description": "For internal use only"
|
|
},
|
|
{
|
|
"name": "security_guide_id",
|
|
"in": "path",
|
|
"required": true,
|
|
"schema": {
|
|
"type": "string"
|
|
}
|
|
},
|
|
{
|
|
"name": "profile_id",
|
|
"in": "path",
|
|
"required": true,
|
|
"description": "UUID or a ref_id with '.' characters replaced with '-'",
|
|
"schema": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
],
|
|
"tags": [
|
|
"Content"
|
|
],
|
|
"description": "Returns a Profile",
|
|
"operationId": "Profile",
|
|
"responses": {
|
|
"200": {
|
|
"description": "Returns a Profile",
|
|
"content": {
|
|
"application/vnd.api+json": {
|
|
"examples": {
|
|
"Returns a Profile": {
|
|
"value": {
|
|
"data": {
|
|
"id": "622593dc-f0fe-49e2-9ab7-c37ba439d3dc",
|
|
"ref_id": "xccdf_org.ssgproject.content_profile_e596ca86f2154e45b7a8e67b9377d0f2",
|
|
"title": "Labore nemo id quia.",
|
|
"description": "Magni ea dolorum. Molestias molestiae et. Molestiae dolorem et.",
|
|
"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 16dfd57d-ea29-4179-af26-11cb11f22b37"
|
|
]
|
|
},
|
|
"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",
|
|
"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": "a297c048-63bd-4be2-8982-8db332c280c6",
|
|
"type": "rule_group",
|
|
"children": [
|
|
{
|
|
"id": "be70869f-fa5b-41eb-b487-408b00939fd8",
|
|
"type": "rule"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "e0108b9c-b857-47ee-87dc-000c6ac2425b",
|
|
"type": "rule_group",
|
|
"children": [
|
|
{
|
|
"id": "6571cc91-fff1-47d2-aa15-423768553d13",
|
|
"type": "rule"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "ff3358bb-3b27-4cb2-a568-4989a1db3e46",
|
|
"type": "rule_group",
|
|
"children": [
|
|
{
|
|
"id": "33e17a5c-0687-4a59-ae5b-8949cdf5b1bf",
|
|
"type": "rule"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "748008ed-2305-4e81-b91f-e218326b471c",
|
|
"type": "rule_group",
|
|
"children": [
|
|
{
|
|
"id": "52625d47-0a11-401b-8b53-57c7dd0194a1",
|
|
"type": "rule"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "ff16a44f-a333-4f6f-b7fa-5da03d57261f",
|
|
"type": "rule_group",
|
|
"children": [
|
|
{
|
|
"id": "5befc9bc-d362-420c-8355-508faf8a06ad",
|
|
"type": "rule"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "44cadde0-f1ae-4839-8699-643a36fc302b",
|
|
"type": "rule_group",
|
|
"children": [
|
|
{
|
|
"id": "7561f575-9ca3-4d76-ae1d-3a4793364382",
|
|
"type": "rule"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "689e6d7c-cdc8-4908-986a-15f25e6117a1",
|
|
"type": "rule_group",
|
|
"children": [
|
|
{
|
|
"id": "d9db3e2f-1bef-40af-910c-6f4b6ede384d",
|
|
"type": "rule"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "221b670f-a308-4a8a-829d-ff6eff1cf079",
|
|
"type": "rule_group",
|
|
"children": [
|
|
{
|
|
"id": "733623c7-4890-480e-a008-a0f8cb5d4419",
|
|
"type": "rule"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "bb300cef-eaa3-48a9-bfbe-f5972d27702f",
|
|
"type": "rule_group",
|
|
"children": [
|
|
{
|
|
"id": "99894611-30ee-465e-bfcb-7a28c4498075",
|
|
"type": "rule"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "6ff2eaa0-acbe-4e5d-b894-c6eba9c00998",
|
|
"type": "rule_group",
|
|
"children": [
|
|
{
|
|
"id": "aaa7b552-e0f1-466b-96c0-0019ce4ca062",
|
|
"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 89eac392-a34b-4ab3-8b2b-c7ed9d89377b"
|
|
]
|
|
},
|
|
"summary": "",
|
|
"description": ""
|
|
}
|
|
},
|
|
"schema": {
|
|
"$ref": "#/components/schemas/errors"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"/reports": {
|
|
"get": {
|
|
"summary": "Request Reports",
|
|
"parameters": [
|
|
{
|
|
"name": "X-RH-IDENTITY",
|
|
"in": "header",
|
|
"schema": {
|
|
"type": "string"
|
|
},
|
|
"description": "For internal use only"
|
|
},
|
|
{
|
|
"name": "limit",
|
|
"in": "query",
|
|
"required": false,
|
|
"description": "Number of items to return per page",
|
|
"schema": {
|
|
"type": "number",
|
|
"maximum": 100,
|
|
"minimum": 1,
|
|
"default": 10
|
|
}
|
|
},
|
|
{
|
|
"name": "offset",
|
|
"in": "query",
|
|
"required": false,
|
|
"description": "Offset of first item of paginated response",
|
|
"schema": {
|
|
"type": "integer",
|
|
"minimum": 0,
|
|
"default": 0
|
|
}
|
|
},
|
|
{
|
|
"name": "ids_only",
|
|
"in": "query",
|
|
"required": false,
|
|
"description": "Indicates whether to return only resource IDs.",
|
|
"schema": {
|
|
"type": "boolean"
|
|
}
|
|
},
|
|
{
|
|
"name": "sort_by",
|
|
"in": "query",
|
|
"required": false,
|
|
"description": "Attribute and direction to sort the items by. Represented by an array of fields with an optional direction (`<key>:asc` or `<key>:desc`).<br><br>If no direction is selected, `<key>:asc` is used by default.",
|
|
"schema": {
|
|
"type": "array",
|
|
"items": {
|
|
"enum": [
|
|
"title",
|
|
"os_major_version",
|
|
"business_objective",
|
|
"compliance_threshold",
|
|
"percent_compliant",
|
|
"title:asc",
|
|
"title:desc",
|
|
"os_major_version:asc",
|
|
"os_major_version:desc",
|
|
"business_objective:asc",
|
|
"business_objective:desc",
|
|
"compliance_threshold:asc",
|
|
"compliance_threshold:desc",
|
|
"percent_compliant:asc",
|
|
"percent_compliant:desc"
|
|
]
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"name": "filter",
|
|
"in": "query",
|
|
"required": false,
|
|
"description": "Query string to filter items by their attributes. Compliant with <a href=\"https://github.com/wvanbergen/scoped_search/wiki/Query-language\" target=\"_blank\" title=\"github.com/wvanbergen/scoped_search\">scoped_search query language</a>. However, only `=` or `!=` (resp. `<>`) operators are supported.<br><br>Reports are searchable using attributes `title`, `os_major_version`, and `with_reported_systems`<br><br>(e.g.: `(field_1=something AND field_2!=\"something else\") OR field_3>40`)",
|
|
"schema": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
],
|
|
"tags": [
|
|
"Reports"
|
|
],
|
|
"description": "Lists Reports",
|
|
"operationId": "Reports",
|
|
"responses": {
|
|
"200": {
|
|
"description": "Lists Reports",
|
|
"content": {
|
|
"application/vnd.api+json": {
|
|
"examples": {
|
|
"List of Reports": {
|
|
"value": {
|
|
"data": [
|
|
{
|
|
"id": "0b6786f7-f9fa-41d0-b209-5f8a8d990d61",
|
|
"title": "Omnis aut hic dolor.",
|
|
"description": "Autem ullam non. Fugiat quisquam aut. Voluptas dicta quam.",
|
|
"business_objective": "monitor",
|
|
"compliance_threshold": 90.0,
|
|
"type": "report",
|
|
"os_major_version": 8,
|
|
"profile_title": "Doloribus cupiditate sit accusantium.",
|
|
"ref_id": "xccdf_org.ssgproject.content_profile_f6ff7b8ba7d171e8ab5f2ce2f6f75417",
|
|
"all_systems_exposed": true,
|
|
"percent_compliant": 25,
|
|
"assigned_system_count": 4,
|
|
"compliant_system_count": 1,
|
|
"unsupported_system_count": 2,
|
|
"reported_system_count": 4
|
|
},
|
|
{
|
|
"id": "0f18985f-8ba2-4ff1-a894-5d30caf538b4",
|
|
"title": "Id ab inventore animi.",
|
|
"description": "Consequuntur et nisi. Nemo voluptatem aliquid. Ipsam minus magnam.",
|
|
"business_objective": "firewall",
|
|
"compliance_threshold": 90.0,
|
|
"type": "report",
|
|
"os_major_version": 8,
|
|
"profile_title": "Voluptatem vitae dolorem voluptatem.",
|
|
"ref_id": "xccdf_org.ssgproject.content_profile_6c125e027fa79f15cba2e1338200c9db",
|
|
"all_systems_exposed": true,
|
|
"percent_compliant": 25,
|
|
"assigned_system_count": 4,
|
|
"compliant_system_count": 1,
|
|
"unsupported_system_count": 2,
|
|
"reported_system_count": 4
|
|
},
|
|
{
|
|
"id": "49ecb427-e620-400f-9cf4-1cbddddfd9c2",
|
|
"title": "At facere voluptas qui.",
|
|
"description": "Fugit pariatur amet. Necessitatibus aut placeat. Corporis quos et.",
|
|
"business_objective": "transmitter",
|
|
"compliance_threshold": 90.0,
|
|
"type": "report",
|
|
"os_major_version": 8,
|
|
"profile_title": "Eligendi aut omnis dolore.",
|
|
"ref_id": "xccdf_org.ssgproject.content_profile_a566b3095ea769df72bcbd3b4eaaac9a",
|
|
"all_systems_exposed": true,
|
|
"percent_compliant": 25,
|
|
"assigned_system_count": 4,
|
|
"compliant_system_count": 1,
|
|
"unsupported_system_count": 2,
|
|
"reported_system_count": 4
|
|
},
|
|
{
|
|
"id": "87227dad-05bc-4ed1-9e82-8d1ad51cf3a8",
|
|
"title": "Pariatur et est nobis.",
|
|
"description": "Eos commodi est. Qui ad facere. Ipsum voluptatem consequatur.",
|
|
"business_objective": "bus",
|
|
"compliance_threshold": 90.0,
|
|
"type": "report",
|
|
"os_major_version": 8,
|
|
"profile_title": "Inventore quia vitae dolor.",
|
|
"ref_id": "xccdf_org.ssgproject.content_profile_f6c1b0b7671a2c7c3baf1cf346f42718",
|
|
"all_systems_exposed": true,
|
|
"percent_compliant": 25,
|
|
"assigned_system_count": 4,
|
|
"compliant_system_count": 1,
|
|
"unsupported_system_count": 2,
|
|
"reported_system_count": 4
|
|
},
|
|
{
|
|
"id": "c1bd902f-00da-429f-a850-ae6ff744143e",
|
|
"title": "Quam assumenda omnis facere.",
|
|
"description": "Cum qui ut. Enim ducimus ab. Pariatur illum odit.",
|
|
"business_objective": "interface",
|
|
"compliance_threshold": 90.0,
|
|
"type": "report",
|
|
"os_major_version": 8,
|
|
"profile_title": "Aperiam nobis impedit nesciunt.",
|
|
"ref_id": "xccdf_org.ssgproject.content_profile_053375af3dc000c1841c9ac342e24a9e",
|
|
"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": "0920dfe5-d997-46e0-bff8-fd99113386f9",
|
|
"title": "Libero quam iusto quia.",
|
|
"description": "Esse iure minus. Cupiditate quisquam quos. Excepturi doloribus facilis.",
|
|
"business_objective": "port",
|
|
"compliance_threshold": 90.0,
|
|
"type": "report",
|
|
"os_major_version": 8,
|
|
"profile_title": "Similique nulla labore temporibus.",
|
|
"ref_id": "xccdf_org.ssgproject.content_profile_1bc7e8dfaf1406b77782b063d8ef13aa",
|
|
"all_systems_exposed": true,
|
|
"percent_compliant": 25,
|
|
"assigned_system_count": 4,
|
|
"compliant_system_count": 1,
|
|
"unsupported_system_count": 2,
|
|
"reported_system_count": 4
|
|
},
|
|
{
|
|
"id": "769c3ddc-96ba-46f4-98f1-33ae445bc1de",
|
|
"title": "Mollitia ipsam ut ut.",
|
|
"description": "Odio est aut. Nam exercitationem minus. Quis fugit doloribus.",
|
|
"business_objective": "program",
|
|
"compliance_threshold": 90.0,
|
|
"type": "report",
|
|
"os_major_version": 8,
|
|
"profile_title": "Consequatur sit ipsam velit.",
|
|
"ref_id": "xccdf_org.ssgproject.content_profile_46f7e2cafe9697130cc17935008cee25",
|
|
"all_systems_exposed": true,
|
|
"percent_compliant": 25,
|
|
"assigned_system_count": 4,
|
|
"compliant_system_count": 1,
|
|
"unsupported_system_count": 2,
|
|
"reported_system_count": 4
|
|
},
|
|
{
|
|
"id": "ae3f7a4e-916f-4af9-9792-82539c33843e",
|
|
"title": "Autem perferendis beatae eius.",
|
|
"description": "Et consequatur dolores. Ut perspiciatis consequuntur. Id dolorem odit.",
|
|
"business_objective": "interface",
|
|
"compliance_threshold": 90.0,
|
|
"type": "report",
|
|
"os_major_version": 8,
|
|
"profile_title": "Dolorem eum nostrum perferendis.",
|
|
"ref_id": "xccdf_org.ssgproject.content_profile_7ab4e399f4d3ea36e63f043ea97241fb",
|
|
"all_systems_exposed": true,
|
|
"percent_compliant": 25,
|
|
"assigned_system_count": 4,
|
|
"compliant_system_count": 1,
|
|
"unsupported_system_count": 2,
|
|
"reported_system_count": 4
|
|
},
|
|
{
|
|
"id": "b61ae4e0-77fe-4d9a-a681-c5d52b863321",
|
|
"title": "Sed eaque saepe ea.",
|
|
"description": "Incidunt iure suscipit. Fugiat officiis et. Nihil dignissimos atque.",
|
|
"business_objective": "protocol",
|
|
"compliance_threshold": 90.0,
|
|
"type": "report",
|
|
"os_major_version": 8,
|
|
"profile_title": "Sint quia error qui.",
|
|
"ref_id": "xccdf_org.ssgproject.content_profile_18d6298dc255946ecca256ec7a256215",
|
|
"all_systems_exposed": true,
|
|
"percent_compliant": 25,
|
|
"assigned_system_count": 4,
|
|
"compliant_system_count": 1,
|
|
"unsupported_system_count": 2,
|
|
"reported_system_count": 4
|
|
},
|
|
{
|
|
"id": "f485b2b7-9ed8-45d9-9ced-b93c7b1ee47c",
|
|
"title": "Maiores iste quam labore.",
|
|
"description": "Possimus in minima. Quia ex inventore. Facilis illo eveniet.",
|
|
"business_objective": "pixel",
|
|
"compliance_threshold": 90.0,
|
|
"type": "report",
|
|
"os_major_version": 8,
|
|
"profile_title": "Necessitatibus et architecto eveniet.",
|
|
"ref_id": "xccdf_org.ssgproject.content_profile_531dd59873ba1f9469ccd35890b51c58",
|
|
"all_systems_exposed": true,
|
|
"percent_compliant": 25,
|
|
"assigned_system_count": 4,
|
|
"compliant_system_count": 1,
|
|
"unsupported_system_count": 2,
|
|
"reported_system_count": 4
|
|
}
|
|
],
|
|
"meta": {
|
|
"total": 5,
|
|
"limit": 10,
|
|
"offset": 0,
|
|
"sort_by": "os_major_version"
|
|
},
|
|
"links": {
|
|
"first": "/api/compliance/v2/reports?limit=10&offset=0&sort_by=os_major_version",
|
|
"last": "/api/compliance/v2/reports?limit=10&offset=0&sort_by=os_major_version"
|
|
}
|
|
},
|
|
"summary": "",
|
|
"description": ""
|
|
}
|
|
},
|
|
"schema": {
|
|
"type": "object",
|
|
"properties": {
|
|
"meta": {
|
|
"$ref": "#/components/schemas/metadata"
|
|
},
|
|
"links": {
|
|
"$ref": "#/components/schemas/links"
|
|
},
|
|
"data": {
|
|
"type": "array",
|
|
"items": {
|
|
"properties": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/report"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"422": {
|
|
"description": "Returns with Unprocessable Content",
|
|
"content": {
|
|
"application/vnd.api+json": {
|
|
"examples": {
|
|
"Description of an error when sorting by incorrect parameter": {
|
|
"value": {
|
|
"errors": [
|
|
"Result cannot be sorted by the 'description' column."
|
|
]
|
|
},
|
|
"summary": "",
|
|
"description": ""
|
|
},
|
|
"Description of an error when requesting higher limit than supported": {
|
|
"value": {
|
|
"errors": [
|
|
"Invalid parameter: limit must be less than or equal to 100"
|
|
]
|
|
},
|
|
"summary": "",
|
|
"description": ""
|
|
}
|
|
},
|
|
"schema": {
|
|
"$ref": "#/components/schemas/errors"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"/reports/os_versions": {
|
|
"get": {
|
|
"summary": "Request the list of available OS versions",
|
|
"parameters": [
|
|
{
|
|
"name": "X-RH-IDENTITY",
|
|
"in": "header",
|
|
"schema": {
|
|
"type": "string"
|
|
},
|
|
"description": "For internal use only"
|
|
},
|
|
{
|
|
"name": "filter",
|
|
"in": "query",
|
|
"required": false,
|
|
"description": "Query string to filter items by their attributes. Compliant with <a href=\"https://github.com/wvanbergen/scoped_search/wiki/Query-language\" target=\"_blank\" title=\"github.com/wvanbergen/scoped_search\">scoped_search query language</a>. However, only `=` or `!=` (resp. `<>`) operators are supported.<br><br>Reports are searchable using attributes `title`, `os_major_version`, and `with_reported_systems`<br><br>(e.g.: `(field_1=something AND field_2!=\"something else\") OR field_3>40`)",
|
|
"schema": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
],
|
|
"tags": [
|
|
"Reports"
|
|
],
|
|
"description": "This feature is exclusively used by the frontend",
|
|
"operationId": "ReportsOS",
|
|
"deprecated": true,
|
|
"responses": {
|
|
"200": {
|
|
"description": "Lists available OS versions",
|
|
"content": {
|
|
"application/vnd.api+json": {
|
|
"examples": {
|
|
"List of available OS versions": {
|
|
"value": [],
|
|
"summary": "",
|
|
"description": ""
|
|
}
|
|
},
|
|
"schema": {
|
|
"type": "array",
|
|
"items": {
|
|
"type": "integer"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"/reports/{report_id}": {
|
|
"get": {
|
|
"summary": "Request a Report",
|
|
"parameters": [
|
|
{
|
|
"name": "X-RH-IDENTITY",
|
|
"in": "header",
|
|
"schema": {
|
|
"type": "string"
|
|
},
|
|
"description": "For internal use only"
|
|
},
|
|
{
|
|
"name": "report_id",
|
|
"in": "path",
|
|
"required": true,
|
|
"schema": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
],
|
|
"tags": [
|
|
"Reports"
|
|
],
|
|
"description": "Returns a Report",
|
|
"operationId": "Report",
|
|
"responses": {
|
|
"200": {
|
|
"description": "Returns a Report",
|
|
"content": {
|
|
"application/vnd.api+json": {
|
|
"examples": {
|
|
"Returns a Report": {
|
|
"value": {
|
|
"data": {
|
|
"id": "3f40c35d-1f83-4e82-a15c-8913226fca60",
|
|
"title": "Et deserunt vero consequatur.",
|
|
"description": "Veritatis voluptas occaecati. Rerum modi sit. Dolores nemo hic.",
|
|
"business_objective": "microchip",
|
|
"compliance_threshold": 90.0,
|
|
"type": "report",
|
|
"os_major_version": 9,
|
|
"profile_title": "Est expedita corrupti consequatur.",
|
|
"ref_id": "xccdf_org.ssgproject.content_profile_14aa8b2d8bb0be00f634ce895ce3fefa",
|
|
"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 b38d72a0-3f41-408e-813b-add4b6848d58"
|
|
]
|
|
},
|
|
"summary": "",
|
|
"description": ""
|
|
}
|
|
},
|
|
"schema": {
|
|
"$ref": "#/components/schemas/errors"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"delete": {
|
|
"summary": "Delete a Report results",
|
|
"parameters": [
|
|
{
|
|
"name": "X-RH-IDENTITY",
|
|
"in": "header",
|
|
"schema": {
|
|
"type": "string"
|
|
},
|
|
"description": "For internal use only"
|
|
},
|
|
{
|
|
"name": "report_id",
|
|
"in": "path",
|
|
"required": true,
|
|
"schema": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
],
|
|
"tags": [
|
|
"Reports"
|
|
],
|
|
"description": "Deletes Report's test results",
|
|
"operationId": "DeleteReport",
|
|
"responses": {
|
|
"202": {
|
|
"description": "Deletes Report's test results",
|
|
"content": {
|
|
"application/vnd.api+json": {
|
|
"examples": {
|
|
"Deletes Report's test results": {
|
|
"value": {
|
|
"data": {
|
|
"id": "ceb86361-cdee-46fa-b8c6-818907c4912d",
|
|
"title": "Ea corporis magni qui.",
|
|
"description": "Modi ipsum itaque. Sit fuga alias. Veniam eligendi non.",
|
|
"business_objective": "transmitter",
|
|
"compliance_threshold": 90.0,
|
|
"type": "report",
|
|
"os_major_version": 9,
|
|
"profile_title": "Qui quis animi ad.",
|
|
"ref_id": "xccdf_org.ssgproject.content_profile_747910bf9c7c2cf7131fa41d4ca790ba",
|
|
"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 31044f4f-341f-4eef-9651-49300822cd6a"
|
|
]
|
|
},
|
|
"summary": "",
|
|
"description": ""
|
|
}
|
|
},
|
|
"schema": {
|
|
"$ref": "#/components/schemas/errors"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"/systems/{system_id}/reports": {
|
|
"get": {
|
|
"summary": "Request Reports",
|
|
"parameters": [
|
|
{
|
|
"name": "X-RH-IDENTITY",
|
|
"in": "header",
|
|
"schema": {
|
|
"type": "string"
|
|
},
|
|
"description": "For internal use only"
|
|
},
|
|
{
|
|
"name": "limit",
|
|
"in": "query",
|
|
"required": false,
|
|
"description": "Number of items to return per page",
|
|
"schema": {
|
|
"type": "number",
|
|
"maximum": 100,
|
|
"minimum": 1,
|
|
"default": 10
|
|
}
|
|
},
|
|
{
|
|
"name": "offset",
|
|
"in": "query",
|
|
"required": false,
|
|
"description": "Offset of first item of paginated response",
|
|
"schema": {
|
|
"type": "integer",
|
|
"minimum": 0,
|
|
"default": 0
|
|
}
|
|
},
|
|
{
|
|
"name": "ids_only",
|
|
"in": "query",
|
|
"required": false,
|
|
"description": "Indicates whether to return only resource IDs.",
|
|
"schema": {
|
|
"type": "boolean"
|
|
}
|
|
},
|
|
{
|
|
"name": "sort_by",
|
|
"in": "query",
|
|
"required": false,
|
|
"description": "Attribute and direction to sort the items by. Represented by an array of fields with an optional direction (`<key>:asc` or `<key>:desc`).<br><br>If no direction is selected, `<key>:asc` is used by default.",
|
|
"schema": {
|
|
"type": "array",
|
|
"items": {
|
|
"enum": [
|
|
"title",
|
|
"business_objective",
|
|
"compliance_threshold",
|
|
"percent_compliant",
|
|
"title:asc",
|
|
"title:desc",
|
|
"business_objective:asc",
|
|
"business_objective:desc",
|
|
"compliance_threshold:asc",
|
|
"compliance_threshold:desc",
|
|
"percent_compliant:asc",
|
|
"percent_compliant:desc"
|
|
]
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"name": "filter",
|
|
"in": "query",
|
|
"required": false,
|
|
"description": "Query string to filter items by their attributes. Compliant with <a href=\"https://github.com/wvanbergen/scoped_search/wiki/Query-language\" target=\"_blank\" title=\"github.com/wvanbergen/scoped_search\">scoped_search query language</a>. However, only `=` or `!=` (resp. `<>`) operators are supported.<br><br>Reports are searchable using attributes `title`<br><br>(e.g.: `(field_1=something AND field_2!=\"something else\") OR field_3>40`)",
|
|
"schema": {
|
|
"type": "string"
|
|
}
|
|
},
|
|
{
|
|
"name": "system_id",
|
|
"in": "path",
|
|
"required": true,
|
|
"schema": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
],
|
|
"tags": [
|
|
"Reports"
|
|
],
|
|
"description": "Lists Reports",
|
|
"operationId": "SystemReports",
|
|
"responses": {
|
|
"200": {
|
|
"description": "Lists Reports",
|
|
"content": {
|
|
"application/vnd.api+json": {
|
|
"examples": {
|
|
"List of Reports": {
|
|
"value": {
|
|
"data": [
|
|
{
|
|
"id": "04e4968c-2245-4040-b1ad-d288854f567b",
|
|
"title": "Porro et autem eveniet.",
|
|
"description": "Voluptatem saepe iusto. Quibusdam laudantium voluptatem. Minus eveniet perspiciatis.",
|
|
"business_objective": "transmitter",
|
|
"compliance_threshold": 90.0,
|
|
"type": "report",
|
|
"os_major_version": 8,
|
|
"profile_title": "Reprehenderit tempore rerum quo.",
|
|
"ref_id": "xccdf_org.ssgproject.content_profile_62a55036282a0742150be92c60bedd1f",
|
|
"all_systems_exposed": false,
|
|
"percent_compliant": 0,
|
|
"compliant_system_count": 0,
|
|
"unsupported_system_count": 0,
|
|
"reported_system_count": 0
|
|
},
|
|
{
|
|
"id": "3b83214f-6f71-4e2d-a09a-f1dd1e436988",
|
|
"title": "Quidem aut officiis enim.",
|
|
"description": "Atque non minima. Ipsam optio in. Alias corrupti ut.",
|
|
"business_objective": "hard drive",
|
|
"compliance_threshold": 90.0,
|
|
"type": "report",
|
|
"os_major_version": 8,
|
|
"profile_title": "Qui maiores autem qui.",
|
|
"ref_id": "xccdf_org.ssgproject.content_profile_384aac94800f94cf817044651a1b2f49",
|
|
"all_systems_exposed": false,
|
|
"percent_compliant": 0,
|
|
"compliant_system_count": 0,
|
|
"unsupported_system_count": 0,
|
|
"reported_system_count": 0
|
|
},
|
|
{
|
|
"id": "43d1db4e-8c67-48ba-b508-dd7b9720e5f2",
|
|
"title": "Recusandae fugit dolorem laudantium.",
|
|
"description": "Delectus debitis dolores. Maiores deserunt id. Quidem nihil repellendus.",
|
|
"business_objective": "panel",
|
|
"compliance_threshold": 90.0,
|
|
"type": "report",
|
|
"os_major_version": 8,
|
|
"profile_title": "Rerum quam dignissimos necessitatibus.",
|
|
"ref_id": "xccdf_org.ssgproject.content_profile_a647b5e97aef38f2f32d2ac85a11e3d5",
|
|
"all_systems_exposed": false,
|
|
"percent_compliant": 0,
|
|
"compliant_system_count": 0,
|
|
"unsupported_system_count": 0,
|
|
"reported_system_count": 0
|
|
},
|
|
{
|
|
"id": "9982d038-327d-4496-a343-ab6d5a05ddef",
|
|
"title": "Voluptates nemo unde quos.",
|
|
"description": "Et minima est. Dolorum dicta et. Consequatur at ipsam.",
|
|
"business_objective": "bandwidth",
|
|
"compliance_threshold": 90.0,
|
|
"type": "report",
|
|
"os_major_version": 8,
|
|
"profile_title": "Et aspernatur animi temporibus.",
|
|
"ref_id": "xccdf_org.ssgproject.content_profile_dbce912eb1e46671a149fd005f636c27",
|
|
"all_systems_exposed": false,
|
|
"percent_compliant": 0,
|
|
"compliant_system_count": 0,
|
|
"unsupported_system_count": 0,
|
|
"reported_system_count": 0
|
|
},
|
|
{
|
|
"id": "fc4c5fb8-d938-4676-8b03-78d27dd6820e",
|
|
"title": "Sed quia autem voluptatibus.",
|
|
"description": "Provident quod nulla. Et officiis debitis. Voluptates incidunt saepe.",
|
|
"business_objective": "panel",
|
|
"compliance_threshold": 90.0,
|
|
"type": "report",
|
|
"os_major_version": 8,
|
|
"profile_title": "Quo et et consectetur.",
|
|
"ref_id": "xccdf_org.ssgproject.content_profile_aa6306f2a91a37baed46490fc24b7063",
|
|
"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/f08ec395-8465-47a1-a627-a819628b4550/reports?limit=10&offset=0",
|
|
"last": "/api/compliance/v2/systems/f08ec395-8465-47a1-a627-a819628b4550/reports?limit=10&offset=0"
|
|
}
|
|
},
|
|
"summary": "",
|
|
"description": ""
|
|
},
|
|
"List of Reports sorted by \"title:asc\"": {
|
|
"value": {
|
|
"data": [
|
|
{
|
|
"id": "1e5b70c4-c66f-44a8-afd2-8d51ff5516ae",
|
|
"title": "Architecto distinctio earum officia.",
|
|
"description": "Tenetur harum ullam. Reprehenderit totam fugiat. Porro molestiae maiores.",
|
|
"business_objective": "bus",
|
|
"compliance_threshold": 90.0,
|
|
"type": "report",
|
|
"os_major_version": 8,
|
|
"profile_title": "Consectetur quae molestiae odit.",
|
|
"ref_id": "xccdf_org.ssgproject.content_profile_03422f531f39f01ba8b7e6f3ccf2c4e4",
|
|
"all_systems_exposed": false,
|
|
"percent_compliant": 0,
|
|
"compliant_system_count": 0,
|
|
"unsupported_system_count": 0,
|
|
"reported_system_count": 0
|
|
},
|
|
{
|
|
"id": "93bcd623-3b03-419c-83bc-6dcc3ccae34a",
|
|
"title": "Dolorem fuga sed a.",
|
|
"description": "Maiores eius accusantium. Totam cum exercitationem. Et cupiditate reprehenderit.",
|
|
"business_objective": "card",
|
|
"compliance_threshold": 90.0,
|
|
"type": "report",
|
|
"os_major_version": 8,
|
|
"profile_title": "Reprehenderit natus molestias qui.",
|
|
"ref_id": "xccdf_org.ssgproject.content_profile_2ed78185a8ca526610ecae8d08d0e2cd",
|
|
"all_systems_exposed": false,
|
|
"percent_compliant": 0,
|
|
"compliant_system_count": 0,
|
|
"unsupported_system_count": 0,
|
|
"reported_system_count": 0
|
|
},
|
|
{
|
|
"id": "9d0c52be-b006-4939-a332-043a781809f2",
|
|
"title": "In itaque consequatur dolorum.",
|
|
"description": "Qui provident voluptatem. Commodi velit occaecati. Maiores eveniet possimus.",
|
|
"business_objective": "interface",
|
|
"compliance_threshold": 90.0,
|
|
"type": "report",
|
|
"os_major_version": 8,
|
|
"profile_title": "Saepe commodi omnis ea.",
|
|
"ref_id": "xccdf_org.ssgproject.content_profile_b5111cab5ca330f7d23819da45037f45",
|
|
"all_systems_exposed": false,
|
|
"percent_compliant": 0,
|
|
"compliant_system_count": 0,
|
|
"unsupported_system_count": 0,
|
|
"reported_system_count": 0
|
|
},
|
|
{
|
|
"id": "173500d3-d5f4-4942-b05b-83cc41a87181",
|
|
"title": "Ipsum excepturi ipsam blanditiis.",
|
|
"description": "Qui eum explicabo. Eos autem voluptas. In reiciendis voluptatem.",
|
|
"business_objective": "alarm",
|
|
"compliance_threshold": 90.0,
|
|
"type": "report",
|
|
"os_major_version": 8,
|
|
"profile_title": "Voluptatibus nam explicabo id.",
|
|
"ref_id": "xccdf_org.ssgproject.content_profile_9ee2ea8899881b7e8fa350b003a0dc45",
|
|
"all_systems_exposed": false,
|
|
"percent_compliant": 0,
|
|
"compliant_system_count": 0,
|
|
"unsupported_system_count": 0,
|
|
"reported_system_count": 0
|
|
},
|
|
{
|
|
"id": "b3571f0d-dda8-4dd8-ace2-6494144f4ee3",
|
|
"title": "Velit qui sit quas.",
|
|
"description": "Voluptate possimus occaecati. Voluptatem quibusdam dolorum. Eaque voluptate asperiores.",
|
|
"business_objective": "program",
|
|
"compliance_threshold": 90.0,
|
|
"type": "report",
|
|
"os_major_version": 8,
|
|
"profile_title": "Esse pariatur id quo.",
|
|
"ref_id": "xccdf_org.ssgproject.content_profile_d9da8eed3edae7d8b4cea3aadef7393b",
|
|
"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/af147912-aefd-40ae-b0fe-d11e7a0c69c7/reports?limit=10&offset=0&sort_by=title",
|
|
"last": "/api/compliance/v2/systems/af147912-aefd-40ae-b0fe-d11e7a0c69c7/reports?limit=10&offset=0&sort_by=title"
|
|
}
|
|
},
|
|
"summary": "",
|
|
"description": ""
|
|
}
|
|
},
|
|
"schema": {
|
|
"type": "object",
|
|
"properties": {
|
|
"meta": {
|
|
"$ref": "#/components/schemas/metadata"
|
|
},
|
|
"links": {
|
|
"$ref": "#/components/schemas/links"
|
|
},
|
|
"data": {
|
|
"type": "array",
|
|
"items": {
|
|
"properties": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/report"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"422": {
|
|
"description": "Returns with Unprocessable Content",
|
|
"content": {
|
|
"application/vnd.api+json": {
|
|
"examples": {
|
|
"Description of an error when sorting by incorrect parameter": {
|
|
"value": {
|
|
"errors": [
|
|
"Result cannot be sorted by the 'description' column."
|
|
]
|
|
},
|
|
"summary": "",
|
|
"description": ""
|
|
},
|
|
"Description of an error when requesting higher limit than supported": {
|
|
"value": {
|
|
"errors": [
|
|
"Invalid parameter: limit must be less than or equal to 100"
|
|
]
|
|
},
|
|
"summary": "",
|
|
"description": ""
|
|
}
|
|
},
|
|
"schema": {
|
|
"$ref": "#/components/schemas/errors"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"/security_guides/{security_guide_id}/rule_groups": {
|
|
"get": {
|
|
"summary": "Request Rule Groups",
|
|
"parameters": [
|
|
{
|
|
"name": "X-RH-IDENTITY",
|
|
"in": "header",
|
|
"schema": {
|
|
"type": "string"
|
|
},
|
|
"description": "For internal use only"
|
|
},
|
|
{
|
|
"name": "limit",
|
|
"in": "query",
|
|
"required": false,
|
|
"description": "Number of items to return per page",
|
|
"schema": {
|
|
"type": "number",
|
|
"maximum": 100,
|
|
"minimum": 1,
|
|
"default": 10
|
|
}
|
|
},
|
|
{
|
|
"name": "offset",
|
|
"in": "query",
|
|
"required": false,
|
|
"description": "Offset of first item of paginated response",
|
|
"schema": {
|
|
"type": "integer",
|
|
"minimum": 0,
|
|
"default": 0
|
|
}
|
|
},
|
|
{
|
|
"name": "ids_only",
|
|
"in": "query",
|
|
"required": false,
|
|
"description": "Indicates whether to return only resource IDs.",
|
|
"schema": {
|
|
"type": "boolean"
|
|
}
|
|
},
|
|
{
|
|
"name": "sort_by",
|
|
"in": "query",
|
|
"required": false,
|
|
"description": "Attribute and direction to sort the items by. Represented by an array of fields with an optional direction (`<key>:asc` or `<key>:desc`).<br><br>If no direction is selected, `<key>:asc` is used by default.",
|
|
"schema": {
|
|
"type": "array",
|
|
"items": {
|
|
"enum": [
|
|
"precedence",
|
|
"precedence:asc",
|
|
"precedence:desc"
|
|
]
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"name": "filter",
|
|
"in": "query",
|
|
"required": false,
|
|
"description": "Query string to filter items by their attributes. Compliant with <a href=\"https://github.com/wvanbergen/scoped_search/wiki/Query-language\" target=\"_blank\" title=\"github.com/wvanbergen/scoped_search\">scoped_search query language</a>. However, only `=` or `!=` (resp. `<>`) operators are supported.<br><br>Rule Groups are searchable using attributes `title` and `ref_id`<br><br>(e.g.: `(field_1=something AND field_2!=\"something else\") OR field_3>40`)",
|
|
"schema": {
|
|
"type": "string"
|
|
}
|
|
},
|
|
{
|
|
"name": "security_guide_id",
|
|
"in": "path",
|
|
"required": true,
|
|
"schema": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
],
|
|
"tags": [
|
|
"Content"
|
|
],
|
|
"description": "Lists Rule Groups",
|
|
"operationId": "Rule Groups",
|
|
"responses": {
|
|
"200": {
|
|
"description": "Lists Rule Groups",
|
|
"content": {
|
|
"application/vnd.api+json": {
|
|
"examples": {
|
|
"List of Rule Groups": {
|
|
"value": {
|
|
"data": [
|
|
{
|
|
"id": "2d9e3d6c-2107-44d4-82b6-84deefea4757",
|
|
"ref_id": "xccdf_org.ssgproject.content_rule_group_1b747c285d4e43141cb48207e101f120",
|
|
"title": "Harum nihil alias omnis.",
|
|
"rationale": "Cupiditate quia sint. Sunt sit quis. Recusandae repellendus odio.",
|
|
"description": "Laudantium tenetur at. Nostrum et corrupti. Ut et modi.",
|
|
"precedence": null,
|
|
"type": "rule_group"
|
|
},
|
|
{
|
|
"id": "30a73853-1780-4197-852a-3fda4e7944fb",
|
|
"ref_id": "xccdf_org.ssgproject.content_rule_group_78c5a6d77f6dc6f7276d3b6fb60ba6ea",
|
|
"title": "Doloremque explicabo quisquam illum.",
|
|
"rationale": "Eius architecto dolores. Hic ut ipsa. Explicabo blanditiis ea.",
|
|
"description": "Non magnam voluptatibus. Architecto tempore officia. Molestiae ducimus itaque.",
|
|
"precedence": null,
|
|
"type": "rule_group"
|
|
},
|
|
{
|
|
"id": "342c0e58-5531-4a8a-bc9f-5f50fdfa957a",
|
|
"ref_id": "xccdf_org.ssgproject.content_rule_group_c008f34a7fae22d04f13008a9a7e0ce7",
|
|
"title": "Totam et possimus nihil.",
|
|
"rationale": "Autem voluptates explicabo. Nihil distinctio asperiores. Maxime quasi sequi.",
|
|
"description": "Iure maxime accusamus. Culpa labore ut. Aliquam culpa dolor.",
|
|
"precedence": null,
|
|
"type": "rule_group"
|
|
},
|
|
{
|
|
"id": "44196656-1d8d-49e0-940e-884633ae09d2",
|
|
"ref_id": "xccdf_org.ssgproject.content_rule_group_7c9fde08c0ab198e87edc0c25c46877b",
|
|
"title": "Quam expedita nihil aut.",
|
|
"rationale": "Aperiam excepturi dolores. Id voluptate libero. Ut aut totam.",
|
|
"description": "Doloribus et voluptas. Vero totam voluptatem. Quo magni dolores.",
|
|
"precedence": null,
|
|
"type": "rule_group"
|
|
},
|
|
{
|
|
"id": "459a41e9-9fcf-4d5f-ae80-946377ae8e94",
|
|
"ref_id": "xccdf_org.ssgproject.content_rule_group_74063a28b2bf3c8e3c87f17003e5a475",
|
|
"title": "Commodi velit adipisci quae.",
|
|
"rationale": "Quo est odit. Eius cupiditate et. Blanditiis porro dolor.",
|
|
"description": "Reiciendis est sed. Qui possimus ratione. Sit enim possimus.",
|
|
"precedence": null,
|
|
"type": "rule_group"
|
|
},
|
|
{
|
|
"id": "4dc14aff-8ac2-4a1e-ab70-baa765179ef8",
|
|
"ref_id": "xccdf_org.ssgproject.content_rule_group_9d6d794d8ccfcc6e2cbe82cfa15fa477",
|
|
"title": "Accusantium illo dolorum et.",
|
|
"rationale": "Quod quia natus. Corrupti consequatur aut. Impedit incidunt corrupti.",
|
|
"description": "Nesciunt aut possimus. Omnis ab fugit. Quod veritatis velit.",
|
|
"precedence": null,
|
|
"type": "rule_group"
|
|
},
|
|
{
|
|
"id": "544a3aba-0dcb-47fb-90d3-9a7011c28a2b",
|
|
"ref_id": "xccdf_org.ssgproject.content_rule_group_b49437d55fcc594e4440c93b056b22ec",
|
|
"title": "Odit autem dolorem sed.",
|
|
"rationale": "Ipsa magni culpa. Non doloribus dolorem. Deserunt est officia.",
|
|
"description": "Saepe sint consectetur. Voluptate unde a. Perferendis sit deserunt.",
|
|
"precedence": null,
|
|
"type": "rule_group"
|
|
},
|
|
{
|
|
"id": "583132cc-a0e5-42a3-8718-9d61288f0edb",
|
|
"ref_id": "xccdf_org.ssgproject.content_rule_group_ef6fe893ae52b5ad79587cabf006f429",
|
|
"title": "Ut voluptates laborum libero.",
|
|
"rationale": "Maxime animi aut. Consequatur nemo recusandae. Itaque necessitatibus voluptas.",
|
|
"description": "Est labore et. Quo nisi et. Omnis reiciendis velit.",
|
|
"precedence": null,
|
|
"type": "rule_group"
|
|
},
|
|
{
|
|
"id": "6a7d9268-76b1-4994-8f62-38c28348295e",
|
|
"ref_id": "xccdf_org.ssgproject.content_rule_group_1f6102bb7c08fdab0456852907cfe08f",
|
|
"title": "Nostrum id sed nemo.",
|
|
"rationale": "Temporibus nobis tempora. Consequatur nesciunt cum. Aliquam sequi expedita.",
|
|
"description": "Minima explicabo necessitatibus. Placeat saepe ut. Cumque nisi ipsa.",
|
|
"precedence": null,
|
|
"type": "rule_group"
|
|
},
|
|
{
|
|
"id": "7af86a74-a57d-4bc6-b553-c9ee632c4146",
|
|
"ref_id": "xccdf_org.ssgproject.content_rule_group_88ccdb371a423c31e05e40f84637502c",
|
|
"title": "Provident facere laboriosam deleniti.",
|
|
"rationale": "Ab quam architecto. Mollitia et ullam. Et in porro.",
|
|
"description": "Id sed autem. Aliquid numquam est. Cumque repellendus officia.",
|
|
"precedence": null,
|
|
"type": "rule_group"
|
|
}
|
|
],
|
|
"meta": {
|
|
"total": 25,
|
|
"limit": 10,
|
|
"offset": 0
|
|
},
|
|
"links": {
|
|
"first": "/api/compliance/v2/security_guides/4e95d419-f56c-4c03-839c-b132fa7eb06e/rule_groups?limit=10&offset=0",
|
|
"last": "/api/compliance/v2/security_guides/4e95d419-f56c-4c03-839c-b132fa7eb06e/rule_groups?limit=10&offset=20",
|
|
"next": "/api/compliance/v2/security_guides/4e95d419-f56c-4c03-839c-b132fa7eb06e/rule_groups?limit=10&offset=10"
|
|
}
|
|
},
|
|
"summary": "",
|
|
"description": ""
|
|
},
|
|
"List of Rule Groups sorted by \"precedence:asc\"": {
|
|
"value": {
|
|
"data": [
|
|
{
|
|
"id": "002cd558-8aae-4941-a79d-d83c7a93fd8a",
|
|
"ref_id": "xccdf_org.ssgproject.content_rule_group_4741caf1f356529b0e84f6276a5841ff",
|
|
"title": "Est voluptas recusandae ut.",
|
|
"rationale": "Dolorum a non. Molestiae animi distinctio. Ut quo laborum.",
|
|
"description": "Impedit ipsa fuga. Aut dolores quos. Commodi tempora nemo.",
|
|
"precedence": null,
|
|
"type": "rule_group"
|
|
},
|
|
{
|
|
"id": "00ec6770-ea4d-4a2f-97c9-2056a0a29d77",
|
|
"ref_id": "xccdf_org.ssgproject.content_rule_group_35dd0b2ee45d195717310a6be5b3a1f4",
|
|
"title": "Ratione dolore repellendus magnam.",
|
|
"rationale": "Accusamus vel totam. Reprehenderit cumque quibusdam. Enim unde porro.",
|
|
"description": "Ut odit ut. Ut ut odit. Est reprehenderit voluptates.",
|
|
"precedence": null,
|
|
"type": "rule_group"
|
|
},
|
|
{
|
|
"id": "0c2ea29e-7837-4901-9c01-e298f6e5ceef",
|
|
"ref_id": "xccdf_org.ssgproject.content_rule_group_06f59486c194776b838eb4e4d87d5dc6",
|
|
"title": "Rerum qui nam voluptatem.",
|
|
"rationale": "Est repudiandae placeat. Dignissimos non et. Deleniti officia et.",
|
|
"description": "Aut et possimus. Nemo animi dolores. Placeat ullam dolores.",
|
|
"precedence": null,
|
|
"type": "rule_group"
|
|
},
|
|
{
|
|
"id": "100cc17d-5862-4650-adc5-84967c5bc79e",
|
|
"ref_id": "xccdf_org.ssgproject.content_rule_group_e6af5af9c62ab84c75d5375e8da79b13",
|
|
"title": "Sapiente a repellendus quos.",
|
|
"rationale": "Nam sequi quia. Consequatur provident recusandae. Fuga rerum accusamus.",
|
|
"description": "Expedita explicabo fugiat. Neque omnis molestiae. Est quod eius.",
|
|
"precedence": null,
|
|
"type": "rule_group"
|
|
},
|
|
{
|
|
"id": "23e1ede2-4ba7-405d-9ed6-e8354213e81f",
|
|
"ref_id": "xccdf_org.ssgproject.content_rule_group_ddc097f941a6741f4928b2d646ae1979",
|
|
"title": "Minima fugit qui eum.",
|
|
"rationale": "Deleniti earum est. Consectetur tempore neque. Dicta est repudiandae.",
|
|
"description": "Alias veniam id. Similique vero in. Animi ut sunt.",
|
|
"precedence": null,
|
|
"type": "rule_group"
|
|
},
|
|
{
|
|
"id": "2aacc92f-d083-4829-9ddd-40fa82fbd145",
|
|
"ref_id": "xccdf_org.ssgproject.content_rule_group_5c1dc20b4f7002e09001f278f41a2cad",
|
|
"title": "Nobis omnis quia velit.",
|
|
"rationale": "Molestiae placeat autem. Amet veritatis suscipit. A corporis facilis.",
|
|
"description": "Nobis non laboriosam. Perferendis consequatur vel. Sapiente et placeat.",
|
|
"precedence": null,
|
|
"type": "rule_group"
|
|
},
|
|
{
|
|
"id": "3d78f61a-0aaf-4a6b-b478-14a27700add6",
|
|
"ref_id": "xccdf_org.ssgproject.content_rule_group_7d10fd6b38163d4b3434ef5a88f79a86",
|
|
"title": "Voluptate rem voluptatum maiores.",
|
|
"rationale": "Atque alias sit. Autem quaerat quia. Et eveniet fugit.",
|
|
"description": "Perferendis quia impedit. Labore ut voluptatibus. Qui eos in.",
|
|
"precedence": null,
|
|
"type": "rule_group"
|
|
},
|
|
{
|
|
"id": "440eb351-20fc-43f5-a382-2a2eb6d72847",
|
|
"ref_id": "xccdf_org.ssgproject.content_rule_group_3749c3ef646f0396ffa6ce92be3dfbf8",
|
|
"title": "Voluptatem quos magni rerum.",
|
|
"rationale": "Ut eius atque. Velit est saepe. Unde quisquam maxime.",
|
|
"description": "Delectus voluptatibus doloribus. Dignissimos perferendis nesciunt. Facilis quo et.",
|
|
"precedence": null,
|
|
"type": "rule_group"
|
|
},
|
|
{
|
|
"id": "473156e0-425a-4f79-ae2f-2e20768a2fbc",
|
|
"ref_id": "xccdf_org.ssgproject.content_rule_group_67a485f7f54be48c43c0582d1788cb86",
|
|
"title": "Non qui quasi id.",
|
|
"rationale": "Velit necessitatibus voluptates. Earum omnis velit. Animi error expedita.",
|
|
"description": "Fugiat quam et. Quia id et. Et et non.",
|
|
"precedence": null,
|
|
"type": "rule_group"
|
|
},
|
|
{
|
|
"id": "4836a868-4556-4af7-b7b2-3be71f27b0ee",
|
|
"ref_id": "xccdf_org.ssgproject.content_rule_group_48bc488156c9aa5d85e15c29211eb298",
|
|
"title": "Inventore laboriosam voluptas facilis.",
|
|
"rationale": "Sed omnis voluptatem. Tenetur sed eligendi. Ratione ut in.",
|
|
"description": "Eveniet odio nobis. Qui ducimus in. Nemo distinctio voluptas.",
|
|
"precedence": null,
|
|
"type": "rule_group"
|
|
}
|
|
],
|
|
"meta": {
|
|
"total": 25,
|
|
"limit": 10,
|
|
"offset": 0,
|
|
"sort_by": "precedence"
|
|
},
|
|
"links": {
|
|
"first": "/api/compliance/v2/security_guides/7c4dcb76-05ca-4c43-8940-65a95094129d/rule_groups?limit=10&offset=0&sort_by=precedence",
|
|
"last": "/api/compliance/v2/security_guides/7c4dcb76-05ca-4c43-8940-65a95094129d/rule_groups?limit=10&offset=20&sort_by=precedence",
|
|
"next": "/api/compliance/v2/security_guides/7c4dcb76-05ca-4c43-8940-65a95094129d/rule_groups?limit=10&offset=10&sort_by=precedence"
|
|
}
|
|
},
|
|
"summary": "",
|
|
"description": ""
|
|
}
|
|
},
|
|
"schema": {
|
|
"type": "object",
|
|
"properties": {
|
|
"meta": {
|
|
"$ref": "#/components/schemas/metadata"
|
|
},
|
|
"links": {
|
|
"$ref": "#/components/schemas/links"
|
|
},
|
|
"data": {
|
|
"type": "array",
|
|
"items": {
|
|
"properties": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/rule_group"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"422": {
|
|
"description": "Returns with Unprocessable Content",
|
|
"content": {
|
|
"application/vnd.api+json": {
|
|
"examples": {
|
|
"Description of an error when sorting by incorrect parameter": {
|
|
"value": {
|
|
"errors": [
|
|
"Result cannot be sorted by the 'description' column."
|
|
]
|
|
},
|
|
"summary": "",
|
|
"description": ""
|
|
},
|
|
"Description of an error when requesting higher limit than supported": {
|
|
"value": {
|
|
"errors": [
|
|
"Invalid parameter: limit must be less than or equal to 100"
|
|
]
|
|
},
|
|
"summary": "",
|
|
"description": ""
|
|
}
|
|
},
|
|
"schema": {
|
|
"$ref": "#/components/schemas/errors"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"/security_guides/{security_guide_id}/rule_groups/{rule_group_id}": {
|
|
"get": {
|
|
"summary": "Request a Rule Group",
|
|
"parameters": [
|
|
{
|
|
"name": "X-RH-IDENTITY",
|
|
"in": "header",
|
|
"schema": {
|
|
"type": "string"
|
|
},
|
|
"description": "For internal use only"
|
|
},
|
|
{
|
|
"name": "security_guide_id",
|
|
"in": "path",
|
|
"required": true,
|
|
"schema": {
|
|
"type": "string"
|
|
}
|
|
},
|
|
{
|
|
"name": "rule_group_id",
|
|
"in": "path",
|
|
"required": true,
|
|
"schema": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
],
|
|
"tags": [
|
|
"Content"
|
|
],
|
|
"description": "Returns a Rule Group",
|
|
"operationId": "RuleGroup",
|
|
"responses": {
|
|
"200": {
|
|
"description": "Returns a Rule Group",
|
|
"content": {
|
|
"application/vnd.api+json": {
|
|
"examples": {
|
|
"Returns a Rule Group": {
|
|
"value": {
|
|
"data": {
|
|
"id": "597f382f-8d03-4c0e-9844-9d9e56161b4c",
|
|
"ref_id": "xccdf_org.ssgproject.content_rule_group_264ff5f43fbf262c330bf7b3aa66161b",
|
|
"title": "Incidunt et voluptatem unde.",
|
|
"rationale": "Est nisi laborum. Amet molestiae eius. Excepturi neque laboriosam.",
|
|
"description": "Enim quidem sed. Cum quam molestiae. Totam quia voluptas.",
|
|
"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 ccc5c397-a1a9-4345-9a3d-32ea3ba117fd"
|
|
]
|
|
},
|
|
"summary": "",
|
|
"description": ""
|
|
}
|
|
},
|
|
"schema": {
|
|
"$ref": "#/components/schemas/errors"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"/reports/{report_id}/test_results/{test_result_id}/rule_results": {
|
|
"get": {
|
|
"summary": "Request Rule Results under a Report",
|
|
"parameters": [
|
|
{
|
|
"name": "X-RH-IDENTITY",
|
|
"in": "header",
|
|
"schema": {
|
|
"type": "string"
|
|
},
|
|
"description": "For internal use only"
|
|
},
|
|
{
|
|
"name": "limit",
|
|
"in": "query",
|
|
"required": false,
|
|
"description": "Number of items to return per page",
|
|
"schema": {
|
|
"type": "number",
|
|
"maximum": 100,
|
|
"minimum": 1,
|
|
"default": 10
|
|
}
|
|
},
|
|
{
|
|
"name": "offset",
|
|
"in": "query",
|
|
"required": false,
|
|
"description": "Offset of first item of paginated response",
|
|
"schema": {
|
|
"type": "integer",
|
|
"minimum": 0,
|
|
"default": 0
|
|
}
|
|
},
|
|
{
|
|
"name": "ids_only",
|
|
"in": "query",
|
|
"required": false,
|
|
"description": "Indicates whether to return only resource IDs.",
|
|
"schema": {
|
|
"type": "boolean"
|
|
}
|
|
},
|
|
{
|
|
"name": "sort_by",
|
|
"in": "query",
|
|
"required": false,
|
|
"description": "Attribute and direction to sort the items by. Represented by an array of fields with an optional direction (`<key>:asc` or `<key>:desc`).<br><br>If no direction is selected, `<key>:asc` is used by default.",
|
|
"schema": {
|
|
"type": "array",
|
|
"items": {
|
|
"enum": [
|
|
"result",
|
|
"severity",
|
|
"title",
|
|
"precedence",
|
|
"remediation_available",
|
|
"result:asc",
|
|
"result:desc",
|
|
"severity:asc",
|
|
"severity:desc",
|
|
"title:asc",
|
|
"title:desc",
|
|
"precedence:asc",
|
|
"precedence:desc",
|
|
"remediation_available:asc",
|
|
"remediation_available:desc"
|
|
]
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"name": "filter",
|
|
"in": "query",
|
|
"required": false,
|
|
"description": "Query string to filter items by their attributes. Compliant with <a href=\"https://github.com/wvanbergen/scoped_search/wiki/Query-language\" target=\"_blank\" title=\"github.com/wvanbergen/scoped_search\">scoped_search query language</a>. However, only `=` or `!=` (resp. `<>`) operators are supported.<br><br>Rule Results are searchable using attributes `result`, `title`, `severity`, and `remediation_available`<br><br>(e.g.: `(field_1=something AND field_2!=\"something else\") OR field_3>40`)",
|
|
"schema": {
|
|
"type": "string"
|
|
}
|
|
},
|
|
{
|
|
"name": "test_result_id",
|
|
"in": "path",
|
|
"required": true,
|
|
"schema": {
|
|
"type": "string"
|
|
}
|
|
},
|
|
{
|
|
"name": "report_id",
|
|
"in": "path",
|
|
"required": true,
|
|
"schema": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
],
|
|
"tags": [
|
|
"Reports"
|
|
],
|
|
"description": "Lists Rule Results under a Report",
|
|
"operationId": "ReportRuleResults",
|
|
"responses": {
|
|
"200": {
|
|
"description": "Lists Rule Results under a Report",
|
|
"content": {
|
|
"application/vnd.api+json": {
|
|
"examples": {
|
|
"List of Rule Results": {
|
|
"value": {
|
|
"data": [],
|
|
"meta": {
|
|
"total": 0,
|
|
"limit": 10,
|
|
"offset": 0
|
|
},
|
|
"links": {
|
|
"first": "/api/compliance/v2/reports/722af579-6946-4c64-a050-90d8208b3a2c/test_results/8ac4a7ff-e76d-4c9c-96c2-2dab605d4388/rule_results?limit=10&offset=0",
|
|
"last": "/api/compliance/v2/reports/722af579-6946-4c64-a050-90d8208b3a2c/test_results/8ac4a7ff-e76d-4c9c-96c2-2dab605d4388/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/f9703590-48d0-451b-a1e5-1a273412dd19/test_results/6c6e3147-0ba4-4337-b683-3af8a51f1132/rule_results?limit=10&offset=0&sort_by=result",
|
|
"last": "/api/compliance/v2/reports/f9703590-48d0-451b-a1e5-1a273412dd19/test_results/6c6e3147-0ba4-4337-b683-3af8a51f1132/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/c2d61eb7-cc94-4c36-8f79-db4b624e8c63/test_results/eeeb474f-a36c-4a37-98f9-5ef24e6f11be/rule_results?filter=%28title%3Dfoo%29&limit=10&offset=0",
|
|
"last": "/api/compliance/v2/reports/c2d61eb7-cc94-4c36-8f79-db4b624e8c63/test_results/eeeb474f-a36c-4a37-98f9-5ef24e6f11be/rule_results?filter=%28title%3Dfoo%29&limit=10&offset=0"
|
|
}
|
|
},
|
|
"summary": "",
|
|
"description": ""
|
|
}
|
|
},
|
|
"schema": {
|
|
"type": "object",
|
|
"properties": {
|
|
"meta": {
|
|
"$ref": "#/components/schemas/metadata"
|
|
},
|
|
"links": {
|
|
"$ref": "#/components/schemas/links"
|
|
},
|
|
"data": {
|
|
"type": "array",
|
|
"items": {
|
|
"properties": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/rule_result"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"422": {
|
|
"description": "Returns with Unprocessable Content",
|
|
"content": {
|
|
"application/vnd.api+json": {
|
|
"examples": {
|
|
"Description of an error when sorting by incorrect parameter": {
|
|
"value": {
|
|
"errors": [
|
|
"Result cannot be sorted by the 'description' column."
|
|
]
|
|
},
|
|
"summary": "",
|
|
"description": ""
|
|
},
|
|
"Description of an error when requesting higher limit than supported": {
|
|
"value": {
|
|
"errors": [
|
|
"Invalid parameter: limit must be less than or equal to 100"
|
|
]
|
|
},
|
|
"summary": "",
|
|
"description": ""
|
|
}
|
|
},
|
|
"schema": {
|
|
"$ref": "#/components/schemas/errors"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"/security_guides/{security_guide_id}/rules": {
|
|
"get": {
|
|
"summary": "Request Rules",
|
|
"parameters": [
|
|
{
|
|
"name": "X-RH-IDENTITY",
|
|
"in": "header",
|
|
"schema": {
|
|
"type": "string"
|
|
},
|
|
"description": "For internal use only"
|
|
},
|
|
{
|
|
"name": "limit",
|
|
"in": "query",
|
|
"required": false,
|
|
"description": "Number of items to return per page",
|
|
"schema": {
|
|
"type": "number",
|
|
"maximum": 100,
|
|
"minimum": 1,
|
|
"default": 10
|
|
}
|
|
},
|
|
{
|
|
"name": "offset",
|
|
"in": "query",
|
|
"required": false,
|
|
"description": "Offset of first item of paginated response",
|
|
"schema": {
|
|
"type": "integer",
|
|
"minimum": 0,
|
|
"default": 0
|
|
}
|
|
},
|
|
{
|
|
"name": "ids_only",
|
|
"in": "query",
|
|
"required": false,
|
|
"description": "Indicates whether to return only resource IDs.",
|
|
"schema": {
|
|
"type": "boolean"
|
|
}
|
|
},
|
|
{
|
|
"name": "sort_by",
|
|
"in": "query",
|
|
"required": false,
|
|
"description": "Attribute and direction to sort the items by. Represented by an array of fields with an optional direction (`<key>:asc` or `<key>:desc`).<br><br>If no direction is selected, `<key>:asc` is used by default.",
|
|
"schema": {
|
|
"type": "array",
|
|
"items": {
|
|
"enum": [
|
|
"title",
|
|
"severity",
|
|
"precedence",
|
|
"remediation_available",
|
|
"title:asc",
|
|
"title:desc",
|
|
"severity:asc",
|
|
"severity:desc",
|
|
"precedence:asc",
|
|
"precedence:desc",
|
|
"remediation_available:asc",
|
|
"remediation_available:desc"
|
|
]
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"name": "filter",
|
|
"in": "query",
|
|
"required": false,
|
|
"description": "Query string to filter items by their attributes. Compliant with <a href=\"https://github.com/wvanbergen/scoped_search/wiki/Query-language\" target=\"_blank\" title=\"github.com/wvanbergen/scoped_search\">scoped_search query language</a>. However, only `=` or `!=` (resp. `<>`) operators are supported.<br><br>Rules are searchable using attributes `title`, `severity`, `remediation_available`, and `rule_group_id`<br><br>(e.g.: `(field_1=something AND field_2!=\"something else\") OR field_3>40`)",
|
|
"schema": {
|
|
"type": "string"
|
|
}
|
|
},
|
|
{
|
|
"name": "security_guide_id",
|
|
"in": "path",
|
|
"required": true,
|
|
"schema": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
],
|
|
"tags": [
|
|
"Content"
|
|
],
|
|
"description": "Lists Rules assigned",
|
|
"operationId": "Rules",
|
|
"responses": {
|
|
"200": {
|
|
"description": "Lists Rules",
|
|
"content": {
|
|
"application/vnd.api+json": {
|
|
"examples": {
|
|
"List of Rules": {
|
|
"value": {
|
|
"data": [
|
|
{
|
|
"id": "0d54570a-57d5-4d22-8833-21f4b3dc94e3",
|
|
"ref_id": "xccdf_org.ssgproject.content_rule_ccace10777e642c7184c435ccae2e4df",
|
|
"title": "Hic quasi molestiae eaque.",
|
|
"rationale": "Nam ipsam voluptatem. Possimus alias aliquam. Provident autem amet.",
|
|
"description": "Unde culpa velit. Voluptate modi quis. Dolor libero molestiae.",
|
|
"severity": "low",
|
|
"precedence": 7121,
|
|
"identifier": {
|
|
"href": "http://jenkins-walsh.example/william.greenfelder",
|
|
"label": "Glaurung"
|
|
},
|
|
"references": [
|
|
{
|
|
"href": "http://lebsack.example/carlos_bosco",
|
|
"label": "Meriadoc Brandybuck"
|
|
},
|
|
{
|
|
"href": "http://mohr.test/anette.johnson",
|
|
"label": "Saradoc Brandybuck"
|
|
},
|
|
{
|
|
"href": "http://ritchie-dickens.test/enrique",
|
|
"label": "Wilcome"
|
|
},
|
|
{
|
|
"href": "http://kuhlman-fisher.test/duane_ratke",
|
|
"label": "Boar of Everholt"
|
|
},
|
|
{
|
|
"href": "http://hilpert.test/shalonda",
|
|
"label": "Tarondor"
|
|
}
|
|
],
|
|
"value_checks": null,
|
|
"remediation_available": false,
|
|
"type": "rule"
|
|
},
|
|
{
|
|
"id": "1d6a745c-a69e-48e9-aede-750304651685",
|
|
"ref_id": "xccdf_org.ssgproject.content_rule_eb915a7f2da42b1f945097d43b9332a8",
|
|
"title": "Nemo corrupti repudiandae est.",
|
|
"rationale": "Quia et beatae. Fuga eum hic. Porro temporibus ut.",
|
|
"description": "Inventore quia animi. Eum maxime ipsam. Rerum possimus eum.",
|
|
"severity": "high",
|
|
"precedence": 4210,
|
|
"identifier": {
|
|
"href": "http://rath-langworth.test/herlinda",
|
|
"label": "Angrim"
|
|
},
|
|
"references": [
|
|
{
|
|
"href": "http://kling-wilkinson.example/bo_kuphal",
|
|
"label": "Thorondir"
|
|
},
|
|
{
|
|
"href": "http://oconnell.test/kit",
|
|
"label": "Othrondir"
|
|
},
|
|
{
|
|
"href": "http://stroman.test/milton",
|
|
"label": "Cora Goodbody"
|
|
},
|
|
{
|
|
"href": "http://abshire.example/edward",
|
|
"label": "Tanta Hornblower"
|
|
},
|
|
{
|
|
"href": "http://padberg-wiza.test/nia_hermiston",
|
|
"label": "Druda Burrows"
|
|
}
|
|
],
|
|
"value_checks": null,
|
|
"remediation_available": false,
|
|
"type": "rule"
|
|
},
|
|
{
|
|
"id": "24771606-b33f-455b-a847-eb05365ac122",
|
|
"ref_id": "xccdf_org.ssgproject.content_rule_d5ac3d7ec7b540344bd909ce29c4a42f",
|
|
"title": "Omnis exercitationem vero consequatur.",
|
|
"rationale": "Repudiandae aliquid quasi. Fuga maiores voluptatibus. Et ut hic.",
|
|
"description": "Incidunt ut consequuntur. Eligendi et sit. Sit ea ut.",
|
|
"severity": "high",
|
|
"precedence": 6654,
|
|
"identifier": {
|
|
"href": "http://hauck.test/dawn.lang",
|
|
"label": "Bodo Proudfoot"
|
|
},
|
|
"references": [
|
|
{
|
|
"href": "http://mccullough-kemmer.example/darren.auer",
|
|
"label": "Daisy Baggins"
|
|
},
|
|
{
|
|
"href": "http://kiehn.test/kiyoko",
|
|
"label": "Fíli"
|
|
},
|
|
{
|
|
"href": "http://beer-wisoky.example/andrea.friesen",
|
|
"label": "Basso Boffin"
|
|
},
|
|
{
|
|
"href": "http://reilly-farrell.example/marg",
|
|
"label": "Snaga"
|
|
},
|
|
{
|
|
"href": "http://hahn-jacobi.example/toni",
|
|
"label": "Mardil"
|
|
}
|
|
],
|
|
"value_checks": null,
|
|
"remediation_available": false,
|
|
"type": "rule"
|
|
},
|
|
{
|
|
"id": "32b02844-d5d8-4846-bae9-4504dd4744cb",
|
|
"ref_id": "xccdf_org.ssgproject.content_rule_531ba05ad89fa85647bbcc7c8fb66408",
|
|
"title": "Sit saepe voluptatem odio.",
|
|
"rationale": "Nostrum nihil rem. Debitis aut ea. Eos natus eum.",
|
|
"description": "Amet aliquam dolor. Sit quas id. Eveniet quia consequatur.",
|
|
"severity": "medium",
|
|
"precedence": 7671,
|
|
"identifier": {
|
|
"href": "http://sipes-kuhlman.example/don",
|
|
"label": "Isengar Took"
|
|
},
|
|
"references": [
|
|
{
|
|
"href": "http://greenfelder.example/shu",
|
|
"label": "Lily Brown"
|
|
},
|
|
{
|
|
"href": "http://bradtke.example/demetrius",
|
|
"label": "Gruffo Boffin"
|
|
},
|
|
{
|
|
"href": "http://vonrueden.test/bo_rodriguez",
|
|
"label": "Thorondor"
|
|
},
|
|
{
|
|
"href": "http://nienow.test/elina.nikolaus",
|
|
"label": "Amlach"
|
|
},
|
|
{
|
|
"href": "http://becker.test/pat.macgyver",
|
|
"label": "Angbor"
|
|
}
|
|
],
|
|
"value_checks": null,
|
|
"remediation_available": false,
|
|
"type": "rule"
|
|
},
|
|
{
|
|
"id": "377c40e3-b695-4a5c-b430-1d40b5bb0406",
|
|
"ref_id": "xccdf_org.ssgproject.content_rule_defed89b00525da391b9fefd32c51e41",
|
|
"title": "Optio facilis consequatur et.",
|
|
"rationale": "Sed est error. Et aut temporibus. Qui harum aut.",
|
|
"description": "Quia dolorum quo. Dolor unde accusantium. Quia et repellendus.",
|
|
"severity": "low",
|
|
"precedence": 1071,
|
|
"identifier": {
|
|
"href": "http://morar-flatley.example/fidel_mayert",
|
|
"label": "Isengar Took"
|
|
},
|
|
"references": [
|
|
{
|
|
"href": "http://west-friesen.test/earl",
|
|
"label": "Quickbeam"
|
|
},
|
|
{
|
|
"href": "http://renner-marks.example/roslyn.sauer",
|
|
"label": "Dernhelm"
|
|
},
|
|
{
|
|
"href": "http://hilll-cummings.test/darla",
|
|
"label": "Gléowine"
|
|
},
|
|
{
|
|
"href": "http://towne.example/malcom_hodkiewicz",
|
|
"label": "Tarondor"
|
|
},
|
|
{
|
|
"href": "http://white.test/mack_nikolaus",
|
|
"label": "Amaranth Brandybuck"
|
|
}
|
|
],
|
|
"value_checks": null,
|
|
"remediation_available": false,
|
|
"type": "rule"
|
|
},
|
|
{
|
|
"id": "4f9acac3-b591-426d-a87d-e877e9d6b1fd",
|
|
"ref_id": "xccdf_org.ssgproject.content_rule_6d13c1516e4c85aec61f33f667c0e557",
|
|
"title": "Ipsa qui recusandae odit.",
|
|
"rationale": "Pariatur cumque quam. Quis sit doloribus. Cumque aperiam illum.",
|
|
"description": "Doloremque voluptatibus amet. Vitae itaque a. Tempore molestiae dolore.",
|
|
"severity": "high",
|
|
"precedence": 1924,
|
|
"identifier": {
|
|
"href": "http://kertzmann.example/kirstie",
|
|
"label": "Baran"
|
|
},
|
|
"references": [
|
|
{
|
|
"href": "http://schmeler-swaniawski.test/asa",
|
|
"label": "Ghân-buri-Ghân"
|
|
},
|
|
{
|
|
"href": "http://wuckert.test/eboni",
|
|
"label": "Orgulas Brandybuck"
|
|
},
|
|
{
|
|
"href": "http://runolfsson.example/edward",
|
|
"label": "Faniel"
|
|
},
|
|
{
|
|
"href": "http://abernathy.test/nieves_schamberger",
|
|
"label": "Agathor"
|
|
},
|
|
{
|
|
"href": "http://hoppe.example/sheena",
|
|
"label": "Eofor"
|
|
}
|
|
],
|
|
"value_checks": null,
|
|
"remediation_available": false,
|
|
"type": "rule"
|
|
},
|
|
{
|
|
"id": "5482658c-b69a-4786-9994-98c6279e28b7",
|
|
"ref_id": "xccdf_org.ssgproject.content_rule_35f210f4a33b6110702c327fa7944889",
|
|
"title": "Quae fuga rerum ut.",
|
|
"rationale": "Vitae nemo harum. Corrupti aut ut. Cum eum similique.",
|
|
"description": "Sit aliquid vitae. Voluptatem tempora dicta. Error rerum blanditiis.",
|
|
"severity": "high",
|
|
"precedence": 7291,
|
|
"identifier": {
|
|
"href": "http://braun.test/jamaal",
|
|
"label": "Irolas"
|
|
},
|
|
"references": [
|
|
{
|
|
"href": "http://nolan.example/dannette",
|
|
"label": "Eöl"
|
|
},
|
|
{
|
|
"href": "http://prosacco.test/elias_green",
|
|
"label": "Galadriel"
|
|
},
|
|
{
|
|
"href": "http://kunde-schaden.test/porfirio",
|
|
"label": "Bilbo Baggins"
|
|
},
|
|
{
|
|
"href": "http://stracke.test/george",
|
|
"label": "Grithnir"
|
|
},
|
|
{
|
|
"href": "http://kovacek-turcotte.example/adele",
|
|
"label": "Marach"
|
|
}
|
|
],
|
|
"value_checks": null,
|
|
"remediation_available": false,
|
|
"type": "rule"
|
|
},
|
|
{
|
|
"id": "55648fa9-1c6d-4557-832c-fc0612f05012",
|
|
"ref_id": "xccdf_org.ssgproject.content_rule_06d34f2facbcb612d0e83e7f2007a40f",
|
|
"title": "Aut accusantium nobis qui.",
|
|
"rationale": "Eveniet non ut. Enim voluptates et. Rerum aperiam velit.",
|
|
"description": "Provident ut omnis. Ut ratione voluptas. Qui voluptatem aut.",
|
|
"severity": "low",
|
|
"precedence": 6838,
|
|
"identifier": {
|
|
"href": "http://beahan-langworth.example/kristopher_von",
|
|
"label": "Curufin"
|
|
},
|
|
"references": [
|
|
{
|
|
"href": "http://goodwin.test/lore",
|
|
"label": "Lobelia Sackville-Baggins"
|
|
},
|
|
{
|
|
"href": "http://buckridge.example/shirely.moore",
|
|
"label": "Ailinel"
|
|
},
|
|
{
|
|
"href": "http://powlowski-bernier.example/del",
|
|
"label": "Éomer"
|
|
},
|
|
{
|
|
"href": "http://botsford.example/leena",
|
|
"label": "Glóin"
|
|
},
|
|
{
|
|
"href": "http://nolan.example/michale",
|
|
"label": "Tar-Minastir"
|
|
}
|
|
],
|
|
"value_checks": null,
|
|
"remediation_available": false,
|
|
"type": "rule"
|
|
},
|
|
{
|
|
"id": "80fa3069-5583-44d4-82f0-0682aa864f7b",
|
|
"ref_id": "xccdf_org.ssgproject.content_rule_e88d2f1d1a619ab4def3c16399843886",
|
|
"title": "Sit est eum et.",
|
|
"rationale": "Cum rerum velit. Omnis aut quasi. Recusandae iure ut.",
|
|
"description": "Vitae a libero. Vel eligendi cum. Soluta exercitationem voluptas.",
|
|
"severity": "medium",
|
|
"precedence": 4839,
|
|
"identifier": {
|
|
"href": "http://bergstrom.test/zora.schiller",
|
|
"label": "Ornendil"
|
|
},
|
|
"references": [
|
|
{
|
|
"href": "http://ledner.test/emerson",
|
|
"label": "Fastred of Greenholm"
|
|
},
|
|
{
|
|
"href": "http://bosco-bartell.example/loyd.jast",
|
|
"label": "Tar-Ciryatan"
|
|
},
|
|
{
|
|
"href": "http://bednar.example/jocelyn.yundt",
|
|
"label": "Gilraen"
|
|
},
|
|
{
|
|
"href": "http://bailey.test/danyelle",
|
|
"label": "Hallatan"
|
|
},
|
|
{
|
|
"href": "http://rice-schinner.example/gerry",
|
|
"label": "Grimbold"
|
|
}
|
|
],
|
|
"value_checks": null,
|
|
"remediation_available": false,
|
|
"type": "rule"
|
|
},
|
|
{
|
|
"id": "8a48a849-2765-469e-a0d0-2a8941e4cb96",
|
|
"ref_id": "xccdf_org.ssgproject.content_rule_345f78d5f197f99a579258b9c6e3328a",
|
|
"title": "Doloribus architecto velit aut.",
|
|
"rationale": "Est officia dicta. Accusantium autem et. Voluptate qui est.",
|
|
"description": "Autem magni dolores. Dolor at deleniti. Nam quia ex.",
|
|
"severity": "low",
|
|
"precedence": 4379,
|
|
"identifier": {
|
|
"href": "http://ebert.example/harland.labadie",
|
|
"label": "Fastred"
|
|
},
|
|
"references": [
|
|
{
|
|
"href": "http://muller.example/claud",
|
|
"label": "Elros"
|
|
},
|
|
{
|
|
"href": "http://connelly.example/kasey.ward",
|
|
"label": "Arassuil"
|
|
},
|
|
{
|
|
"href": "http://ward-osinski.example/leesa",
|
|
"label": "Tar-Atanamir"
|
|
},
|
|
{
|
|
"href": "http://halvorson.example/chad",
|
|
"label": "Will Whitfoot"
|
|
},
|
|
{
|
|
"href": "http://orn.example/darrin",
|
|
"label": "Gruffo Boffin"
|
|
}
|
|
],
|
|
"value_checks": null,
|
|
"remediation_available": false,
|
|
"type": "rule"
|
|
}
|
|
],
|
|
"meta": {
|
|
"total": 25,
|
|
"limit": 10,
|
|
"offset": 0
|
|
},
|
|
"links": {
|
|
"first": "/api/compliance/v2/security_guides/e0bfd8d6-213d-4003-a7fa-8629a5a198b9/rules?limit=10&offset=0",
|
|
"last": "/api/compliance/v2/security_guides/e0bfd8d6-213d-4003-a7fa-8629a5a198b9/rules?limit=10&offset=20",
|
|
"next": "/api/compliance/v2/security_guides/e0bfd8d6-213d-4003-a7fa-8629a5a198b9/rules?limit=10&offset=10"
|
|
}
|
|
},
|
|
"summary": "",
|
|
"description": ""
|
|
},
|
|
"List of Rules sorted by \"precedence:asc\"": {
|
|
"value": {
|
|
"data": [
|
|
{
|
|
"id": "3ed22291-0265-4c44-bb27-1d6d07ae97af",
|
|
"ref_id": "xccdf_org.ssgproject.content_rule_3cc792d871cd71aedad798c4f5e5859f",
|
|
"title": "Laborum nostrum repellat molestias.",
|
|
"rationale": "Sit reprehenderit quibusdam. Et harum doloremque. Cumque quia sed.",
|
|
"description": "Ut beatae quis. Est reprehenderit qui. Neque eos maiores.",
|
|
"severity": "high",
|
|
"precedence": 547,
|
|
"identifier": {
|
|
"href": "http://kihn.example/casey",
|
|
"label": "Gilbarad"
|
|
},
|
|
"references": [
|
|
{
|
|
"href": "http://waters-hoppe.example/latarsha_gleichner",
|
|
"label": "Gilwen"
|
|
},
|
|
{
|
|
"href": "http://fadel.test/neva",
|
|
"label": "Angbor"
|
|
},
|
|
{
|
|
"href": "http://ward.test/douglass.okuneva",
|
|
"label": "Lily Baggins"
|
|
},
|
|
{
|
|
"href": "http://murphy.example/manuel",
|
|
"label": "Amlaith"
|
|
},
|
|
{
|
|
"href": "http://lubowitz.example/klara",
|
|
"label": "Halfred Gamgee"
|
|
}
|
|
],
|
|
"value_checks": null,
|
|
"remediation_available": false,
|
|
"type": "rule"
|
|
},
|
|
{
|
|
"id": "c167fc2c-d07a-469c-8fac-b93083171d28",
|
|
"ref_id": "xccdf_org.ssgproject.content_rule_773bc4b33caaa2303221f4d55cd331a8",
|
|
"title": "Consectetur enim eum quia.",
|
|
"rationale": "Totam quod molestias. Quam voluptate est. Atque quod ab.",
|
|
"description": "Molestiae officiis in. Non in quod. Odit repudiandae qui.",
|
|
"severity": "medium",
|
|
"precedence": 579,
|
|
"identifier": {
|
|
"href": "http://reichel-lemke.example/kaila.schiller",
|
|
"label": "Túrin"
|
|
},
|
|
"references": [
|
|
{
|
|
"href": "http://miller.test/jaime.hodkiewicz",
|
|
"label": "Bregolas"
|
|
},
|
|
{
|
|
"href": "http://heaney.example/cary.koepp",
|
|
"label": "Borondir"
|
|
},
|
|
{
|
|
"href": "http://davis.example/elmer",
|
|
"label": "Mithrellas"
|
|
},
|
|
{
|
|
"href": "http://weissnat-leffler.test/aldo",
|
|
"label": "Finrod"
|
|
},
|
|
{
|
|
"href": "http://tromp.example/karly",
|
|
"label": "Rían"
|
|
}
|
|
],
|
|
"value_checks": null,
|
|
"remediation_available": false,
|
|
"type": "rule"
|
|
},
|
|
{
|
|
"id": "63a5d56c-bf12-409a-a27f-44f2d5950bac",
|
|
"ref_id": "xccdf_org.ssgproject.content_rule_6960c83f900b66fdc91858816e505fb6",
|
|
"title": "Suscipit enim non ipsam.",
|
|
"rationale": "Dolore maxime sunt. Voluptatibus delectus quis. Et eius libero.",
|
|
"description": "Ex beatae culpa. Earum quas error. Porro quia alias.",
|
|
"severity": "high",
|
|
"precedence": 1665,
|
|
"identifier": {
|
|
"href": "http://mertz.test/matthew",
|
|
"label": "Beorn"
|
|
},
|
|
"references": [
|
|
{
|
|
"href": "http://batz-oberbrunner.test/roland.kovacek",
|
|
"label": "Lóni"
|
|
},
|
|
{
|
|
"href": "http://kuhn.test/gina",
|
|
"label": "Gorbadoc Brandybuck"
|
|
},
|
|
{
|
|
"href": "http://ohara.test/soila_macejkovic",
|
|
"label": "Gethron"
|
|
},
|
|
{
|
|
"href": "http://vonrueden.test/cammie",
|
|
"label": "Gwindor"
|
|
},
|
|
{
|
|
"href": "http://hansen.example/stormy.ebert",
|
|
"label": "Aldamir"
|
|
}
|
|
],
|
|
"value_checks": null,
|
|
"remediation_available": false,
|
|
"type": "rule"
|
|
},
|
|
{
|
|
"id": "19d2abd3-420b-4cb1-a4f0-c86e0b557691",
|
|
"ref_id": "xccdf_org.ssgproject.content_rule_e0c793cd19b91762efeb2ad685c2ba9f",
|
|
"title": "Voluptas enim suscipit officiis.",
|
|
"rationale": "Ratione qui eum. Accusamus eum incidunt. Ipsa culpa quia.",
|
|
"description": "Vel non quidem. Vel possimus blanditiis. Quas facilis labore.",
|
|
"severity": "low",
|
|
"precedence": 2565,
|
|
"identifier": {
|
|
"href": "http://williamson-will.test/keenan",
|
|
"label": "Isilmë"
|
|
},
|
|
"references": [
|
|
{
|
|
"href": "http://mckenzie.example/trudie.marvin",
|
|
"label": "Ori"
|
|
},
|
|
{
|
|
"href": "http://lebsack.test/quyen_upton",
|
|
"label": "Bregor"
|
|
},
|
|
{
|
|
"href": "http://kuhic.example/ralph",
|
|
"label": "Goldwine"
|
|
},
|
|
{
|
|
"href": "http://dickinson.example/yon",
|
|
"label": "Melilot Brandybuck"
|
|
},
|
|
{
|
|
"href": "http://marquardt.example/buck_walsh",
|
|
"label": "Dagnir"
|
|
}
|
|
],
|
|
"value_checks": null,
|
|
"remediation_available": false,
|
|
"type": "rule"
|
|
},
|
|
{
|
|
"id": "df6a67a2-6506-49b7-946b-d242a4e379fa",
|
|
"ref_id": "xccdf_org.ssgproject.content_rule_ecb8dc50c303db7e82c89271f8e57c58",
|
|
"title": "Expedita corporis totam hic.",
|
|
"rationale": "Qui eveniet praesentium. Voluptates ea voluptatem. Ut veritatis adipisci.",
|
|
"description": "Praesentium quis ut. Magni esse eaque. Rerum quia occaecati.",
|
|
"severity": "low",
|
|
"precedence": 3075,
|
|
"identifier": {
|
|
"href": "http://cummerata-williamson.test/holli",
|
|
"label": "Minto Burrows"
|
|
},
|
|
"references": [
|
|
{
|
|
"href": "http://jakubowski-terry.example/marshall.ledner",
|
|
"label": "Valacar"
|
|
},
|
|
{
|
|
"href": "http://sipes.test/asuncion",
|
|
"label": "Malach"
|
|
},
|
|
{
|
|
"href": "http://walter.example/jared",
|
|
"label": "Elentir"
|
|
},
|
|
{
|
|
"href": "http://bernhard.test/contessa",
|
|
"label": "Isembard Took"
|
|
},
|
|
{
|
|
"href": "http://wisoky.test/vivienne",
|
|
"label": "Dáin"
|
|
}
|
|
],
|
|
"value_checks": null,
|
|
"remediation_available": false,
|
|
"type": "rule"
|
|
},
|
|
{
|
|
"id": "8cbca4d3-e24f-4956-85a5-3869b6b15017",
|
|
"ref_id": "xccdf_org.ssgproject.content_rule_8268903edc8ab7873c3618475b5caa80",
|
|
"title": "Velit quis iusto qui.",
|
|
"rationale": "Quia eos deleniti. Consequatur dicta sit. Nihil velit voluptatibus.",
|
|
"description": "Modi nobis facere. Aut tenetur et. Aperiam modi amet.",
|
|
"severity": "low",
|
|
"precedence": 3317,
|
|
"identifier": {
|
|
"href": "http://okeefe.test/donella",
|
|
"label": "Aglahad"
|
|
},
|
|
"references": [
|
|
{
|
|
"href": "http://homenick-kunde.example/truman",
|
|
"label": "Roäc"
|
|
},
|
|
{
|
|
"href": "http://cartwright.test/tyrone.spinka",
|
|
"label": "Elwing"
|
|
},
|
|
{
|
|
"href": "http://ziemann-bruen.test/lakita_skiles",
|
|
"label": "Uldor"
|
|
},
|
|
{
|
|
"href": "http://rempel.example/erick.nolan",
|
|
"label": "Elladan"
|
|
},
|
|
{
|
|
"href": "http://schimmel.example/antonio.haley",
|
|
"label": "Drogo Baggins"
|
|
}
|
|
],
|
|
"value_checks": null,
|
|
"remediation_available": false,
|
|
"type": "rule"
|
|
},
|
|
{
|
|
"id": "451f2e0f-cdc7-4b3e-a8c7-7800139e6d7a",
|
|
"ref_id": "xccdf_org.ssgproject.content_rule_bf277a0060c7267e1a2406a3c6e87409",
|
|
"title": "Distinctio ratione et animi.",
|
|
"rationale": "Voluptas qui qui. Natus eligendi aliquam. Deserunt neque molestiae.",
|
|
"description": "Placeat consequatur et. Et reprehenderit laboriosam. Nihil enim corporis.",
|
|
"severity": "medium",
|
|
"precedence": 3319,
|
|
"identifier": {
|
|
"href": "http://veum.test/titus",
|
|
"label": "Hunleth"
|
|
},
|
|
"references": [
|
|
{
|
|
"href": "http://ziemann.test/judith",
|
|
"label": "Bregil"
|
|
},
|
|
{
|
|
"href": "http://runolfsdottir.test/tova",
|
|
"label": "Araphant"
|
|
},
|
|
{
|
|
"href": "http://keebler.test/reita",
|
|
"label": "Moro Burrows"
|
|
},
|
|
{
|
|
"href": "http://wiza.test/rosario.hermann",
|
|
"label": "Thorondor"
|
|
},
|
|
{
|
|
"href": "http://ratke.test/miguelina_deckow",
|
|
"label": "Adamanta Chubb"
|
|
}
|
|
],
|
|
"value_checks": null,
|
|
"remediation_available": false,
|
|
"type": "rule"
|
|
},
|
|
{
|
|
"id": "80059fd7-873b-420b-aa44-d5784453cc70",
|
|
"ref_id": "xccdf_org.ssgproject.content_rule_135b7a78b1fb91f5a46967ed4f0e7c36",
|
|
"title": "Quaerat ad est totam.",
|
|
"rationale": "Impedit quia nihil. Porro incidunt maiores. Cupiditate placeat at.",
|
|
"description": "Est quos corrupti. Assumenda fugit fugiat. Quas reiciendis quibusdam.",
|
|
"severity": "medium",
|
|
"precedence": 3889,
|
|
"identifier": {
|
|
"href": "http://gerlach.test/thomas",
|
|
"label": "Vëantur"
|
|
},
|
|
"references": [
|
|
{
|
|
"href": "http://heathcote.example/gala.toy",
|
|
"label": "Odovacar Bolger"
|
|
},
|
|
{
|
|
"href": "http://douglas.test/samual_moore",
|
|
"label": "Handir"
|
|
},
|
|
{
|
|
"href": "http://kris.example/geri",
|
|
"label": "Grimbold"
|
|
},
|
|
{
|
|
"href": "http://auer-ohara.test/perry",
|
|
"label": "Hareth"
|
|
},
|
|
{
|
|
"href": "http://tillman.test/emery",
|
|
"label": "Eradan"
|
|
}
|
|
],
|
|
"value_checks": null,
|
|
"remediation_available": false,
|
|
"type": "rule"
|
|
},
|
|
{
|
|
"id": "c6ce2e72-b812-47bb-a6b4-259ae8f41bd2",
|
|
"ref_id": "xccdf_org.ssgproject.content_rule_10ee38d472ca55af68b3df79d68b09c1",
|
|
"title": "Expedita dolores repellendus accusamus.",
|
|
"rationale": "Fugit dignissimos enim. Quam cupiditate dolores. Ad quibusdam magni.",
|
|
"description": "Repudiandae tenetur maiores. Beatae architecto et. Nobis vitae at.",
|
|
"severity": "low",
|
|
"precedence": 4560,
|
|
"identifier": {
|
|
"href": "http://streich.example/milan",
|
|
"label": "Gorbadoc Brandybuck"
|
|
},
|
|
"references": [
|
|
{
|
|
"href": "http://lindgren.example/leila_yundt",
|
|
"label": "Eldalótë"
|
|
},
|
|
{
|
|
"href": "http://cormier.test/ada",
|
|
"label": "Turambar"
|
|
},
|
|
{
|
|
"href": "http://harvey.example/sal_abbott",
|
|
"label": "Sador"
|
|
},
|
|
{
|
|
"href": "http://borer.test/fredrick",
|
|
"label": "Goldilocks Gardner"
|
|
},
|
|
{
|
|
"href": "http://ferry-blick.example/billy",
|
|
"label": "Háma"
|
|
}
|
|
],
|
|
"value_checks": null,
|
|
"remediation_available": false,
|
|
"type": "rule"
|
|
},
|
|
{
|
|
"id": "0b3816b4-dac2-4635-a32f-d63cfc1a63bf",
|
|
"ref_id": "xccdf_org.ssgproject.content_rule_844428fbb1a64cb4bbbe5d5b0d75d4a4",
|
|
"title": "Animi magni quibusdam aliquam.",
|
|
"rationale": "Debitis quae autem. Natus nihil aperiam. Ullam similique velit.",
|
|
"description": "Harum eligendi quia. Ut totam harum. Autem eius dignissimos.",
|
|
"severity": "low",
|
|
"precedence": 4612,
|
|
"identifier": {
|
|
"href": "http://rodriguez-becker.example/asia.simonis",
|
|
"label": "Aranarth"
|
|
},
|
|
"references": [
|
|
{
|
|
"href": "http://mcglynn.test/hobert",
|
|
"label": "Carc"
|
|
},
|
|
{
|
|
"href": "http://hayes.example/porsche.yundt",
|
|
"label": "Gandalf"
|
|
},
|
|
{
|
|
"href": "http://brekke-dach.test/eduardo.quigley",
|
|
"label": "Rudolph Bolger"
|
|
},
|
|
{
|
|
"href": "http://lockman.example/voncile",
|
|
"label": "Dernhelm"
|
|
},
|
|
{
|
|
"href": "http://cruickshank.test/shaun.hermann",
|
|
"label": "Ailinel"
|
|
}
|
|
],
|
|
"value_checks": null,
|
|
"remediation_available": false,
|
|
"type": "rule"
|
|
}
|
|
],
|
|
"meta": {
|
|
"total": 25,
|
|
"limit": 10,
|
|
"offset": 0,
|
|
"sort_by": "precedence"
|
|
},
|
|
"links": {
|
|
"first": "/api/compliance/v2/security_guides/b2ab2e4d-133a-40dd-b2ba-c089f2e78e50/rules?limit=10&offset=0&sort_by=precedence",
|
|
"last": "/api/compliance/v2/security_guides/b2ab2e4d-133a-40dd-b2ba-c089f2e78e50/rules?limit=10&offset=20&sort_by=precedence",
|
|
"next": "/api/compliance/v2/security_guides/b2ab2e4d-133a-40dd-b2ba-c089f2e78e50/rules?limit=10&offset=10&sort_by=precedence"
|
|
}
|
|
},
|
|
"summary": "",
|
|
"description": ""
|
|
}
|
|
},
|
|
"schema": {
|
|
"type": "object",
|
|
"properties": {
|
|
"meta": {
|
|
"$ref": "#/components/schemas/metadata"
|
|
},
|
|
"links": {
|
|
"$ref": "#/components/schemas/links"
|
|
},
|
|
"data": {
|
|
"type": "array",
|
|
"items": {
|
|
"properties": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/rule"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"422": {
|
|
"description": "Returns with Unprocessable Content",
|
|
"content": {
|
|
"application/vnd.api+json": {
|
|
"examples": {
|
|
"Description of an error when sorting by incorrect parameter": {
|
|
"value": {
|
|
"errors": [
|
|
"Result cannot be sorted by the 'description' column."
|
|
]
|
|
},
|
|
"summary": "",
|
|
"description": ""
|
|
},
|
|
"Description of an error when requesting higher limit than supported": {
|
|
"value": {
|
|
"errors": [
|
|
"Invalid parameter: limit must be less than or equal to 100"
|
|
]
|
|
},
|
|
"summary": "",
|
|
"description": ""
|
|
}
|
|
},
|
|
"schema": {
|
|
"$ref": "#/components/schemas/errors"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"/security_guides/{security_guide_id}/rules/{rule_id}": {
|
|
"get": {
|
|
"summary": "Request a Rule",
|
|
"parameters": [
|
|
{
|
|
"name": "X-RH-IDENTITY",
|
|
"in": "header",
|
|
"schema": {
|
|
"type": "string"
|
|
},
|
|
"description": "For internal use only"
|
|
},
|
|
{
|
|
"name": "security_guide_id",
|
|
"in": "path",
|
|
"required": true,
|
|
"schema": {
|
|
"type": "string"
|
|
}
|
|
},
|
|
{
|
|
"name": "rule_id",
|
|
"in": "path",
|
|
"required": true,
|
|
"description": "UUID or a ref_id with '.' characters replaced with '-'",
|
|
"schema": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
],
|
|
"tags": [
|
|
"Content"
|
|
],
|
|
"description": "Returns a Rule",
|
|
"operationId": "Rule",
|
|
"responses": {
|
|
"200": {
|
|
"description": "Returns a Rule",
|
|
"content": {
|
|
"application/vnd.api+json": {
|
|
"examples": {
|
|
"Returns a Rule": {
|
|
"value": {
|
|
"data": {
|
|
"id": "1e365659-4334-46a7-9b44-78ad26b8f223",
|
|
"ref_id": "xccdf_org.ssgproject.content_rule_33d4f8a138854c691513ba7c5d9410b6",
|
|
"title": "Alias quae in officia.",
|
|
"rationale": "Et dolores dignissimos. Voluptatem autem rerum. Eligendi sit velit.",
|
|
"description": "Veritatis aut beatae. Occaecati ipsum voluptatem. Saepe rerum illum.",
|
|
"severity": "high",
|
|
"precedence": 2662,
|
|
"identifier": {
|
|
"href": "http://jacobi.example/weldon",
|
|
"label": "Théodred"
|
|
},
|
|
"references": [
|
|
{
|
|
"href": "http://rice-cummerata.example/clotilde_green",
|
|
"label": "Ciryon"
|
|
},
|
|
{
|
|
"href": "http://collier-bergnaum.test/felicidad.murazik",
|
|
"label": "Falco Chubb-Baggins"
|
|
},
|
|
{
|
|
"href": "http://cormier.test/garret",
|
|
"label": "Cemendur"
|
|
},
|
|
{
|
|
"href": "http://zieme.example/ming",
|
|
"label": "Minastan"
|
|
},
|
|
{
|
|
"href": "http://parker.example/alida",
|
|
"label": "Fréa"
|
|
}
|
|
],
|
|
"value_checks": null,
|
|
"remediation_available": false,
|
|
"type": "rule"
|
|
}
|
|
},
|
|
"summary": "",
|
|
"description": ""
|
|
}
|
|
},
|
|
"schema": {
|
|
"type": "object",
|
|
"properties": {
|
|
"data": {
|
|
"type": "object",
|
|
"properties": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/rule"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"404": {
|
|
"description": "Returns with Not Found",
|
|
"content": {
|
|
"application/vnd.api+json": {
|
|
"examples": {
|
|
"Description of an error when requesting a non-existing Rule": {
|
|
"value": {
|
|
"errors": [
|
|
"V2::Rule not found with ID 1dcc6f10-e6c0-49cf-8323-7de43d7f148c"
|
|
]
|
|
},
|
|
"summary": "",
|
|
"description": ""
|
|
}
|
|
},
|
|
"schema": {
|
|
"$ref": "#/components/schemas/errors"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"/security_guides/{security_guide_id}/profiles/{profile_id}/rules": {
|
|
"get": {
|
|
"summary": "Request Rules assigned to a Profile",
|
|
"parameters": [
|
|
{
|
|
"name": "X-RH-IDENTITY",
|
|
"in": "header",
|
|
"schema": {
|
|
"type": "string"
|
|
},
|
|
"description": "For internal use only"
|
|
},
|
|
{
|
|
"name": "limit",
|
|
"in": "query",
|
|
"required": false,
|
|
"description": "Number of items to return per page",
|
|
"schema": {
|
|
"type": "number",
|
|
"maximum": 100,
|
|
"minimum": 1,
|
|
"default": 10
|
|
}
|
|
},
|
|
{
|
|
"name": "offset",
|
|
"in": "query",
|
|
"required": false,
|
|
"description": "Offset of first item of paginated response",
|
|
"schema": {
|
|
"type": "integer",
|
|
"minimum": 0,
|
|
"default": 0
|
|
}
|
|
},
|
|
{
|
|
"name": "ids_only",
|
|
"in": "query",
|
|
"required": false,
|
|
"description": "Indicates whether to return only resource IDs.",
|
|
"schema": {
|
|
"type": "boolean"
|
|
}
|
|
},
|
|
{
|
|
"name": "sort_by",
|
|
"in": "query",
|
|
"required": false,
|
|
"description": "Attribute and direction to sort the items by. Represented by an array of fields with an optional direction (`<key>:asc` or `<key>:desc`).<br><br>If no direction is selected, `<key>:asc` is used by default.",
|
|
"schema": {
|
|
"type": "array",
|
|
"items": {
|
|
"enum": [
|
|
"title",
|
|
"severity",
|
|
"precedence",
|
|
"remediation_available",
|
|
"title:asc",
|
|
"title:desc",
|
|
"severity:asc",
|
|
"severity:desc",
|
|
"precedence:asc",
|
|
"precedence:desc",
|
|
"remediation_available:asc",
|
|
"remediation_available:desc"
|
|
]
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"name": "filter",
|
|
"in": "query",
|
|
"required": false,
|
|
"description": "Query string to filter items by their attributes. Compliant with <a href=\"https://github.com/wvanbergen/scoped_search/wiki/Query-language\" target=\"_blank\" title=\"github.com/wvanbergen/scoped_search\">scoped_search query language</a>. However, only `=` or `!=` (resp. `<>`) operators are supported.<br><br>Rules are searchable using attributes `title`, `severity`, `remediation_available`, and `rule_group_id`<br><br>(e.g.: `(field_1=something AND field_2!=\"something else\") OR field_3>40`)",
|
|
"schema": {
|
|
"type": "string"
|
|
}
|
|
},
|
|
{
|
|
"name": "security_guide_id",
|
|
"in": "path",
|
|
"required": true,
|
|
"schema": {
|
|
"type": "string"
|
|
}
|
|
},
|
|
{
|
|
"name": "profile_id",
|
|
"in": "path",
|
|
"required": true,
|
|
"schema": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
],
|
|
"tags": [
|
|
"Content"
|
|
],
|
|
"description": "Lists Rules assigned to a Profile",
|
|
"operationId": "ProfileRules",
|
|
"responses": {
|
|
"200": {
|
|
"description": "Lists Rules assigned to a Profile",
|
|
"content": {
|
|
"application/vnd.api+json": {
|
|
"examples": {
|
|
"List of Rules": {
|
|
"value": {
|
|
"data": [
|
|
{
|
|
"id": "03d2f3f6-b578-44e8-84ab-62684562d15f",
|
|
"ref_id": "xccdf_org.ssgproject.content_rule_3ba41babab619051082c9351466f05ea",
|
|
"title": "Eos velit placeat totam.",
|
|
"rationale": "Eligendi molestias blanditiis. Aspernatur dolores nam. Cupiditate ut eum.",
|
|
"description": "Aut quam sed. Fugit quidem nihil. Voluptas fugit ratione.",
|
|
"severity": "medium",
|
|
"precedence": 201,
|
|
"identifier": {
|
|
"href": "http://trantow.test/sheron",
|
|
"label": "Carl Cotton"
|
|
},
|
|
"references": [
|
|
{
|
|
"href": "http://grimes.test/merlene.kuphal",
|
|
"label": "Ostoher"
|
|
},
|
|
{
|
|
"href": "http://keeling.test/rosy_stokes",
|
|
"label": "Círdan"
|
|
},
|
|
{
|
|
"href": "http://schumm.test/boyd_mcdermott",
|
|
"label": "Tarciryan"
|
|
},
|
|
{
|
|
"href": "http://dooley.example/royce.hettinger",
|
|
"label": "Samwise Gamgee"
|
|
},
|
|
{
|
|
"href": "http://hayes-jaskolski.example/duane",
|
|
"label": "Brytta"
|
|
}
|
|
],
|
|
"value_checks": null,
|
|
"remediation_available": false,
|
|
"type": "rule",
|
|
"remediation_issue_id": null
|
|
},
|
|
{
|
|
"id": "0e9fc109-f871-4f30-ba2e-60254dc62ec4",
|
|
"ref_id": "xccdf_org.ssgproject.content_rule_9bc34b013191834c5b5f3b4f1daccb3e",
|
|
"title": "Voluptas aut dicta occaecati.",
|
|
"rationale": "Reiciendis sint omnis. Quas magni voluptas. Quod adipisci non.",
|
|
"description": "Saepe sint est. Cum aut saepe. Alias et eligendi.",
|
|
"severity": "low",
|
|
"precedence": 6488,
|
|
"identifier": {
|
|
"href": "http://mclaughlin.test/raquel",
|
|
"label": "Hallacar"
|
|
},
|
|
"references": [
|
|
{
|
|
"href": "http://parker-batz.test/frankie",
|
|
"label": "Faramir"
|
|
},
|
|
{
|
|
"href": "http://brown-watsica.test/torie",
|
|
"label": "Farmer Maggot"
|
|
},
|
|
{
|
|
"href": "http://armstrong.example/gayle",
|
|
"label": "Bombur"
|
|
},
|
|
{
|
|
"href": "http://gulgowski-considine.test/coy",
|
|
"label": "Hending"
|
|
},
|
|
{
|
|
"href": "http://ohara-schumm.example/sang",
|
|
"label": "Lonely Troll"
|
|
}
|
|
],
|
|
"value_checks": null,
|
|
"remediation_available": false,
|
|
"type": "rule",
|
|
"remediation_issue_id": null
|
|
},
|
|
{
|
|
"id": "14abe960-3afb-48b6-bea8-6384b2ac4664",
|
|
"ref_id": "xccdf_org.ssgproject.content_rule_97123350dabbab5ef51fce1833f320df",
|
|
"title": "Culpa occaecati corrupti excepturi.",
|
|
"rationale": "Dolor accusantium aliquam. Praesentium hic rerum. Quia modi illo.",
|
|
"description": "Dicta consectetur pariatur. Et sed reprehenderit. Et vel modi.",
|
|
"severity": "medium",
|
|
"precedence": 683,
|
|
"identifier": {
|
|
"href": "http://berge.example/luis.champlin",
|
|
"label": "Ulrad"
|
|
},
|
|
"references": [
|
|
{
|
|
"href": "http://kub.example/elbert",
|
|
"label": "Tar-Meneldur"
|
|
},
|
|
{
|
|
"href": "http://spinka.test/robbie",
|
|
"label": "Goldwine"
|
|
},
|
|
{
|
|
"href": "http://johns.example/dwain",
|
|
"label": "Fastolph Bolger"
|
|
},
|
|
{
|
|
"href": "http://heller.example/kandis_jacobi",
|
|
"label": "Lenwë"
|
|
},
|
|
{
|
|
"href": "http://labadie-spencer.example/jone.johnston",
|
|
"label": "Thingol"
|
|
}
|
|
],
|
|
"value_checks": null,
|
|
"remediation_available": false,
|
|
"type": "rule",
|
|
"remediation_issue_id": null
|
|
},
|
|
{
|
|
"id": "2accbb8d-0101-49ca-b41d-0b1417b4573e",
|
|
"ref_id": "xccdf_org.ssgproject.content_rule_60a8385d4e6d362ad4220816359ee8c0",
|
|
"title": "Id beatae veniam suscipit.",
|
|
"rationale": "Incidunt autem architecto. Voluptatibus quia quia. Ab ullam sed.",
|
|
"description": "Sequi aliquam facilis. Eligendi quod omnis. Id at temporibus.",
|
|
"severity": "low",
|
|
"precedence": 6759,
|
|
"identifier": {
|
|
"href": "http://fadel.example/alfonzo_kemmer",
|
|
"label": "Hirgon"
|
|
},
|
|
"references": [
|
|
{
|
|
"href": "http://carter.example/shala.funk",
|
|
"label": "Fréaláf"
|
|
},
|
|
{
|
|
"href": "http://stark.example/bud_ullrich",
|
|
"label": "Forthwini"
|
|
},
|
|
{
|
|
"href": "http://donnelly-sanford.example/morgan.kohler",
|
|
"label": "Olwë"
|
|
},
|
|
{
|
|
"href": "http://doyle-hauck.example/margarito",
|
|
"label": "Dwalin"
|
|
},
|
|
{
|
|
"href": "http://heller.example/solomon",
|
|
"label": "Fortinbras Took"
|
|
}
|
|
],
|
|
"value_checks": null,
|
|
"remediation_available": false,
|
|
"type": "rule",
|
|
"remediation_issue_id": null
|
|
},
|
|
{
|
|
"id": "2b323b11-5ff1-4fec-87a5-79879691ef9d",
|
|
"ref_id": "xccdf_org.ssgproject.content_rule_5e2ae275ed0290591aa5e8c967588a8f",
|
|
"title": "Minus repudiandae consequatur quia.",
|
|
"rationale": "Et nisi reiciendis. Numquam veritatis aut. Sed omnis beatae.",
|
|
"description": "Fugit fuga dolor. Aliquid cum qui. Porro rerum qui.",
|
|
"severity": "low",
|
|
"precedence": 9109,
|
|
"identifier": {
|
|
"href": "http://hauck.test/lorenza.fahey",
|
|
"label": "Forweg"
|
|
},
|
|
"references": [
|
|
{
|
|
"href": "http://upton-weimann.example/lemuel_hahn",
|
|
"label": "Adelard Took"
|
|
},
|
|
{
|
|
"href": "http://hartmann.test/lavern_zemlak",
|
|
"label": "Gothmog"
|
|
},
|
|
{
|
|
"href": "http://ondricka.test/michal.braun",
|
|
"label": "Amarië"
|
|
},
|
|
{
|
|
"href": "http://crist.example/oralia.lubowitz",
|
|
"label": "Tar-Palantir"
|
|
},
|
|
{
|
|
"href": "http://stoltenberg.example/sherwood.krajcik",
|
|
"label": "Halfred Greenhand"
|
|
}
|
|
],
|
|
"value_checks": null,
|
|
"remediation_available": false,
|
|
"type": "rule",
|
|
"remediation_issue_id": null
|
|
},
|
|
{
|
|
"id": "2e136a7f-9e02-41b4-aec5-886417168277",
|
|
"ref_id": "xccdf_org.ssgproject.content_rule_df7a35f6cd9c4672fe5068082cc1b9aa",
|
|
"title": "Odit magni nostrum ea.",
|
|
"rationale": "Ratione reiciendis placeat. Beatae minima natus. Unde voluptatem aut.",
|
|
"description": "Ratione explicabo quae. Rerum voluptatem doloremque. Earum autem et.",
|
|
"severity": "medium",
|
|
"precedence": 2563,
|
|
"identifier": {
|
|
"href": "http://klocko.example/joesph_fahey",
|
|
"label": "Vidumavi"
|
|
},
|
|
"references": [
|
|
{
|
|
"href": "http://harvey-buckridge.test/ailene_stracke",
|
|
"label": "Hob Hayward"
|
|
},
|
|
{
|
|
"href": "http://renner.example/dee_koepp",
|
|
"label": "Sauron"
|
|
},
|
|
{
|
|
"href": "http://stamm-schaefer.test/clarence_wilderman",
|
|
"label": "Gorhendad Oldbuck"
|
|
},
|
|
{
|
|
"href": "http://kub.test/raymond",
|
|
"label": "Dudo Baggins"
|
|
},
|
|
{
|
|
"href": "http://wolff.test/jana",
|
|
"label": "Hugo Boffin"
|
|
}
|
|
],
|
|
"value_checks": null,
|
|
"remediation_available": false,
|
|
"type": "rule",
|
|
"remediation_issue_id": null
|
|
},
|
|
{
|
|
"id": "6c09386d-82db-4767-a196-3b7922c2b277",
|
|
"ref_id": "xccdf_org.ssgproject.content_rule_5fd05cece14ed66a72f2ae2b902c5046",
|
|
"title": "Ea quaerat delectus totam.",
|
|
"rationale": "Eum ad qui. Ea ut fugiat. Qui explicabo omnis.",
|
|
"description": "Dolorem consequatur sed. Et est vero. Sequi cumque dolorum.",
|
|
"severity": "high",
|
|
"precedence": 5509,
|
|
"identifier": {
|
|
"href": "http://schamberger.example/donella",
|
|
"label": "Aghan"
|
|
},
|
|
"references": [
|
|
{
|
|
"href": "http://ritchie.test/judy",
|
|
"label": "Orophin"
|
|
},
|
|
{
|
|
"href": "http://heaney.example/pete",
|
|
"label": "Dervorin"
|
|
},
|
|
{
|
|
"href": "http://price.example/tammy_emmerich",
|
|
"label": "Ornil"
|
|
},
|
|
{
|
|
"href": "http://vonrueden-haley.example/tommye.kautzer",
|
|
"label": "Uldor"
|
|
},
|
|
{
|
|
"href": "http://turcotte.test/cyrus_heathcote",
|
|
"label": "Pengolodh"
|
|
}
|
|
],
|
|
"value_checks": null,
|
|
"remediation_available": false,
|
|
"type": "rule",
|
|
"remediation_issue_id": null
|
|
},
|
|
{
|
|
"id": "750e0404-0861-4a06-9090-dacd03721503",
|
|
"ref_id": "xccdf_org.ssgproject.content_rule_a2887167748ae8b4df467bf42034e46f",
|
|
"title": "Ut et esse tenetur.",
|
|
"rationale": "Aut fugiat consequuntur. Nihil quas ut. Illum eos et.",
|
|
"description": "Necessitatibus nihil omnis. Et incidunt nisi. Incidunt et dignissimos.",
|
|
"severity": "low",
|
|
"precedence": 7886,
|
|
"identifier": {
|
|
"href": "http://sporer.test/willian.lesch",
|
|
"label": "Narmacil"
|
|
},
|
|
"references": [
|
|
{
|
|
"href": "http://skiles-durgan.test/rebecka.mueller",
|
|
"label": "Carl Cotton"
|
|
},
|
|
{
|
|
"href": "http://buckridge.test/mandy",
|
|
"label": "Rúmil"
|
|
},
|
|
{
|
|
"href": "http://herman.example/bonnie.romaguera",
|
|
"label": "Celegorm"
|
|
},
|
|
{
|
|
"href": "http://pouros-dubuque.example/jama",
|
|
"label": "Thorin"
|
|
},
|
|
{
|
|
"href": "http://spencer.test/cherise",
|
|
"label": "Elanor Gardner"
|
|
}
|
|
],
|
|
"value_checks": null,
|
|
"remediation_available": false,
|
|
"type": "rule",
|
|
"remediation_issue_id": null
|
|
},
|
|
{
|
|
"id": "808b79a7-c113-4feb-bb20-2eecc7f45a5f",
|
|
"ref_id": "xccdf_org.ssgproject.content_rule_bae4f9e74b657a687b9c5a8f0ac0478d",
|
|
"title": "Ullam iure illo harum.",
|
|
"rationale": "Harum ducimus tenetur. Vel molestias non. Non tempora est.",
|
|
"description": "Enim ut dicta. Praesentium vel officiis. Dolores facere non.",
|
|
"severity": "medium",
|
|
"precedence": 2518,
|
|
"identifier": {
|
|
"href": "http://doyle.test/todd_mcdermott",
|
|
"label": "Agathor"
|
|
},
|
|
"references": [
|
|
{
|
|
"href": "http://keebler-jerde.test/carey_schowalter",
|
|
"label": "Thranduil"
|
|
},
|
|
{
|
|
"href": "http://pfannerstill.test/eloise_goodwin",
|
|
"label": "Almáriel"
|
|
},
|
|
{
|
|
"href": "http://schoen.test/clair",
|
|
"label": "Ulfang"
|
|
},
|
|
{
|
|
"href": "http://harris.example/tommy",
|
|
"label": "Bodruith"
|
|
},
|
|
{
|
|
"href": "http://olson.test/reggie",
|
|
"label": "Araphant"
|
|
}
|
|
],
|
|
"value_checks": null,
|
|
"remediation_available": false,
|
|
"type": "rule",
|
|
"remediation_issue_id": null
|
|
},
|
|
{
|
|
"id": "9b4f5b76-35bd-4b6e-ba4f-33a32d608a0f",
|
|
"ref_id": "xccdf_org.ssgproject.content_rule_af43a735201af6d08d2996caf8a3dc92",
|
|
"title": "Quidem dignissimos dicta dolorem.",
|
|
"rationale": "Quia perferendis incidunt. Autem et cum. Consequuntur quo rerum.",
|
|
"description": "Molestiae aut voluptate. Optio doloribus autem. Aliquid recusandae quod.",
|
|
"severity": "high",
|
|
"precedence": 9827,
|
|
"identifier": {
|
|
"href": "http://shanahan.example/arnulfo",
|
|
"label": "Posco Baggins"
|
|
},
|
|
"references": [
|
|
{
|
|
"href": "http://pacocha-kertzmann.test/allan_erdman",
|
|
"label": "Elfstan Fairbairn"
|
|
},
|
|
{
|
|
"href": "http://treutel-walter.example/mary",
|
|
"label": "Almarian"
|
|
},
|
|
{
|
|
"href": "http://white.example/raye.moore",
|
|
"label": "Mrs. Bunce"
|
|
},
|
|
{
|
|
"href": "http://steuber-macgyver.example/mistie",
|
|
"label": "Araphant"
|
|
},
|
|
{
|
|
"href": "http://dooley.test/pasquale_koch",
|
|
"label": "Belegund"
|
|
}
|
|
],
|
|
"value_checks": null,
|
|
"remediation_available": false,
|
|
"type": "rule",
|
|
"remediation_issue_id": null
|
|
}
|
|
],
|
|
"meta": {
|
|
"total": 25,
|
|
"limit": 10,
|
|
"offset": 0
|
|
},
|
|
"links": {
|
|
"first": "/api/compliance/v2/security_guides/0fbfa00b-a51e-4176-943f-62cbf8dd173a/profiles/a040f83d-e37d-4f31-9c25-4e64f5041832/rules?limit=10&offset=0",
|
|
"last": "/api/compliance/v2/security_guides/0fbfa00b-a51e-4176-943f-62cbf8dd173a/profiles/a040f83d-e37d-4f31-9c25-4e64f5041832/rules?limit=10&offset=20",
|
|
"next": "/api/compliance/v2/security_guides/0fbfa00b-a51e-4176-943f-62cbf8dd173a/profiles/a040f83d-e37d-4f31-9c25-4e64f5041832/rules?limit=10&offset=10"
|
|
}
|
|
},
|
|
"summary": "",
|
|
"description": ""
|
|
},
|
|
"List of Rules sorted by \"precedence:asc\"": {
|
|
"value": {
|
|
"data": [
|
|
{
|
|
"id": "543d64f4-5369-4d79-9892-023c49d9c5d0",
|
|
"ref_id": "xccdf_org.ssgproject.content_rule_c8fc84141992de0eaf21a6c9cc128f52",
|
|
"title": "Laboriosam sed voluptates est.",
|
|
"rationale": "Et non dolore. Laudantium ad aut. Eius velit maiores.",
|
|
"description": "Ipsa occaecati eius. Vel corrupti doloribus. Omnis assumenda quaerat.",
|
|
"severity": "low",
|
|
"precedence": 13,
|
|
"identifier": {
|
|
"href": "http://jerde.test/darnell",
|
|
"label": "Minohtar"
|
|
},
|
|
"references": [
|
|
{
|
|
"href": "http://cruickshank-corwin.test/drusilla",
|
|
"label": "Tar-Amandil"
|
|
},
|
|
{
|
|
"href": "http://spinka-schroeder.example/cleopatra",
|
|
"label": "Gorhendad Oldbuck"
|
|
},
|
|
{
|
|
"href": "http://ritchie.example/latoyia.lang",
|
|
"label": "Thorin Stonehelm"
|
|
},
|
|
{
|
|
"href": "http://legros.example/cinda",
|
|
"label": "Belen"
|
|
},
|
|
{
|
|
"href": "http://leannon.example/clair",
|
|
"label": "Sauron"
|
|
}
|
|
],
|
|
"value_checks": null,
|
|
"remediation_available": false,
|
|
"type": "rule",
|
|
"remediation_issue_id": null
|
|
},
|
|
{
|
|
"id": "9ea2bcf3-bcb3-4fd3-a13d-eb76e8afb746",
|
|
"ref_id": "xccdf_org.ssgproject.content_rule_b6283d0a25da738f2827ddf87e87c584",
|
|
"title": "Deserunt facere placeat minus.",
|
|
"rationale": "Facilis soluta modi. Quia placeat dolorum. Sed qui culpa.",
|
|
"description": "Laboriosam aut tempore. Laudantium nihil vel. Est ut quisquam.",
|
|
"severity": "medium",
|
|
"precedence": 31,
|
|
"identifier": {
|
|
"href": "http://morar.example/cindy_waters",
|
|
"label": "Mogru"
|
|
},
|
|
"references": [
|
|
{
|
|
"href": "http://hintz-klocko.example/shelton.keebler",
|
|
"label": "Nori"
|
|
},
|
|
{
|
|
"href": "http://hagenes.test/haywood",
|
|
"label": "Alphros"
|
|
},
|
|
{
|
|
"href": "http://okon-wisoky.example/eugenie_erdman",
|
|
"label": "Ciryandil"
|
|
},
|
|
{
|
|
"href": "http://quitzon-bode.test/shad",
|
|
"label": "Borondir"
|
|
},
|
|
{
|
|
"href": "http://macejkovic-jenkins.test/tessie.gibson",
|
|
"label": "Marigold Gamgee"
|
|
}
|
|
],
|
|
"value_checks": null,
|
|
"remediation_available": false,
|
|
"type": "rule",
|
|
"remediation_issue_id": null
|
|
},
|
|
{
|
|
"id": "f870ed86-9e42-4047-87cb-a14685a0d75a",
|
|
"ref_id": "xccdf_org.ssgproject.content_rule_9547ff439de5566c0dee5d641d772445",
|
|
"title": "Perferendis illum doloribus aut.",
|
|
"rationale": "Modi quaerat earum. Nisi temporibus est. Qui dolorum dolorem.",
|
|
"description": "Accusantium molestias inventore. Sint ipsam molestias. Sunt itaque quaerat.",
|
|
"severity": "high",
|
|
"precedence": 468,
|
|
"identifier": {
|
|
"href": "http://mertz-berge.example/twanna",
|
|
"label": "Amroth"
|
|
},
|
|
"references": [
|
|
{
|
|
"href": "http://cole.example/min_steuber",
|
|
"label": "Dodinas Brandybuck"
|
|
},
|
|
{
|
|
"href": "http://conn.test/adolph.gleason",
|
|
"label": "Ar-Adûnakhôr"
|
|
},
|
|
{
|
|
"href": "http://simonis-corwin.example/xuan",
|
|
"label": "Thorondir"
|
|
},
|
|
{
|
|
"href": "http://reichel.test/lydia",
|
|
"label": "Blanco Bracegirdle"
|
|
},
|
|
{
|
|
"href": "http://hoeger.test/holley.huels",
|
|
"label": "Wilimar Bolger"
|
|
}
|
|
],
|
|
"value_checks": null,
|
|
"remediation_available": false,
|
|
"type": "rule",
|
|
"remediation_issue_id": null
|
|
},
|
|
{
|
|
"id": "b692c8c7-cc22-47e3-b91a-59df1b2bf1b4",
|
|
"ref_id": "xccdf_org.ssgproject.content_rule_dbeeab3d761d09f121d8c65fc10d5ee4",
|
|
"title": "Ut nisi labore omnis.",
|
|
"rationale": "Officiis tempore recusandae. Earum rem at. Sed error eaque.",
|
|
"description": "Quod iusto sit. Rerum et eveniet. Ab illo in.",
|
|
"severity": "medium",
|
|
"precedence": 488,
|
|
"identifier": {
|
|
"href": "http://oberbrunner-schmeler.example/herschel",
|
|
"label": "Old Noakes"
|
|
},
|
|
"references": [
|
|
{
|
|
"href": "http://ruecker-price.example/misty",
|
|
"label": "Tatië"
|
|
},
|
|
{
|
|
"href": "http://williamson-bogan.example/mitch",
|
|
"label": "Ardamir"
|
|
},
|
|
{
|
|
"href": "http://halvorson.example/hollis",
|
|
"label": "Bingo Baggins"
|
|
},
|
|
{
|
|
"href": "http://donnelly-stokes.example/patrick_thompson",
|
|
"label": "Folca"
|
|
},
|
|
{
|
|
"href": "http://wintheiser.example/will",
|
|
"label": "Treebeard"
|
|
}
|
|
],
|
|
"value_checks": null,
|
|
"remediation_available": false,
|
|
"type": "rule",
|
|
"remediation_issue_id": null
|
|
},
|
|
{
|
|
"id": "fc7abbb8-3ffe-46e0-acd2-0a478ba419fa",
|
|
"ref_id": "xccdf_org.ssgproject.content_rule_80bf492ab7dd8b80b10a91d2e1d06a2d",
|
|
"title": "Dicta dolore adipisci consectetur.",
|
|
"rationale": "Consequatur aperiam eos. Temporibus incidunt tempore. Consequuntur eius repudiandae.",
|
|
"description": "Est aut voluptatem. Esse quia placeat. Provident at est.",
|
|
"severity": "medium",
|
|
"precedence": 921,
|
|
"identifier": {
|
|
"href": "http://abbott-gerlach.example/genna",
|
|
"label": "Lily Brown"
|
|
},
|
|
"references": [
|
|
{
|
|
"href": "http://hane-nitzsche.example/rich",
|
|
"label": "Ragnir"
|
|
},
|
|
{
|
|
"href": "http://runolfsson.test/tijuana",
|
|
"label": "Golasgil"
|
|
},
|
|
{
|
|
"href": "http://jones-kozey.example/kraig",
|
|
"label": "Amlach"
|
|
},
|
|
{
|
|
"href": "http://hodkiewicz-hegmann.example/reginald",
|
|
"label": "Gilraen"
|
|
},
|
|
{
|
|
"href": "http://stracke.test/jordon.kovacek",
|
|
"label": "Andróg"
|
|
}
|
|
],
|
|
"value_checks": null,
|
|
"remediation_available": false,
|
|
"type": "rule",
|
|
"remediation_issue_id": null
|
|
},
|
|
{
|
|
"id": "f177d036-ec77-4967-8e91-7e8e0e382c37",
|
|
"ref_id": "xccdf_org.ssgproject.content_rule_b29f6bf6c884bf9690d9213d9e9fdbc3",
|
|
"title": "Veritatis rerum assumenda et.",
|
|
"rationale": "Quia voluptas est. Explicabo cumque earum. Sit dolor labore.",
|
|
"description": "Molestiae ut necessitatibus. Blanditiis laboriosam necessitatibus. Autem eligendi soluta.",
|
|
"severity": "high",
|
|
"precedence": 1318,
|
|
"identifier": {
|
|
"href": "http://beatty.example/julius_keebler",
|
|
"label": "Fingolfin"
|
|
},
|
|
"references": [
|
|
{
|
|
"href": "http://daniel.test/sean.schinner",
|
|
"label": "Mirabella Took"
|
|
},
|
|
{
|
|
"href": "http://bartoletti-quigley.example/billie",
|
|
"label": "Ulfast"
|
|
},
|
|
{
|
|
"href": "http://west-kozey.test/lowell_lynch",
|
|
"label": "Beorn"
|
|
},
|
|
{
|
|
"href": "http://ohara-bergnaum.example/efren",
|
|
"label": "Gundahar Bolger"
|
|
},
|
|
{
|
|
"href": "http://heller.example/sterling",
|
|
"label": "Éothéod"
|
|
}
|
|
],
|
|
"value_checks": null,
|
|
"remediation_available": false,
|
|
"type": "rule",
|
|
"remediation_issue_id": null
|
|
},
|
|
{
|
|
"id": "49611c69-f42b-4dce-8b63-14d7c87fcfed",
|
|
"ref_id": "xccdf_org.ssgproject.content_rule_788de0c9737cbbf3aa53efe5859d17bd",
|
|
"title": "Ullam consequatur illum numquam.",
|
|
"rationale": "Et rerum a. Enim ab ipsa. Enim delectus sit.",
|
|
"description": "Dicta dolores nam. Temporibus sunt officiis. Numquam iste fugiat.",
|
|
"severity": "high",
|
|
"precedence": 1414,
|
|
"identifier": {
|
|
"href": "http://cruickshank.test/adolph.kerluke",
|
|
"label": "Hareth"
|
|
},
|
|
"references": [
|
|
{
|
|
"href": "http://koss.test/stephenie.mann",
|
|
"label": "Elendil"
|
|
},
|
|
{
|
|
"href": "http://baumbach-miller.example/leighann.kemmer",
|
|
"label": "Rorimac Brandybuck"
|
|
},
|
|
{
|
|
"href": "http://okon.example/elijah",
|
|
"label": "Nellas"
|
|
},
|
|
{
|
|
"href": "http://fay.example/victor_cronin",
|
|
"label": "Gálmód"
|
|
},
|
|
{
|
|
"href": "http://murray.example/mayme",
|
|
"label": "Ingwion"
|
|
}
|
|
],
|
|
"value_checks": null,
|
|
"remediation_available": false,
|
|
"type": "rule",
|
|
"remediation_issue_id": null
|
|
},
|
|
{
|
|
"id": "2014c635-c9a6-419d-84c3-2f6cf63a371d",
|
|
"ref_id": "xccdf_org.ssgproject.content_rule_4bb00cb4895166ddae80224a04803a01",
|
|
"title": "Qui quod dicta beatae.",
|
|
"rationale": "Ex debitis illum. Inventore minus est. Quisquam est ut.",
|
|
"description": "Adipisci libero illum. Iure sint doloremque. Consequatur ut amet.",
|
|
"severity": "low",
|
|
"precedence": 2101,
|
|
"identifier": {
|
|
"href": "http://stehr.test/shirely",
|
|
"label": "Mîm"
|
|
},
|
|
"references": [
|
|
{
|
|
"href": "http://thompson-stehr.test/douglas",
|
|
"label": "Arciryas"
|
|
},
|
|
{
|
|
"href": "http://rogahn.test/ronny",
|
|
"label": "Fastolph Bolger"
|
|
},
|
|
{
|
|
"href": "http://cruickshank.example/linh.lowe",
|
|
"label": "Tarannon Falastur"
|
|
},
|
|
{
|
|
"href": "http://crooks.example/trisha_conroy",
|
|
"label": "Angelimir"
|
|
},
|
|
{
|
|
"href": "http://dietrich.example/treasa",
|
|
"label": "Éomund"
|
|
}
|
|
],
|
|
"value_checks": null,
|
|
"remediation_available": false,
|
|
"type": "rule",
|
|
"remediation_issue_id": null
|
|
},
|
|
{
|
|
"id": "a76c1f67-2dad-4489-a42d-b45116986f06",
|
|
"ref_id": "xccdf_org.ssgproject.content_rule_8e9bacb9a168e1a8fa1fabf26582f3d2",
|
|
"title": "Quod eos aliquam rem.",
|
|
"rationale": "Nam labore ullam. Qui perspiciatis officia. Nihil est eos.",
|
|
"description": "Deleniti a consequatur. Animi nesciunt dolorum. Tenetur cum ab.",
|
|
"severity": "low",
|
|
"precedence": 2272,
|
|
"identifier": {
|
|
"href": "http://sawayn-cassin.example/tracy_blanda",
|
|
"label": "Axantur"
|
|
},
|
|
"references": [
|
|
{
|
|
"href": "http://lowe-kunze.example/jon",
|
|
"label": "Narvi"
|
|
},
|
|
{
|
|
"href": "http://nicolas.test/rashad",
|
|
"label": "Gamling"
|
|
},
|
|
{
|
|
"href": "http://vandervort.test/laurence.beahan",
|
|
"label": "Wídfara"
|
|
},
|
|
{
|
|
"href": "http://satterfield.test/austin",
|
|
"label": "Ivy Goodenough"
|
|
},
|
|
{
|
|
"href": "http://feest-hettinger.test/renate_hartmann",
|
|
"label": "Aldor"
|
|
}
|
|
],
|
|
"value_checks": null,
|
|
"remediation_available": false,
|
|
"type": "rule",
|
|
"remediation_issue_id": null
|
|
},
|
|
{
|
|
"id": "1d42a456-1b99-4dc1-8c9b-321c6c601b2f",
|
|
"ref_id": "xccdf_org.ssgproject.content_rule_54155f50afa72f68fb6289c8ebe2a374",
|
|
"title": "Aut assumenda id iste.",
|
|
"rationale": "Voluptatibus rerum totam. Adipisci quis delectus. Sit iste dolor.",
|
|
"description": "Suscipit ipsa corporis. In est dolor. Quia in deleniti.",
|
|
"severity": "high",
|
|
"precedence": 2381,
|
|
"identifier": {
|
|
"href": "http://deckow.test/cristobal",
|
|
"label": "Hundad"
|
|
},
|
|
"references": [
|
|
{
|
|
"href": "http://medhurst.test/kristofer",
|
|
"label": "Horn"
|
|
},
|
|
{
|
|
"href": "http://hyatt.example/henrietta.welch",
|
|
"label": "Andróg"
|
|
},
|
|
{
|
|
"href": "http://jacobi.test/sherley",
|
|
"label": "Enelyë"
|
|
},
|
|
{
|
|
"href": "http://ziemann.test/brady",
|
|
"label": "Leaflock"
|
|
},
|
|
{
|
|
"href": "http://reilly.example/miquel_stehr",
|
|
"label": "Aegnor"
|
|
}
|
|
],
|
|
"value_checks": null,
|
|
"remediation_available": false,
|
|
"type": "rule",
|
|
"remediation_issue_id": null
|
|
}
|
|
],
|
|
"meta": {
|
|
"total": 25,
|
|
"limit": 10,
|
|
"offset": 0,
|
|
"sort_by": "precedence"
|
|
},
|
|
"links": {
|
|
"first": "/api/compliance/v2/security_guides/cd5b7415-780f-426c-a635-da95236956bd/profiles/826c7f87-3f1b-4025-a097-6f8b995fa9df/rules?limit=10&offset=0&sort_by=precedence",
|
|
"last": "/api/compliance/v2/security_guides/cd5b7415-780f-426c-a635-da95236956bd/profiles/826c7f87-3f1b-4025-a097-6f8b995fa9df/rules?limit=10&offset=20&sort_by=precedence",
|
|
"next": "/api/compliance/v2/security_guides/cd5b7415-780f-426c-a635-da95236956bd/profiles/826c7f87-3f1b-4025-a097-6f8b995fa9df/rules?limit=10&offset=10&sort_by=precedence"
|
|
}
|
|
},
|
|
"summary": "",
|
|
"description": ""
|
|
}
|
|
},
|
|
"schema": {
|
|
"type": "object",
|
|
"properties": {
|
|
"meta": {
|
|
"$ref": "#/components/schemas/metadata"
|
|
},
|
|
"links": {
|
|
"$ref": "#/components/schemas/links"
|
|
},
|
|
"data": {
|
|
"type": "array",
|
|
"items": {
|
|
"properties": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/rule"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"422": {
|
|
"description": "Returns with Unprocessable Content",
|
|
"content": {
|
|
"application/vnd.api+json": {
|
|
"examples": {
|
|
"Description of an error when sorting by incorrect parameter": {
|
|
"value": {
|
|
"errors": [
|
|
"Result cannot be sorted by the 'description' column."
|
|
]
|
|
},
|
|
"summary": "",
|
|
"description": ""
|
|
},
|
|
"Description of an error when requesting higher limit than supported": {
|
|
"value": {
|
|
"errors": [
|
|
"Invalid parameter: limit must be less than or equal to 100"
|
|
]
|
|
},
|
|
"summary": "",
|
|
"description": ""
|
|
}
|
|
},
|
|
"schema": {
|
|
"$ref": "#/components/schemas/errors"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"/security_guides/{security_guide_id}/profiles/{profile_id}/rules/{rule_id}": {
|
|
"get": {
|
|
"summary": "Request a Rule assigned to a Profile",
|
|
"parameters": [
|
|
{
|
|
"name": "X-RH-IDENTITY",
|
|
"in": "header",
|
|
"schema": {
|
|
"type": "string"
|
|
},
|
|
"description": "For internal use only"
|
|
},
|
|
{
|
|
"name": "security_guide_id",
|
|
"in": "path",
|
|
"required": true,
|
|
"schema": {
|
|
"type": "string"
|
|
}
|
|
},
|
|
{
|
|
"name": "profile_id",
|
|
"in": "path",
|
|
"required": true,
|
|
"schema": {
|
|
"type": "string"
|
|
}
|
|
},
|
|
{
|
|
"name": "rule_id",
|
|
"in": "path",
|
|
"required": true,
|
|
"description": "UUID or a ref_id with '.' characters replaced with '-'",
|
|
"schema": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
],
|
|
"tags": [
|
|
"Content"
|
|
],
|
|
"description": "Returns a Rule assigned to a Profile",
|
|
"operationId": "ProfileRule",
|
|
"responses": {
|
|
"200": {
|
|
"description": "Returns a Rule assigned to a Profile",
|
|
"content": {
|
|
"application/vnd.api+json": {
|
|
"examples": {
|
|
"Returns a Rule": {
|
|
"value": {
|
|
"data": {
|
|
"id": "58370678-e016-4021-bd55-809d60f58042",
|
|
"ref_id": "xccdf_org.ssgproject.content_rule_a16201a92eb32e0d377e70ef36d203ed",
|
|
"title": "Eum sint est qui.",
|
|
"rationale": "Error eligendi provident. Minima id non. Omnis accusamus id.",
|
|
"description": "Sit aperiam ad. Voluptatem enim eaque. Excepturi enim est.",
|
|
"severity": "high",
|
|
"precedence": 3413,
|
|
"identifier": {
|
|
"href": "http://wiegand-sporer.test/jami",
|
|
"label": "Beregond"
|
|
},
|
|
"references": [
|
|
{
|
|
"href": "http://strosin.example/linwood.reynolds",
|
|
"label": "Éothéod"
|
|
},
|
|
{
|
|
"href": "http://harber.test/keisha",
|
|
"label": "Fram"
|
|
},
|
|
{
|
|
"href": "http://schumm.test/vincent",
|
|
"label": "Rollo Boffin"
|
|
},
|
|
{
|
|
"href": "http://yundt.test/maryam_marvin",
|
|
"label": "Herefara"
|
|
},
|
|
{
|
|
"href": "http://smitham-emard.example/jenette",
|
|
"label": "Frodo Gardner"
|
|
}
|
|
],
|
|
"value_checks": null,
|
|
"remediation_available": false,
|
|
"type": "rule",
|
|
"remediation_issue_id": null
|
|
}
|
|
},
|
|
"summary": "",
|
|
"description": ""
|
|
}
|
|
},
|
|
"schema": {
|
|
"type": "object",
|
|
"properties": {
|
|
"data": {
|
|
"type": "object",
|
|
"properties": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/rule"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"404": {
|
|
"description": "Returns with Not Found",
|
|
"content": {
|
|
"application/vnd.api+json": {
|
|
"examples": {
|
|
"Description of an error when requesting a non-existing Rule": {
|
|
"value": {
|
|
"errors": [
|
|
"V2::Rule not found with ID 05e934f2-7fdb-4be7-97ba-376c690e9ad8"
|
|
]
|
|
},
|
|
"summary": "",
|
|
"description": ""
|
|
}
|
|
},
|
|
"schema": {
|
|
"$ref": "#/components/schemas/errors"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"/policies/{policy_id}/tailorings/{tailoring_id}/rules": {
|
|
"get": {
|
|
"summary": "Request Rules assigned to a Tailoring",
|
|
"parameters": [
|
|
{
|
|
"name": "X-RH-IDENTITY",
|
|
"in": "header",
|
|
"schema": {
|
|
"type": "string"
|
|
},
|
|
"description": "For internal use only"
|
|
},
|
|
{
|
|
"name": "limit",
|
|
"in": "query",
|
|
"required": false,
|
|
"description": "Number of items to return per page",
|
|
"schema": {
|
|
"type": "number",
|
|
"maximum": 100,
|
|
"minimum": 1,
|
|
"default": 10
|
|
}
|
|
},
|
|
{
|
|
"name": "offset",
|
|
"in": "query",
|
|
"required": false,
|
|
"description": "Offset of first item of paginated response",
|
|
"schema": {
|
|
"type": "integer",
|
|
"minimum": 0,
|
|
"default": 0
|
|
}
|
|
},
|
|
{
|
|
"name": "ids_only",
|
|
"in": "query",
|
|
"required": false,
|
|
"description": "Indicates whether to return only resource IDs.",
|
|
"schema": {
|
|
"type": "boolean"
|
|
}
|
|
},
|
|
{
|
|
"name": "sort_by",
|
|
"in": "query",
|
|
"required": false,
|
|
"description": "Attribute and direction to sort the items by. Represented by an array of fields with an optional direction (`<key>:asc` or `<key>:desc`).<br><br>If no direction is selected, `<key>:asc` is used by default.",
|
|
"schema": {
|
|
"type": "array",
|
|
"items": {
|
|
"enum": [
|
|
"title",
|
|
"severity",
|
|
"precedence",
|
|
"remediation_available",
|
|
"title:asc",
|
|
"title:desc",
|
|
"severity:asc",
|
|
"severity:desc",
|
|
"precedence:asc",
|
|
"precedence:desc",
|
|
"remediation_available:asc",
|
|
"remediation_available:desc"
|
|
]
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"name": "filter",
|
|
"in": "query",
|
|
"required": false,
|
|
"description": "Query string to filter items by their attributes. Compliant with <a href=\"https://github.com/wvanbergen/scoped_search/wiki/Query-language\" target=\"_blank\" title=\"github.com/wvanbergen/scoped_search\">scoped_search query language</a>. However, only `=` or `!=` (resp. `<>`) operators are supported.<br><br>Rules are searchable using attributes `title`, `severity`, `remediation_available`, and `rule_group_id`<br><br>(e.g.: `(field_1=something AND field_2!=\"something else\") OR field_3>40`)",
|
|
"schema": {
|
|
"type": "string"
|
|
}
|
|
},
|
|
{
|
|
"name": "policy_id",
|
|
"in": "path",
|
|
"required": true,
|
|
"schema": {
|
|
"type": "string"
|
|
}
|
|
},
|
|
{
|
|
"name": "tailoring_id",
|
|
"in": "path",
|
|
"required": true,
|
|
"schema": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
],
|
|
"tags": [
|
|
"Policies"
|
|
],
|
|
"description": "Lists Rules assigned to a Tailoring",
|
|
"operationId": "TailoringRules",
|
|
"responses": {
|
|
"200": {
|
|
"description": "Lists Rules assigned to a Tailoring",
|
|
"content": {
|
|
"application/vnd.api+json": {
|
|
"examples": {
|
|
"List of Rules": {
|
|
"value": {
|
|
"data": [
|
|
{
|
|
"id": "9d180be7-0ecf-42bf-a370-db41d717678d",
|
|
"ref_id": "xccdf_org.ssgproject.content_rule_bdc29d5a390532f0b6b13c2d7872464f",
|
|
"title": "Perferendis dolor culpa in.",
|
|
"rationale": "Quia rerum voluptatum. Ut quaerat eius. Quasi aspernatur ipsum.",
|
|
"description": "Beatae laudantium quos. Reiciendis non molestiae. Enim cum autem.",
|
|
"severity": "medium",
|
|
"precedence": 1095,
|
|
"identifier": {
|
|
"href": "http://hintz.example/elbert.ullrich",
|
|
"label": "Turgon"
|
|
},
|
|
"references": [
|
|
{
|
|
"href": "http://doyle.test/toby",
|
|
"label": "Azaghâl"
|
|
},
|
|
{
|
|
"href": "http://bernhard.example/ken.boyle",
|
|
"label": "Borondir"
|
|
},
|
|
{
|
|
"href": "http://runolfsson-conn.example/rosendo",
|
|
"label": "Prisca Baggins"
|
|
},
|
|
{
|
|
"href": "http://schuster-gleason.test/jimmie",
|
|
"label": "Jessamine Boffin"
|
|
},
|
|
{
|
|
"href": "http://littel.test/echo_wolf",
|
|
"label": "Araval"
|
|
}
|
|
],
|
|
"value_checks": null,
|
|
"remediation_available": false,
|
|
"type": "rule"
|
|
}
|
|
],
|
|
"meta": {
|
|
"total": 1,
|
|
"limit": 10,
|
|
"offset": 0
|
|
},
|
|
"links": {
|
|
"first": "/api/compliance/v2/policies/8be1663f-2dc4-46c1-b97e-107a2c3aa0de/tailorings/f6dd4ddb-de88-465e-89d2-623f6e22106b/rules?limit=10&offset=0",
|
|
"last": "/api/compliance/v2/policies/8be1663f-2dc4-46c1-b97e-107a2c3aa0de/tailorings/f6dd4ddb-de88-465e-89d2-623f6e22106b/rules?limit=10&offset=0"
|
|
}
|
|
},
|
|
"summary": "",
|
|
"description": ""
|
|
},
|
|
"List of Rules sorted by \"precedence:asc\"": {
|
|
"value": {
|
|
"data": [
|
|
{
|
|
"id": "78f70852-4d3f-433b-b7cc-75dbac84dc22",
|
|
"ref_id": "xccdf_org.ssgproject.content_rule_fd65599639d91aca90210fd788246ae3",
|
|
"title": "Et amet qui repellat.",
|
|
"rationale": "Consequatur et inventore. Amet modi commodi. Consequatur laborum iusto.",
|
|
"description": "Dolorem autem enim. Consequatur magni et. Porro magni illum.",
|
|
"severity": "medium",
|
|
"precedence": 2741,
|
|
"identifier": {
|
|
"href": "http://langosh.test/virgina_lehner",
|
|
"label": "Mrs. Maggot"
|
|
},
|
|
"references": [
|
|
{
|
|
"href": "http://bashirian-kutch.test/thersa",
|
|
"label": "Tar-Vanimeldë"
|
|
},
|
|
{
|
|
"href": "http://hermann-champlin.example/lyndsay.ullrich",
|
|
"label": "Merimac Brandybuck"
|
|
},
|
|
{
|
|
"href": "http://schumm.test/darron_blanda",
|
|
"label": "Duilin"
|
|
},
|
|
{
|
|
"href": "http://swift-will.example/gustavo",
|
|
"label": "Dior"
|
|
},
|
|
{
|
|
"href": "http://hilll.example/shawnta",
|
|
"label": "Amrod"
|
|
}
|
|
],
|
|
"value_checks": null,
|
|
"remediation_available": false,
|
|
"type": "rule"
|
|
}
|
|
],
|
|
"meta": {
|
|
"total": 1,
|
|
"limit": 10,
|
|
"offset": 0,
|
|
"sort_by": "precedence"
|
|
},
|
|
"links": {
|
|
"first": "/api/compliance/v2/policies/a23bc955-5757-47ad-8f51-376c9f1b0fde/tailorings/3f13c303-dadd-44c2-8717-faf9dddef4c7/rules?limit=10&offset=0&sort_by=precedence",
|
|
"last": "/api/compliance/v2/policies/a23bc955-5757-47ad-8f51-376c9f1b0fde/tailorings/3f13c303-dadd-44c2-8717-faf9dddef4c7/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": "0c615c15-0932-47bc-a91d-4c0bc6e683ce",
|
|
"ref_id": "xccdf_org.ssgproject.content_rule_2ea8cec6ab42a65ddabb5334338f413f",
|
|
"title": "Voluptas ratione autem maxime.",
|
|
"rationale": "A aperiam ipsam. Et magnam et. Esse excepturi exercitationem.",
|
|
"description": "Corrupti at quo. Enim voluptate cupiditate. Cupiditate amet beatae.",
|
|
"severity": "high",
|
|
"precedence": 5054,
|
|
"identifier": {
|
|
"href": "http://bashirian-borer.example/joesph_wolf",
|
|
"label": "Adalgrim Took"
|
|
},
|
|
"references": [
|
|
{
|
|
"href": "http://cormier-feil.example/ema_terry",
|
|
"label": "Largo Baggins"
|
|
},
|
|
{
|
|
"href": "http://ondricka-anderson.test/johnna",
|
|
"label": "Otto Boffin"
|
|
},
|
|
{
|
|
"href": "http://lubowitz.test/evette_rath",
|
|
"label": "Gimilkhâd"
|
|
},
|
|
{
|
|
"href": "http://sipes.test/eula_erdman",
|
|
"label": "Nellas"
|
|
},
|
|
{
|
|
"href": "http://harber.test/loren",
|
|
"label": "Lobelia Sackville-Baggins"
|
|
}
|
|
],
|
|
"value_checks": null,
|
|
"remediation_available": false,
|
|
"type": "rule"
|
|
},
|
|
{
|
|
"id": "13d3d73b-7acc-4872-a7ca-ee91ac32eebb",
|
|
"ref_id": "xccdf_org.ssgproject.content_rule_8cf5f08e38161bc7cb228848fb95b7b4",
|
|
"title": "Et sint deleniti iste.",
|
|
"rationale": "Porro assumenda excepturi. Est culpa tempora. Ad earum aliquid.",
|
|
"description": "Odit vel quo. Aspernatur voluptatem aut. Blanditiis enim ea.",
|
|
"severity": "low",
|
|
"precedence": 9864,
|
|
"identifier": {
|
|
"href": "http://stroman-bogan.example/shakita_labadie",
|
|
"label": "Arvegil"
|
|
},
|
|
"references": [
|
|
{
|
|
"href": "http://tromp.example/neomi",
|
|
"label": "Thranduil"
|
|
},
|
|
{
|
|
"href": "http://paucek-lubowitz.test/vincenzo",
|
|
"label": "Dina Diggle"
|
|
},
|
|
{
|
|
"href": "http://kovacek.example/cathrine",
|
|
"label": "Prisca Baggins"
|
|
},
|
|
{
|
|
"href": "http://reichel.test/rogelio_shanahan",
|
|
"label": "Witch-king"
|
|
},
|
|
{
|
|
"href": "http://padberg.example/nelida.konopelski",
|
|
"label": "Bilbo Gardner"
|
|
}
|
|
],
|
|
"value_checks": null,
|
|
"remediation_available": false,
|
|
"type": "rule"
|
|
},
|
|
{
|
|
"id": "345d131e-bb91-4a14-9a0f-aec373637119",
|
|
"ref_id": "xccdf_org.ssgproject.content_rule_3435856c14cfe704efc00e2d01f276db",
|
|
"title": "Provident facilis placeat omnis.",
|
|
"rationale": "Qui voluptatem provident. Qui et est. Enim et omnis.",
|
|
"description": "Aut repellendus consequatur. Autem aut voluptas. Dolores quibusdam qui.",
|
|
"severity": "low",
|
|
"precedence": 8388,
|
|
"identifier": {
|
|
"href": "http://jenkins.example/renna",
|
|
"label": "Anairë"
|
|
},
|
|
"references": [
|
|
{
|
|
"href": "http://bailey.test/theodora.runolfsson",
|
|
"label": "Manthor"
|
|
},
|
|
{
|
|
"href": "http://raynor-reilly.test/dennis",
|
|
"label": "Arassuil"
|
|
},
|
|
{
|
|
"href": "http://smitham.example/major",
|
|
"label": "Shelob"
|
|
},
|
|
{
|
|
"href": "http://cronin.test/houston.leuschke",
|
|
"label": "Tolman Cotton Junior"
|
|
},
|
|
{
|
|
"href": "http://shields.example/lawrence",
|
|
"label": "Gwindor"
|
|
}
|
|
],
|
|
"value_checks": null,
|
|
"remediation_available": false,
|
|
"type": "rule"
|
|
},
|
|
{
|
|
"id": "41037b36-3580-44e7-a637-c9a23d97a865",
|
|
"ref_id": "xccdf_org.ssgproject.content_rule_6339b154ff976ed964a84e4b75ff1ccf",
|
|
"title": "Dolores corporis officiis et.",
|
|
"rationale": "Odio atque non. Ad eos ut. Quasi rerum facere.",
|
|
"description": "Laboriosam corporis blanditiis. Asperiores sunt voluptatem. Aut quia voluptas.",
|
|
"severity": "medium",
|
|
"precedence": 4925,
|
|
"identifier": {
|
|
"href": "http://heller-simonis.example/dennis",
|
|
"label": "Saradoc Brandybuck"
|
|
},
|
|
"references": [
|
|
{
|
|
"href": "http://aufderhar.example/gale",
|
|
"label": "Prisca Baggins"
|
|
},
|
|
{
|
|
"href": "http://armstrong-stamm.example/susan.jones",
|
|
"label": "Eöl"
|
|
},
|
|
{
|
|
"href": "http://reynolds.example/leatha_grant",
|
|
"label": "Madoc Brandybuck"
|
|
},
|
|
{
|
|
"href": "http://ebert-sipes.example/marybelle.beer",
|
|
"label": "Treebeard"
|
|
},
|
|
{
|
|
"href": "http://torp-brakus.test/cheryll.dickens",
|
|
"label": "Beldir"
|
|
}
|
|
],
|
|
"value_checks": null,
|
|
"remediation_available": false,
|
|
"type": "rule"
|
|
},
|
|
{
|
|
"id": "54b357c4-4cf9-46a1-a32c-25f6f7220844",
|
|
"ref_id": "xccdf_org.ssgproject.content_rule_fc7b3961cd7badfad39e33fb05c089a8",
|
|
"title": "Unde dolorem repellendus officiis.",
|
|
"rationale": "Quasi cum aut. Ut id nemo. Quam corrupti optio.",
|
|
"description": "Nobis aut labore. Cum magnam architecto. Distinctio est enim.",
|
|
"severity": "low",
|
|
"precedence": 7039,
|
|
"identifier": {
|
|
"href": "http://price-brown.test/benny_mueller",
|
|
"label": "Nienor"
|
|
},
|
|
"references": [
|
|
{
|
|
"href": "http://mitchell.test/ulysses",
|
|
"label": "Ibun"
|
|
},
|
|
{
|
|
"href": "http://schumm.example/kimberly.macejkovic",
|
|
"label": "Hundad"
|
|
},
|
|
{
|
|
"href": "http://nader-robel.test/robby",
|
|
"label": "Golasgil"
|
|
},
|
|
{
|
|
"href": "http://gusikowski-howell.example/everett_pouros",
|
|
"label": "Nienor"
|
|
},
|
|
{
|
|
"href": "http://harvey-mccullough.example/harold",
|
|
"label": "Amroth"
|
|
}
|
|
],
|
|
"value_checks": null,
|
|
"remediation_available": false,
|
|
"type": "rule"
|
|
},
|
|
{
|
|
"id": "59692c97-5c6e-4f8f-b0d0-8181b05d5d0c",
|
|
"ref_id": "xccdf_org.ssgproject.content_rule_bc16ac137fc6abc20ab972cf2bab0868",
|
|
"title": "Possimus qui alias est.",
|
|
"rationale": "Qui ut deleniti. Animi ab et. Qui fugit nam.",
|
|
"description": "Et facere culpa. Voluptas vel exercitationem. Nemo et deserunt.",
|
|
"severity": "low",
|
|
"precedence": 5782,
|
|
"identifier": {
|
|
"href": "http://kling.test/elliot",
|
|
"label": "Jago Boffin"
|
|
},
|
|
"references": [
|
|
{
|
|
"href": "http://schowalter.test/shaina",
|
|
"label": "Asphodel Brandybuck"
|
|
},
|
|
{
|
|
"href": "http://bauch.example/bee_connelly",
|
|
"label": "Emeldir"
|
|
},
|
|
{
|
|
"href": "http://miller.example/erminia",
|
|
"label": "Anairë"
|
|
},
|
|
{
|
|
"href": "http://lind.test/marcella.schulist",
|
|
"label": "Ferumbras Took"
|
|
},
|
|
{
|
|
"href": "http://nolan.test/scott.shanahan",
|
|
"label": "Adaldrida Bolger"
|
|
}
|
|
],
|
|
"value_checks": null,
|
|
"remediation_available": false,
|
|
"type": "rule"
|
|
},
|
|
{
|
|
"id": "59918977-d510-48cb-b0b1-66dfa39dffa6",
|
|
"ref_id": "xccdf_org.ssgproject.content_rule_dad8f0fbfa43452cad139545e32a52c4",
|
|
"title": "Eveniet odit pariatur sapiente.",
|
|
"rationale": "Aut hic eius. Beatae praesentium voluptatem. Iure et dicta.",
|
|
"description": "Accusantium molestiae dolores. Velit autem nostrum. Necessitatibus quidem nihil.",
|
|
"severity": "high",
|
|
"precedence": 4184,
|
|
"identifier": {
|
|
"href": "http://harris.example/brooke",
|
|
"label": "Beren"
|
|
},
|
|
"references": [
|
|
{
|
|
"href": "http://block-rowe.test/reggie.hoeger",
|
|
"label": "Rosa Baggins"
|
|
},
|
|
{
|
|
"href": "http://senger.example/phillip",
|
|
"label": "Aravorn"
|
|
},
|
|
{
|
|
"href": "http://graham-farrell.test/chas.christiansen",
|
|
"label": "Eorl"
|
|
},
|
|
{
|
|
"href": "http://herzog.test/amado",
|
|
"label": "Rúmil"
|
|
},
|
|
{
|
|
"href": "http://schinner.test/thaddeus",
|
|
"label": "Celebrían"
|
|
}
|
|
],
|
|
"value_checks": null,
|
|
"remediation_available": false,
|
|
"type": "rule"
|
|
},
|
|
{
|
|
"id": "66fa1a49-84b7-4e30-a537-6f57cf9a9b06",
|
|
"ref_id": "xccdf_org.ssgproject.content_rule_0a14a960d2a9f1a91a397a83458fa8c8",
|
|
"title": "Quis itaque qui et.",
|
|
"rationale": "Illum aut omnis. Libero et recusandae. Maxime earum molestiae.",
|
|
"description": "Sapiente modi qui. Ullam aut eligendi. Iste perferendis aut.",
|
|
"severity": "high",
|
|
"precedence": 159,
|
|
"identifier": {
|
|
"href": "http://mayer.example/nenita",
|
|
"label": "Bruno Bracegirdle"
|
|
},
|
|
"references": [
|
|
{
|
|
"href": "http://schowalter.test/lamont",
|
|
"label": "Ceorl"
|
|
},
|
|
{
|
|
"href": "http://gutkowski.test/roderick.labadie",
|
|
"label": "Hunthor"
|
|
},
|
|
{
|
|
"href": "http://huel.test/milan.frami",
|
|
"label": "Dernhelm"
|
|
},
|
|
{
|
|
"href": "http://watsica-lowe.example/cleveland_shields",
|
|
"label": "King of the Dead"
|
|
},
|
|
{
|
|
"href": "http://cummings-lueilwitz.example/albertine_ryan",
|
|
"label": "Celebrían"
|
|
}
|
|
],
|
|
"value_checks": null,
|
|
"remediation_available": false,
|
|
"type": "rule"
|
|
},
|
|
{
|
|
"id": "6b736780-0720-44ec-af1a-337713af415d",
|
|
"ref_id": "xccdf_org.ssgproject.content_rule_64245f03057c84f9eee3f6a3fa5bd00f",
|
|
"title": "Autem aut dignissimos dolor.",
|
|
"rationale": "Laborum sed exercitationem. Rerum dolorem perspiciatis. Vel dolores officiis.",
|
|
"description": "Maiores dignissimos enim. Aut impedit odit. Eius praesentium et.",
|
|
"severity": "low",
|
|
"precedence": 1292,
|
|
"identifier": {
|
|
"href": "http://bartell.example/neida",
|
|
"label": "Araphor"
|
|
},
|
|
"references": [
|
|
{
|
|
"href": "http://bergstrom.test/dewitt_okeefe",
|
|
"label": "Dudo Baggins"
|
|
},
|
|
{
|
|
"href": "http://daniel-cartwright.example/arron",
|
|
"label": "Voronwë"
|
|
},
|
|
{
|
|
"href": "http://blanda.test/jimmy_hessel",
|
|
"label": "Gimilkhâd"
|
|
},
|
|
{
|
|
"href": "http://lang.example/lonnie",
|
|
"label": "Merimac Brandybuck"
|
|
},
|
|
{
|
|
"href": "http://harber.example/cleora",
|
|
"label": "Celebrimbor"
|
|
}
|
|
],
|
|
"value_checks": null,
|
|
"remediation_available": false,
|
|
"type": "rule"
|
|
},
|
|
{
|
|
"id": "7abb4c14-4c70-4341-ae74-8f1cfaf81ccb",
|
|
"ref_id": "xccdf_org.ssgproject.content_rule_df75a847c1583c841773385aa6f0626e",
|
|
"title": "Quidem dolores sit iste.",
|
|
"rationale": "Quia perferendis omnis. Mollitia est quo. Aspernatur accusantium inventore.",
|
|
"description": "Aperiam voluptatum dolorem. Modi ea quibusdam. Aperiam ratione vel.",
|
|
"severity": "low",
|
|
"precedence": 7467,
|
|
"identifier": {
|
|
"href": "http://von-rempel.test/mitch",
|
|
"label": "Mirabella Took"
|
|
},
|
|
"references": [
|
|
{
|
|
"href": "http://hammes-quitzon.test/aubrey_bogisich",
|
|
"label": "Rudibert Bolger"
|
|
},
|
|
{
|
|
"href": "http://berge.example/napoleon_roob",
|
|
"label": "Flói"
|
|
},
|
|
{
|
|
"href": "http://kertzmann.example/german.willms",
|
|
"label": "Faramir"
|
|
},
|
|
{
|
|
"href": "http://hackett.example/josiah.konopelski",
|
|
"label": "Glaurung"
|
|
},
|
|
{
|
|
"href": "http://rath.example/tijuana.schroeder",
|
|
"label": "Meneldor"
|
|
}
|
|
],
|
|
"value_checks": null,
|
|
"remediation_available": false,
|
|
"type": "rule"
|
|
}
|
|
],
|
|
"meta": {
|
|
"total": 25,
|
|
"limit": 10,
|
|
"offset": 0
|
|
},
|
|
"links": {
|
|
"first": "/api/compliance/v2/policies/912df6f6-479b-4754-8cdd-dbdc524ab74c/tailorings/148b1c7c-1fe0-47e2-878b-d12070b25251/rules?limit=10&offset=0",
|
|
"last": "/api/compliance/v2/policies/912df6f6-479b-4754-8cdd-dbdc524ab74c/tailorings/148b1c7c-1fe0-47e2-878b-d12070b25251/rules?limit=10&offset=20",
|
|
"next": "/api/compliance/v2/policies/912df6f6-479b-4754-8cdd-dbdc524ab74c/tailorings/148b1c7c-1fe0-47e2-878b-d12070b25251/rules?limit=10&offset=10"
|
|
}
|
|
},
|
|
"summary": "",
|
|
"description": ""
|
|
}
|
|
},
|
|
"schema": {
|
|
"type": "object",
|
|
"properties": {
|
|
"meta": {
|
|
"$ref": "#/components/schemas/metadata"
|
|
},
|
|
"links": {
|
|
"$ref": "#/components/schemas/links"
|
|
},
|
|
"data": {
|
|
"type": "array",
|
|
"items": {
|
|
"properties": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/rule"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"requestBody": {
|
|
"content": {
|
|
"application/vnd.api+json": {
|
|
"schema": {
|
|
"type": "object",
|
|
"properties": {
|
|
"ids": {
|
|
"type": "array",
|
|
"items": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"/policies/{policy_id}/tailorings/{tailoring_id}/rules/{rule_id}": {
|
|
"patch": {
|
|
"summary": "Assign a Rule to a Tailoring",
|
|
"parameters": [
|
|
{
|
|
"name": "X-RH-IDENTITY",
|
|
"in": "header",
|
|
"schema": {
|
|
"type": "string"
|
|
},
|
|
"description": "For internal use only"
|
|
},
|
|
{
|
|
"name": "policy_id",
|
|
"in": "path",
|
|
"required": true,
|
|
"schema": {
|
|
"type": "string"
|
|
}
|
|
},
|
|
{
|
|
"name": "tailoring_id",
|
|
"in": "path",
|
|
"required": true,
|
|
"schema": {
|
|
"type": "string"
|
|
}
|
|
},
|
|
{
|
|
"name": "rule_id",
|
|
"in": "path",
|
|
"required": true,
|
|
"description": "UUID or a ref_id with '.' characters replaced with '-'",
|
|
"schema": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
],
|
|
"tags": [
|
|
"Policies"
|
|
],
|
|
"description": "Assigns a Rule to a Tailoring",
|
|
"operationId": "AssignRule",
|
|
"responses": {
|
|
"202": {
|
|
"description": "Assigns a Rule to a Tailoring",
|
|
"content": {
|
|
"application/vnd.api+json": {
|
|
"examples": {
|
|
"Assigns a Rule to a Tailoring": {
|
|
"value": {
|
|
"data": {
|
|
"id": "dc4d7369-faaf-4a12-b18e-7eda121e509e",
|
|
"ref_id": "xccdf_org.ssgproject.content_rule_31d3a018e2deb79d0c0be54c7eab79fa",
|
|
"title": "Cupiditate enim et consequatur.",
|
|
"rationale": "Quia temporibus exercitationem. Consequatur magnam recusandae. Et beatae sint.",
|
|
"description": "Corporis beatae ut. Est voluptates et. Maiores explicabo ratione.",
|
|
"severity": "low",
|
|
"precedence": 743,
|
|
"identifier": {
|
|
"href": "http://bruen.example/elmer_rodriguez",
|
|
"label": "Tar-Telemmaitë"
|
|
},
|
|
"references": [
|
|
{
|
|
"href": "http://keebler-bode.example/tamera",
|
|
"label": "Faniel"
|
|
},
|
|
{
|
|
"href": "http://wiza.example/zona.erdman",
|
|
"label": "Primrose Boffin"
|
|
},
|
|
{
|
|
"href": "http://fahey.test/buddy",
|
|
"label": "Arminas"
|
|
},
|
|
{
|
|
"href": "http://shanahan.test/miquel",
|
|
"label": "Madril"
|
|
},
|
|
{
|
|
"href": "http://collins.example/nathaniel_wilderman",
|
|
"label": "Bungo Baggins"
|
|
}
|
|
],
|
|
"value_checks": null,
|
|
"remediation_available": false,
|
|
"type": "rule"
|
|
}
|
|
},
|
|
"summary": "",
|
|
"description": ""
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"404": {
|
|
"description": "Returns with Not found",
|
|
"content": {
|
|
"application/vnd.api+json": {
|
|
"examples": {
|
|
"Returns with Not found": {
|
|
"value": {
|
|
"errors": [
|
|
"V2::Rule not found with ID 6e1cbea6-52d8-41b4-8665-47522b61aa7b"
|
|
]
|
|
},
|
|
"summary": "",
|
|
"description": ""
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"delete": {
|
|
"summary": "Unassign a Rule from a Tailoring",
|
|
"parameters": [
|
|
{
|
|
"name": "X-RH-IDENTITY",
|
|
"in": "header",
|
|
"schema": {
|
|
"type": "string"
|
|
},
|
|
"description": "For internal use only"
|
|
},
|
|
{
|
|
"name": "policy_id",
|
|
"in": "path",
|
|
"required": true,
|
|
"schema": {
|
|
"type": "string"
|
|
}
|
|
},
|
|
{
|
|
"name": "tailoring_id",
|
|
"in": "path",
|
|
"required": true,
|
|
"schema": {
|
|
"type": "string"
|
|
}
|
|
},
|
|
{
|
|
"name": "rule_id",
|
|
"in": "path",
|
|
"required": true,
|
|
"description": "UUID or a ref_id with '.' characters replaced with '-'",
|
|
"schema": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
],
|
|
"tags": [
|
|
"Policies"
|
|
],
|
|
"description": "Unassigns a Rule from a Tailoring",
|
|
"operationId": "UnassignRule",
|
|
"responses": {
|
|
"202": {
|
|
"description": "Unassigns a Rule from a Tailoring",
|
|
"content": {
|
|
"application/vnd.api+json": {
|
|
"examples": {
|
|
"Unassigns a Rule from a Tailoring": {
|
|
"value": {
|
|
"data": {
|
|
"id": "998cb7eb-a3c5-478b-af73-e95056347ac8",
|
|
"ref_id": "xccdf_org.ssgproject.content_rule_d7543e47b2e3ca53507b06aa0ece06d6",
|
|
"title": "Possimus sapiente necessitatibus id.",
|
|
"rationale": "Ad libero quod. Qui illo et. Vel reprehenderit fugiat.",
|
|
"description": "Voluptatem ut sapiente. Hic deserunt quia. Autem illo accusantium.",
|
|
"severity": "high",
|
|
"precedence": 7508,
|
|
"identifier": {
|
|
"href": "http://gottlieb.test/wilford",
|
|
"label": "Azaghâl"
|
|
},
|
|
"references": [
|
|
{
|
|
"href": "http://mcglynn.test/shayne",
|
|
"label": "Gundolpho Bolger"
|
|
},
|
|
{
|
|
"href": "http://schimmel-nader.example/nelle",
|
|
"label": "Mrs. Bunce"
|
|
},
|
|
{
|
|
"href": "http://reilly.test/lurline",
|
|
"label": "Déorwine"
|
|
},
|
|
{
|
|
"href": "http://upton.test/aurelio_kozey",
|
|
"label": "Boron"
|
|
},
|
|
{
|
|
"href": "http://rogahn.example/cary.murphy",
|
|
"label": "Maglor"
|
|
}
|
|
],
|
|
"value_checks": null,
|
|
"remediation_available": false,
|
|
"type": "rule"
|
|
}
|
|
},
|
|
"summary": "",
|
|
"description": ""
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"404": {
|
|
"description": "Returns with Not found",
|
|
"content": {
|
|
"application/vnd.api+json": {
|
|
"examples": {
|
|
"Description of an error when unassigning a non-existing Rule": {
|
|
"value": {
|
|
"errors": [
|
|
"V2::Rule not found with ID 6fd4ddc5-8cd5-4c87-84bf-ec22c34c9d58"
|
|
]
|
|
},
|
|
"summary": "",
|
|
"description": ""
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"/security_guides": {
|
|
"get": {
|
|
"summary": "Request Security Guides",
|
|
"parameters": [
|
|
{
|
|
"name": "X-RH-IDENTITY",
|
|
"in": "header",
|
|
"schema": {
|
|
"type": "string"
|
|
},
|
|
"description": "For internal use only"
|
|
},
|
|
{
|
|
"name": "limit",
|
|
"in": "query",
|
|
"required": false,
|
|
"description": "Number of items to return per page",
|
|
"schema": {
|
|
"type": "number",
|
|
"maximum": 100,
|
|
"minimum": 1,
|
|
"default": 10
|
|
}
|
|
},
|
|
{
|
|
"name": "offset",
|
|
"in": "query",
|
|
"required": false,
|
|
"description": "Offset of first item of paginated response",
|
|
"schema": {
|
|
"type": "integer",
|
|
"minimum": 0,
|
|
"default": 0
|
|
}
|
|
},
|
|
{
|
|
"name": "ids_only",
|
|
"in": "query",
|
|
"required": false,
|
|
"description": "Indicates whether to return only resource IDs.",
|
|
"schema": {
|
|
"type": "boolean"
|
|
}
|
|
},
|
|
{
|
|
"name": "sort_by",
|
|
"in": "query",
|
|
"required": false,
|
|
"description": "Attribute and direction to sort the items by. Represented by an array of fields with an optional direction (`<key>:asc` or `<key>:desc`).<br><br>If no direction is selected, `<key>:asc` is used by default.",
|
|
"schema": {
|
|
"type": "array",
|
|
"items": {
|
|
"enum": [
|
|
"title",
|
|
"version",
|
|
"os_major_version",
|
|
"title:asc",
|
|
"title:desc",
|
|
"version:asc",
|
|
"version:desc",
|
|
"os_major_version:asc",
|
|
"os_major_version:desc"
|
|
]
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"name": "filter",
|
|
"in": "query",
|
|
"required": false,
|
|
"description": "Query string to filter items by their attributes. Compliant with <a href=\"https://github.com/wvanbergen/scoped_search/wiki/Query-language\" target=\"_blank\" title=\"github.com/wvanbergen/scoped_search\">scoped_search query language</a>. However, only `=` or `!=` (resp. `<>`) operators are supported.<br><br>Security Guides are searchable using attributes `title`, `version`, `ref_id`, `os_major_version`, `profile_ref_id`, and `os_minor_version`<br><br>(e.g.: `(field_1=something AND field_2!=\"something else\") OR field_3>40`)",
|
|
"schema": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
],
|
|
"tags": [
|
|
"Content"
|
|
],
|
|
"description": "Lists Security Guides",
|
|
"operationId": "SecurityGuides",
|
|
"responses": {
|
|
"200": {
|
|
"description": "Lists Security Guides",
|
|
"content": {
|
|
"application/vnd.api+json": {
|
|
"examples": {
|
|
"List of Security Guides": {
|
|
"value": {
|
|
"data": [
|
|
{
|
|
"id": "08f09c59-bd51-4986-97d8-c55d6d813689",
|
|
"ref_id": "xccdf_org.ssgproject.content_benchmark_RHEL-7",
|
|
"title": "Adipisci recusandae necessitatibus ipsam.",
|
|
"version": "100.82.39",
|
|
"description": "Quia enim tempora. Rerum voluptate incidunt. Nihil et voluptas.",
|
|
"os_major_version": 7,
|
|
"type": "security_guide"
|
|
},
|
|
{
|
|
"id": "2133b48d-580b-49c3-a16f-5508447d5cc1",
|
|
"ref_id": "xccdf_org.ssgproject.content_benchmark_RHEL-7",
|
|
"title": "Quod mollitia temporibus iste.",
|
|
"version": "100.83.11",
|
|
"description": "Qui dolore ratione. Voluptas iste dolorem. Qui numquam ullam.",
|
|
"os_major_version": 7,
|
|
"type": "security_guide"
|
|
},
|
|
{
|
|
"id": "2e867da5-f9eb-43f6-9a36-d5d78b5c2e04",
|
|
"ref_id": "xccdf_org.ssgproject.content_benchmark_RHEL-7",
|
|
"title": "Corrupti est iusto magni.",
|
|
"version": "100.83.4",
|
|
"description": "Nam veritatis et. Deleniti et omnis. Vero eligendi deleniti.",
|
|
"os_major_version": 7,
|
|
"type": "security_guide"
|
|
},
|
|
{
|
|
"id": "3e356739-1674-4614-abd2-dda0a294ef5a",
|
|
"ref_id": "xccdf_org.ssgproject.content_benchmark_RHEL-7",
|
|
"title": "Omnis fuga debitis dolorum.",
|
|
"version": "100.82.44",
|
|
"description": "Qui aperiam aut. Id et non. Et et eos.",
|
|
"os_major_version": 7,
|
|
"type": "security_guide"
|
|
},
|
|
{
|
|
"id": "47fe84b5-adc4-4e6f-b64f-7de822f94518",
|
|
"ref_id": "xccdf_org.ssgproject.content_benchmark_RHEL-7",
|
|
"title": "Qui voluptatibus dolore quo.",
|
|
"version": "100.82.41",
|
|
"description": "Quis dolorem odio. Et quia animi. Aut et sint.",
|
|
"os_major_version": 7,
|
|
"type": "security_guide"
|
|
},
|
|
{
|
|
"id": "5078d87e-81a9-4c70-b4f3-68eef88a02f9",
|
|
"ref_id": "xccdf_org.ssgproject.content_benchmark_RHEL-7",
|
|
"title": "Id asperiores culpa molestiae.",
|
|
"version": "100.82.42",
|
|
"description": "Et doloribus est. Ut nihil velit. Iste in et.",
|
|
"os_major_version": 7,
|
|
"type": "security_guide"
|
|
},
|
|
{
|
|
"id": "55498b38-790b-460c-ac78-c72dcfbbf004",
|
|
"ref_id": "xccdf_org.ssgproject.content_benchmark_RHEL-7",
|
|
"title": "Odit placeat voluptates animi.",
|
|
"version": "100.83.12",
|
|
"description": "Cumque placeat iusto. Placeat non eos. Illo maiores necessitatibus.",
|
|
"os_major_version": 7,
|
|
"type": "security_guide"
|
|
},
|
|
{
|
|
"id": "59558509-6f91-4114-841b-f810dac90f95",
|
|
"ref_id": "xccdf_org.ssgproject.content_benchmark_RHEL-7",
|
|
"title": "Nemo in placeat veritatis.",
|
|
"version": "100.82.38",
|
|
"description": "Id ut dolorum. Dolor dolores perspiciatis. Eveniet accusamus voluptatem.",
|
|
"os_major_version": 7,
|
|
"type": "security_guide"
|
|
},
|
|
{
|
|
"id": "6b2891a6-0d0a-44d1-9cae-f912a86fa030",
|
|
"ref_id": "xccdf_org.ssgproject.content_benchmark_RHEL-7",
|
|
"title": "Non qui recusandae aspernatur.",
|
|
"version": "100.83.8",
|
|
"description": "Consequuntur sit fugiat. Dicta sint aperiam. Molestiae sunt porro.",
|
|
"os_major_version": 7,
|
|
"type": "security_guide"
|
|
},
|
|
{
|
|
"id": "6fe15fd8-fdd1-49a1-a6ec-587ae72d5b46",
|
|
"ref_id": "xccdf_org.ssgproject.content_benchmark_RHEL-7",
|
|
"title": "Qui at quo eos.",
|
|
"version": "100.83.2",
|
|
"description": "Eveniet ea quos. Tempore ut enim. Nulla dignissimos velit.",
|
|
"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": "0eeaf12b-900f-481d-8fe6-2e46261121c5",
|
|
"ref_id": "xccdf_org.ssgproject.content_benchmark_RHEL-7",
|
|
"title": "Ex rerum necessitatibus dignissimos.",
|
|
"version": "100.83.18",
|
|
"description": "Illum molestiae architecto. Id quo molestias. Saepe consequatur totam.",
|
|
"os_major_version": 7,
|
|
"type": "security_guide"
|
|
},
|
|
{
|
|
"id": "1c1e7857-a424-42eb-be36-e3c236642f9b",
|
|
"ref_id": "xccdf_org.ssgproject.content_benchmark_RHEL-7",
|
|
"title": "Quam et enim similique.",
|
|
"version": "100.83.31",
|
|
"description": "Ut ab iure. Dolor ad et. Numquam voluptates vel.",
|
|
"os_major_version": 7,
|
|
"type": "security_guide"
|
|
},
|
|
{
|
|
"id": "416eaaa2-1bbe-4df3-a7ac-c69f7c4bd5d8",
|
|
"ref_id": "xccdf_org.ssgproject.content_benchmark_RHEL-7",
|
|
"title": "Odio ullam saepe quasi.",
|
|
"version": "100.83.34",
|
|
"description": "Dignissimos a quia. Facilis enim praesentium. Corrupti officiis eaque.",
|
|
"os_major_version": 7,
|
|
"type": "security_guide"
|
|
},
|
|
{
|
|
"id": "476aeecb-0910-46f6-bf8f-e4088c092f98",
|
|
"ref_id": "xccdf_org.ssgproject.content_benchmark_RHEL-7",
|
|
"title": "Et cumque dolorem laborum.",
|
|
"version": "100.83.30",
|
|
"description": "Nam quo vel. Laboriosam ut amet. Sapiente nobis omnis.",
|
|
"os_major_version": 7,
|
|
"type": "security_guide"
|
|
},
|
|
{
|
|
"id": "53975a1e-1d36-411a-9e34-86c597a28d84",
|
|
"ref_id": "xccdf_org.ssgproject.content_benchmark_RHEL-7",
|
|
"title": "Odio optio at dolor.",
|
|
"version": "100.83.17",
|
|
"description": "Autem id et. Et explicabo rerum. Placeat in quibusdam.",
|
|
"os_major_version": 7,
|
|
"type": "security_guide"
|
|
},
|
|
{
|
|
"id": "554213f1-f211-4b11-b49c-04db19ef94d2",
|
|
"ref_id": "xccdf_org.ssgproject.content_benchmark_RHEL-7",
|
|
"title": "Eligendi velit impedit inventore.",
|
|
"version": "100.83.25",
|
|
"description": "Ut ullam autem. Quia error qui. Odit repudiandae nemo.",
|
|
"os_major_version": 7,
|
|
"type": "security_guide"
|
|
},
|
|
{
|
|
"id": "591ca4b6-d5bb-4d2a-989d-64651a4b07c2",
|
|
"ref_id": "xccdf_org.ssgproject.content_benchmark_RHEL-7",
|
|
"title": "Blanditiis beatae et nobis.",
|
|
"version": "100.83.28",
|
|
"description": "Alias voluptatem a. Mollitia laborum eaque. Facilis voluptate adipisci.",
|
|
"os_major_version": 7,
|
|
"type": "security_guide"
|
|
},
|
|
{
|
|
"id": "6573d7bc-30e0-42f9-bb2b-139ad81230fe",
|
|
"ref_id": "xccdf_org.ssgproject.content_benchmark_RHEL-7",
|
|
"title": "Minima aliquid molestiae ipsa.",
|
|
"version": "100.83.13",
|
|
"description": "Qui suscipit fuga. Animi eius laboriosam. Eum aut error.",
|
|
"os_major_version": 7,
|
|
"type": "security_guide"
|
|
},
|
|
{
|
|
"id": "81b257d9-79a6-4397-bd83-29788d327140",
|
|
"ref_id": "xccdf_org.ssgproject.content_benchmark_RHEL-7",
|
|
"title": "Rerum reprehenderit similique et.",
|
|
"version": "100.83.15",
|
|
"description": "Dolorem repellat ipsam. Saepe enim voluptatem. Rerum illo aut.",
|
|
"os_major_version": 7,
|
|
"type": "security_guide"
|
|
},
|
|
{
|
|
"id": "8a27ce6d-1e9b-414e-bf25-78fa3497f16d",
|
|
"ref_id": "xccdf_org.ssgproject.content_benchmark_RHEL-7",
|
|
"title": "Enim quia expedita praesentium.",
|
|
"version": "100.83.24",
|
|
"description": "Tempore culpa eveniet. Neque autem corrupti. Ad autem dolor.",
|
|
"os_major_version": 7,
|
|
"type": "security_guide"
|
|
}
|
|
],
|
|
"meta": {
|
|
"total": 25,
|
|
"limit": 10,
|
|
"offset": 0,
|
|
"sort_by": "os_major_version"
|
|
},
|
|
"links": {
|
|
"first": "/api/compliance/v2/security_guides?limit=10&offset=0&sort_by=os_major_version",
|
|
"last": "/api/compliance/v2/security_guides?limit=10&offset=20&sort_by=os_major_version",
|
|
"next": "/api/compliance/v2/security_guides?limit=10&offset=10&sort_by=os_major_version"
|
|
}
|
|
},
|
|
"summary": "",
|
|
"description": ""
|
|
},
|
|
"List of Security Guides filtered by \"(os_major_version=8)\"": {
|
|
"value": {
|
|
"data": [],
|
|
"meta": {
|
|
"total": 0,
|
|
"filter": "(os_major_version=8)",
|
|
"limit": 10,
|
|
"offset": 0
|
|
},
|
|
"links": {
|
|
"first": "/api/compliance/v2/security_guides?filter=%28os_major_version%3D8%29&limit=10&offset=0",
|
|
"last": "/api/compliance/v2/security_guides?filter=%28os_major_version%3D8%29&limit=10&offset=0"
|
|
}
|
|
},
|
|
"summary": "",
|
|
"description": ""
|
|
}
|
|
},
|
|
"schema": {
|
|
"type": "object",
|
|
"properties": {
|
|
"meta": {
|
|
"$ref": "#/components/schemas/metadata"
|
|
},
|
|
"links": {
|
|
"$ref": "#/components/schemas/links"
|
|
},
|
|
"data": {
|
|
"type": "array",
|
|
"items": {
|
|
"properties": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/security_guide"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"422": {
|
|
"description": "Returns with Unprocessable Content",
|
|
"content": {
|
|
"application/vnd.api+json": {
|
|
"examples": {
|
|
"Description of an error when sorting by incorrect parameter": {
|
|
"value": {
|
|
"errors": [
|
|
"Result cannot be sorted by the 'description' column."
|
|
]
|
|
},
|
|
"summary": "",
|
|
"description": ""
|
|
},
|
|
"Description of an error when requesting higher limit than supported": {
|
|
"value": {
|
|
"errors": [
|
|
"Invalid parameter: limit must be less than or equal to 100"
|
|
]
|
|
},
|
|
"summary": "",
|
|
"description": ""
|
|
}
|
|
},
|
|
"schema": {
|
|
"$ref": "#/components/schemas/errors"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"/security_guides/os_versions": {
|
|
"get": {
|
|
"summary": "Request the list of available OS versions",
|
|
"parameters": [
|
|
{
|
|
"name": "X-RH-IDENTITY",
|
|
"in": "header",
|
|
"schema": {
|
|
"type": "string"
|
|
},
|
|
"description": "For internal use only"
|
|
},
|
|
{
|
|
"name": "filter",
|
|
"in": "query",
|
|
"required": false,
|
|
"description": "Query string to filter items by their attributes. Compliant with <a href=\"https://github.com/wvanbergen/scoped_search/wiki/Query-language\" target=\"_blank\" title=\"github.com/wvanbergen/scoped_search\">scoped_search query language</a>. However, only `=` or `!=` (resp. `<>`) operators are supported.<br><br>Systems are searchable using attributes `display_name`, `os_major_version`, `os_minor_version`, `assigned_or_scanned`, `never_reported`, `group_name`, `policies`, and `profile_ref_id`<br><br>(e.g.: `(field_1=something AND field_2!=\"something else\") OR field_3>40`)",
|
|
"schema": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
],
|
|
"tags": [
|
|
"Content"
|
|
],
|
|
"description": "This feature is exclusively used by the frontend",
|
|
"operationId": "SecurityGuidesOS",
|
|
"deprecated": true,
|
|
"responses": {
|
|
"200": {
|
|
"description": "Lists available OS versions",
|
|
"content": {
|
|
"application/vnd.api+json": {
|
|
"examples": {
|
|
"List of available OS versions": {
|
|
"value": [
|
|
7
|
|
],
|
|
"summary": "",
|
|
"description": ""
|
|
}
|
|
},
|
|
"schema": {
|
|
"type": "array",
|
|
"items": {
|
|
"type": "integer"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"/security_guides/{security_guide_id}": {
|
|
"get": {
|
|
"summary": "Request a Security Guide",
|
|
"parameters": [
|
|
{
|
|
"name": "X-RH-IDENTITY",
|
|
"in": "header",
|
|
"schema": {
|
|
"type": "string"
|
|
},
|
|
"description": "For internal use only"
|
|
},
|
|
{
|
|
"name": "security_guide_id",
|
|
"in": "path",
|
|
"required": true,
|
|
"schema": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
],
|
|
"tags": [
|
|
"Content"
|
|
],
|
|
"description": "Returns a Security Guide",
|
|
"operationId": "SecurityGuide",
|
|
"responses": {
|
|
"200": {
|
|
"description": "Returns a Security Guide",
|
|
"content": {
|
|
"application/vnd.api+json": {
|
|
"examples": {
|
|
"Returns a Security Guide": {
|
|
"value": {
|
|
"data": {
|
|
"id": "ef807247-1ad7-4e38-9db9-602f1b257441",
|
|
"ref_id": "xccdf_org.ssgproject.content_benchmark_RHEL-7",
|
|
"title": "Fugiat dolor accusantium tempore.",
|
|
"version": "100.85.38",
|
|
"description": "Consectetur possimus eaque. Perspiciatis recusandae fugit. Et molestias sunt.",
|
|
"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 abbcd927-b083-4b67-a08d-845542cb90b8"
|
|
]
|
|
},
|
|
"summary": "",
|
|
"description": ""
|
|
}
|
|
},
|
|
"schema": {
|
|
"$ref": "#/components/schemas/errors"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"/security_guides/{security_guide_id}/rule_tree": {
|
|
"get": {
|
|
"summary": "Request the Rule Tree of a Security Guide",
|
|
"parameters": [
|
|
{
|
|
"name": "X-RH-IDENTITY",
|
|
"in": "header",
|
|
"schema": {
|
|
"type": "string"
|
|
},
|
|
"description": "For internal use only"
|
|
},
|
|
{
|
|
"name": "security_guide_id",
|
|
"in": "path",
|
|
"required": true,
|
|
"schema": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
],
|
|
"tags": [
|
|
"Content"
|
|
],
|
|
"description": "Returns the Rule Tree of a Security Guide",
|
|
"operationId": "SecurityGuideRuleTree",
|
|
"responses": {
|
|
"200": {
|
|
"description": "Returns the Rule Tree of a Security Guide",
|
|
"content": {
|
|
"application/vnd.api+json": {
|
|
"examples": {
|
|
"Returns the Rule Tree of a Security Guide": {
|
|
"value": [
|
|
{
|
|
"id": "d83c6386-7eed-4ef2-971f-9e0a55ed0530",
|
|
"type": "rule_group",
|
|
"children": [
|
|
{
|
|
"id": "f46e0f25-8139-4367-9d54-ffe838c2b5a8",
|
|
"type": "rule"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "9560f0ae-3a3a-4bd4-90c5-f5d7828c44ae",
|
|
"type": "rule_group",
|
|
"children": [
|
|
{
|
|
"id": "96afabd9-bc07-407f-a15f-0530ddcbb62b",
|
|
"type": "rule"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "9472e1e3-dab0-4c26-b32f-7d455dfc4779",
|
|
"type": "rule_group",
|
|
"children": [
|
|
{
|
|
"id": "292b671d-fd82-47ae-87ab-ee6f598118b6",
|
|
"type": "rule"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "5b3d5193-c5e7-4e7c-9be6-217e1224a045",
|
|
"type": "rule_group",
|
|
"children": [
|
|
{
|
|
"id": "89c69443-dd56-40d4-9632-fb3a7006bf93",
|
|
"type": "rule"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "e0a4283c-e973-4188-8f6f-d69b88a57e87",
|
|
"type": "rule_group",
|
|
"children": [
|
|
{
|
|
"id": "7e5bc774-210d-4bbd-93bb-72d95edd2f6f",
|
|
"type": "rule"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "e9bce480-f598-4386-9cb4-2b83246ac219",
|
|
"type": "rule_group",
|
|
"children": [
|
|
{
|
|
"id": "2bb14ebe-3a4d-4474-b278-dd73a853e05a",
|
|
"type": "rule"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "45905c9f-ec12-4a76-aee4-bf5586f68c79",
|
|
"type": "rule_group",
|
|
"children": [
|
|
{
|
|
"id": "b67d7b0f-9627-411f-9fec-2a8b7b0f9175",
|
|
"type": "rule"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "fbc37ecf-ded0-4dc3-b9cf-95c8896460a2",
|
|
"type": "rule_group",
|
|
"children": [
|
|
{
|
|
"id": "79c61251-0303-4deb-ac66-3efdea9fc56e",
|
|
"type": "rule"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "14818829-57b2-44b7-a2c0-18dc56dd9f3f",
|
|
"type": "rule_group",
|
|
"children": [
|
|
{
|
|
"id": "bc63a8de-5137-454c-ab92-33c74c8e01f2",
|
|
"type": "rule"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "ac5adea0-ea15-494a-8d35-2c86ccf535e5",
|
|
"type": "rule_group",
|
|
"children": [
|
|
{
|
|
"id": "92a2cecf-09a9-4410-aa13-9e700f945cd3",
|
|
"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 c670c708-7b07-4a5b-8c5b-da15bfae2f0a"
|
|
]
|
|
},
|
|
"summary": "",
|
|
"description": ""
|
|
}
|
|
},
|
|
"schema": {
|
|
"$ref": "#/components/schemas/errors"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"/security_guides/supported_profiles": {
|
|
"get": {
|
|
"summary": "Request Supported Profiles",
|
|
"parameters": [
|
|
{
|
|
"name": "X-RH-IDENTITY",
|
|
"in": "header",
|
|
"schema": {
|
|
"type": "string"
|
|
},
|
|
"description": "For internal use only"
|
|
},
|
|
{
|
|
"name": "limit",
|
|
"in": "query",
|
|
"required": false,
|
|
"description": "Number of items to return per page",
|
|
"schema": {
|
|
"type": "number",
|
|
"maximum": 100,
|
|
"minimum": 1,
|
|
"default": 10
|
|
}
|
|
},
|
|
{
|
|
"name": "offset",
|
|
"in": "query",
|
|
"required": false,
|
|
"description": "Offset of first item of paginated response",
|
|
"schema": {
|
|
"type": "integer",
|
|
"minimum": 0,
|
|
"default": 0
|
|
}
|
|
},
|
|
{
|
|
"name": "ids_only",
|
|
"in": "query",
|
|
"required": false,
|
|
"description": "Indicates whether to return only resource IDs.",
|
|
"schema": {
|
|
"type": "boolean"
|
|
}
|
|
},
|
|
{
|
|
"name": "sort_by",
|
|
"in": "query",
|
|
"required": false,
|
|
"description": "Attribute and direction to sort the items by. Represented by an array of fields with an optional direction (`<key>:asc` or `<key>:desc`).<br><br>If no direction is selected, `<key>:asc` is used by default.",
|
|
"schema": {
|
|
"type": "array",
|
|
"items": {
|
|
"enum": [
|
|
"title",
|
|
"os_major_version",
|
|
"os_minor_versions",
|
|
"title:asc",
|
|
"title:desc",
|
|
"os_major_version:asc",
|
|
"os_major_version:desc",
|
|
"os_minor_versions:asc",
|
|
"os_minor_versions:desc"
|
|
]
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"name": "filter",
|
|
"in": "query",
|
|
"required": false,
|
|
"description": "Query string to filter items by their attributes. Compliant with <a href=\"https://github.com/wvanbergen/scoped_search/wiki/Query-language\" target=\"_blank\" title=\"github.com/wvanbergen/scoped_search\">scoped_search query language</a>. However, only `=` or `!=` (resp. `<>`) operators are supported.<br><br>Supported Profiles are searchable using attributes `os_major_version`<br><br>(e.g.: `(field_1=something AND field_2!=\"something else\") OR field_3>40`)",
|
|
"schema": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
],
|
|
"tags": [
|
|
"Content"
|
|
],
|
|
"description": "Lists Supported Profiles",
|
|
"operationId": "SupportedProfiles",
|
|
"responses": {
|
|
"200": {
|
|
"description": "Lists Supported Profiles",
|
|
"content": {
|
|
"application/vnd.api+json": {
|
|
"examples": {
|
|
"List of Supported Profiles": {
|
|
"value": {
|
|
"data": [
|
|
{
|
|
"id": "9470a17a-43b5-4fad-93a0-4e256a137783",
|
|
"title": "Animi modi fugiat quo.",
|
|
"description": "Veritatis voluptates quod. Ut adipisci architecto. Dolores dolore saepe.",
|
|
"ref_id": "xccdf_org.ssgproject.content_profile_4f98dfed6924c52b688aae3e2411cffd",
|
|
"security_guide_id": "91610d6d-d18f-41e4-b18f-4e148f250fc5",
|
|
"security_guide_version": "100.86.22",
|
|
"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": "bf98cd85-bd2f-4b35-9f94-7417bf2acb99",
|
|
"title": "Esse ullam iste quis.",
|
|
"description": "Aut at et. Ut facilis vel. Qui voluptatem necessitatibus.",
|
|
"ref_id": "xccdf_org.ssgproject.content_profile_8862c761306e6f2349c42832f50f1b91",
|
|
"security_guide_id": "e4059a65-7f31-4ee3-aa70-46d1a00e4fe1",
|
|
"security_guide_version": "100.86.23",
|
|
"os_major_version": 7,
|
|
"os_minor_versions": [
|
|
3,
|
|
2,
|
|
1
|
|
],
|
|
"type": "supported_profile"
|
|
}
|
|
],
|
|
"meta": {
|
|
"total": 1,
|
|
"limit": 10,
|
|
"offset": 0,
|
|
"sort_by": "os_major_version"
|
|
},
|
|
"links": {
|
|
"first": "/api/compliance/v2/security_guides/supported_profiles?limit=10&offset=0&sort_by=os_major_version",
|
|
"last": "/api/compliance/v2/security_guides/supported_profiles?limit=10&offset=0&sort_by=os_major_version"
|
|
}
|
|
},
|
|
"summary": "",
|
|
"description": ""
|
|
},
|
|
"List of Supported Profiles filtered by \"(os_major_version=8)\"": {
|
|
"value": {
|
|
"data": [],
|
|
"meta": {
|
|
"total": 0,
|
|
"filter": "(os_major_version=8)",
|
|
"limit": 10,
|
|
"offset": 0
|
|
},
|
|
"links": {
|
|
"first": "/api/compliance/v2/security_guides/supported_profiles?filter=%28os_major_version%3D8%29&limit=10&offset=0",
|
|
"last": "/api/compliance/v2/security_guides/supported_profiles?filter=%28os_major_version%3D8%29&limit=10&offset=0"
|
|
}
|
|
},
|
|
"summary": "",
|
|
"description": ""
|
|
}
|
|
},
|
|
"schema": {
|
|
"type": "object",
|
|
"properties": {
|
|
"meta": {
|
|
"$ref": "#/components/schemas/metadata"
|
|
},
|
|
"links": {
|
|
"$ref": "#/components/schemas/links"
|
|
},
|
|
"data": {
|
|
"type": "array",
|
|
"items": {
|
|
"properties": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/supported_profile"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"422": {
|
|
"description": "Returns with Unprocessable Content",
|
|
"content": {
|
|
"application/vnd.api+json": {
|
|
"examples": {
|
|
"Description of an error when sorting by incorrect parameter": {
|
|
"value": {
|
|
"errors": [
|
|
"Result cannot be sorted by the 'description' column."
|
|
]
|
|
},
|
|
"summary": "",
|
|
"description": ""
|
|
},
|
|
"Description of an error when requesting higher limit than supported": {
|
|
"value": {
|
|
"errors": [
|
|
"Invalid parameter: limit must be less than or equal to 100"
|
|
]
|
|
},
|
|
"summary": "",
|
|
"description": ""
|
|
}
|
|
},
|
|
"schema": {
|
|
"$ref": "#/components/schemas/errors"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"/systems": {
|
|
"get": {
|
|
"summary": "Request Systems",
|
|
"parameters": [
|
|
{
|
|
"name": "X-RH-IDENTITY",
|
|
"in": "header",
|
|
"schema": {
|
|
"type": "string"
|
|
},
|
|
"description": "For internal use only"
|
|
},
|
|
{
|
|
"name": "tags",
|
|
"in": "query",
|
|
"required": false,
|
|
"description": "An array of tags to narrow down the search results. In case the value contains symbols used for separators (`/` or `=`), they need to be encoded.<br>e.g.: `namespace/key=value`, `insights-client/selinux-config=SELINUX%3Denforcing`",
|
|
"schema": {
|
|
"type": "array",
|
|
"items": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"name": "limit",
|
|
"in": "query",
|
|
"required": false,
|
|
"description": "Number of items to return per page",
|
|
"schema": {
|
|
"type": "number",
|
|
"maximum": 100,
|
|
"minimum": 1,
|
|
"default": 10
|
|
}
|
|
},
|
|
{
|
|
"name": "offset",
|
|
"in": "query",
|
|
"required": false,
|
|
"description": "Offset of first item of paginated response",
|
|
"schema": {
|
|
"type": "integer",
|
|
"minimum": 0,
|
|
"default": 0
|
|
}
|
|
},
|
|
{
|
|
"name": "ids_only",
|
|
"in": "query",
|
|
"required": false,
|
|
"description": "Indicates whether to return only resource IDs.",
|
|
"schema": {
|
|
"type": "boolean"
|
|
}
|
|
},
|
|
{
|
|
"name": "sort_by",
|
|
"in": "query",
|
|
"required": false,
|
|
"description": "Attribute and direction to sort the items by. Represented by an array of fields with an optional direction (`<key>:asc` or `<key>:desc`).<br><br>If no direction is selected, `<key>:asc` is used by default.",
|
|
"schema": {
|
|
"type": "array",
|
|
"items": {
|
|
"enum": [
|
|
"display_name",
|
|
"os_major_version",
|
|
"os_minor_version",
|
|
"groups",
|
|
"display_name:asc",
|
|
"display_name:desc",
|
|
"os_major_version:asc",
|
|
"os_major_version:desc",
|
|
"os_minor_version:asc",
|
|
"os_minor_version:desc",
|
|
"groups:asc",
|
|
"groups:desc"
|
|
]
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"name": "filter",
|
|
"in": "query",
|
|
"required": false,
|
|
"description": "Query string to filter items by their attributes. Compliant with <a href=\"https://github.com/wvanbergen/scoped_search/wiki/Query-language\" target=\"_blank\" title=\"github.com/wvanbergen/scoped_search\">scoped_search query language</a>. However, only `=` or `!=` (resp. `<>`) operators are supported.<br><br>Systems are searchable using attributes `display_name`, `os_major_version`, `os_minor_version`, `assigned_or_scanned`, `group_name`, `policies`, and `profile_ref_id`<br><br>(e.g.: `(field_1=something AND field_2!=\"something else\") OR field_3>40`)",
|
|
"schema": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
],
|
|
"tags": [
|
|
"Systems"
|
|
],
|
|
"description": "Lists Systems",
|
|
"operationId": "Systems",
|
|
"responses": {
|
|
"200": {
|
|
"description": "Lists Systems",
|
|
"content": {
|
|
"application/vnd.api+json": {
|
|
"examples": {
|
|
"List of Systems": {
|
|
"value": {
|
|
"data": [
|
|
{
|
|
"id": "12cc492b-f612-44ca-beaf-6b1fe47d4ae1",
|
|
"display_name": "toy-kessler.example",
|
|
"groups": [],
|
|
"culled_timestamp": "2034-11-01T08:28:10.049Z",
|
|
"stale_timestamp": "2034-10-18T08:28:10.049Z",
|
|
"stale_warning_timestamp": "2034-10-25T08:28:10.049Z",
|
|
"updated": "2024-10-18T08:28:10.049Z",
|
|
"insights_id": null,
|
|
"tags": [
|
|
{
|
|
"key": "feed",
|
|
"value": "optical",
|
|
"namespace": "overriding"
|
|
},
|
|
{
|
|
"key": "card",
|
|
"value": "1080p",
|
|
"namespace": "parsing"
|
|
},
|
|
{
|
|
"key": "program",
|
|
"value": "mobile",
|
|
"namespace": "indexing"
|
|
},
|
|
{
|
|
"key": "pixel",
|
|
"value": "bluetooth",
|
|
"namespace": "parsing"
|
|
},
|
|
{
|
|
"key": "hard drive",
|
|
"value": "back-end",
|
|
"namespace": "transmitting"
|
|
}
|
|
],
|
|
"type": "system",
|
|
"os_major_version": 8,
|
|
"os_minor_version": 0,
|
|
"policies": []
|
|
},
|
|
{
|
|
"id": "16838d63-ccff-4511-8f87-2f87f087a508",
|
|
"display_name": "sanford-nitzsche.example",
|
|
"groups": [],
|
|
"culled_timestamp": "2034-11-01T08:28:10.032Z",
|
|
"stale_timestamp": "2034-10-18T08:28:10.032Z",
|
|
"stale_warning_timestamp": "2034-10-25T08:28:10.032Z",
|
|
"updated": "2024-10-18T08:28:10.032Z",
|
|
"insights_id": null,
|
|
"tags": [
|
|
{
|
|
"key": "sensor",
|
|
"value": "multi-byte",
|
|
"namespace": "programming"
|
|
},
|
|
{
|
|
"key": "interface",
|
|
"value": "optical",
|
|
"namespace": "indexing"
|
|
},
|
|
{
|
|
"key": "matrix",
|
|
"value": "bluetooth",
|
|
"namespace": "synthesizing"
|
|
},
|
|
{
|
|
"key": "driver",
|
|
"value": "virtual",
|
|
"namespace": "parsing"
|
|
},
|
|
{
|
|
"key": "interface",
|
|
"value": "primary",
|
|
"namespace": "indexing"
|
|
}
|
|
],
|
|
"type": "system",
|
|
"os_major_version": 8,
|
|
"os_minor_version": 0,
|
|
"policies": []
|
|
},
|
|
{
|
|
"id": "16cbe64d-18a0-4917-af19-8dd6f7a64be0",
|
|
"display_name": "harris-dooley.test",
|
|
"groups": [],
|
|
"culled_timestamp": "2034-11-01T08:28:10.051Z",
|
|
"stale_timestamp": "2034-10-18T08:28:10.051Z",
|
|
"stale_warning_timestamp": "2034-10-25T08:28:10.051Z",
|
|
"updated": "2024-10-18T08:28:10.051Z",
|
|
"insights_id": null,
|
|
"tags": [
|
|
{
|
|
"key": "pixel",
|
|
"value": "wireless",
|
|
"namespace": "indexing"
|
|
},
|
|
{
|
|
"key": "feed",
|
|
"value": "primary",
|
|
"namespace": "calculating"
|
|
},
|
|
{
|
|
"key": "sensor",
|
|
"value": "cross-platform",
|
|
"namespace": "bypassing"
|
|
},
|
|
{
|
|
"key": "alarm",
|
|
"value": "auxiliary",
|
|
"namespace": "calculating"
|
|
},
|
|
{
|
|
"key": "pixel",
|
|
"value": "multi-byte",
|
|
"namespace": "compressing"
|
|
}
|
|
],
|
|
"type": "system",
|
|
"os_major_version": 8,
|
|
"os_minor_version": 0,
|
|
"policies": []
|
|
},
|
|
{
|
|
"id": "1a960b35-0120-436f-a8ac-107e9cc89c8d",
|
|
"display_name": "daniel-pouros.example",
|
|
"groups": [],
|
|
"culled_timestamp": "2034-11-01T08:28:10.052Z",
|
|
"stale_timestamp": "2034-10-18T08:28:10.052Z",
|
|
"stale_warning_timestamp": "2034-10-25T08:28:10.052Z",
|
|
"updated": "2024-10-18T08:28:10.052Z",
|
|
"insights_id": null,
|
|
"tags": [
|
|
{
|
|
"key": "system",
|
|
"value": "online",
|
|
"namespace": "synthesizing"
|
|
},
|
|
{
|
|
"key": "driver",
|
|
"value": "neural",
|
|
"namespace": "synthesizing"
|
|
},
|
|
{
|
|
"key": "transmitter",
|
|
"value": "haptic",
|
|
"namespace": "generating"
|
|
},
|
|
{
|
|
"key": "interface",
|
|
"value": "multi-byte",
|
|
"namespace": "copying"
|
|
},
|
|
{
|
|
"key": "pixel",
|
|
"value": "virtual",
|
|
"namespace": "parsing"
|
|
}
|
|
],
|
|
"type": "system",
|
|
"os_major_version": 8,
|
|
"os_minor_version": 0,
|
|
"policies": []
|
|
},
|
|
{
|
|
"id": "1c1b9ff5-4afd-4477-b579-7913b02415f8",
|
|
"display_name": "bailey.example",
|
|
"groups": [],
|
|
"culled_timestamp": "2034-11-01T08:28:10.045Z",
|
|
"stale_timestamp": "2034-10-18T08:28:10.045Z",
|
|
"stale_warning_timestamp": "2034-10-25T08:28:10.045Z",
|
|
"updated": "2024-10-18T08:28:10.045Z",
|
|
"insights_id": null,
|
|
"tags": [
|
|
{
|
|
"key": "pixel",
|
|
"value": "wireless",
|
|
"namespace": "programming"
|
|
},
|
|
{
|
|
"key": "program",
|
|
"value": "optical",
|
|
"namespace": "overriding"
|
|
},
|
|
{
|
|
"key": "monitor",
|
|
"value": "solid state",
|
|
"namespace": "hacking"
|
|
},
|
|
{
|
|
"key": "card",
|
|
"value": "neural",
|
|
"namespace": "backing up"
|
|
},
|
|
{
|
|
"key": "capacitor",
|
|
"value": "redundant",
|
|
"namespace": "transmitting"
|
|
}
|
|
],
|
|
"type": "system",
|
|
"os_major_version": 8,
|
|
"os_minor_version": 0,
|
|
"policies": []
|
|
},
|
|
{
|
|
"id": "2c1104e5-6d03-4c6b-9a7b-1bfb9f83666a",
|
|
"display_name": "kovacek.example",
|
|
"groups": [],
|
|
"culled_timestamp": "2034-11-01T08:28:10.033Z",
|
|
"stale_timestamp": "2034-10-18T08:28:10.033Z",
|
|
"stale_warning_timestamp": "2034-10-25T08:28:10.033Z",
|
|
"updated": "2024-10-18T08:28:10.033Z",
|
|
"insights_id": null,
|
|
"tags": [
|
|
{
|
|
"key": "driver",
|
|
"value": "back-end",
|
|
"namespace": "indexing"
|
|
},
|
|
{
|
|
"key": "capacitor",
|
|
"value": "redundant",
|
|
"namespace": "transmitting"
|
|
},
|
|
{
|
|
"key": "panel",
|
|
"value": "optical",
|
|
"namespace": "bypassing"
|
|
},
|
|
{
|
|
"key": "pixel",
|
|
"value": "mobile",
|
|
"namespace": "copying"
|
|
},
|
|
{
|
|
"key": "application",
|
|
"value": "open-source",
|
|
"namespace": "synthesizing"
|
|
}
|
|
],
|
|
"type": "system",
|
|
"os_major_version": 8,
|
|
"os_minor_version": 0,
|
|
"policies": []
|
|
},
|
|
{
|
|
"id": "4cc4e75f-afa1-4537-88dc-aa23a1bedf30",
|
|
"display_name": "cremin.test",
|
|
"groups": [],
|
|
"culled_timestamp": "2034-11-01T08:28:10.040Z",
|
|
"stale_timestamp": "2034-10-18T08:28:10.040Z",
|
|
"stale_warning_timestamp": "2034-10-25T08:28:10.040Z",
|
|
"updated": "2024-10-18T08:28:10.041Z",
|
|
"insights_id": null,
|
|
"tags": [
|
|
{
|
|
"key": "system",
|
|
"value": "neural",
|
|
"namespace": "parsing"
|
|
},
|
|
{
|
|
"key": "bus",
|
|
"value": "neural",
|
|
"namespace": "copying"
|
|
},
|
|
{
|
|
"key": "card",
|
|
"value": "mobile",
|
|
"namespace": "transmitting"
|
|
},
|
|
{
|
|
"key": "circuit",
|
|
"value": "mobile",
|
|
"namespace": "backing up"
|
|
},
|
|
{
|
|
"key": "protocol",
|
|
"value": "mobile",
|
|
"namespace": "compressing"
|
|
}
|
|
],
|
|
"type": "system",
|
|
"os_major_version": 8,
|
|
"os_minor_version": 0,
|
|
"policies": []
|
|
},
|
|
{
|
|
"id": "4ce6281f-bd5a-46fb-887f-cf8db656250a",
|
|
"display_name": "doyle.example",
|
|
"groups": [],
|
|
"culled_timestamp": "2034-11-01T08:28:10.039Z",
|
|
"stale_timestamp": "2034-10-18T08:28:10.039Z",
|
|
"stale_warning_timestamp": "2034-10-25T08:28:10.039Z",
|
|
"updated": "2024-10-18T08:28:10.039Z",
|
|
"insights_id": null,
|
|
"tags": [
|
|
{
|
|
"key": "monitor",
|
|
"value": "haptic",
|
|
"namespace": "copying"
|
|
},
|
|
{
|
|
"key": "program",
|
|
"value": "mobile",
|
|
"namespace": "bypassing"
|
|
},
|
|
{
|
|
"key": "program",
|
|
"value": "open-source",
|
|
"namespace": "transmitting"
|
|
},
|
|
{
|
|
"key": "bandwidth",
|
|
"value": "bluetooth",
|
|
"namespace": "compressing"
|
|
},
|
|
{
|
|
"key": "transmitter",
|
|
"value": "mobile",
|
|
"namespace": "synthesizing"
|
|
}
|
|
],
|
|
"type": "system",
|
|
"os_major_version": 8,
|
|
"os_minor_version": 0,
|
|
"policies": []
|
|
},
|
|
{
|
|
"id": "6d38d39e-0f12-43a5-bf41-15095507865e",
|
|
"display_name": "skiles.test",
|
|
"groups": [],
|
|
"culled_timestamp": "2034-11-01T08:28:10.015Z",
|
|
"stale_timestamp": "2034-10-18T08:28:10.015Z",
|
|
"stale_warning_timestamp": "2034-10-25T08:28:10.015Z",
|
|
"updated": "2024-10-18T08:28:10.015Z",
|
|
"insights_id": null,
|
|
"tags": [
|
|
{
|
|
"key": "firewall",
|
|
"value": "back-end",
|
|
"namespace": "transmitting"
|
|
},
|
|
{
|
|
"key": "hard drive",
|
|
"value": "mobile",
|
|
"namespace": "overriding"
|
|
},
|
|
{
|
|
"key": "array",
|
|
"value": "online",
|
|
"namespace": "copying"
|
|
},
|
|
{
|
|
"key": "transmitter",
|
|
"value": "mobile",
|
|
"namespace": "indexing"
|
|
},
|
|
{
|
|
"key": "transmitter",
|
|
"value": "primary",
|
|
"namespace": "bypassing"
|
|
}
|
|
],
|
|
"type": "system",
|
|
"os_major_version": 8,
|
|
"os_minor_version": 0,
|
|
"policies": []
|
|
},
|
|
{
|
|
"id": "713c7e65-4232-4348-93b0-9148723602bf",
|
|
"display_name": "green.example",
|
|
"groups": [],
|
|
"culled_timestamp": "2034-11-01T08:28:10.038Z",
|
|
"stale_timestamp": "2034-10-18T08:28:10.038Z",
|
|
"stale_warning_timestamp": "2034-10-25T08:28:10.038Z",
|
|
"updated": "2024-10-18T08:28:10.038Z",
|
|
"insights_id": null,
|
|
"tags": [
|
|
{
|
|
"key": "monitor",
|
|
"value": "cross-platform",
|
|
"namespace": "copying"
|
|
},
|
|
{
|
|
"key": "port",
|
|
"value": "primary",
|
|
"namespace": "backing up"
|
|
},
|
|
{
|
|
"key": "circuit",
|
|
"value": "auxiliary",
|
|
"namespace": "connecting"
|
|
},
|
|
{
|
|
"key": "transmitter",
|
|
"value": "bluetooth",
|
|
"namespace": "connecting"
|
|
},
|
|
{
|
|
"key": "system",
|
|
"value": "1080p",
|
|
"namespace": "indexing"
|
|
}
|
|
],
|
|
"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": "021f8e60-9113-4b7d-8cb1-a5c4bf426751",
|
|
"display_name": "hilll.test",
|
|
"groups": [],
|
|
"culled_timestamp": "2034-11-01T08:28:10.136Z",
|
|
"stale_timestamp": "2034-10-18T08:28:10.136Z",
|
|
"stale_warning_timestamp": "2034-10-25T08:28:10.136Z",
|
|
"updated": "2024-10-18T08:28:10.136Z",
|
|
"insights_id": null,
|
|
"tags": [
|
|
{
|
|
"key": "sensor",
|
|
"value": "back-end",
|
|
"namespace": "programming"
|
|
},
|
|
{
|
|
"key": "alarm",
|
|
"value": "auxiliary",
|
|
"namespace": "compressing"
|
|
},
|
|
{
|
|
"key": "firewall",
|
|
"value": "digital",
|
|
"namespace": "bypassing"
|
|
},
|
|
{
|
|
"key": "card",
|
|
"value": "wireless",
|
|
"namespace": "parsing"
|
|
},
|
|
{
|
|
"key": "alarm",
|
|
"value": "back-end",
|
|
"namespace": "transmitting"
|
|
}
|
|
],
|
|
"type": "system",
|
|
"os_major_version": 8,
|
|
"os_minor_version": 0,
|
|
"policies": []
|
|
},
|
|
{
|
|
"id": "07cc892b-ed82-4574-8bef-60bacb8fec9b",
|
|
"display_name": "moen-mante.test",
|
|
"groups": [],
|
|
"culled_timestamp": "2034-11-01T08:28:10.111Z",
|
|
"stale_timestamp": "2034-10-18T08:28:10.111Z",
|
|
"stale_warning_timestamp": "2034-10-25T08:28:10.111Z",
|
|
"updated": "2024-10-18T08:28:10.111Z",
|
|
"insights_id": null,
|
|
"tags": [
|
|
{
|
|
"key": "microchip",
|
|
"value": "haptic",
|
|
"namespace": "calculating"
|
|
},
|
|
{
|
|
"key": "interface",
|
|
"value": "solid state",
|
|
"namespace": "connecting"
|
|
},
|
|
{
|
|
"key": "interface",
|
|
"value": "auxiliary",
|
|
"namespace": "parsing"
|
|
},
|
|
{
|
|
"key": "feed",
|
|
"value": "1080p",
|
|
"namespace": "connecting"
|
|
},
|
|
{
|
|
"key": "protocol",
|
|
"value": "wireless",
|
|
"namespace": "quantifying"
|
|
}
|
|
],
|
|
"type": "system",
|
|
"os_major_version": 8,
|
|
"os_minor_version": 0,
|
|
"policies": []
|
|
},
|
|
{
|
|
"id": "29ed0f8a-38e0-4996-be8c-7dda99c891a4",
|
|
"display_name": "bruen-okuneva.example",
|
|
"groups": [],
|
|
"culled_timestamp": "2034-11-01T08:28:10.100Z",
|
|
"stale_timestamp": "2034-10-18T08:28:10.100Z",
|
|
"stale_warning_timestamp": "2034-10-25T08:28:10.100Z",
|
|
"updated": "2024-10-18T08:28:10.100Z",
|
|
"insights_id": null,
|
|
"tags": [
|
|
{
|
|
"key": "system",
|
|
"value": "auxiliary",
|
|
"namespace": "copying"
|
|
},
|
|
{
|
|
"key": "port",
|
|
"value": "online",
|
|
"namespace": "navigating"
|
|
},
|
|
{
|
|
"key": "panel",
|
|
"value": "virtual",
|
|
"namespace": "parsing"
|
|
},
|
|
{
|
|
"key": "circuit",
|
|
"value": "mobile",
|
|
"namespace": "compressing"
|
|
},
|
|
{
|
|
"key": "array",
|
|
"value": "multi-byte",
|
|
"namespace": "copying"
|
|
}
|
|
],
|
|
"type": "system",
|
|
"os_major_version": 8,
|
|
"os_minor_version": 0,
|
|
"policies": []
|
|
},
|
|
{
|
|
"id": "3291c7b8-5df5-47f0-93da-942cb212f691",
|
|
"display_name": "cormier-brakus.example",
|
|
"groups": [],
|
|
"culled_timestamp": "2034-11-01T08:28:10.107Z",
|
|
"stale_timestamp": "2034-10-18T08:28:10.107Z",
|
|
"stale_warning_timestamp": "2034-10-25T08:28:10.107Z",
|
|
"updated": "2024-10-18T08:28:10.107Z",
|
|
"insights_id": null,
|
|
"tags": [
|
|
{
|
|
"key": "monitor",
|
|
"value": "haptic",
|
|
"namespace": "navigating"
|
|
},
|
|
{
|
|
"key": "bandwidth",
|
|
"value": "cross-platform",
|
|
"namespace": "backing up"
|
|
},
|
|
{
|
|
"key": "card",
|
|
"value": "solid state",
|
|
"namespace": "overriding"
|
|
},
|
|
{
|
|
"key": "transmitter",
|
|
"value": "virtual",
|
|
"namespace": "indexing"
|
|
},
|
|
{
|
|
"key": "panel",
|
|
"value": "back-end",
|
|
"namespace": "hacking"
|
|
}
|
|
],
|
|
"type": "system",
|
|
"os_major_version": 8,
|
|
"os_minor_version": 0,
|
|
"policies": []
|
|
},
|
|
{
|
|
"id": "3c6fb740-eab3-4a5f-a0df-e9b2b2130009",
|
|
"display_name": "morar-quitzon.test",
|
|
"groups": [],
|
|
"culled_timestamp": "2034-11-01T08:28:10.121Z",
|
|
"stale_timestamp": "2034-10-18T08:28:10.121Z",
|
|
"stale_warning_timestamp": "2034-10-25T08:28:10.121Z",
|
|
"updated": "2024-10-18T08:28:10.121Z",
|
|
"insights_id": null,
|
|
"tags": [
|
|
{
|
|
"key": "driver",
|
|
"value": "1080p",
|
|
"namespace": "overriding"
|
|
},
|
|
{
|
|
"key": "card",
|
|
"value": "haptic",
|
|
"namespace": "hacking"
|
|
},
|
|
{
|
|
"key": "interface",
|
|
"value": "online",
|
|
"namespace": "hacking"
|
|
},
|
|
{
|
|
"key": "protocol",
|
|
"value": "haptic",
|
|
"namespace": "copying"
|
|
},
|
|
{
|
|
"key": "array",
|
|
"value": "auxiliary",
|
|
"namespace": "hacking"
|
|
}
|
|
],
|
|
"type": "system",
|
|
"os_major_version": 8,
|
|
"os_minor_version": 0,
|
|
"policies": []
|
|
},
|
|
{
|
|
"id": "3deda9ca-fe0c-4ba1-856d-b720436cb5e7",
|
|
"display_name": "goldner.test",
|
|
"groups": [],
|
|
"culled_timestamp": "2034-11-01T08:28:10.114Z",
|
|
"stale_timestamp": "2034-10-18T08:28:10.114Z",
|
|
"stale_warning_timestamp": "2034-10-25T08:28:10.114Z",
|
|
"updated": "2024-10-18T08:28:10.114Z",
|
|
"insights_id": null,
|
|
"tags": [
|
|
{
|
|
"key": "system",
|
|
"value": "neural",
|
|
"namespace": "programming"
|
|
},
|
|
{
|
|
"key": "application",
|
|
"value": "mobile",
|
|
"namespace": "hacking"
|
|
},
|
|
{
|
|
"key": "protocol",
|
|
"value": "neural",
|
|
"namespace": "copying"
|
|
},
|
|
{
|
|
"key": "system",
|
|
"value": "primary",
|
|
"namespace": "hacking"
|
|
},
|
|
{
|
|
"key": "application",
|
|
"value": "neural",
|
|
"namespace": "bypassing"
|
|
}
|
|
],
|
|
"type": "system",
|
|
"os_major_version": 8,
|
|
"os_minor_version": 0,
|
|
"policies": []
|
|
},
|
|
{
|
|
"id": "40236dfb-cc1c-41f6-872b-6ec1a27d7fe2",
|
|
"display_name": "metz.test",
|
|
"groups": [],
|
|
"culled_timestamp": "2034-11-01T08:28:10.113Z",
|
|
"stale_timestamp": "2034-10-18T08:28:10.113Z",
|
|
"stale_warning_timestamp": "2034-10-25T08:28:10.113Z",
|
|
"updated": "2024-10-18T08:28:10.113Z",
|
|
"insights_id": null,
|
|
"tags": [
|
|
{
|
|
"key": "system",
|
|
"value": "redundant",
|
|
"namespace": "compressing"
|
|
},
|
|
{
|
|
"key": "driver",
|
|
"value": "multi-byte",
|
|
"namespace": "overriding"
|
|
},
|
|
{
|
|
"key": "transmitter",
|
|
"value": "mobile",
|
|
"namespace": "quantifying"
|
|
},
|
|
{
|
|
"key": "interface",
|
|
"value": "redundant",
|
|
"namespace": "backing up"
|
|
},
|
|
{
|
|
"key": "panel",
|
|
"value": "primary",
|
|
"namespace": "synthesizing"
|
|
}
|
|
],
|
|
"type": "system",
|
|
"os_major_version": 8,
|
|
"os_minor_version": 0,
|
|
"policies": []
|
|
},
|
|
{
|
|
"id": "4e973997-5dbe-40bf-b5db-e22ae37cb2db",
|
|
"display_name": "denesik.test",
|
|
"groups": [],
|
|
"culled_timestamp": "2034-11-01T08:28:10.122Z",
|
|
"stale_timestamp": "2034-10-18T08:28:10.122Z",
|
|
"stale_warning_timestamp": "2034-10-25T08:28:10.122Z",
|
|
"updated": "2024-10-18T08:28:10.122Z",
|
|
"insights_id": null,
|
|
"tags": [
|
|
{
|
|
"key": "feed",
|
|
"value": "virtual",
|
|
"namespace": "copying"
|
|
},
|
|
{
|
|
"key": "capacitor",
|
|
"value": "back-end",
|
|
"namespace": "copying"
|
|
},
|
|
{
|
|
"key": "sensor",
|
|
"value": "haptic",
|
|
"namespace": "programming"
|
|
},
|
|
{
|
|
"key": "transmitter",
|
|
"value": "virtual",
|
|
"namespace": "generating"
|
|
},
|
|
{
|
|
"key": "monitor",
|
|
"value": "open-source",
|
|
"namespace": "copying"
|
|
}
|
|
],
|
|
"type": "system",
|
|
"os_major_version": 8,
|
|
"os_minor_version": 0,
|
|
"policies": []
|
|
},
|
|
{
|
|
"id": "61f8f850-11f5-4cac-b16c-1dab956dc1f2",
|
|
"display_name": "wolf.example",
|
|
"groups": [],
|
|
"culled_timestamp": "2034-11-01T08:28:10.117Z",
|
|
"stale_timestamp": "2034-10-18T08:28:10.117Z",
|
|
"stale_warning_timestamp": "2034-10-25T08:28:10.117Z",
|
|
"updated": "2024-10-18T08:28:10.117Z",
|
|
"insights_id": null,
|
|
"tags": [
|
|
{
|
|
"key": "hard drive",
|
|
"value": "back-end",
|
|
"namespace": "transmitting"
|
|
},
|
|
{
|
|
"key": "protocol",
|
|
"value": "back-end",
|
|
"namespace": "backing up"
|
|
},
|
|
{
|
|
"key": "monitor",
|
|
"value": "virtual",
|
|
"namespace": "quantifying"
|
|
},
|
|
{
|
|
"key": "hard drive",
|
|
"value": "multi-byte",
|
|
"namespace": "navigating"
|
|
},
|
|
{
|
|
"key": "sensor",
|
|
"value": "neural",
|
|
"namespace": "quantifying"
|
|
}
|
|
],
|
|
"type": "system",
|
|
"os_major_version": 8,
|
|
"os_minor_version": 0,
|
|
"policies": []
|
|
},
|
|
{
|
|
"id": "6277976f-2420-4810-b563-33a74f2bd79a",
|
|
"display_name": "krajcik-jacobson.example",
|
|
"groups": [],
|
|
"culled_timestamp": "2034-11-01T08:28:10.112Z",
|
|
"stale_timestamp": "2034-10-18T08:28:10.112Z",
|
|
"stale_warning_timestamp": "2034-10-25T08:28:10.112Z",
|
|
"updated": "2024-10-18T08:28:10.112Z",
|
|
"insights_id": null,
|
|
"tags": [
|
|
{
|
|
"key": "transmitter",
|
|
"value": "multi-byte",
|
|
"namespace": "navigating"
|
|
},
|
|
{
|
|
"key": "transmitter",
|
|
"value": "auxiliary",
|
|
"namespace": "hacking"
|
|
},
|
|
{
|
|
"key": "transmitter",
|
|
"value": "online",
|
|
"namespace": "calculating"
|
|
},
|
|
{
|
|
"key": "monitor",
|
|
"value": "multi-byte",
|
|
"namespace": "copying"
|
|
},
|
|
{
|
|
"key": "port",
|
|
"value": "neural",
|
|
"namespace": "transmitting"
|
|
}
|
|
],
|
|
"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": "038a4b1d-e9b4-4e51-9e03-1fc7794de0c6",
|
|
"display_name": "wunsch.test",
|
|
"groups": [],
|
|
"culled_timestamp": "2034-11-01T08:28:10.185Z",
|
|
"stale_timestamp": "2034-10-18T08:28:10.185Z",
|
|
"stale_warning_timestamp": "2034-10-25T08:28:10.185Z",
|
|
"updated": "2024-10-18T08:28:10.185Z",
|
|
"insights_id": null,
|
|
"tags": [
|
|
{
|
|
"key": "alarm",
|
|
"value": "online",
|
|
"namespace": "calculating"
|
|
},
|
|
{
|
|
"key": "array",
|
|
"value": "auxiliary",
|
|
"namespace": "generating"
|
|
},
|
|
{
|
|
"key": "bandwidth",
|
|
"value": "auxiliary",
|
|
"namespace": "bypassing"
|
|
},
|
|
{
|
|
"key": "program",
|
|
"value": "open-source",
|
|
"namespace": "copying"
|
|
},
|
|
{
|
|
"key": "protocol",
|
|
"value": "multi-byte",
|
|
"namespace": "calculating"
|
|
}
|
|
],
|
|
"type": "system",
|
|
"os_major_version": 8,
|
|
"os_minor_version": 0,
|
|
"policies": []
|
|
},
|
|
{
|
|
"id": "096ab4c5-ecd1-4758-b229-bdddb0504a02",
|
|
"display_name": "durgan.example",
|
|
"groups": [],
|
|
"culled_timestamp": "2034-11-01T08:28:10.171Z",
|
|
"stale_timestamp": "2034-10-18T08:28:10.171Z",
|
|
"stale_warning_timestamp": "2034-10-25T08:28:10.171Z",
|
|
"updated": "2024-10-18T08:28:10.171Z",
|
|
"insights_id": null,
|
|
"tags": [
|
|
{
|
|
"key": "panel",
|
|
"value": "redundant",
|
|
"namespace": "transmitting"
|
|
},
|
|
{
|
|
"key": "hard drive",
|
|
"value": "digital",
|
|
"namespace": "parsing"
|
|
},
|
|
{
|
|
"key": "system",
|
|
"value": "redundant",
|
|
"namespace": "connecting"
|
|
},
|
|
{
|
|
"key": "hard drive",
|
|
"value": "digital",
|
|
"namespace": "transmitting"
|
|
},
|
|
{
|
|
"key": "feed",
|
|
"value": "digital",
|
|
"namespace": "generating"
|
|
}
|
|
],
|
|
"type": "system",
|
|
"os_major_version": 8,
|
|
"os_minor_version": 0,
|
|
"policies": []
|
|
},
|
|
{
|
|
"id": "1d461c12-339b-4b19-bc1e-47aa60012fe9",
|
|
"display_name": "towne.test",
|
|
"groups": [],
|
|
"culled_timestamp": "2034-11-01T08:28:10.200Z",
|
|
"stale_timestamp": "2034-10-18T08:28:10.200Z",
|
|
"stale_warning_timestamp": "2034-10-25T08:28:10.200Z",
|
|
"updated": "2024-10-18T08:28:10.200Z",
|
|
"insights_id": null,
|
|
"tags": [
|
|
{
|
|
"key": "interface",
|
|
"value": "back-end",
|
|
"namespace": "indexing"
|
|
},
|
|
{
|
|
"key": "microchip",
|
|
"value": "virtual",
|
|
"namespace": "parsing"
|
|
},
|
|
{
|
|
"key": "sensor",
|
|
"value": "mobile",
|
|
"namespace": "synthesizing"
|
|
},
|
|
{
|
|
"key": "microchip",
|
|
"value": "digital",
|
|
"namespace": "generating"
|
|
},
|
|
{
|
|
"key": "card",
|
|
"value": "mobile",
|
|
"namespace": "generating"
|
|
}
|
|
],
|
|
"type": "system",
|
|
"os_major_version": 8,
|
|
"os_minor_version": 0,
|
|
"policies": []
|
|
},
|
|
{
|
|
"id": "1edeeac4-23f2-456e-ba72-f49793e4885c",
|
|
"display_name": "kris.test",
|
|
"groups": [],
|
|
"culled_timestamp": "2034-11-01T08:28:10.175Z",
|
|
"stale_timestamp": "2034-10-18T08:28:10.175Z",
|
|
"stale_warning_timestamp": "2034-10-25T08:28:10.175Z",
|
|
"updated": "2024-10-18T08:28:10.175Z",
|
|
"insights_id": null,
|
|
"tags": [
|
|
{
|
|
"key": "microchip",
|
|
"value": "redundant",
|
|
"namespace": "indexing"
|
|
},
|
|
{
|
|
"key": "port",
|
|
"value": "haptic",
|
|
"namespace": "backing up"
|
|
},
|
|
{
|
|
"key": "alarm",
|
|
"value": "bluetooth",
|
|
"namespace": "synthesizing"
|
|
},
|
|
{
|
|
"key": "system",
|
|
"value": "multi-byte",
|
|
"namespace": "indexing"
|
|
},
|
|
{
|
|
"key": "program",
|
|
"value": "cross-platform",
|
|
"namespace": "programming"
|
|
}
|
|
],
|
|
"type": "system",
|
|
"os_major_version": 8,
|
|
"os_minor_version": 0,
|
|
"policies": []
|
|
},
|
|
{
|
|
"id": "30d221ca-9806-42f4-97ad-e8f322ef6c74",
|
|
"display_name": "maggio.test",
|
|
"groups": [],
|
|
"culled_timestamp": "2034-11-01T08:28:10.181Z",
|
|
"stale_timestamp": "2034-10-18T08:28:10.181Z",
|
|
"stale_warning_timestamp": "2034-10-25T08:28:10.181Z",
|
|
"updated": "2024-10-18T08:28:10.181Z",
|
|
"insights_id": null,
|
|
"tags": [
|
|
{
|
|
"key": "alarm",
|
|
"value": "wireless",
|
|
"namespace": "programming"
|
|
},
|
|
{
|
|
"key": "hard drive",
|
|
"value": "1080p",
|
|
"namespace": "generating"
|
|
},
|
|
{
|
|
"key": "program",
|
|
"value": "virtual",
|
|
"namespace": "backing up"
|
|
},
|
|
{
|
|
"key": "array",
|
|
"value": "back-end",
|
|
"namespace": "bypassing"
|
|
},
|
|
{
|
|
"key": "protocol",
|
|
"value": "multi-byte",
|
|
"namespace": "copying"
|
|
}
|
|
],
|
|
"type": "system",
|
|
"os_major_version": 8,
|
|
"os_minor_version": 0,
|
|
"policies": []
|
|
},
|
|
{
|
|
"id": "337b3951-13fe-4515-854a-0cf7acac099a",
|
|
"display_name": "maggio-renner.example",
|
|
"groups": [],
|
|
"culled_timestamp": "2034-11-01T08:28:10.202Z",
|
|
"stale_timestamp": "2034-10-18T08:28:10.202Z",
|
|
"stale_warning_timestamp": "2034-10-25T08:28:10.202Z",
|
|
"updated": "2024-10-18T08:28:10.202Z",
|
|
"insights_id": null,
|
|
"tags": [
|
|
{
|
|
"key": "feed",
|
|
"value": "bluetooth",
|
|
"namespace": "navigating"
|
|
},
|
|
{
|
|
"key": "capacitor",
|
|
"value": "haptic",
|
|
"namespace": "transmitting"
|
|
},
|
|
{
|
|
"key": "pixel",
|
|
"value": "cross-platform",
|
|
"namespace": "transmitting"
|
|
},
|
|
{
|
|
"key": "transmitter",
|
|
"value": "auxiliary",
|
|
"namespace": "overriding"
|
|
},
|
|
{
|
|
"key": "bandwidth",
|
|
"value": "online",
|
|
"namespace": "backing up"
|
|
}
|
|
],
|
|
"type": "system",
|
|
"os_major_version": 8,
|
|
"os_minor_version": 0,
|
|
"policies": []
|
|
},
|
|
{
|
|
"id": "38e4fe68-a5a0-4010-a082-42884d900403",
|
|
"display_name": "schmitt-cremin.example",
|
|
"groups": [],
|
|
"culled_timestamp": "2034-11-01T08:28:10.187Z",
|
|
"stale_timestamp": "2034-10-18T08:28:10.187Z",
|
|
"stale_warning_timestamp": "2034-10-25T08:28:10.187Z",
|
|
"updated": "2024-10-18T08:28:10.187Z",
|
|
"insights_id": null,
|
|
"tags": [
|
|
{
|
|
"key": "bus",
|
|
"value": "back-end",
|
|
"namespace": "overriding"
|
|
},
|
|
{
|
|
"key": "matrix",
|
|
"value": "virtual",
|
|
"namespace": "hacking"
|
|
},
|
|
{
|
|
"key": "matrix",
|
|
"value": "open-source",
|
|
"namespace": "parsing"
|
|
},
|
|
{
|
|
"key": "bus",
|
|
"value": "back-end",
|
|
"namespace": "indexing"
|
|
},
|
|
{
|
|
"key": "transmitter",
|
|
"value": "cross-platform",
|
|
"namespace": "hacking"
|
|
}
|
|
],
|
|
"type": "system",
|
|
"os_major_version": 8,
|
|
"os_minor_version": 0,
|
|
"policies": []
|
|
},
|
|
{
|
|
"id": "397770ce-1c74-4739-8356-5b8509c7d828",
|
|
"display_name": "shanahan-leffler.example",
|
|
"groups": [],
|
|
"culled_timestamp": "2034-11-01T08:28:10.168Z",
|
|
"stale_timestamp": "2034-10-18T08:28:10.168Z",
|
|
"stale_warning_timestamp": "2034-10-25T08:28:10.168Z",
|
|
"updated": "2024-10-18T08:28:10.168Z",
|
|
"insights_id": null,
|
|
"tags": [
|
|
{
|
|
"key": "pixel",
|
|
"value": "auxiliary",
|
|
"namespace": "calculating"
|
|
},
|
|
{
|
|
"key": "panel",
|
|
"value": "cross-platform",
|
|
"namespace": "compressing"
|
|
},
|
|
{
|
|
"key": "capacitor",
|
|
"value": "mobile",
|
|
"namespace": "backing up"
|
|
},
|
|
{
|
|
"key": "feed",
|
|
"value": "auxiliary",
|
|
"namespace": "calculating"
|
|
},
|
|
{
|
|
"key": "sensor",
|
|
"value": "digital",
|
|
"namespace": "bypassing"
|
|
}
|
|
],
|
|
"type": "system",
|
|
"os_major_version": 8,
|
|
"os_minor_version": 0,
|
|
"policies": []
|
|
},
|
|
{
|
|
"id": "5c5b3e70-b2af-4a33-873f-1f32fdccd1e8",
|
|
"display_name": "glover.test",
|
|
"groups": [],
|
|
"culled_timestamp": "2034-11-01T08:28:10.173Z",
|
|
"stale_timestamp": "2034-10-18T08:28:10.173Z",
|
|
"stale_warning_timestamp": "2034-10-25T08:28:10.173Z",
|
|
"updated": "2024-10-18T08:28:10.173Z",
|
|
"insights_id": null,
|
|
"tags": [
|
|
{
|
|
"key": "port",
|
|
"value": "online",
|
|
"namespace": "calculating"
|
|
},
|
|
{
|
|
"key": "protocol",
|
|
"value": "optical",
|
|
"namespace": "indexing"
|
|
},
|
|
{
|
|
"key": "bus",
|
|
"value": "digital",
|
|
"namespace": "compressing"
|
|
},
|
|
{
|
|
"key": "protocol",
|
|
"value": "neural",
|
|
"namespace": "synthesizing"
|
|
},
|
|
{
|
|
"key": "pixel",
|
|
"value": "back-end",
|
|
"namespace": "programming"
|
|
}
|
|
],
|
|
"type": "system",
|
|
"os_major_version": 8,
|
|
"os_minor_version": 0,
|
|
"policies": []
|
|
},
|
|
{
|
|
"id": "60fa8671-607b-43da-b9ed-5c0e38696793",
|
|
"display_name": "waters-beahan.example",
|
|
"groups": [],
|
|
"culled_timestamp": "2034-11-01T08:28:10.203Z",
|
|
"stale_timestamp": "2034-10-18T08:28:10.203Z",
|
|
"stale_warning_timestamp": "2034-10-25T08:28:10.203Z",
|
|
"updated": "2024-10-18T08:28:10.203Z",
|
|
"insights_id": null,
|
|
"tags": [
|
|
{
|
|
"key": "circuit",
|
|
"value": "back-end",
|
|
"namespace": "transmitting"
|
|
},
|
|
{
|
|
"key": "firewall",
|
|
"value": "solid state",
|
|
"namespace": "indexing"
|
|
},
|
|
{
|
|
"key": "circuit",
|
|
"value": "open-source",
|
|
"namespace": "parsing"
|
|
},
|
|
{
|
|
"key": "capacitor",
|
|
"value": "solid state",
|
|
"namespace": "navigating"
|
|
},
|
|
{
|
|
"key": "interface",
|
|
"value": "solid state",
|
|
"namespace": "indexing"
|
|
}
|
|
],
|
|
"type": "system",
|
|
"os_major_version": 8,
|
|
"os_minor_version": 0,
|
|
"policies": []
|
|
}
|
|
],
|
|
"meta": {
|
|
"total": 25,
|
|
"filter": "(os_major_version=8)",
|
|
"tags": [],
|
|
"limit": 10,
|
|
"offset": 0
|
|
},
|
|
"links": {
|
|
"first": "/api/compliance/v2/systems?filter=%28os_major_version%3D8%29&limit=10&offset=0",
|
|
"last": "/api/compliance/v2/systems?filter=%28os_major_version%3D8%29&limit=10&offset=20",
|
|
"next": "/api/compliance/v2/systems?filter=%28os_major_version%3D8%29&limit=10&offset=10"
|
|
}
|
|
},
|
|
"summary": "",
|
|
"description": ""
|
|
}
|
|
},
|
|
"schema": {
|
|
"type": "object",
|
|
"properties": {
|
|
"meta": {
|
|
"$ref": "#/components/schemas/metadata"
|
|
},
|
|
"links": {
|
|
"$ref": "#/components/schemas/links"
|
|
},
|
|
"data": {
|
|
"type": "array",
|
|
"items": {
|
|
"properties": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/system"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"422": {
|
|
"description": "Returns with Unprocessable Content",
|
|
"content": {
|
|
"application/vnd.api+json": {
|
|
"examples": {
|
|
"Description of an error when sorting by incorrect parameter": {
|
|
"value": {
|
|
"errors": [
|
|
"Result cannot be sorted by the 'description' column."
|
|
]
|
|
},
|
|
"summary": "",
|
|
"description": ""
|
|
},
|
|
"Description of an error when requesting higher limit than supported": {
|
|
"value": {
|
|
"errors": [
|
|
"Invalid parameter: limit must be less than or equal to 100"
|
|
]
|
|
},
|
|
"summary": "",
|
|
"description": ""
|
|
}
|
|
},
|
|
"schema": {
|
|
"$ref": "#/components/schemas/errors"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"/systems/os_versions": {
|
|
"get": {
|
|
"summary": "Request the list of available OS versions",
|
|
"parameters": [
|
|
{
|
|
"name": "X-RH-IDENTITY",
|
|
"in": "header",
|
|
"schema": {
|
|
"type": "string"
|
|
},
|
|
"description": "For internal use only"
|
|
},
|
|
{
|
|
"name": "filter",
|
|
"in": "query",
|
|
"required": false,
|
|
"description": "Query string to filter items by their attributes. Compliant with <a href=\"https://github.com/wvanbergen/scoped_search/wiki/Query-language\" target=\"_blank\" title=\"github.com/wvanbergen/scoped_search\">scoped_search query language</a>. However, only `=` or `!=` (resp. `<>`) operators are supported.<br><br>Systems are searchable using attributes `display_name`, `os_major_version`, `os_minor_version`, `assigned_or_scanned`, `never_reported`, `group_name`, `policies`, and `profile_ref_id`<br><br>(e.g.: `(field_1=something AND field_2!=\"something else\") OR field_3>40`)",
|
|
"schema": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
],
|
|
"tags": [
|
|
"Systems"
|
|
],
|
|
"description": "This feature is exclusively used by the frontend",
|
|
"operationId": "SystemsOS",
|
|
"deprecated": true,
|
|
"responses": {
|
|
"200": {
|
|
"description": "Lists available OS versions",
|
|
"content": {
|
|
"application/vnd.api+json": {
|
|
"examples": {
|
|
"List of available OS versions": {
|
|
"value": [
|
|
"8.0"
|
|
],
|
|
"summary": "",
|
|
"description": ""
|
|
}
|
|
},
|
|
"schema": {
|
|
"type": "array",
|
|
"items": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"/systems/{system_id}": {
|
|
"get": {
|
|
"summary": "Request a System",
|
|
"parameters": [
|
|
{
|
|
"name": "X-RH-IDENTITY",
|
|
"in": "header",
|
|
"schema": {
|
|
"type": "string"
|
|
},
|
|
"description": "For internal use only"
|
|
},
|
|
{
|
|
"name": "system_id",
|
|
"in": "path",
|
|
"required": true,
|
|
"schema": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
],
|
|
"tags": [
|
|
"Systems"
|
|
],
|
|
"description": "Returns a System",
|
|
"operationId": "System",
|
|
"responses": {
|
|
"200": {
|
|
"description": "Returns a System",
|
|
"content": {
|
|
"application/vnd.api+json": {
|
|
"examples": {
|
|
"Returns a System": {
|
|
"value": {
|
|
"data": {
|
|
"id": "60de46e7-76fb-44dd-b44e-b042293d483c",
|
|
"display_name": "torphy.test",
|
|
"groups": [],
|
|
"culled_timestamp": "2034-11-01T08:28:10.407Z",
|
|
"stale_timestamp": "2034-10-18T08:28:10.407Z",
|
|
"stale_warning_timestamp": "2034-10-25T08:28:10.407Z",
|
|
"updated": "2024-10-18T08:28:10.407Z",
|
|
"insights_id": null,
|
|
"tags": [
|
|
{
|
|
"key": "sensor",
|
|
"value": "solid state",
|
|
"namespace": "navigating"
|
|
},
|
|
{
|
|
"key": "bus",
|
|
"value": "open-source",
|
|
"namespace": "connecting"
|
|
},
|
|
{
|
|
"key": "application",
|
|
"value": "back-end",
|
|
"namespace": "transmitting"
|
|
},
|
|
{
|
|
"key": "interface",
|
|
"value": "haptic",
|
|
"namespace": "transmitting"
|
|
},
|
|
{
|
|
"key": "feed",
|
|
"value": "multi-byte",
|
|
"namespace": "navigating"
|
|
}
|
|
],
|
|
"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 6171e86e-cabb-47ab-9101-86f991e52d6d"
|
|
]
|
|
},
|
|
"summary": "",
|
|
"description": ""
|
|
}
|
|
},
|
|
"schema": {
|
|
"$ref": "#/components/schemas/errors"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"/policies/{policy_id}/systems": {
|
|
"get": {
|
|
"summary": "Request Systems assigned to a Policy",
|
|
"parameters": [
|
|
{
|
|
"name": "X-RH-IDENTITY",
|
|
"in": "header",
|
|
"schema": {
|
|
"type": "string"
|
|
},
|
|
"description": "For internal use only"
|
|
},
|
|
{
|
|
"name": "tags",
|
|
"in": "query",
|
|
"required": false,
|
|
"description": "An array of tags to narrow down the search results. In case the value contains symbols used for separators (`/` or `=`), they need to be encoded.<br>e.g.: `namespace/key=value`, `insights-client/selinux-config=SELINUX%3Denforcing`",
|
|
"schema": {
|
|
"type": "array",
|
|
"items": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"name": "limit",
|
|
"in": "query",
|
|
"required": false,
|
|
"description": "Number of items to return per page",
|
|
"schema": {
|
|
"type": "number",
|
|
"maximum": 100,
|
|
"minimum": 1,
|
|
"default": 10
|
|
}
|
|
},
|
|
{
|
|
"name": "offset",
|
|
"in": "query",
|
|
"required": false,
|
|
"description": "Offset of first item of paginated response",
|
|
"schema": {
|
|
"type": "integer",
|
|
"minimum": 0,
|
|
"default": 0
|
|
}
|
|
},
|
|
{
|
|
"name": "ids_only",
|
|
"in": "query",
|
|
"required": false,
|
|
"description": "Indicates whether to return only resource IDs.",
|
|
"schema": {
|
|
"type": "boolean"
|
|
}
|
|
},
|
|
{
|
|
"name": "sort_by",
|
|
"in": "query",
|
|
"required": false,
|
|
"description": "Attribute and direction to sort the items by. Represented by an array of fields with an optional direction (`<key>:asc` or `<key>:desc`).<br><br>If no direction is selected, `<key>:asc` is used by default.",
|
|
"schema": {
|
|
"type": "array",
|
|
"items": {
|
|
"enum": [
|
|
"display_name",
|
|
"os_minor_version",
|
|
"groups",
|
|
"display_name:asc",
|
|
"display_name:desc",
|
|
"os_minor_version:asc",
|
|
"os_minor_version:desc",
|
|
"groups:asc",
|
|
"groups:desc"
|
|
]
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"name": "filter",
|
|
"in": "query",
|
|
"required": false,
|
|
"description": "Query string to filter items by their attributes. Compliant with <a href=\"https://github.com/wvanbergen/scoped_search/wiki/Query-language\" target=\"_blank\" title=\"github.com/wvanbergen/scoped_search\">scoped_search query language</a>. However, only `=` or `!=` (resp. `<>`) operators are supported.<br><br>Systems are searchable using attributes `display_name`, `os_minor_version`, and `group_name`<br><br>(e.g.: `(field_1=something AND field_2!=\"something else\") OR field_3>40`)",
|
|
"schema": {
|
|
"type": "string"
|
|
}
|
|
},
|
|
{
|
|
"name": "policy_id",
|
|
"in": "path",
|
|
"required": true,
|
|
"schema": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
],
|
|
"tags": [
|
|
"Policies"
|
|
],
|
|
"description": "Lists Systems assigned to a Policy",
|
|
"operationId": "PolicySystems",
|
|
"responses": {
|
|
"200": {
|
|
"description": "Lists Systems assigned to a Policy",
|
|
"content": {
|
|
"application/vnd.api+json": {
|
|
"examples": {
|
|
"List of Systems": {
|
|
"value": {
|
|
"data": [
|
|
{
|
|
"id": "1cefed19-8b98-4355-a226-f2a0f4d3128a",
|
|
"display_name": "dickinson-strosin.example",
|
|
"groups": [],
|
|
"culled_timestamp": "2034-11-01T08:28:10.614Z",
|
|
"stale_timestamp": "2034-10-18T08:28:10.614Z",
|
|
"stale_warning_timestamp": "2034-10-25T08:28:10.614Z",
|
|
"updated": "2024-10-18T08:28:10.614Z",
|
|
"insights_id": null,
|
|
"tags": [
|
|
{
|
|
"key": "firewall",
|
|
"value": "bluetooth",
|
|
"namespace": "navigating"
|
|
},
|
|
{
|
|
"key": "card",
|
|
"value": "primary",
|
|
"namespace": "backing up"
|
|
},
|
|
{
|
|
"key": "firewall",
|
|
"value": "open-source",
|
|
"namespace": "overriding"
|
|
},
|
|
{
|
|
"key": "bandwidth",
|
|
"value": "open-source",
|
|
"namespace": "synthesizing"
|
|
},
|
|
{
|
|
"key": "interface",
|
|
"value": "online",
|
|
"namespace": "bypassing"
|
|
}
|
|
],
|
|
"type": "system",
|
|
"os_major_version": 8,
|
|
"os_minor_version": 0
|
|
},
|
|
{
|
|
"id": "1cf69552-e497-4386-a3a8-abedf4ef9295",
|
|
"display_name": "wuckert-toy.example",
|
|
"groups": [],
|
|
"culled_timestamp": "2034-11-01T08:28:10.511Z",
|
|
"stale_timestamp": "2034-10-18T08:28:10.511Z",
|
|
"stale_warning_timestamp": "2034-10-25T08:28:10.511Z",
|
|
"updated": "2024-10-18T08:28:10.511Z",
|
|
"insights_id": null,
|
|
"tags": [
|
|
{
|
|
"key": "matrix",
|
|
"value": "redundant",
|
|
"namespace": "copying"
|
|
},
|
|
{
|
|
"key": "bus",
|
|
"value": "virtual",
|
|
"namespace": "generating"
|
|
},
|
|
{
|
|
"key": "panel",
|
|
"value": "redundant",
|
|
"namespace": "hacking"
|
|
},
|
|
{
|
|
"key": "alarm",
|
|
"value": "1080p",
|
|
"namespace": "connecting"
|
|
},
|
|
{
|
|
"key": "protocol",
|
|
"value": "mobile",
|
|
"namespace": "overriding"
|
|
}
|
|
],
|
|
"type": "system",
|
|
"os_major_version": 8,
|
|
"os_minor_version": 0
|
|
},
|
|
{
|
|
"id": "3474ce31-4fea-4530-8ba5-3abd8296e4c4",
|
|
"display_name": "daugherty-kiehn.example",
|
|
"groups": [],
|
|
"culled_timestamp": "2034-11-01T08:28:10.541Z",
|
|
"stale_timestamp": "2034-10-18T08:28:10.541Z",
|
|
"stale_warning_timestamp": "2034-10-25T08:28:10.541Z",
|
|
"updated": "2024-10-18T08:28:10.541Z",
|
|
"insights_id": null,
|
|
"tags": [
|
|
{
|
|
"key": "system",
|
|
"value": "digital",
|
|
"namespace": "connecting"
|
|
},
|
|
{
|
|
"key": "port",
|
|
"value": "open-source",
|
|
"namespace": "compressing"
|
|
},
|
|
{
|
|
"key": "panel",
|
|
"value": "1080p",
|
|
"namespace": "programming"
|
|
},
|
|
{
|
|
"key": "panel",
|
|
"value": "wireless",
|
|
"namespace": "quantifying"
|
|
},
|
|
{
|
|
"key": "sensor",
|
|
"value": "mobile",
|
|
"namespace": "programming"
|
|
}
|
|
],
|
|
"type": "system",
|
|
"os_major_version": 8,
|
|
"os_minor_version": 0
|
|
},
|
|
{
|
|
"id": "3484f0a0-7512-4739-a642-8c8357bc4ec9",
|
|
"display_name": "cummerata.test",
|
|
"groups": [],
|
|
"culled_timestamp": "2034-11-01T08:28:10.576Z",
|
|
"stale_timestamp": "2034-10-18T08:28:10.576Z",
|
|
"stale_warning_timestamp": "2034-10-25T08:28:10.576Z",
|
|
"updated": "2024-10-18T08:28:10.576Z",
|
|
"insights_id": null,
|
|
"tags": [
|
|
{
|
|
"key": "bandwidth",
|
|
"value": "primary",
|
|
"namespace": "hacking"
|
|
},
|
|
{
|
|
"key": "driver",
|
|
"value": "back-end",
|
|
"namespace": "compressing"
|
|
},
|
|
{
|
|
"key": "alarm",
|
|
"value": "solid state",
|
|
"namespace": "generating"
|
|
},
|
|
{
|
|
"key": "circuit",
|
|
"value": "primary",
|
|
"namespace": "generating"
|
|
},
|
|
{
|
|
"key": "sensor",
|
|
"value": "optical",
|
|
"namespace": "parsing"
|
|
}
|
|
],
|
|
"type": "system",
|
|
"os_major_version": 8,
|
|
"os_minor_version": 0
|
|
},
|
|
{
|
|
"id": "3a36c07d-e7c5-4055-a603-ffa9a3a607e5",
|
|
"display_name": "larkin-schmidt.test",
|
|
"groups": [],
|
|
"culled_timestamp": "2034-11-01T08:28:10.637Z",
|
|
"stale_timestamp": "2034-10-18T08:28:10.637Z",
|
|
"stale_warning_timestamp": "2034-10-25T08:28:10.637Z",
|
|
"updated": "2024-10-18T08:28:10.637Z",
|
|
"insights_id": null,
|
|
"tags": [
|
|
{
|
|
"key": "pixel",
|
|
"value": "multi-byte",
|
|
"namespace": "copying"
|
|
},
|
|
{
|
|
"key": "panel",
|
|
"value": "1080p",
|
|
"namespace": "backing up"
|
|
},
|
|
{
|
|
"key": "bandwidth",
|
|
"value": "online",
|
|
"namespace": "navigating"
|
|
},
|
|
{
|
|
"key": "application",
|
|
"value": "back-end",
|
|
"namespace": "parsing"
|
|
},
|
|
{
|
|
"key": "port",
|
|
"value": "haptic",
|
|
"namespace": "hacking"
|
|
}
|
|
],
|
|
"type": "system",
|
|
"os_major_version": 8,
|
|
"os_minor_version": 0
|
|
},
|
|
{
|
|
"id": "415a77a3-1653-4248-89d5-04563a5b655b",
|
|
"display_name": "sanford.test",
|
|
"groups": [],
|
|
"culled_timestamp": "2034-11-01T08:28:10.473Z",
|
|
"stale_timestamp": "2034-10-18T08:28:10.473Z",
|
|
"stale_warning_timestamp": "2034-10-25T08:28:10.473Z",
|
|
"updated": "2024-10-18T08:28:10.473Z",
|
|
"insights_id": null,
|
|
"tags": [
|
|
{
|
|
"key": "circuit",
|
|
"value": "open-source",
|
|
"namespace": "copying"
|
|
},
|
|
{
|
|
"key": "interface",
|
|
"value": "digital",
|
|
"namespace": "backing up"
|
|
},
|
|
{
|
|
"key": "sensor",
|
|
"value": "solid state",
|
|
"namespace": "overriding"
|
|
},
|
|
{
|
|
"key": "alarm",
|
|
"value": "redundant",
|
|
"namespace": "backing up"
|
|
},
|
|
{
|
|
"key": "hard drive",
|
|
"value": "haptic",
|
|
"namespace": "synthesizing"
|
|
}
|
|
],
|
|
"type": "system",
|
|
"os_major_version": 8,
|
|
"os_minor_version": 0
|
|
},
|
|
{
|
|
"id": "439f4142-7eaf-49ca-90ae-28b690329778",
|
|
"display_name": "gutkowski.example",
|
|
"groups": [],
|
|
"culled_timestamp": "2034-11-01T08:28:10.516Z",
|
|
"stale_timestamp": "2034-10-18T08:28:10.516Z",
|
|
"stale_warning_timestamp": "2034-10-25T08:28:10.516Z",
|
|
"updated": "2024-10-18T08:28:10.516Z",
|
|
"insights_id": null,
|
|
"tags": [
|
|
{
|
|
"key": "feed",
|
|
"value": "1080p",
|
|
"namespace": "programming"
|
|
},
|
|
{
|
|
"key": "circuit",
|
|
"value": "neural",
|
|
"namespace": "transmitting"
|
|
},
|
|
{
|
|
"key": "bandwidth",
|
|
"value": "digital",
|
|
"namespace": "generating"
|
|
},
|
|
{
|
|
"key": "interface",
|
|
"value": "bluetooth",
|
|
"namespace": "synthesizing"
|
|
},
|
|
{
|
|
"key": "sensor",
|
|
"value": "neural",
|
|
"namespace": "copying"
|
|
}
|
|
],
|
|
"type": "system",
|
|
"os_major_version": 8,
|
|
"os_minor_version": 0
|
|
},
|
|
{
|
|
"id": "54ad22c0-7540-4057-a208-9de52a5a562e",
|
|
"display_name": "stehr.test",
|
|
"groups": [],
|
|
"culled_timestamp": "2034-11-01T08:28:10.585Z",
|
|
"stale_timestamp": "2034-10-18T08:28:10.585Z",
|
|
"stale_warning_timestamp": "2034-10-25T08:28:10.585Z",
|
|
"updated": "2024-10-18T08:28:10.585Z",
|
|
"insights_id": null,
|
|
"tags": [
|
|
{
|
|
"key": "sensor",
|
|
"value": "multi-byte",
|
|
"namespace": "parsing"
|
|
},
|
|
{
|
|
"key": "hard drive",
|
|
"value": "optical",
|
|
"namespace": "quantifying"
|
|
},
|
|
{
|
|
"key": "bandwidth",
|
|
"value": "multi-byte",
|
|
"namespace": "backing up"
|
|
},
|
|
{
|
|
"key": "capacitor",
|
|
"value": "mobile",
|
|
"namespace": "connecting"
|
|
},
|
|
{
|
|
"key": "array",
|
|
"value": "primary",
|
|
"namespace": "calculating"
|
|
}
|
|
],
|
|
"type": "system",
|
|
"os_major_version": 8,
|
|
"os_minor_version": 0
|
|
},
|
|
{
|
|
"id": "55926baf-7453-42ba-82a4-7cedd9c608bf",
|
|
"display_name": "lebsack.test",
|
|
"groups": [],
|
|
"culled_timestamp": "2034-11-01T08:28:10.592Z",
|
|
"stale_timestamp": "2034-10-18T08:28:10.592Z",
|
|
"stale_warning_timestamp": "2034-10-25T08:28:10.592Z",
|
|
"updated": "2024-10-18T08:28:10.592Z",
|
|
"insights_id": null,
|
|
"tags": [
|
|
{
|
|
"key": "firewall",
|
|
"value": "redundant",
|
|
"namespace": "hacking"
|
|
},
|
|
{
|
|
"key": "alarm",
|
|
"value": "optical",
|
|
"namespace": "calculating"
|
|
},
|
|
{
|
|
"key": "bus",
|
|
"value": "wireless",
|
|
"namespace": "bypassing"
|
|
},
|
|
{
|
|
"key": "circuit",
|
|
"value": "digital",
|
|
"namespace": "generating"
|
|
},
|
|
{
|
|
"key": "feed",
|
|
"value": "cross-platform",
|
|
"namespace": "programming"
|
|
}
|
|
],
|
|
"type": "system",
|
|
"os_major_version": 8,
|
|
"os_minor_version": 0
|
|
},
|
|
{
|
|
"id": "56bd550b-a0fd-45fc-8e0d-1ee5ff841832",
|
|
"display_name": "ortiz.example",
|
|
"groups": [],
|
|
"culled_timestamp": "2034-11-01T08:28:10.608Z",
|
|
"stale_timestamp": "2034-10-18T08:28:10.608Z",
|
|
"stale_warning_timestamp": "2034-10-25T08:28:10.608Z",
|
|
"updated": "2024-10-18T08:28:10.608Z",
|
|
"insights_id": null,
|
|
"tags": [
|
|
{
|
|
"key": "system",
|
|
"value": "neural",
|
|
"namespace": "bypassing"
|
|
},
|
|
{
|
|
"key": "application",
|
|
"value": "optical",
|
|
"namespace": "quantifying"
|
|
},
|
|
{
|
|
"key": "application",
|
|
"value": "multi-byte",
|
|
"namespace": "backing up"
|
|
},
|
|
{
|
|
"key": "bandwidth",
|
|
"value": "haptic",
|
|
"namespace": "synthesizing"
|
|
},
|
|
{
|
|
"key": "driver",
|
|
"value": "bluetooth",
|
|
"namespace": "backing up"
|
|
}
|
|
],
|
|
"type": "system",
|
|
"os_major_version": 8,
|
|
"os_minor_version": 0
|
|
}
|
|
],
|
|
"meta": {
|
|
"total": 25,
|
|
"tags": [],
|
|
"limit": 10,
|
|
"offset": 0
|
|
},
|
|
"links": {
|
|
"first": "/api/compliance/v2/policies/8504a320-2e4b-4f48-8a03-4ea28631aee7/systems?limit=10&offset=0",
|
|
"last": "/api/compliance/v2/policies/8504a320-2e4b-4f48-8a03-4ea28631aee7/systems?limit=10&offset=20",
|
|
"next": "/api/compliance/v2/policies/8504a320-2e4b-4f48-8a03-4ea28631aee7/systems?limit=10&offset=10"
|
|
}
|
|
},
|
|
"summary": "",
|
|
"description": ""
|
|
},
|
|
"List of Systems sorted by \"os_minor_version:asc\"": {
|
|
"value": {
|
|
"data": [
|
|
{
|
|
"id": "060fa794-3454-4df4-b1d2-ee841183f86d",
|
|
"display_name": "kirlin.example",
|
|
"groups": [],
|
|
"culled_timestamp": "2034-11-01T08:28:10.825Z",
|
|
"stale_timestamp": "2034-10-18T08:28:10.825Z",
|
|
"stale_warning_timestamp": "2034-10-25T08:28:10.825Z",
|
|
"updated": "2024-10-18T08:28:10.825Z",
|
|
"insights_id": null,
|
|
"tags": [
|
|
{
|
|
"key": "matrix",
|
|
"value": "auxiliary",
|
|
"namespace": "navigating"
|
|
},
|
|
{
|
|
"key": "firewall",
|
|
"value": "digital",
|
|
"namespace": "connecting"
|
|
},
|
|
{
|
|
"key": "circuit",
|
|
"value": "open-source",
|
|
"namespace": "overriding"
|
|
},
|
|
{
|
|
"key": "program",
|
|
"value": "primary",
|
|
"namespace": "connecting"
|
|
},
|
|
{
|
|
"key": "card",
|
|
"value": "virtual",
|
|
"namespace": "overriding"
|
|
}
|
|
],
|
|
"type": "system",
|
|
"os_major_version": 8,
|
|
"os_minor_version": 0
|
|
},
|
|
{
|
|
"id": "0b86b384-7a6f-4b1e-a419-f36413a0f6d1",
|
|
"display_name": "renner.example",
|
|
"groups": [],
|
|
"culled_timestamp": "2034-11-01T08:28:10.765Z",
|
|
"stale_timestamp": "2034-10-18T08:28:10.765Z",
|
|
"stale_warning_timestamp": "2034-10-25T08:28:10.765Z",
|
|
"updated": "2024-10-18T08:28:10.765Z",
|
|
"insights_id": null,
|
|
"tags": [
|
|
{
|
|
"key": "application",
|
|
"value": "open-source",
|
|
"namespace": "synthesizing"
|
|
},
|
|
{
|
|
"key": "matrix",
|
|
"value": "multi-byte",
|
|
"namespace": "compressing"
|
|
},
|
|
{
|
|
"key": "capacitor",
|
|
"value": "auxiliary",
|
|
"namespace": "overriding"
|
|
},
|
|
{
|
|
"key": "matrix",
|
|
"value": "neural",
|
|
"namespace": "compressing"
|
|
},
|
|
{
|
|
"key": "firewall",
|
|
"value": "wireless",
|
|
"namespace": "backing up"
|
|
}
|
|
],
|
|
"type": "system",
|
|
"os_major_version": 8,
|
|
"os_minor_version": 0
|
|
},
|
|
{
|
|
"id": "11c5c74e-2d3a-415b-b2cc-ae14f5133b24",
|
|
"display_name": "kautzer.example",
|
|
"groups": [],
|
|
"culled_timestamp": "2034-11-01T08:28:10.849Z",
|
|
"stale_timestamp": "2034-10-18T08:28:10.849Z",
|
|
"stale_warning_timestamp": "2034-10-25T08:28:10.849Z",
|
|
"updated": "2024-10-18T08:28:10.849Z",
|
|
"insights_id": null,
|
|
"tags": [
|
|
{
|
|
"key": "pixel",
|
|
"value": "open-source",
|
|
"namespace": "indexing"
|
|
},
|
|
{
|
|
"key": "interface",
|
|
"value": "solid state",
|
|
"namespace": "overriding"
|
|
},
|
|
{
|
|
"key": "port",
|
|
"value": "back-end",
|
|
"namespace": "indexing"
|
|
},
|
|
{
|
|
"key": "feed",
|
|
"value": "haptic",
|
|
"namespace": "compressing"
|
|
},
|
|
{
|
|
"key": "interface",
|
|
"value": "cross-platform",
|
|
"namespace": "copying"
|
|
}
|
|
],
|
|
"type": "system",
|
|
"os_major_version": 8,
|
|
"os_minor_version": 0
|
|
},
|
|
{
|
|
"id": "15e17f55-b1c2-4ee4-82d2-c53ec210b2d6",
|
|
"display_name": "aufderhar.test",
|
|
"groups": [],
|
|
"culled_timestamp": "2034-11-01T08:28:10.808Z",
|
|
"stale_timestamp": "2034-10-18T08:28:10.808Z",
|
|
"stale_warning_timestamp": "2034-10-25T08:28:10.808Z",
|
|
"updated": "2024-10-18T08:28:10.808Z",
|
|
"insights_id": null,
|
|
"tags": [
|
|
{
|
|
"key": "bus",
|
|
"value": "online",
|
|
"namespace": "parsing"
|
|
},
|
|
{
|
|
"key": "card",
|
|
"value": "redundant",
|
|
"namespace": "calculating"
|
|
},
|
|
{
|
|
"key": "protocol",
|
|
"value": "digital",
|
|
"namespace": "copying"
|
|
},
|
|
{
|
|
"key": "system",
|
|
"value": "haptic",
|
|
"namespace": "parsing"
|
|
},
|
|
{
|
|
"key": "interface",
|
|
"value": "virtual",
|
|
"namespace": "connecting"
|
|
}
|
|
],
|
|
"type": "system",
|
|
"os_major_version": 8,
|
|
"os_minor_version": 0
|
|
},
|
|
{
|
|
"id": "41ad309f-13d3-4abc-a6ad-4bed8626c145",
|
|
"display_name": "brakus.example",
|
|
"groups": [],
|
|
"culled_timestamp": "2034-11-01T08:28:10.819Z",
|
|
"stale_timestamp": "2034-10-18T08:28:10.819Z",
|
|
"stale_warning_timestamp": "2034-10-25T08:28:10.819Z",
|
|
"updated": "2024-10-18T08:28:10.819Z",
|
|
"insights_id": null,
|
|
"tags": [
|
|
{
|
|
"key": "driver",
|
|
"value": "cross-platform",
|
|
"namespace": "calculating"
|
|
},
|
|
{
|
|
"key": "bus",
|
|
"value": "virtual",
|
|
"namespace": "bypassing"
|
|
},
|
|
{
|
|
"key": "sensor",
|
|
"value": "optical",
|
|
"namespace": "overriding"
|
|
},
|
|
{
|
|
"key": "bandwidth",
|
|
"value": "cross-platform",
|
|
"namespace": "programming"
|
|
},
|
|
{
|
|
"key": "driver",
|
|
"value": "cross-platform",
|
|
"namespace": "navigating"
|
|
}
|
|
],
|
|
"type": "system",
|
|
"os_major_version": 8,
|
|
"os_minor_version": 0
|
|
},
|
|
{
|
|
"id": "442d9a14-30f0-4d74-9b64-4ac07c47ea28",
|
|
"display_name": "bogisich.example",
|
|
"groups": [],
|
|
"culled_timestamp": "2034-11-01T08:28:10.745Z",
|
|
"stale_timestamp": "2034-10-18T08:28:10.745Z",
|
|
"stale_warning_timestamp": "2034-10-25T08:28:10.745Z",
|
|
"updated": "2024-10-18T08:28:10.745Z",
|
|
"insights_id": null,
|
|
"tags": [
|
|
{
|
|
"key": "application",
|
|
"value": "1080p",
|
|
"namespace": "bypassing"
|
|
},
|
|
{
|
|
"key": "firewall",
|
|
"value": "bluetooth",
|
|
"namespace": "transmitting"
|
|
},
|
|
{
|
|
"key": "system",
|
|
"value": "cross-platform",
|
|
"namespace": "quantifying"
|
|
},
|
|
{
|
|
"key": "alarm",
|
|
"value": "primary",
|
|
"namespace": "transmitting"
|
|
},
|
|
{
|
|
"key": "capacitor",
|
|
"value": "cross-platform",
|
|
"namespace": "indexing"
|
|
}
|
|
],
|
|
"type": "system",
|
|
"os_major_version": 8,
|
|
"os_minor_version": 0
|
|
},
|
|
{
|
|
"id": "4d12c272-53b5-459f-9dca-7254e1c8c8e1",
|
|
"display_name": "mcglynn.test",
|
|
"groups": [],
|
|
"culled_timestamp": "2034-11-01T08:28:10.813Z",
|
|
"stale_timestamp": "2034-10-18T08:28:10.813Z",
|
|
"stale_warning_timestamp": "2034-10-25T08:28:10.813Z",
|
|
"updated": "2024-10-18T08:28:10.814Z",
|
|
"insights_id": null,
|
|
"tags": [
|
|
{
|
|
"key": "card",
|
|
"value": "solid state",
|
|
"namespace": "connecting"
|
|
},
|
|
{
|
|
"key": "driver",
|
|
"value": "mobile",
|
|
"namespace": "programming"
|
|
},
|
|
{
|
|
"key": "interface",
|
|
"value": "haptic",
|
|
"namespace": "indexing"
|
|
},
|
|
{
|
|
"key": "hard drive",
|
|
"value": "haptic",
|
|
"namespace": "parsing"
|
|
},
|
|
{
|
|
"key": "microchip",
|
|
"value": "neural",
|
|
"namespace": "synthesizing"
|
|
}
|
|
],
|
|
"type": "system",
|
|
"os_major_version": 8,
|
|
"os_minor_version": 0
|
|
},
|
|
{
|
|
"id": "5f3a21c8-0ed2-4b43-ac60-8046c0db0daa",
|
|
"display_name": "carter.example",
|
|
"groups": [],
|
|
"culled_timestamp": "2034-11-01T08:28:10.859Z",
|
|
"stale_timestamp": "2034-10-18T08:28:10.859Z",
|
|
"stale_warning_timestamp": "2034-10-25T08:28:10.859Z",
|
|
"updated": "2024-10-18T08:28:10.859Z",
|
|
"insights_id": null,
|
|
"tags": [
|
|
{
|
|
"key": "driver",
|
|
"value": "wireless",
|
|
"namespace": "overriding"
|
|
},
|
|
{
|
|
"key": "pixel",
|
|
"value": "mobile",
|
|
"namespace": "backing up"
|
|
},
|
|
{
|
|
"key": "pixel",
|
|
"value": "multi-byte",
|
|
"namespace": "bypassing"
|
|
},
|
|
{
|
|
"key": "sensor",
|
|
"value": "open-source",
|
|
"namespace": "bypassing"
|
|
},
|
|
{
|
|
"key": "array",
|
|
"value": "primary",
|
|
"namespace": "copying"
|
|
}
|
|
],
|
|
"type": "system",
|
|
"os_major_version": 8,
|
|
"os_minor_version": 0
|
|
},
|
|
{
|
|
"id": "61ce43fb-9326-4d4d-a524-7e83b389ccb4",
|
|
"display_name": "dubuque.test",
|
|
"groups": [],
|
|
"culled_timestamp": "2034-11-01T08:28:10.779Z",
|
|
"stale_timestamp": "2034-10-18T08:28:10.779Z",
|
|
"stale_warning_timestamp": "2034-10-25T08:28:10.779Z",
|
|
"updated": "2024-10-18T08:28:10.779Z",
|
|
"insights_id": null,
|
|
"tags": [
|
|
{
|
|
"key": "microchip",
|
|
"value": "neural",
|
|
"namespace": "compressing"
|
|
},
|
|
{
|
|
"key": "firewall",
|
|
"value": "virtual",
|
|
"namespace": "generating"
|
|
},
|
|
{
|
|
"key": "monitor",
|
|
"value": "neural",
|
|
"namespace": "bypassing"
|
|
},
|
|
{
|
|
"key": "interface",
|
|
"value": "wireless",
|
|
"namespace": "transmitting"
|
|
},
|
|
{
|
|
"key": "monitor",
|
|
"value": "online",
|
|
"namespace": "connecting"
|
|
}
|
|
],
|
|
"type": "system",
|
|
"os_major_version": 8,
|
|
"os_minor_version": 0
|
|
},
|
|
{
|
|
"id": "78bc7643-ba26-423c-a9e7-b54f9f5ceccb",
|
|
"display_name": "labadie-gutmann.test",
|
|
"groups": [],
|
|
"culled_timestamp": "2034-11-01T08:28:10.772Z",
|
|
"stale_timestamp": "2034-10-18T08:28:10.772Z",
|
|
"stale_warning_timestamp": "2034-10-25T08:28:10.772Z",
|
|
"updated": "2024-10-18T08:28:10.772Z",
|
|
"insights_id": null,
|
|
"tags": [
|
|
{
|
|
"key": "circuit",
|
|
"value": "redundant",
|
|
"namespace": "calculating"
|
|
},
|
|
{
|
|
"key": "array",
|
|
"value": "virtual",
|
|
"namespace": "bypassing"
|
|
},
|
|
{
|
|
"key": "interface",
|
|
"value": "bluetooth",
|
|
"namespace": "indexing"
|
|
},
|
|
{
|
|
"key": "hard drive",
|
|
"value": "online",
|
|
"namespace": "parsing"
|
|
},
|
|
{
|
|
"key": "hard drive",
|
|
"value": "bluetooth",
|
|
"namespace": "compressing"
|
|
}
|
|
],
|
|
"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/d0d14177-a535-48dd-addc-123f26beff78/systems?limit=10&offset=0&sort_by=os_minor_version",
|
|
"last": "/api/compliance/v2/policies/d0d14177-a535-48dd-addc-123f26beff78/systems?limit=10&offset=20&sort_by=os_minor_version",
|
|
"next": "/api/compliance/v2/policies/d0d14177-a535-48dd-addc-123f26beff78/systems?limit=10&offset=10&sort_by=os_minor_version"
|
|
}
|
|
},
|
|
"summary": "",
|
|
"description": ""
|
|
},
|
|
"List of Systems filtered by \"(os_minor_version=0)\"": {
|
|
"value": {
|
|
"data": [
|
|
{
|
|
"id": "0f955961-515c-4c2e-872a-4a7f5e7ee92e",
|
|
"display_name": "johnson.example",
|
|
"groups": [],
|
|
"culled_timestamp": "2034-11-01T08:28:10.970Z",
|
|
"stale_timestamp": "2034-10-18T08:28:10.970Z",
|
|
"stale_warning_timestamp": "2034-10-25T08:28:10.970Z",
|
|
"updated": "2024-10-18T08:28:10.970Z",
|
|
"insights_id": null,
|
|
"tags": [
|
|
{
|
|
"key": "panel",
|
|
"value": "primary",
|
|
"namespace": "parsing"
|
|
},
|
|
{
|
|
"key": "sensor",
|
|
"value": "redundant",
|
|
"namespace": "navigating"
|
|
},
|
|
{
|
|
"key": "feed",
|
|
"value": "open-source",
|
|
"namespace": "parsing"
|
|
},
|
|
{
|
|
"key": "system",
|
|
"value": "multi-byte",
|
|
"namespace": "overriding"
|
|
},
|
|
{
|
|
"key": "interface",
|
|
"value": "redundant",
|
|
"namespace": "hacking"
|
|
}
|
|
],
|
|
"type": "system",
|
|
"os_major_version": 8,
|
|
"os_minor_version": 0
|
|
},
|
|
{
|
|
"id": "19a25878-5590-4860-861c-0cc45330ab62",
|
|
"display_name": "monahan-hudson.test",
|
|
"groups": [],
|
|
"culled_timestamp": "2034-11-01T08:28:10.976Z",
|
|
"stale_timestamp": "2034-10-18T08:28:10.976Z",
|
|
"stale_warning_timestamp": "2034-10-25T08:28:10.976Z",
|
|
"updated": "2024-10-18T08:28:10.976Z",
|
|
"insights_id": null,
|
|
"tags": [
|
|
{
|
|
"key": "feed",
|
|
"value": "primary",
|
|
"namespace": "compressing"
|
|
},
|
|
{
|
|
"key": "card",
|
|
"value": "wireless",
|
|
"namespace": "compressing"
|
|
},
|
|
{
|
|
"key": "port",
|
|
"value": "optical",
|
|
"namespace": "programming"
|
|
},
|
|
{
|
|
"key": "program",
|
|
"value": "back-end",
|
|
"namespace": "connecting"
|
|
},
|
|
{
|
|
"key": "port",
|
|
"value": "1080p",
|
|
"namespace": "bypassing"
|
|
}
|
|
],
|
|
"type": "system",
|
|
"os_major_version": 8,
|
|
"os_minor_version": 0
|
|
},
|
|
{
|
|
"id": "20bc9ab4-aef8-481a-b2e3-6aa0ab9b0e9b",
|
|
"display_name": "towne.test",
|
|
"groups": [],
|
|
"culled_timestamp": "2034-11-01T08:28:10.959Z",
|
|
"stale_timestamp": "2034-10-18T08:28:10.959Z",
|
|
"stale_warning_timestamp": "2034-10-25T08:28:10.959Z",
|
|
"updated": "2024-10-18T08:28:10.959Z",
|
|
"insights_id": null,
|
|
"tags": [
|
|
{
|
|
"key": "hard drive",
|
|
"value": "back-end",
|
|
"namespace": "backing up"
|
|
},
|
|
{
|
|
"key": "circuit",
|
|
"value": "haptic",
|
|
"namespace": "calculating"
|
|
},
|
|
{
|
|
"key": "application",
|
|
"value": "multi-byte",
|
|
"namespace": "calculating"
|
|
},
|
|
{
|
|
"key": "pixel",
|
|
"value": "solid state",
|
|
"namespace": "connecting"
|
|
},
|
|
{
|
|
"key": "card",
|
|
"value": "open-source",
|
|
"namespace": "calculating"
|
|
}
|
|
],
|
|
"type": "system",
|
|
"os_major_version": 8,
|
|
"os_minor_version": 0
|
|
},
|
|
{
|
|
"id": "26318fc6-3d69-4756-a5e1-fb9b84c10c41",
|
|
"display_name": "barrows.example",
|
|
"groups": [],
|
|
"culled_timestamp": "2034-11-01T08:28:10.929Z",
|
|
"stale_timestamp": "2034-10-18T08:28:10.929Z",
|
|
"stale_warning_timestamp": "2034-10-25T08:28:10.929Z",
|
|
"updated": "2024-10-18T08:28:10.929Z",
|
|
"insights_id": null,
|
|
"tags": [
|
|
{
|
|
"key": "monitor",
|
|
"value": "1080p",
|
|
"namespace": "transmitting"
|
|
},
|
|
{
|
|
"key": "alarm",
|
|
"value": "haptic",
|
|
"namespace": "backing up"
|
|
},
|
|
{
|
|
"key": "monitor",
|
|
"value": "cross-platform",
|
|
"namespace": "calculating"
|
|
},
|
|
{
|
|
"key": "alarm",
|
|
"value": "multi-byte",
|
|
"namespace": "calculating"
|
|
},
|
|
{
|
|
"key": "circuit",
|
|
"value": "1080p",
|
|
"namespace": "hacking"
|
|
}
|
|
],
|
|
"type": "system",
|
|
"os_major_version": 8,
|
|
"os_minor_version": 0
|
|
},
|
|
{
|
|
"id": "4adfd07d-ac4c-4255-8173-2fa54e36c0e3",
|
|
"display_name": "paucek-balistreri.example",
|
|
"groups": [],
|
|
"culled_timestamp": "2034-11-01T08:28:10.982Z",
|
|
"stale_timestamp": "2034-10-18T08:28:10.982Z",
|
|
"stale_warning_timestamp": "2034-10-25T08:28:10.982Z",
|
|
"updated": "2024-10-18T08:28:10.982Z",
|
|
"insights_id": null,
|
|
"tags": [
|
|
{
|
|
"key": "system",
|
|
"value": "back-end",
|
|
"namespace": "calculating"
|
|
},
|
|
{
|
|
"key": "array",
|
|
"value": "virtual",
|
|
"namespace": "synthesizing"
|
|
},
|
|
{
|
|
"key": "port",
|
|
"value": "virtual",
|
|
"namespace": "quantifying"
|
|
},
|
|
{
|
|
"key": "sensor",
|
|
"value": "redundant",
|
|
"namespace": "synthesizing"
|
|
},
|
|
{
|
|
"key": "alarm",
|
|
"value": "auxiliary",
|
|
"namespace": "quantifying"
|
|
}
|
|
],
|
|
"type": "system",
|
|
"os_major_version": 8,
|
|
"os_minor_version": 0
|
|
},
|
|
{
|
|
"id": "5248b8d0-9e03-4384-a366-fba1cbac071f",
|
|
"display_name": "brown.test",
|
|
"groups": [],
|
|
"culled_timestamp": "2034-11-01T08:28:10.993Z",
|
|
"stale_timestamp": "2034-10-18T08:28:10.993Z",
|
|
"stale_warning_timestamp": "2034-10-25T08:28:10.993Z",
|
|
"updated": "2024-10-18T08:28:10.993Z",
|
|
"insights_id": null,
|
|
"tags": [
|
|
{
|
|
"key": "interface",
|
|
"value": "redundant",
|
|
"namespace": "transmitting"
|
|
},
|
|
{
|
|
"key": "matrix",
|
|
"value": "back-end",
|
|
"namespace": "connecting"
|
|
},
|
|
{
|
|
"key": "system",
|
|
"value": "redundant",
|
|
"namespace": "hacking"
|
|
},
|
|
{
|
|
"key": "array",
|
|
"value": "mobile",
|
|
"namespace": "backing up"
|
|
},
|
|
{
|
|
"key": "hard drive",
|
|
"value": "digital",
|
|
"namespace": "hacking"
|
|
}
|
|
],
|
|
"type": "system",
|
|
"os_major_version": 8,
|
|
"os_minor_version": 0
|
|
},
|
|
{
|
|
"id": "597fae5e-9b71-41ac-9d73-b3456c5b9260",
|
|
"display_name": "davis.example",
|
|
"groups": [],
|
|
"culled_timestamp": "2034-11-01T08:28:11.062Z",
|
|
"stale_timestamp": "2034-10-18T08:28:11.062Z",
|
|
"stale_warning_timestamp": "2034-10-25T08:28:11.062Z",
|
|
"updated": "2024-10-18T08:28:11.062Z",
|
|
"insights_id": null,
|
|
"tags": [
|
|
{
|
|
"key": "port",
|
|
"value": "digital",
|
|
"namespace": "copying"
|
|
},
|
|
{
|
|
"key": "pixel",
|
|
"value": "digital",
|
|
"namespace": "calculating"
|
|
},
|
|
{
|
|
"key": "circuit",
|
|
"value": "mobile",
|
|
"namespace": "calculating"
|
|
},
|
|
{
|
|
"key": "bus",
|
|
"value": "digital",
|
|
"namespace": "transmitting"
|
|
},
|
|
{
|
|
"key": "program",
|
|
"value": "haptic",
|
|
"namespace": "bypassing"
|
|
}
|
|
],
|
|
"type": "system",
|
|
"os_major_version": 8,
|
|
"os_minor_version": 0
|
|
},
|
|
{
|
|
"id": "6d5fd15f-f757-4387-af9f-70c861816784",
|
|
"display_name": "schinner.test",
|
|
"groups": [],
|
|
"culled_timestamp": "2034-11-01T08:28:10.964Z",
|
|
"stale_timestamp": "2034-10-18T08:28:10.964Z",
|
|
"stale_warning_timestamp": "2034-10-25T08:28:10.964Z",
|
|
"updated": "2024-10-18T08:28:10.964Z",
|
|
"insights_id": null,
|
|
"tags": [
|
|
{
|
|
"key": "driver",
|
|
"value": "solid state",
|
|
"namespace": "indexing"
|
|
},
|
|
{
|
|
"key": "bus",
|
|
"value": "primary",
|
|
"namespace": "overriding"
|
|
},
|
|
{
|
|
"key": "microchip",
|
|
"value": "1080p",
|
|
"namespace": "calculating"
|
|
},
|
|
{
|
|
"key": "monitor",
|
|
"value": "mobile",
|
|
"namespace": "backing up"
|
|
},
|
|
{
|
|
"key": "card",
|
|
"value": "haptic",
|
|
"namespace": "compressing"
|
|
}
|
|
],
|
|
"type": "system",
|
|
"os_major_version": 8,
|
|
"os_minor_version": 0
|
|
},
|
|
{
|
|
"id": "7cd3ec56-662b-4fc7-bbcd-9bfdebed680c",
|
|
"display_name": "wilderman.example",
|
|
"groups": [],
|
|
"culled_timestamp": "2034-11-01T08:28:11.034Z",
|
|
"stale_timestamp": "2034-10-18T08:28:11.034Z",
|
|
"stale_warning_timestamp": "2034-10-25T08:28:11.034Z",
|
|
"updated": "2024-10-18T08:28:11.034Z",
|
|
"insights_id": null,
|
|
"tags": [
|
|
{
|
|
"key": "driver",
|
|
"value": "primary",
|
|
"namespace": "compressing"
|
|
},
|
|
{
|
|
"key": "circuit",
|
|
"value": "multi-byte",
|
|
"namespace": "quantifying"
|
|
},
|
|
{
|
|
"key": "interface",
|
|
"value": "bluetooth",
|
|
"namespace": "synthesizing"
|
|
},
|
|
{
|
|
"key": "sensor",
|
|
"value": "wireless",
|
|
"namespace": "transmitting"
|
|
},
|
|
{
|
|
"key": "system",
|
|
"value": "mobile",
|
|
"namespace": "compressing"
|
|
}
|
|
],
|
|
"type": "system",
|
|
"os_major_version": 8,
|
|
"os_minor_version": 0
|
|
},
|
|
{
|
|
"id": "7ffa0ac1-cd7e-4ea3-8cac-9ccb503684ee",
|
|
"display_name": "hirthe-beier.example",
|
|
"groups": [],
|
|
"culled_timestamp": "2034-11-01T08:28:10.911Z",
|
|
"stale_timestamp": "2034-10-18T08:28:10.911Z",
|
|
"stale_warning_timestamp": "2034-10-25T08:28:10.911Z",
|
|
"updated": "2024-10-18T08:28:10.911Z",
|
|
"insights_id": null,
|
|
"tags": [
|
|
{
|
|
"key": "panel",
|
|
"value": "primary",
|
|
"namespace": "bypassing"
|
|
},
|
|
{
|
|
"key": "sensor",
|
|
"value": "optical",
|
|
"namespace": "overriding"
|
|
},
|
|
{
|
|
"key": "circuit",
|
|
"value": "multi-byte",
|
|
"namespace": "generating"
|
|
},
|
|
{
|
|
"key": "bandwidth",
|
|
"value": "solid state",
|
|
"namespace": "synthesizing"
|
|
},
|
|
{
|
|
"key": "microchip",
|
|
"value": "cross-platform",
|
|
"namespace": "hacking"
|
|
}
|
|
],
|
|
"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/e3917297-7c80-4c27-ab13-6621c19aba8f/systems?filter=%28os_minor_version%3D0%29&limit=10&offset=0",
|
|
"last": "/api/compliance/v2/policies/e3917297-7c80-4c27-ab13-6621c19aba8f/systems?filter=%28os_minor_version%3D0%29&limit=10&offset=20",
|
|
"next": "/api/compliance/v2/policies/e3917297-7c80-4c27-ab13-6621c19aba8f/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": "0689bbc7-2610-411d-a397-d77fc7a514ba",
|
|
"display_name": "huels-kunze.example",
|
|
"groups": [],
|
|
"culled_timestamp": "2034-11-01T08:28:11.670Z",
|
|
"stale_timestamp": "2034-10-18T08:28:11.670Z",
|
|
"stale_warning_timestamp": "2034-10-25T08:28:11.670Z",
|
|
"updated": "2024-10-18T08:28:11.670Z",
|
|
"insights_id": null,
|
|
"tags": [
|
|
{
|
|
"key": "application",
|
|
"value": "back-end",
|
|
"namespace": "bypassing"
|
|
},
|
|
{
|
|
"key": "monitor",
|
|
"value": "online",
|
|
"namespace": "synthesizing"
|
|
},
|
|
{
|
|
"key": "panel",
|
|
"value": "auxiliary",
|
|
"namespace": "copying"
|
|
},
|
|
{
|
|
"key": "system",
|
|
"value": "bluetooth",
|
|
"namespace": "programming"
|
|
},
|
|
{
|
|
"key": "bandwidth",
|
|
"value": "neural",
|
|
"namespace": "navigating"
|
|
}
|
|
],
|
|
"type": "system",
|
|
"os_major_version": 8,
|
|
"os_minor_version": 0
|
|
},
|
|
{
|
|
"id": "12ecaddf-7426-425f-b16a-08e815d326f3",
|
|
"display_name": "heathcote.example",
|
|
"groups": [],
|
|
"culled_timestamp": "2034-11-01T08:28:11.676Z",
|
|
"stale_timestamp": "2034-10-18T08:28:11.676Z",
|
|
"stale_warning_timestamp": "2034-10-25T08:28:11.676Z",
|
|
"updated": "2024-10-18T08:28:11.676Z",
|
|
"insights_id": null,
|
|
"tags": [
|
|
{
|
|
"key": "firewall",
|
|
"value": "solid state",
|
|
"namespace": "compressing"
|
|
},
|
|
{
|
|
"key": "monitor",
|
|
"value": "multi-byte",
|
|
"namespace": "indexing"
|
|
},
|
|
{
|
|
"key": "transmitter",
|
|
"value": "auxiliary",
|
|
"namespace": "parsing"
|
|
},
|
|
{
|
|
"key": "alarm",
|
|
"value": "bluetooth",
|
|
"namespace": "parsing"
|
|
},
|
|
{
|
|
"key": "circuit",
|
|
"value": "primary",
|
|
"namespace": "indexing"
|
|
}
|
|
],
|
|
"type": "system",
|
|
"os_major_version": 8,
|
|
"os_minor_version": 0
|
|
},
|
|
{
|
|
"id": "20a92424-674f-49a7-8798-83d1bd0a9731",
|
|
"display_name": "towne.example",
|
|
"groups": [],
|
|
"culled_timestamp": "2034-11-01T08:28:11.687Z",
|
|
"stale_timestamp": "2034-10-18T08:28:11.687Z",
|
|
"stale_warning_timestamp": "2034-10-25T08:28:11.687Z",
|
|
"updated": "2024-10-18T08:28:11.687Z",
|
|
"insights_id": null,
|
|
"tags": [
|
|
{
|
|
"key": "hard drive",
|
|
"value": "auxiliary",
|
|
"namespace": "parsing"
|
|
},
|
|
{
|
|
"key": "matrix",
|
|
"value": "digital",
|
|
"namespace": "bypassing"
|
|
},
|
|
{
|
|
"key": "bandwidth",
|
|
"value": "neural",
|
|
"namespace": "hacking"
|
|
},
|
|
{
|
|
"key": "driver",
|
|
"value": "neural",
|
|
"namespace": "compressing"
|
|
},
|
|
{
|
|
"key": "driver",
|
|
"value": "wireless",
|
|
"namespace": "calculating"
|
|
}
|
|
],
|
|
"type": "system",
|
|
"os_major_version": 8,
|
|
"os_minor_version": 0
|
|
},
|
|
{
|
|
"id": "2535f065-c468-4f96-b482-57be91112c81",
|
|
"display_name": "langworth.example",
|
|
"groups": [],
|
|
"culled_timestamp": "2034-11-01T08:28:11.681Z",
|
|
"stale_timestamp": "2034-10-18T08:28:11.681Z",
|
|
"stale_warning_timestamp": "2034-10-25T08:28:11.681Z",
|
|
"updated": "2024-10-18T08:28:11.681Z",
|
|
"insights_id": null,
|
|
"tags": [
|
|
{
|
|
"key": "panel",
|
|
"value": "neural",
|
|
"namespace": "bypassing"
|
|
},
|
|
{
|
|
"key": "capacitor",
|
|
"value": "redundant",
|
|
"namespace": "connecting"
|
|
},
|
|
{
|
|
"key": "driver",
|
|
"value": "online",
|
|
"namespace": "quantifying"
|
|
},
|
|
{
|
|
"key": "matrix",
|
|
"value": "open-source",
|
|
"namespace": "copying"
|
|
},
|
|
{
|
|
"key": "port",
|
|
"value": "neural",
|
|
"namespace": "indexing"
|
|
}
|
|
],
|
|
"type": "system",
|
|
"os_major_version": 8,
|
|
"os_minor_version": 0
|
|
},
|
|
{
|
|
"id": "2a4e4c0d-8aa2-496e-944c-3600595fdabe",
|
|
"display_name": "doyle.test",
|
|
"groups": [],
|
|
"culled_timestamp": "2034-11-01T08:28:11.670Z",
|
|
"stale_timestamp": "2034-10-18T08:28:11.670Z",
|
|
"stale_warning_timestamp": "2034-10-25T08:28:11.670Z",
|
|
"updated": "2024-10-18T08:28:11.670Z",
|
|
"insights_id": null,
|
|
"tags": [
|
|
{
|
|
"key": "panel",
|
|
"value": "virtual",
|
|
"namespace": "transmitting"
|
|
},
|
|
{
|
|
"key": "feed",
|
|
"value": "open-source",
|
|
"namespace": "quantifying"
|
|
},
|
|
{
|
|
"key": "transmitter",
|
|
"value": "bluetooth",
|
|
"namespace": "indexing"
|
|
},
|
|
{
|
|
"key": "firewall",
|
|
"value": "auxiliary",
|
|
"namespace": "programming"
|
|
},
|
|
{
|
|
"key": "feed",
|
|
"value": "open-source",
|
|
"namespace": "connecting"
|
|
}
|
|
],
|
|
"type": "system",
|
|
"os_major_version": 8,
|
|
"os_minor_version": 0
|
|
},
|
|
{
|
|
"id": "350d2349-bc21-4845-9871-8f8be3ec84c3",
|
|
"display_name": "pollich-shanahan.test",
|
|
"groups": [],
|
|
"culled_timestamp": "2034-11-01T08:28:11.685Z",
|
|
"stale_timestamp": "2034-10-18T08:28:11.685Z",
|
|
"stale_warning_timestamp": "2034-10-25T08:28:11.685Z",
|
|
"updated": "2024-10-18T08:28:11.685Z",
|
|
"insights_id": null,
|
|
"tags": [
|
|
{
|
|
"key": "feed",
|
|
"value": "primary",
|
|
"namespace": "parsing"
|
|
},
|
|
{
|
|
"key": "port",
|
|
"value": "1080p",
|
|
"namespace": "parsing"
|
|
},
|
|
{
|
|
"key": "matrix",
|
|
"value": "digital",
|
|
"namespace": "transmitting"
|
|
},
|
|
{
|
|
"key": "matrix",
|
|
"value": "wireless",
|
|
"namespace": "copying"
|
|
},
|
|
{
|
|
"key": "program",
|
|
"value": "online",
|
|
"namespace": "calculating"
|
|
}
|
|
],
|
|
"type": "system",
|
|
"os_major_version": 8,
|
|
"os_minor_version": 0
|
|
},
|
|
{
|
|
"id": "41ca18c9-d20b-4e7d-9983-394c64a87453",
|
|
"display_name": "blick-rowe.test",
|
|
"groups": [],
|
|
"culled_timestamp": "2034-11-01T08:28:11.672Z",
|
|
"stale_timestamp": "2034-10-18T08:28:11.672Z",
|
|
"stale_warning_timestamp": "2034-10-25T08:28:11.672Z",
|
|
"updated": "2024-10-18T08:28:11.672Z",
|
|
"insights_id": null,
|
|
"tags": [
|
|
{
|
|
"key": "port",
|
|
"value": "bluetooth",
|
|
"namespace": "overriding"
|
|
},
|
|
{
|
|
"key": "card",
|
|
"value": "1080p",
|
|
"namespace": "parsing"
|
|
},
|
|
{
|
|
"key": "alarm",
|
|
"value": "back-end",
|
|
"namespace": "bypassing"
|
|
},
|
|
{
|
|
"key": "firewall",
|
|
"value": "multi-byte",
|
|
"namespace": "navigating"
|
|
},
|
|
{
|
|
"key": "protocol",
|
|
"value": "bluetooth",
|
|
"namespace": "calculating"
|
|
}
|
|
],
|
|
"type": "system",
|
|
"os_major_version": 8,
|
|
"os_minor_version": 0
|
|
},
|
|
{
|
|
"id": "49b2b2ed-d8d5-4b74-9d16-c25f34f27803",
|
|
"display_name": "williamson-lockman.test",
|
|
"groups": [],
|
|
"culled_timestamp": "2034-11-01T08:28:11.671Z",
|
|
"stale_timestamp": "2034-10-18T08:28:11.671Z",
|
|
"stale_warning_timestamp": "2034-10-25T08:28:11.671Z",
|
|
"updated": "2024-10-18T08:28:11.671Z",
|
|
"insights_id": null,
|
|
"tags": [
|
|
{
|
|
"key": "microchip",
|
|
"value": "online",
|
|
"namespace": "connecting"
|
|
},
|
|
{
|
|
"key": "system",
|
|
"value": "neural",
|
|
"namespace": "copying"
|
|
},
|
|
{
|
|
"key": "protocol",
|
|
"value": "1080p",
|
|
"namespace": "generating"
|
|
},
|
|
{
|
|
"key": "transmitter",
|
|
"value": "open-source",
|
|
"namespace": "hacking"
|
|
},
|
|
{
|
|
"key": "bus",
|
|
"value": "solid state",
|
|
"namespace": "calculating"
|
|
}
|
|
],
|
|
"type": "system",
|
|
"os_major_version": 8,
|
|
"os_minor_version": 0
|
|
},
|
|
{
|
|
"id": "66ff4e62-8146-4525-9280-85a52a7b745a",
|
|
"display_name": "jacobs.test",
|
|
"groups": [],
|
|
"culled_timestamp": "2034-11-01T08:28:11.678Z",
|
|
"stale_timestamp": "2034-10-18T08:28:11.678Z",
|
|
"stale_warning_timestamp": "2034-10-25T08:28:11.678Z",
|
|
"updated": "2024-10-18T08:28:11.678Z",
|
|
"insights_id": null,
|
|
"tags": [
|
|
{
|
|
"key": "pixel",
|
|
"value": "redundant",
|
|
"namespace": "navigating"
|
|
},
|
|
{
|
|
"key": "bus",
|
|
"value": "auxiliary",
|
|
"namespace": "navigating"
|
|
},
|
|
{
|
|
"key": "transmitter",
|
|
"value": "haptic",
|
|
"namespace": "parsing"
|
|
},
|
|
{
|
|
"key": "card",
|
|
"value": "multi-byte",
|
|
"namespace": "navigating"
|
|
},
|
|
{
|
|
"key": "application",
|
|
"value": "mobile",
|
|
"namespace": "parsing"
|
|
}
|
|
],
|
|
"type": "system",
|
|
"os_major_version": 8,
|
|
"os_minor_version": 0
|
|
},
|
|
{
|
|
"id": "6be8136f-7a76-48c9-a360-04fb6fb23b48",
|
|
"display_name": "rippin.test",
|
|
"groups": [],
|
|
"culled_timestamp": "2034-11-01T08:28:11.682Z",
|
|
"stale_timestamp": "2034-10-18T08:28:11.682Z",
|
|
"stale_warning_timestamp": "2034-10-25T08:28:11.682Z",
|
|
"updated": "2024-10-18T08:28:11.682Z",
|
|
"insights_id": null,
|
|
"tags": [
|
|
{
|
|
"key": "card",
|
|
"value": "optical",
|
|
"namespace": "hacking"
|
|
},
|
|
{
|
|
"key": "protocol",
|
|
"value": "neural",
|
|
"namespace": "backing up"
|
|
},
|
|
{
|
|
"key": "application",
|
|
"value": "neural",
|
|
"namespace": "quantifying"
|
|
},
|
|
{
|
|
"key": "driver",
|
|
"value": "multi-byte",
|
|
"namespace": "hacking"
|
|
},
|
|
{
|
|
"key": "panel",
|
|
"value": "multi-byte",
|
|
"namespace": "indexing"
|
|
}
|
|
],
|
|
"type": "system",
|
|
"os_major_version": 8,
|
|
"os_minor_version": 0
|
|
}
|
|
],
|
|
"meta": {
|
|
"total": 25,
|
|
"tags": [],
|
|
"limit": 10,
|
|
"offset": 0
|
|
},
|
|
"links": {
|
|
"first": "/api/compliance/v2/policies/f4a3bece-8c0e-432b-912c-0e42245e865f/systems?limit=10&offset=0",
|
|
"last": "/api/compliance/v2/policies/f4a3bece-8c0e-432b-912c-0e42245e865f/systems?limit=10&offset=20",
|
|
"next": "/api/compliance/v2/policies/f4a3bece-8c0e-432b-912c-0e42245e865f/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": [
|
|
"6393b801-8555-44bd-a683-4aac64176f87"
|
|
]
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"/policies/{policy_id}/systems/os_versions": {
|
|
"get": {
|
|
"summary": "Request the list of available OS versions",
|
|
"parameters": [
|
|
{
|
|
"name": "X-RH-IDENTITY",
|
|
"in": "header",
|
|
"schema": {
|
|
"type": "string"
|
|
},
|
|
"description": "For internal use only"
|
|
},
|
|
{
|
|
"name": "filter",
|
|
"in": "query",
|
|
"required": false,
|
|
"description": "Query string to filter items by their attributes. Compliant with <a href=\"https://github.com/wvanbergen/scoped_search/wiki/Query-language\" target=\"_blank\" title=\"github.com/wvanbergen/scoped_search\">scoped_search query language</a>. However, only `=` or `!=` (resp. `<>`) operators are supported.<br><br>Systems are searchable using attributes `display_name`, `os_major_version`, `os_minor_version`, `assigned_or_scanned`, `never_reported`, `group_name`, `policies`, and `profile_ref_id`<br><br>(e.g.: `(field_1=something AND field_2!=\"something else\") OR field_3>40`)",
|
|
"schema": {
|
|
"type": "string"
|
|
}
|
|
},
|
|
{
|
|
"name": "policy_id",
|
|
"in": "path",
|
|
"required": true,
|
|
"schema": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
],
|
|
"tags": [
|
|
"Systems"
|
|
],
|
|
"description": "This feature is exclusively used by the frontend",
|
|
"operationId": "PolicySystemsOS",
|
|
"deprecated": true,
|
|
"responses": {
|
|
"200": {
|
|
"description": "Lists available OS versions",
|
|
"content": {
|
|
"application/vnd.api+json": {
|
|
"examples": {
|
|
"List of available OS versions": {
|
|
"value": [
|
|
"8.0"
|
|
],
|
|
"summary": "",
|
|
"description": ""
|
|
}
|
|
},
|
|
"schema": {
|
|
"type": "array",
|
|
"items": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"/policies/{policy_id}/systems/{system_id}": {
|
|
"patch": {
|
|
"summary": "Assign a System to a Policy",
|
|
"parameters": [
|
|
{
|
|
"name": "X-RH-IDENTITY",
|
|
"in": "header",
|
|
"schema": {
|
|
"type": "string"
|
|
},
|
|
"description": "For internal use only"
|
|
},
|
|
{
|
|
"name": "system_id",
|
|
"in": "path",
|
|
"required": true,
|
|
"schema": {
|
|
"type": "string"
|
|
}
|
|
},
|
|
{
|
|
"name": "policy_id",
|
|
"in": "path",
|
|
"required": true,
|
|
"schema": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
],
|
|
"tags": [
|
|
"Policies"
|
|
],
|
|
"description": "Assigns a System to a Policy",
|
|
"operationId": "AssignSystem",
|
|
"responses": {
|
|
"202": {
|
|
"description": "Assigns a System to a Policy",
|
|
"content": {
|
|
"application/vnd.api+json": {
|
|
"examples": {
|
|
"Assigns a System to a Policy": {
|
|
"value": {
|
|
"data": {
|
|
"id": "141b34c8-2070-425c-95c3-2d8fbec640cc",
|
|
"display_name": "gulgowski-hermann.example",
|
|
"groups": [],
|
|
"culled_timestamp": "2034-11-01T08:28:11.962Z",
|
|
"stale_timestamp": "2034-10-18T08:28:11.962Z",
|
|
"stale_warning_timestamp": "2034-10-25T08:28:11.962Z",
|
|
"updated": "2024-10-18T08:28:11.962Z",
|
|
"insights_id": null,
|
|
"tags": [
|
|
{
|
|
"key": "circuit",
|
|
"value": "online",
|
|
"namespace": "indexing"
|
|
},
|
|
{
|
|
"key": "port",
|
|
"value": "virtual",
|
|
"namespace": "parsing"
|
|
},
|
|
{
|
|
"key": "card",
|
|
"value": "primary",
|
|
"namespace": "hacking"
|
|
},
|
|
{
|
|
"key": "system",
|
|
"value": "cross-platform",
|
|
"namespace": "generating"
|
|
},
|
|
{
|
|
"key": "transmitter",
|
|
"value": "optical",
|
|
"namespace": "overriding"
|
|
}
|
|
],
|
|
"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 8ce13ca3-1f93-41a5-869b-32b666907bfb"
|
|
]
|
|
},
|
|
"summary": "",
|
|
"description": ""
|
|
}
|
|
},
|
|
"schema": {
|
|
"$ref": "#/components/schemas/errors"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"delete": {
|
|
"summary": "Unassign a System from a Policy",
|
|
"parameters": [
|
|
{
|
|
"name": "X-RH-IDENTITY",
|
|
"in": "header",
|
|
"schema": {
|
|
"type": "string"
|
|
},
|
|
"description": "For internal use only"
|
|
},
|
|
{
|
|
"name": "system_id",
|
|
"in": "path",
|
|
"required": true,
|
|
"schema": {
|
|
"type": "string"
|
|
}
|
|
},
|
|
{
|
|
"name": "policy_id",
|
|
"in": "path",
|
|
"required": true,
|
|
"schema": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
],
|
|
"tags": [
|
|
"Policies"
|
|
],
|
|
"description": "Unassigns a System from a Policy",
|
|
"operationId": "UnassignSystem",
|
|
"responses": {
|
|
"202": {
|
|
"description": "Unassigns a System from a Policy",
|
|
"content": {
|
|
"application/vnd.api+json": {
|
|
"examples": {
|
|
"Unassigns a System from a Policy": {
|
|
"value": {
|
|
"data": {
|
|
"id": "e6f3b74a-dba9-4ed8-98de-a6adb0ff6529",
|
|
"display_name": "olson.example",
|
|
"groups": [],
|
|
"culled_timestamp": "2034-11-01T08:28:12.053Z",
|
|
"stale_timestamp": "2034-10-18T08:28:12.053Z",
|
|
"stale_warning_timestamp": "2034-10-25T08:28:12.053Z",
|
|
"updated": "2024-10-18T08:28:12.053Z",
|
|
"insights_id": null,
|
|
"tags": [
|
|
{
|
|
"key": "bandwidth",
|
|
"value": "wireless",
|
|
"namespace": "quantifying"
|
|
},
|
|
{
|
|
"key": "circuit",
|
|
"value": "auxiliary",
|
|
"namespace": "bypassing"
|
|
},
|
|
{
|
|
"key": "transmitter",
|
|
"value": "online",
|
|
"namespace": "quantifying"
|
|
},
|
|
{
|
|
"key": "application",
|
|
"value": "optical",
|
|
"namespace": "parsing"
|
|
},
|
|
{
|
|
"key": "microchip",
|
|
"value": "online",
|
|
"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 0378d7db-fac1-499d-b180-d8d0b732db73"
|
|
]
|
|
},
|
|
"summary": "",
|
|
"description": ""
|
|
}
|
|
},
|
|
"schema": {
|
|
"$ref": "#/components/schemas/errors"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"/reports/{report_id}/systems": {
|
|
"get": {
|
|
"summary": "Request Systems assigned to a Report",
|
|
"parameters": [
|
|
{
|
|
"name": "X-RH-IDENTITY",
|
|
"in": "header",
|
|
"schema": {
|
|
"type": "string"
|
|
},
|
|
"description": "For internal use only"
|
|
},
|
|
{
|
|
"name": "tags",
|
|
"in": "query",
|
|
"required": false,
|
|
"description": "An array of tags to narrow down the search results. In case the value contains symbols used for separators (`/` or `=`), they need to be encoded.<br>e.g.: `namespace/key=value`, `insights-client/selinux-config=SELINUX%3Denforcing`",
|
|
"schema": {
|
|
"type": "array",
|
|
"items": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"name": "limit",
|
|
"in": "query",
|
|
"required": false,
|
|
"description": "Number of items to return per page",
|
|
"schema": {
|
|
"type": "number",
|
|
"maximum": 100,
|
|
"minimum": 1,
|
|
"default": 10
|
|
}
|
|
},
|
|
{
|
|
"name": "offset",
|
|
"in": "query",
|
|
"required": false,
|
|
"description": "Offset of first item of paginated response",
|
|
"schema": {
|
|
"type": "integer",
|
|
"minimum": 0,
|
|
"default": 0
|
|
}
|
|
},
|
|
{
|
|
"name": "ids_only",
|
|
"in": "query",
|
|
"required": false,
|
|
"description": "Indicates whether to return only resource IDs.",
|
|
"schema": {
|
|
"type": "boolean"
|
|
}
|
|
},
|
|
{
|
|
"name": "sort_by",
|
|
"in": "query",
|
|
"required": false,
|
|
"description": "Attribute and direction to sort the items by. Represented by an array of fields with an optional direction (`<key>:asc` or `<key>:desc`).<br><br>If no direction is selected, `<key>:asc` is used by default.",
|
|
"schema": {
|
|
"type": "array",
|
|
"items": {
|
|
"enum": [
|
|
"display_name",
|
|
"os_minor_version",
|
|
"groups",
|
|
"display_name:asc",
|
|
"display_name:desc",
|
|
"os_minor_version:asc",
|
|
"os_minor_version:desc",
|
|
"groups:asc",
|
|
"groups:desc"
|
|
]
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"name": "filter",
|
|
"in": "query",
|
|
"required": false,
|
|
"description": "Query string to filter items by their attributes. Compliant with <a href=\"https://github.com/wvanbergen/scoped_search/wiki/Query-language\" target=\"_blank\" title=\"github.com/wvanbergen/scoped_search\">scoped_search query language</a>. However, only `=` or `!=` (resp. `<>`) operators are supported.<br><br>Systems are searchable using attributes `display_name`, `os_minor_version`, `never_reported`, and `group_name`<br><br>(e.g.: `(field_1=something AND field_2!=\"something else\") OR field_3>40`)",
|
|
"schema": {
|
|
"type": "string"
|
|
}
|
|
},
|
|
{
|
|
"name": "report_id",
|
|
"in": "path",
|
|
"required": true,
|
|
"schema": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
],
|
|
"tags": [
|
|
"Reports"
|
|
],
|
|
"description": "Lists Systems assigned to a Report",
|
|
"operationId": "ReportSystems",
|
|
"responses": {
|
|
"200": {
|
|
"description": "Lists Systems assigned to a Report",
|
|
"content": {
|
|
"application/vnd.api+json": {
|
|
"examples": {
|
|
"List of Systems": {
|
|
"value": {
|
|
"data": [
|
|
{
|
|
"id": "08a3ea52-7a9f-49ed-b640-429eac485e60",
|
|
"display_name": "metz.test",
|
|
"groups": [],
|
|
"culled_timestamp": "2034-11-01T08:28:12.484Z",
|
|
"stale_timestamp": "2034-10-18T08:28:12.484Z",
|
|
"stale_warning_timestamp": "2034-10-25T08:28:12.484Z",
|
|
"updated": "2024-10-18T08:28:12.484Z",
|
|
"insights_id": null,
|
|
"tags": [
|
|
{
|
|
"key": "pixel",
|
|
"value": "neural",
|
|
"namespace": "synthesizing"
|
|
},
|
|
{
|
|
"key": "bandwidth",
|
|
"value": "bluetooth",
|
|
"namespace": "backing up"
|
|
},
|
|
{
|
|
"key": "transmitter",
|
|
"value": "digital",
|
|
"namespace": "transmitting"
|
|
},
|
|
{
|
|
"key": "matrix",
|
|
"value": "haptic",
|
|
"namespace": "backing up"
|
|
},
|
|
{
|
|
"key": "circuit",
|
|
"value": "mobile",
|
|
"namespace": "hacking"
|
|
}
|
|
],
|
|
"type": "system",
|
|
"os_major_version": 8,
|
|
"os_minor_version": 0,
|
|
"policies": [
|
|
{
|
|
"id": "dee3fa57-e266-4884-bfdb-cbaac1c0f591",
|
|
"title": "Incidunt qui dolorem nemo."
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "1a9187b3-ed27-4f44-9c32-9f28396f53db",
|
|
"display_name": "mohr.test",
|
|
"groups": [],
|
|
"culled_timestamp": "2034-11-01T08:28:12.368Z",
|
|
"stale_timestamp": "2034-10-18T08:28:12.368Z",
|
|
"stale_warning_timestamp": "2034-10-25T08:28:12.368Z",
|
|
"updated": "2024-10-18T08:28:12.368Z",
|
|
"insights_id": null,
|
|
"tags": [
|
|
{
|
|
"key": "firewall",
|
|
"value": "primary",
|
|
"namespace": "connecting"
|
|
},
|
|
{
|
|
"key": "port",
|
|
"value": "online",
|
|
"namespace": "programming"
|
|
},
|
|
{
|
|
"key": "hard drive",
|
|
"value": "mobile",
|
|
"namespace": "copying"
|
|
},
|
|
{
|
|
"key": "card",
|
|
"value": "open-source",
|
|
"namespace": "copying"
|
|
},
|
|
{
|
|
"key": "capacitor",
|
|
"value": "back-end",
|
|
"namespace": "backing up"
|
|
}
|
|
],
|
|
"type": "system",
|
|
"os_major_version": 8,
|
|
"os_minor_version": 0,
|
|
"policies": [
|
|
{
|
|
"id": "dee3fa57-e266-4884-bfdb-cbaac1c0f591",
|
|
"title": "Incidunt qui dolorem nemo."
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "210f5b7f-3f0d-4179-9103-1a8bd9070c7c",
|
|
"display_name": "jast.example",
|
|
"groups": [],
|
|
"culled_timestamp": "2034-11-01T08:28:12.449Z",
|
|
"stale_timestamp": "2034-10-18T08:28:12.449Z",
|
|
"stale_warning_timestamp": "2034-10-25T08:28:12.449Z",
|
|
"updated": "2024-10-18T08:28:12.449Z",
|
|
"insights_id": null,
|
|
"tags": [
|
|
{
|
|
"key": "application",
|
|
"value": "1080p",
|
|
"namespace": "synthesizing"
|
|
},
|
|
{
|
|
"key": "program",
|
|
"value": "bluetooth",
|
|
"namespace": "programming"
|
|
},
|
|
{
|
|
"key": "sensor",
|
|
"value": "primary",
|
|
"namespace": "copying"
|
|
},
|
|
{
|
|
"key": "card",
|
|
"value": "solid state",
|
|
"namespace": "quantifying"
|
|
},
|
|
{
|
|
"key": "microchip",
|
|
"value": "back-end",
|
|
"namespace": "navigating"
|
|
}
|
|
],
|
|
"type": "system",
|
|
"os_major_version": 8,
|
|
"os_minor_version": 0,
|
|
"policies": [
|
|
{
|
|
"id": "dee3fa57-e266-4884-bfdb-cbaac1c0f591",
|
|
"title": "Incidunt qui dolorem nemo."
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "2920b8c6-c348-4fcf-a52e-86d00cfc884c",
|
|
"display_name": "howe-bernhard.test",
|
|
"groups": [],
|
|
"culled_timestamp": "2034-11-01T08:28:12.473Z",
|
|
"stale_timestamp": "2034-10-18T08:28:12.473Z",
|
|
"stale_warning_timestamp": "2034-10-25T08:28:12.473Z",
|
|
"updated": "2024-10-18T08:28:12.473Z",
|
|
"insights_id": null,
|
|
"tags": [
|
|
{
|
|
"key": "hard drive",
|
|
"value": "mobile",
|
|
"namespace": "transmitting"
|
|
},
|
|
{
|
|
"key": "bus",
|
|
"value": "open-source",
|
|
"namespace": "navigating"
|
|
},
|
|
{
|
|
"key": "panel",
|
|
"value": "online",
|
|
"namespace": "bypassing"
|
|
},
|
|
{
|
|
"key": "bus",
|
|
"value": "primary",
|
|
"namespace": "programming"
|
|
},
|
|
{
|
|
"key": "capacitor",
|
|
"value": "redundant",
|
|
"namespace": "navigating"
|
|
}
|
|
],
|
|
"type": "system",
|
|
"os_major_version": 8,
|
|
"os_minor_version": 0,
|
|
"policies": [
|
|
{
|
|
"id": "dee3fa57-e266-4884-bfdb-cbaac1c0f591",
|
|
"title": "Incidunt qui dolorem nemo."
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "2983b131-12cb-4d0d-87a4-fe3bb8155717",
|
|
"display_name": "homenick-hickle.example",
|
|
"groups": [],
|
|
"culled_timestamp": "2034-11-01T08:28:12.443Z",
|
|
"stale_timestamp": "2034-10-18T08:28:12.443Z",
|
|
"stale_warning_timestamp": "2034-10-25T08:28:12.443Z",
|
|
"updated": "2024-10-18T08:28:12.443Z",
|
|
"insights_id": null,
|
|
"tags": [
|
|
{
|
|
"key": "alarm",
|
|
"value": "bluetooth",
|
|
"namespace": "parsing"
|
|
},
|
|
{
|
|
"key": "sensor",
|
|
"value": "digital",
|
|
"namespace": "quantifying"
|
|
},
|
|
{
|
|
"key": "transmitter",
|
|
"value": "mobile",
|
|
"namespace": "quantifying"
|
|
},
|
|
{
|
|
"key": "pixel",
|
|
"value": "1080p",
|
|
"namespace": "programming"
|
|
},
|
|
{
|
|
"key": "array",
|
|
"value": "primary",
|
|
"namespace": "transmitting"
|
|
}
|
|
],
|
|
"type": "system",
|
|
"os_major_version": 8,
|
|
"os_minor_version": 0,
|
|
"policies": [
|
|
{
|
|
"id": "dee3fa57-e266-4884-bfdb-cbaac1c0f591",
|
|
"title": "Incidunt qui dolorem nemo."
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "2f7df06b-1152-4984-80ba-bfdaa1e1ee5e",
|
|
"display_name": "tremblay-medhurst.example",
|
|
"groups": [],
|
|
"culled_timestamp": "2034-11-01T08:28:12.488Z",
|
|
"stale_timestamp": "2034-10-18T08:28:12.488Z",
|
|
"stale_warning_timestamp": "2034-10-25T08:28:12.488Z",
|
|
"updated": "2024-10-18T08:28:12.488Z",
|
|
"insights_id": null,
|
|
"tags": [
|
|
{
|
|
"key": "card",
|
|
"value": "online",
|
|
"namespace": "compressing"
|
|
},
|
|
{
|
|
"key": "protocol",
|
|
"value": "cross-platform",
|
|
"namespace": "programming"
|
|
},
|
|
{
|
|
"key": "bandwidth",
|
|
"value": "solid state",
|
|
"namespace": "generating"
|
|
},
|
|
{
|
|
"key": "program",
|
|
"value": "optical",
|
|
"namespace": "indexing"
|
|
},
|
|
{
|
|
"key": "monitor",
|
|
"value": "haptic",
|
|
"namespace": "backing up"
|
|
}
|
|
],
|
|
"type": "system",
|
|
"os_major_version": 8,
|
|
"os_minor_version": 0,
|
|
"policies": [
|
|
{
|
|
"id": "dee3fa57-e266-4884-bfdb-cbaac1c0f591",
|
|
"title": "Incidunt qui dolorem nemo."
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "352c159a-577f-46c8-9154-3f991208d9f9",
|
|
"display_name": "strosin.example",
|
|
"groups": [],
|
|
"culled_timestamp": "2034-11-01T08:28:12.385Z",
|
|
"stale_timestamp": "2034-10-18T08:28:12.385Z",
|
|
"stale_warning_timestamp": "2034-10-25T08:28:12.385Z",
|
|
"updated": "2024-10-18T08:28:12.385Z",
|
|
"insights_id": null,
|
|
"tags": [
|
|
{
|
|
"key": "circuit",
|
|
"value": "redundant",
|
|
"namespace": "transmitting"
|
|
},
|
|
{
|
|
"key": "transmitter",
|
|
"value": "open-source",
|
|
"namespace": "backing up"
|
|
},
|
|
{
|
|
"key": "circuit",
|
|
"value": "neural",
|
|
"namespace": "indexing"
|
|
},
|
|
{
|
|
"key": "system",
|
|
"value": "auxiliary",
|
|
"namespace": "generating"
|
|
},
|
|
{
|
|
"key": "transmitter",
|
|
"value": "digital",
|
|
"namespace": "connecting"
|
|
}
|
|
],
|
|
"type": "system",
|
|
"os_major_version": 8,
|
|
"os_minor_version": 0,
|
|
"policies": [
|
|
{
|
|
"id": "dee3fa57-e266-4884-bfdb-cbaac1c0f591",
|
|
"title": "Incidunt qui dolorem nemo."
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "35d34f49-836f-4db7-82f1-703b2d1ee364",
|
|
"display_name": "ortiz.example",
|
|
"groups": [],
|
|
"culled_timestamp": "2034-11-01T08:28:12.502Z",
|
|
"stale_timestamp": "2034-10-18T08:28:12.502Z",
|
|
"stale_warning_timestamp": "2034-10-25T08:28:12.502Z",
|
|
"updated": "2024-10-18T08:28:12.502Z",
|
|
"insights_id": null,
|
|
"tags": [
|
|
{
|
|
"key": "card",
|
|
"value": "online",
|
|
"namespace": "indexing"
|
|
},
|
|
{
|
|
"key": "array",
|
|
"value": "digital",
|
|
"namespace": "bypassing"
|
|
},
|
|
{
|
|
"key": "card",
|
|
"value": "wireless",
|
|
"namespace": "copying"
|
|
},
|
|
{
|
|
"key": "alarm",
|
|
"value": "bluetooth",
|
|
"namespace": "transmitting"
|
|
},
|
|
{
|
|
"key": "capacitor",
|
|
"value": "wireless",
|
|
"namespace": "navigating"
|
|
}
|
|
],
|
|
"type": "system",
|
|
"os_major_version": 8,
|
|
"os_minor_version": 0,
|
|
"policies": [
|
|
{
|
|
"id": "dee3fa57-e266-4884-bfdb-cbaac1c0f591",
|
|
"title": "Incidunt qui dolorem nemo."
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "3aa55b07-cc5c-41f3-b09d-a87b3ebab380",
|
|
"display_name": "lakin.example",
|
|
"groups": [],
|
|
"culled_timestamp": "2034-11-01T08:28:12.427Z",
|
|
"stale_timestamp": "2034-10-18T08:28:12.427Z",
|
|
"stale_warning_timestamp": "2034-10-25T08:28:12.427Z",
|
|
"updated": "2024-10-18T08:28:12.427Z",
|
|
"insights_id": null,
|
|
"tags": [
|
|
{
|
|
"key": "feed",
|
|
"value": "back-end",
|
|
"namespace": "indexing"
|
|
},
|
|
{
|
|
"key": "circuit",
|
|
"value": "1080p",
|
|
"namespace": "hacking"
|
|
},
|
|
{
|
|
"key": "pixel",
|
|
"value": "back-end",
|
|
"namespace": "navigating"
|
|
},
|
|
{
|
|
"key": "capacitor",
|
|
"value": "digital",
|
|
"namespace": "hacking"
|
|
},
|
|
{
|
|
"key": "driver",
|
|
"value": "auxiliary",
|
|
"namespace": "connecting"
|
|
}
|
|
],
|
|
"type": "system",
|
|
"os_major_version": 8,
|
|
"os_minor_version": 0,
|
|
"policies": [
|
|
{
|
|
"id": "dee3fa57-e266-4884-bfdb-cbaac1c0f591",
|
|
"title": "Incidunt qui dolorem nemo."
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "3b4936dd-e0a9-4a34-a575-76fa384d8ecd",
|
|
"display_name": "sipes-volkman.test",
|
|
"groups": [],
|
|
"culled_timestamp": "2034-11-01T08:28:12.407Z",
|
|
"stale_timestamp": "2034-10-18T08:28:12.407Z",
|
|
"stale_warning_timestamp": "2034-10-25T08:28:12.407Z",
|
|
"updated": "2024-10-18T08:28:12.407Z",
|
|
"insights_id": null,
|
|
"tags": [
|
|
{
|
|
"key": "hard drive",
|
|
"value": "primary",
|
|
"namespace": "transmitting"
|
|
},
|
|
{
|
|
"key": "interface",
|
|
"value": "mobile",
|
|
"namespace": "hacking"
|
|
},
|
|
{
|
|
"key": "panel",
|
|
"value": "open-source",
|
|
"namespace": "generating"
|
|
},
|
|
{
|
|
"key": "feed",
|
|
"value": "open-source",
|
|
"namespace": "overriding"
|
|
},
|
|
{
|
|
"key": "matrix",
|
|
"value": "neural",
|
|
"namespace": "indexing"
|
|
}
|
|
],
|
|
"type": "system",
|
|
"os_major_version": 8,
|
|
"os_minor_version": 0,
|
|
"policies": [
|
|
{
|
|
"id": "dee3fa57-e266-4884-bfdb-cbaac1c0f591",
|
|
"title": "Incidunt qui dolorem nemo."
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"meta": {
|
|
"total": 25,
|
|
"tags": [],
|
|
"limit": 10,
|
|
"offset": 0
|
|
},
|
|
"links": {
|
|
"first": "/api/compliance/v2/reports/dee3fa57-e266-4884-bfdb-cbaac1c0f591/systems?limit=10&offset=0",
|
|
"last": "/api/compliance/v2/reports/dee3fa57-e266-4884-bfdb-cbaac1c0f591/systems?limit=10&offset=20",
|
|
"next": "/api/compliance/v2/reports/dee3fa57-e266-4884-bfdb-cbaac1c0f591/systems?limit=10&offset=10"
|
|
}
|
|
},
|
|
"summary": "",
|
|
"description": ""
|
|
},
|
|
"List of Systems sorted by \"os_minor_version:asc\"": {
|
|
"value": {
|
|
"data": [
|
|
{
|
|
"id": "0277343f-077c-47f1-9221-c5940fd995d8",
|
|
"display_name": "prohaska.test",
|
|
"groups": [],
|
|
"culled_timestamp": "2034-11-01T08:28:12.900Z",
|
|
"stale_timestamp": "2034-10-18T08:28:12.900Z",
|
|
"stale_warning_timestamp": "2034-10-25T08:28:12.900Z",
|
|
"updated": "2024-10-18T08:28:12.900Z",
|
|
"insights_id": null,
|
|
"tags": [
|
|
{
|
|
"key": "bus",
|
|
"value": "bluetooth",
|
|
"namespace": "parsing"
|
|
},
|
|
{
|
|
"key": "bandwidth",
|
|
"value": "neural",
|
|
"namespace": "navigating"
|
|
},
|
|
{
|
|
"key": "microchip",
|
|
"value": "online",
|
|
"namespace": "bypassing"
|
|
},
|
|
{
|
|
"key": "capacitor",
|
|
"value": "bluetooth",
|
|
"namespace": "transmitting"
|
|
},
|
|
{
|
|
"key": "bus",
|
|
"value": "primary",
|
|
"namespace": "synthesizing"
|
|
}
|
|
],
|
|
"type": "system",
|
|
"os_major_version": 8,
|
|
"os_minor_version": 0,
|
|
"policies": [
|
|
{
|
|
"id": "1f6bc39a-9a84-4cb4-b029-6208e19b4062",
|
|
"title": "Doloremque nostrum dolorem temporibus."
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "0e48d00e-f243-4f02-b22d-dea88ea30f85",
|
|
"display_name": "boyle.example",
|
|
"groups": [],
|
|
"culled_timestamp": "2034-11-01T08:28:12.850Z",
|
|
"stale_timestamp": "2034-10-18T08:28:12.850Z",
|
|
"stale_warning_timestamp": "2034-10-25T08:28:12.850Z",
|
|
"updated": "2024-10-18T08:28:12.850Z",
|
|
"insights_id": null,
|
|
"tags": [
|
|
{
|
|
"key": "array",
|
|
"value": "1080p",
|
|
"namespace": "hacking"
|
|
},
|
|
{
|
|
"key": "sensor",
|
|
"value": "solid state",
|
|
"namespace": "copying"
|
|
},
|
|
{
|
|
"key": "system",
|
|
"value": "online",
|
|
"namespace": "parsing"
|
|
},
|
|
{
|
|
"key": "driver",
|
|
"value": "online",
|
|
"namespace": "synthesizing"
|
|
},
|
|
{
|
|
"key": "program",
|
|
"value": "cross-platform",
|
|
"namespace": "bypassing"
|
|
}
|
|
],
|
|
"type": "system",
|
|
"os_major_version": 8,
|
|
"os_minor_version": 0,
|
|
"policies": [
|
|
{
|
|
"id": "1f6bc39a-9a84-4cb4-b029-6208e19b4062",
|
|
"title": "Doloremque nostrum dolorem temporibus."
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "183f4585-082a-43d8-adf3-a30069d2abab",
|
|
"display_name": "daugherty-king.example",
|
|
"groups": [],
|
|
"culled_timestamp": "2034-11-01T08:28:12.789Z",
|
|
"stale_timestamp": "2034-10-18T08:28:12.789Z",
|
|
"stale_warning_timestamp": "2034-10-25T08:28:12.789Z",
|
|
"updated": "2024-10-18T08:28:12.789Z",
|
|
"insights_id": null,
|
|
"tags": [
|
|
{
|
|
"key": "hard drive",
|
|
"value": "haptic",
|
|
"namespace": "copying"
|
|
},
|
|
{
|
|
"key": "interface",
|
|
"value": "1080p",
|
|
"namespace": "compressing"
|
|
},
|
|
{
|
|
"key": "driver",
|
|
"value": "primary",
|
|
"namespace": "quantifying"
|
|
},
|
|
{
|
|
"key": "firewall",
|
|
"value": "multi-byte",
|
|
"namespace": "overriding"
|
|
},
|
|
{
|
|
"key": "firewall",
|
|
"value": "wireless",
|
|
"namespace": "copying"
|
|
}
|
|
],
|
|
"type": "system",
|
|
"os_major_version": 8,
|
|
"os_minor_version": 0,
|
|
"policies": [
|
|
{
|
|
"id": "1f6bc39a-9a84-4cb4-b029-6208e19b4062",
|
|
"title": "Doloremque nostrum dolorem temporibus."
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "20e8d0bd-768b-4974-bf70-381c65b7b09e",
|
|
"display_name": "runolfsdottir-jaskolski.example",
|
|
"groups": [],
|
|
"culled_timestamp": "2034-11-01T08:28:12.906Z",
|
|
"stale_timestamp": "2034-10-18T08:28:12.906Z",
|
|
"stale_warning_timestamp": "2034-10-25T08:28:12.906Z",
|
|
"updated": "2024-10-18T08:28:12.906Z",
|
|
"insights_id": null,
|
|
"tags": [
|
|
{
|
|
"key": "protocol",
|
|
"value": "haptic",
|
|
"namespace": "programming"
|
|
},
|
|
{
|
|
"key": "program",
|
|
"value": "haptic",
|
|
"namespace": "bypassing"
|
|
},
|
|
{
|
|
"key": "monitor",
|
|
"value": "bluetooth",
|
|
"namespace": "transmitting"
|
|
},
|
|
{
|
|
"key": "circuit",
|
|
"value": "virtual",
|
|
"namespace": "quantifying"
|
|
},
|
|
{
|
|
"key": "transmitter",
|
|
"value": "back-end",
|
|
"namespace": "transmitting"
|
|
}
|
|
],
|
|
"type": "system",
|
|
"os_major_version": 8,
|
|
"os_minor_version": 0,
|
|
"policies": [
|
|
{
|
|
"id": "1f6bc39a-9a84-4cb4-b029-6208e19b4062",
|
|
"title": "Doloremque nostrum dolorem temporibus."
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "22287b58-5089-4740-ba23-1d188c543d5b",
|
|
"display_name": "larson.test",
|
|
"groups": [],
|
|
"culled_timestamp": "2034-11-01T08:28:12.928Z",
|
|
"stale_timestamp": "2034-10-18T08:28:12.928Z",
|
|
"stale_warning_timestamp": "2034-10-25T08:28:12.928Z",
|
|
"updated": "2024-10-18T08:28:12.928Z",
|
|
"insights_id": null,
|
|
"tags": [
|
|
{
|
|
"key": "array",
|
|
"value": "multi-byte",
|
|
"namespace": "overriding"
|
|
},
|
|
{
|
|
"key": "array",
|
|
"value": "haptic",
|
|
"namespace": "bypassing"
|
|
},
|
|
{
|
|
"key": "monitor",
|
|
"value": "back-end",
|
|
"namespace": "compressing"
|
|
},
|
|
{
|
|
"key": "firewall",
|
|
"value": "cross-platform",
|
|
"namespace": "connecting"
|
|
},
|
|
{
|
|
"key": "microchip",
|
|
"value": "redundant",
|
|
"namespace": "calculating"
|
|
}
|
|
],
|
|
"type": "system",
|
|
"os_major_version": 8,
|
|
"os_minor_version": 0,
|
|
"policies": [
|
|
{
|
|
"id": "1f6bc39a-9a84-4cb4-b029-6208e19b4062",
|
|
"title": "Doloremque nostrum dolorem temporibus."
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "29eee82d-ce8c-42a1-9037-15963f42349e",
|
|
"display_name": "aufderhar-turner.example",
|
|
"groups": [],
|
|
"culled_timestamp": "2034-11-01T08:28:12.943Z",
|
|
"stale_timestamp": "2034-10-18T08:28:12.943Z",
|
|
"stale_warning_timestamp": "2034-10-25T08:28:12.943Z",
|
|
"updated": "2024-10-18T08:28:12.943Z",
|
|
"insights_id": null,
|
|
"tags": [
|
|
{
|
|
"key": "bandwidth",
|
|
"value": "primary",
|
|
"namespace": "calculating"
|
|
},
|
|
{
|
|
"key": "system",
|
|
"value": "auxiliary",
|
|
"namespace": "parsing"
|
|
},
|
|
{
|
|
"key": "panel",
|
|
"value": "bluetooth",
|
|
"namespace": "transmitting"
|
|
},
|
|
{
|
|
"key": "hard drive",
|
|
"value": "virtual",
|
|
"namespace": "parsing"
|
|
},
|
|
{
|
|
"key": "driver",
|
|
"value": "neural",
|
|
"namespace": "indexing"
|
|
}
|
|
],
|
|
"type": "system",
|
|
"os_major_version": 8,
|
|
"os_minor_version": 0,
|
|
"policies": [
|
|
{
|
|
"id": "1f6bc39a-9a84-4cb4-b029-6208e19b4062",
|
|
"title": "Doloremque nostrum dolorem temporibus."
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "40fa5522-4fa2-4e6f-8d18-e44ac7b4c9d7",
|
|
"display_name": "lebsack.example",
|
|
"groups": [],
|
|
"culled_timestamp": "2034-11-01T08:28:12.779Z",
|
|
"stale_timestamp": "2034-10-18T08:28:12.779Z",
|
|
"stale_warning_timestamp": "2034-10-25T08:28:12.779Z",
|
|
"updated": "2024-10-18T08:28:12.779Z",
|
|
"insights_id": null,
|
|
"tags": [
|
|
{
|
|
"key": "port",
|
|
"value": "multi-byte",
|
|
"namespace": "navigating"
|
|
},
|
|
{
|
|
"key": "sensor",
|
|
"value": "neural",
|
|
"namespace": "quantifying"
|
|
},
|
|
{
|
|
"key": "firewall",
|
|
"value": "auxiliary",
|
|
"namespace": "overriding"
|
|
},
|
|
{
|
|
"key": "panel",
|
|
"value": "auxiliary",
|
|
"namespace": "overriding"
|
|
},
|
|
{
|
|
"key": "transmitter",
|
|
"value": "redundant",
|
|
"namespace": "navigating"
|
|
}
|
|
],
|
|
"type": "system",
|
|
"os_major_version": 8,
|
|
"os_minor_version": 0,
|
|
"policies": [
|
|
{
|
|
"id": "1f6bc39a-9a84-4cb4-b029-6208e19b4062",
|
|
"title": "Doloremque nostrum dolorem temporibus."
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "429c1b42-ce48-486d-b521-1756c3e1c6c6",
|
|
"display_name": "schmitt-ankunding.example",
|
|
"groups": [],
|
|
"culled_timestamp": "2034-11-01T08:28:12.934Z",
|
|
"stale_timestamp": "2034-10-18T08:28:12.934Z",
|
|
"stale_warning_timestamp": "2034-10-25T08:28:12.934Z",
|
|
"updated": "2024-10-18T08:28:12.934Z",
|
|
"insights_id": null,
|
|
"tags": [
|
|
{
|
|
"key": "firewall",
|
|
"value": "bluetooth",
|
|
"namespace": "quantifying"
|
|
},
|
|
{
|
|
"key": "monitor",
|
|
"value": "cross-platform",
|
|
"namespace": "indexing"
|
|
},
|
|
{
|
|
"key": "panel",
|
|
"value": "online",
|
|
"namespace": "synthesizing"
|
|
},
|
|
{
|
|
"key": "card",
|
|
"value": "open-source",
|
|
"namespace": "quantifying"
|
|
},
|
|
{
|
|
"key": "hard drive",
|
|
"value": "redundant",
|
|
"namespace": "compressing"
|
|
}
|
|
],
|
|
"type": "system",
|
|
"os_major_version": 8,
|
|
"os_minor_version": 0,
|
|
"policies": [
|
|
{
|
|
"id": "1f6bc39a-9a84-4cb4-b029-6208e19b4062",
|
|
"title": "Doloremque nostrum dolorem temporibus."
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "4ff76c4c-e4df-4a8f-a562-a1573c40b2bc",
|
|
"display_name": "gleason.test",
|
|
"groups": [],
|
|
"culled_timestamp": "2034-11-01T08:28:12.817Z",
|
|
"stale_timestamp": "2034-10-18T08:28:12.817Z",
|
|
"stale_warning_timestamp": "2034-10-25T08:28:12.817Z",
|
|
"updated": "2024-10-18T08:28:12.817Z",
|
|
"insights_id": null,
|
|
"tags": [
|
|
{
|
|
"key": "array",
|
|
"value": "bluetooth",
|
|
"namespace": "copying"
|
|
},
|
|
{
|
|
"key": "system",
|
|
"value": "auxiliary",
|
|
"namespace": "synthesizing"
|
|
},
|
|
{
|
|
"key": "protocol",
|
|
"value": "solid state",
|
|
"namespace": "copying"
|
|
},
|
|
{
|
|
"key": "protocol",
|
|
"value": "bluetooth",
|
|
"namespace": "compressing"
|
|
},
|
|
{
|
|
"key": "matrix",
|
|
"value": "solid state",
|
|
"namespace": "backing up"
|
|
}
|
|
],
|
|
"type": "system",
|
|
"os_major_version": 8,
|
|
"os_minor_version": 0,
|
|
"policies": [
|
|
{
|
|
"id": "1f6bc39a-9a84-4cb4-b029-6208e19b4062",
|
|
"title": "Doloremque nostrum dolorem temporibus."
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "58b1845e-ce82-43bb-a072-becafcc1853a",
|
|
"display_name": "schmeler-osinski.example",
|
|
"groups": [],
|
|
"culled_timestamp": "2034-11-01T08:28:12.809Z",
|
|
"stale_timestamp": "2034-10-18T08:28:12.809Z",
|
|
"stale_warning_timestamp": "2034-10-25T08:28:12.809Z",
|
|
"updated": "2024-10-18T08:28:12.809Z",
|
|
"insights_id": null,
|
|
"tags": [
|
|
{
|
|
"key": "array",
|
|
"value": "mobile",
|
|
"namespace": "quantifying"
|
|
},
|
|
{
|
|
"key": "capacitor",
|
|
"value": "solid state",
|
|
"namespace": "programming"
|
|
},
|
|
{
|
|
"key": "alarm",
|
|
"value": "virtual",
|
|
"namespace": "generating"
|
|
},
|
|
{
|
|
"key": "circuit",
|
|
"value": "primary",
|
|
"namespace": "parsing"
|
|
},
|
|
{
|
|
"key": "program",
|
|
"value": "cross-platform",
|
|
"namespace": "connecting"
|
|
}
|
|
],
|
|
"type": "system",
|
|
"os_major_version": 8,
|
|
"os_minor_version": 0,
|
|
"policies": [
|
|
{
|
|
"id": "1f6bc39a-9a84-4cb4-b029-6208e19b4062",
|
|
"title": "Doloremque nostrum dolorem temporibus."
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"meta": {
|
|
"total": 25,
|
|
"tags": [],
|
|
"limit": 10,
|
|
"offset": 0,
|
|
"sort_by": "os_minor_version"
|
|
},
|
|
"links": {
|
|
"first": "/api/compliance/v2/reports/1f6bc39a-9a84-4cb4-b029-6208e19b4062/systems?limit=10&offset=0&sort_by=os_minor_version",
|
|
"last": "/api/compliance/v2/reports/1f6bc39a-9a84-4cb4-b029-6208e19b4062/systems?limit=10&offset=20&sort_by=os_minor_version",
|
|
"next": "/api/compliance/v2/reports/1f6bc39a-9a84-4cb4-b029-6208e19b4062/systems?limit=10&offset=10&sort_by=os_minor_version"
|
|
}
|
|
},
|
|
"summary": "",
|
|
"description": ""
|
|
},
|
|
"List of Systems filtered by \"(os_minor_version=0)\"": {
|
|
"value": {
|
|
"data": [
|
|
{
|
|
"id": "09810c05-ceea-4d1b-b12c-5a53a9c82790",
|
|
"display_name": "hickle.example",
|
|
"groups": [],
|
|
"culled_timestamp": "2034-11-01T08:28:13.296Z",
|
|
"stale_timestamp": "2034-10-18T08:28:13.296Z",
|
|
"stale_warning_timestamp": "2034-10-25T08:28:13.296Z",
|
|
"updated": "2024-10-18T08:28:13.296Z",
|
|
"insights_id": null,
|
|
"tags": [
|
|
{
|
|
"key": "card",
|
|
"value": "digital",
|
|
"namespace": "compressing"
|
|
},
|
|
{
|
|
"key": "program",
|
|
"value": "1080p",
|
|
"namespace": "bypassing"
|
|
},
|
|
{
|
|
"key": "port",
|
|
"value": "open-source",
|
|
"namespace": "generating"
|
|
},
|
|
{
|
|
"key": "protocol",
|
|
"value": "cross-platform",
|
|
"namespace": "generating"
|
|
},
|
|
{
|
|
"key": "application",
|
|
"value": "1080p",
|
|
"namespace": "backing up"
|
|
}
|
|
],
|
|
"type": "system",
|
|
"os_major_version": 8,
|
|
"os_minor_version": 0,
|
|
"policies": [
|
|
{
|
|
"id": "3e30c43f-f7ef-449b-9416-06856d958bb5",
|
|
"title": "Molestiae et eos fuga."
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "0c378e44-102b-4d7b-8af5-582c73fceab9",
|
|
"display_name": "fahey-lueilwitz.test",
|
|
"groups": [],
|
|
"culled_timestamp": "2034-11-01T08:28:13.235Z",
|
|
"stale_timestamp": "2034-10-18T08:28:13.235Z",
|
|
"stale_warning_timestamp": "2034-10-25T08:28:13.235Z",
|
|
"updated": "2024-10-18T08:28:13.235Z",
|
|
"insights_id": null,
|
|
"tags": [
|
|
{
|
|
"key": "program",
|
|
"value": "1080p",
|
|
"namespace": "backing up"
|
|
},
|
|
{
|
|
"key": "protocol",
|
|
"value": "redundant",
|
|
"namespace": "bypassing"
|
|
},
|
|
{
|
|
"key": "system",
|
|
"value": "mobile",
|
|
"namespace": "backing up"
|
|
},
|
|
{
|
|
"key": "port",
|
|
"value": "1080p",
|
|
"namespace": "quantifying"
|
|
},
|
|
{
|
|
"key": "bus",
|
|
"value": "solid state",
|
|
"namespace": "indexing"
|
|
}
|
|
],
|
|
"type": "system",
|
|
"os_major_version": 8,
|
|
"os_minor_version": 0,
|
|
"policies": [
|
|
{
|
|
"id": "3e30c43f-f7ef-449b-9416-06856d958bb5",
|
|
"title": "Molestiae et eos fuga."
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "1a998bad-ed4e-4438-817e-8cee8237037e",
|
|
"display_name": "hammes-jakubowski.example",
|
|
"groups": [],
|
|
"culled_timestamp": "2034-11-01T08:28:13.362Z",
|
|
"stale_timestamp": "2034-10-18T08:28:13.362Z",
|
|
"stale_warning_timestamp": "2034-10-25T08:28:13.362Z",
|
|
"updated": "2024-10-18T08:28:13.362Z",
|
|
"insights_id": null,
|
|
"tags": [
|
|
{
|
|
"key": "circuit",
|
|
"value": "1080p",
|
|
"namespace": "navigating"
|
|
},
|
|
{
|
|
"key": "interface",
|
|
"value": "neural",
|
|
"namespace": "hacking"
|
|
},
|
|
{
|
|
"key": "microchip",
|
|
"value": "redundant",
|
|
"namespace": "transmitting"
|
|
},
|
|
{
|
|
"key": "bus",
|
|
"value": "solid state",
|
|
"namespace": "compressing"
|
|
},
|
|
{
|
|
"key": "pixel",
|
|
"value": "digital",
|
|
"namespace": "indexing"
|
|
}
|
|
],
|
|
"type": "system",
|
|
"os_major_version": 8,
|
|
"os_minor_version": 0,
|
|
"policies": [
|
|
{
|
|
"id": "3e30c43f-f7ef-449b-9416-06856d958bb5",
|
|
"title": "Molestiae et eos fuga."
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "202e87bf-012a-4949-8ec3-8a21b47a6203",
|
|
"display_name": "mckenzie-hamill.example",
|
|
"groups": [],
|
|
"culled_timestamp": "2034-11-01T08:28:13.313Z",
|
|
"stale_timestamp": "2034-10-18T08:28:13.313Z",
|
|
"stale_warning_timestamp": "2034-10-25T08:28:13.313Z",
|
|
"updated": "2024-10-18T08:28:13.313Z",
|
|
"insights_id": null,
|
|
"tags": [
|
|
{
|
|
"key": "bandwidth",
|
|
"value": "optical",
|
|
"namespace": "bypassing"
|
|
},
|
|
{
|
|
"key": "program",
|
|
"value": "digital",
|
|
"namespace": "connecting"
|
|
},
|
|
{
|
|
"key": "bus",
|
|
"value": "digital",
|
|
"namespace": "copying"
|
|
},
|
|
{
|
|
"key": "card",
|
|
"value": "multi-byte",
|
|
"namespace": "calculating"
|
|
},
|
|
{
|
|
"key": "capacitor",
|
|
"value": "wireless",
|
|
"namespace": "generating"
|
|
}
|
|
],
|
|
"type": "system",
|
|
"os_major_version": 8,
|
|
"os_minor_version": 0,
|
|
"policies": [
|
|
{
|
|
"id": "3e30c43f-f7ef-449b-9416-06856d958bb5",
|
|
"title": "Molestiae et eos fuga."
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "2fce591e-de6d-417d-a79f-cb2c81257208",
|
|
"display_name": "crona.example",
|
|
"groups": [],
|
|
"culled_timestamp": "2034-11-01T08:28:13.306Z",
|
|
"stale_timestamp": "2034-10-18T08:28:13.306Z",
|
|
"stale_warning_timestamp": "2034-10-25T08:28:13.306Z",
|
|
"updated": "2024-10-18T08:28:13.306Z",
|
|
"insights_id": null,
|
|
"tags": [
|
|
{
|
|
"key": "bus",
|
|
"value": "1080p",
|
|
"namespace": "overriding"
|
|
},
|
|
{
|
|
"key": "pixel",
|
|
"value": "solid state",
|
|
"namespace": "generating"
|
|
},
|
|
{
|
|
"key": "driver",
|
|
"value": "open-source",
|
|
"namespace": "navigating"
|
|
},
|
|
{
|
|
"key": "application",
|
|
"value": "optical",
|
|
"namespace": "bypassing"
|
|
},
|
|
{
|
|
"key": "pixel",
|
|
"value": "solid state",
|
|
"namespace": "copying"
|
|
}
|
|
],
|
|
"type": "system",
|
|
"os_major_version": 8,
|
|
"os_minor_version": 0,
|
|
"policies": [
|
|
{
|
|
"id": "3e30c43f-f7ef-449b-9416-06856d958bb5",
|
|
"title": "Molestiae et eos fuga."
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "303c1f6a-38dd-43d3-9138-79fac59c585c",
|
|
"display_name": "rippin.example",
|
|
"groups": [],
|
|
"culled_timestamp": "2034-11-01T08:28:13.349Z",
|
|
"stale_timestamp": "2034-10-18T08:28:13.349Z",
|
|
"stale_warning_timestamp": "2034-10-25T08:28:13.349Z",
|
|
"updated": "2024-10-18T08:28:13.349Z",
|
|
"insights_id": null,
|
|
"tags": [
|
|
{
|
|
"key": "hard drive",
|
|
"value": "online",
|
|
"namespace": "programming"
|
|
},
|
|
{
|
|
"key": "protocol",
|
|
"value": "auxiliary",
|
|
"namespace": "parsing"
|
|
},
|
|
{
|
|
"key": "card",
|
|
"value": "neural",
|
|
"namespace": "indexing"
|
|
},
|
|
{
|
|
"key": "matrix",
|
|
"value": "solid state",
|
|
"namespace": "indexing"
|
|
},
|
|
{
|
|
"key": "circuit",
|
|
"value": "optical",
|
|
"namespace": "transmitting"
|
|
}
|
|
],
|
|
"type": "system",
|
|
"os_major_version": 8,
|
|
"os_minor_version": 0,
|
|
"policies": [
|
|
{
|
|
"id": "3e30c43f-f7ef-449b-9416-06856d958bb5",
|
|
"title": "Molestiae et eos fuga."
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "30ed645c-64d8-4e64-836c-d396ab2dd5e6",
|
|
"display_name": "klocko.test",
|
|
"groups": [],
|
|
"culled_timestamp": "2034-11-01T08:28:13.260Z",
|
|
"stale_timestamp": "2034-10-18T08:28:13.260Z",
|
|
"stale_warning_timestamp": "2034-10-25T08:28:13.260Z",
|
|
"updated": "2024-10-18T08:28:13.260Z",
|
|
"insights_id": null,
|
|
"tags": [
|
|
{
|
|
"key": "card",
|
|
"value": "multi-byte",
|
|
"namespace": "indexing"
|
|
},
|
|
{
|
|
"key": "port",
|
|
"value": "1080p",
|
|
"namespace": "overriding"
|
|
},
|
|
{
|
|
"key": "program",
|
|
"value": "solid state",
|
|
"namespace": "overriding"
|
|
},
|
|
{
|
|
"key": "interface",
|
|
"value": "bluetooth",
|
|
"namespace": "compressing"
|
|
},
|
|
{
|
|
"key": "driver",
|
|
"value": "wireless",
|
|
"namespace": "hacking"
|
|
}
|
|
],
|
|
"type": "system",
|
|
"os_major_version": 8,
|
|
"os_minor_version": 0,
|
|
"policies": [
|
|
{
|
|
"id": "3e30c43f-f7ef-449b-9416-06856d958bb5",
|
|
"title": "Molestiae et eos fuga."
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "3a1ac9b4-4500-49fa-a391-2d67210ffff9",
|
|
"display_name": "langosh.example",
|
|
"groups": [],
|
|
"culled_timestamp": "2034-11-01T08:28:13.286Z",
|
|
"stale_timestamp": "2034-10-18T08:28:13.286Z",
|
|
"stale_warning_timestamp": "2034-10-25T08:28:13.286Z",
|
|
"updated": "2024-10-18T08:28:13.286Z",
|
|
"insights_id": null,
|
|
"tags": [
|
|
{
|
|
"key": "circuit",
|
|
"value": "primary",
|
|
"namespace": "programming"
|
|
},
|
|
{
|
|
"key": "system",
|
|
"value": "online",
|
|
"namespace": "quantifying"
|
|
},
|
|
{
|
|
"key": "alarm",
|
|
"value": "haptic",
|
|
"namespace": "hacking"
|
|
},
|
|
{
|
|
"key": "bandwidth",
|
|
"value": "haptic",
|
|
"namespace": "connecting"
|
|
},
|
|
{
|
|
"key": "system",
|
|
"value": "open-source",
|
|
"namespace": "programming"
|
|
}
|
|
],
|
|
"type": "system",
|
|
"os_major_version": 8,
|
|
"os_minor_version": 0,
|
|
"policies": [
|
|
{
|
|
"id": "3e30c43f-f7ef-449b-9416-06856d958bb5",
|
|
"title": "Molestiae et eos fuga."
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "40f34a17-3c56-47ba-b864-596067855a8c",
|
|
"display_name": "hoppe.test",
|
|
"groups": [],
|
|
"culled_timestamp": "2034-11-01T08:28:13.291Z",
|
|
"stale_timestamp": "2034-10-18T08:28:13.291Z",
|
|
"stale_warning_timestamp": "2034-10-25T08:28:13.291Z",
|
|
"updated": "2024-10-18T08:28:13.291Z",
|
|
"insights_id": null,
|
|
"tags": [
|
|
{
|
|
"key": "hard drive",
|
|
"value": "digital",
|
|
"namespace": "bypassing"
|
|
},
|
|
{
|
|
"key": "matrix",
|
|
"value": "virtual",
|
|
"namespace": "calculating"
|
|
},
|
|
{
|
|
"key": "hard drive",
|
|
"value": "cross-platform",
|
|
"namespace": "programming"
|
|
},
|
|
{
|
|
"key": "protocol",
|
|
"value": "online",
|
|
"namespace": "hacking"
|
|
},
|
|
{
|
|
"key": "hard drive",
|
|
"value": "back-end",
|
|
"namespace": "bypassing"
|
|
}
|
|
],
|
|
"type": "system",
|
|
"os_major_version": 8,
|
|
"os_minor_version": 0,
|
|
"policies": [
|
|
{
|
|
"id": "3e30c43f-f7ef-449b-9416-06856d958bb5",
|
|
"title": "Molestiae et eos fuga."
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "44c471f6-ab9d-4739-b73d-98de98904dfb",
|
|
"display_name": "hand.example",
|
|
"groups": [],
|
|
"culled_timestamp": "2034-11-01T08:28:13.356Z",
|
|
"stale_timestamp": "2034-10-18T08:28:13.356Z",
|
|
"stale_warning_timestamp": "2034-10-25T08:28:13.356Z",
|
|
"updated": "2024-10-18T08:28:13.356Z",
|
|
"insights_id": null,
|
|
"tags": [
|
|
{
|
|
"key": "interface",
|
|
"value": "online",
|
|
"namespace": "hacking"
|
|
},
|
|
{
|
|
"key": "hard drive",
|
|
"value": "mobile",
|
|
"namespace": "backing up"
|
|
},
|
|
{
|
|
"key": "capacitor",
|
|
"value": "multi-byte",
|
|
"namespace": "copying"
|
|
},
|
|
{
|
|
"key": "interface",
|
|
"value": "wireless",
|
|
"namespace": "calculating"
|
|
},
|
|
{
|
|
"key": "card",
|
|
"value": "cross-platform",
|
|
"namespace": "backing up"
|
|
}
|
|
],
|
|
"type": "system",
|
|
"os_major_version": 8,
|
|
"os_minor_version": 0,
|
|
"policies": [
|
|
{
|
|
"id": "3e30c43f-f7ef-449b-9416-06856d958bb5",
|
|
"title": "Molestiae et eos fuga."
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"meta": {
|
|
"total": 25,
|
|
"filter": "(os_minor_version=0)",
|
|
"tags": [],
|
|
"limit": 10,
|
|
"offset": 0
|
|
},
|
|
"links": {
|
|
"first": "/api/compliance/v2/reports/3e30c43f-f7ef-449b-9416-06856d958bb5/systems?filter=%28os_minor_version%3D0%29&limit=10&offset=0",
|
|
"last": "/api/compliance/v2/reports/3e30c43f-f7ef-449b-9416-06856d958bb5/systems?filter=%28os_minor_version%3D0%29&limit=10&offset=20",
|
|
"next": "/api/compliance/v2/reports/3e30c43f-f7ef-449b-9416-06856d958bb5/systems?filter=%28os_minor_version%3D0%29&limit=10&offset=10"
|
|
}
|
|
},
|
|
"summary": "",
|
|
"description": ""
|
|
}
|
|
},
|
|
"schema": {
|
|
"type": "object",
|
|
"properties": {
|
|
"meta": {
|
|
"$ref": "#/components/schemas/metadata"
|
|
},
|
|
"links": {
|
|
"$ref": "#/components/schemas/links"
|
|
},
|
|
"data": {
|
|
"type": "array",
|
|
"items": {
|
|
"properties": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/system"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"422": {
|
|
"description": "Returns with Unprocessable Content",
|
|
"content": {
|
|
"application/vnd.api+json": {
|
|
"examples": {
|
|
"Description of an error when sorting by incorrect parameter": {
|
|
"value": {
|
|
"errors": [
|
|
"Result cannot be sorted by the 'description' column."
|
|
]
|
|
},
|
|
"summary": "",
|
|
"description": ""
|
|
},
|
|
"Description of an error when requesting higher limit than supported": {
|
|
"value": {
|
|
"errors": [
|
|
"Invalid parameter: limit must be less than or equal to 100"
|
|
]
|
|
},
|
|
"summary": "",
|
|
"description": ""
|
|
}
|
|
},
|
|
"schema": {
|
|
"$ref": "#/components/schemas/errors"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"/reports/{report_id}/systems/os_versions": {
|
|
"get": {
|
|
"summary": "Request the list of available OS versions",
|
|
"parameters": [
|
|
{
|
|
"name": "X-RH-IDENTITY",
|
|
"in": "header",
|
|
"schema": {
|
|
"type": "string"
|
|
},
|
|
"description": "For internal use only"
|
|
},
|
|
{
|
|
"name": "filter",
|
|
"in": "query",
|
|
"required": false,
|
|
"description": "Query string to filter items by their attributes. Compliant with <a href=\"https://github.com/wvanbergen/scoped_search/wiki/Query-language\" target=\"_blank\" title=\"github.com/wvanbergen/scoped_search\">scoped_search query language</a>. However, only `=` or `!=` (resp. `<>`) operators are supported.<br><br>Systems are searchable using attributes `display_name`, `os_major_version`, `os_minor_version`, `assigned_or_scanned`, `never_reported`, `group_name`, `policies`, and `profile_ref_id`<br><br>(e.g.: `(field_1=something AND field_2!=\"something else\") OR field_3>40`)",
|
|
"schema": {
|
|
"type": "string"
|
|
}
|
|
},
|
|
{
|
|
"name": "report_id",
|
|
"in": "path",
|
|
"required": true,
|
|
"schema": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
],
|
|
"tags": [
|
|
"Systems"
|
|
],
|
|
"description": "This feature is exclusively used by the frontend",
|
|
"operationId": "ReportSystemsOS",
|
|
"deprecated": true,
|
|
"responses": {
|
|
"200": {
|
|
"description": "Lists available OS versions",
|
|
"content": {
|
|
"application/vnd.api+json": {
|
|
"examples": {
|
|
"List of available OS versions": {
|
|
"value": [
|
|
"8.0"
|
|
],
|
|
"summary": "",
|
|
"description": ""
|
|
}
|
|
},
|
|
"schema": {
|
|
"type": "array",
|
|
"items": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"/reports/{report_id}/systems/{system_id}": {
|
|
"get": {
|
|
"summary": "Request a System",
|
|
"parameters": [
|
|
{
|
|
"name": "X-RH-IDENTITY",
|
|
"in": "header",
|
|
"schema": {
|
|
"type": "string"
|
|
},
|
|
"description": "For internal use only"
|
|
},
|
|
{
|
|
"name": "system_id",
|
|
"in": "path",
|
|
"required": true,
|
|
"schema": {
|
|
"type": "string"
|
|
}
|
|
},
|
|
{
|
|
"name": "report_id",
|
|
"in": "path",
|
|
"required": true,
|
|
"schema": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
],
|
|
"tags": [
|
|
"Reports"
|
|
],
|
|
"description": "Returns a System under a Report",
|
|
"operationId": "ReportSystem",
|
|
"responses": {
|
|
"200": {
|
|
"description": "Returns a System under a Report",
|
|
"content": {
|
|
"application/vnd.api+json": {
|
|
"examples": {
|
|
"Returns a System under a Report": {
|
|
"value": {
|
|
"data": {
|
|
"id": "7a57109d-b0f5-4862-8283-1438586f2722",
|
|
"display_name": "hane.example",
|
|
"groups": [],
|
|
"culled_timestamp": "2034-11-01T08:28:14.993Z",
|
|
"stale_timestamp": "2034-10-18T08:28:14.993Z",
|
|
"stale_warning_timestamp": "2034-10-25T08:28:14.993Z",
|
|
"updated": "2024-10-18T08:28:14.993Z",
|
|
"insights_id": null,
|
|
"tags": [
|
|
{
|
|
"key": "circuit",
|
|
"value": "neural",
|
|
"namespace": "overriding"
|
|
},
|
|
{
|
|
"key": "hard drive",
|
|
"value": "virtual",
|
|
"namespace": "backing up"
|
|
},
|
|
{
|
|
"key": "driver",
|
|
"value": "online",
|
|
"namespace": "backing up"
|
|
},
|
|
{
|
|
"key": "transmitter",
|
|
"value": "virtual",
|
|
"namespace": "compressing"
|
|
},
|
|
{
|
|
"key": "microchip",
|
|
"value": "cross-platform",
|
|
"namespace": "synthesizing"
|
|
}
|
|
],
|
|
"type": "system",
|
|
"os_major_version": 8,
|
|
"os_minor_version": 0,
|
|
"policies": [
|
|
{
|
|
"id": "4b61e58b-a8aa-47e7-b68c-97aec4fd323e",
|
|
"title": "Velit voluptatum et et."
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"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 a2801455-df10-413d-bd72-77d769840e47"
|
|
]
|
|
},
|
|
"summary": "",
|
|
"description": ""
|
|
}
|
|
},
|
|
"schema": {
|
|
"$ref": "#/components/schemas/errors"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"/policies/{policy_id}/tailorings": {
|
|
"get": {
|
|
"summary": "Request Tailorings",
|
|
"parameters": [
|
|
{
|
|
"name": "X-RH-IDENTITY",
|
|
"in": "header",
|
|
"schema": {
|
|
"type": "string"
|
|
},
|
|
"description": "For internal use only"
|
|
},
|
|
{
|
|
"name": "limit",
|
|
"in": "query",
|
|
"required": false,
|
|
"description": "Number of items to return per page",
|
|
"schema": {
|
|
"type": "number",
|
|
"maximum": 100,
|
|
"minimum": 1,
|
|
"default": 10
|
|
}
|
|
},
|
|
{
|
|
"name": "offset",
|
|
"in": "query",
|
|
"required": false,
|
|
"description": "Offset of first item of paginated response",
|
|
"schema": {
|
|
"type": "integer",
|
|
"minimum": 0,
|
|
"default": 0
|
|
}
|
|
},
|
|
{
|
|
"name": "ids_only",
|
|
"in": "query",
|
|
"required": false,
|
|
"description": "Indicates whether to return only resource IDs.",
|
|
"schema": {
|
|
"type": "boolean"
|
|
}
|
|
},
|
|
{
|
|
"name": "sort_by",
|
|
"in": "query",
|
|
"required": false,
|
|
"description": "Attribute and direction to sort the items by. Represented by an array of fields with an optional direction (`<key>:asc` or `<key>:desc`).<br><br>If no direction is selected, `<key>:asc` is used by default.",
|
|
"schema": {
|
|
"type": "array",
|
|
"items": {
|
|
"enum": [
|
|
"os_minor_version",
|
|
"os_minor_version:asc",
|
|
"os_minor_version:desc"
|
|
]
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"name": "filter",
|
|
"in": "query",
|
|
"required": false,
|
|
"description": "Query string to filter items by their attributes. Compliant with <a href=\"https://github.com/wvanbergen/scoped_search/wiki/Query-language\" target=\"_blank\" title=\"github.com/wvanbergen/scoped_search\">scoped_search query language</a>. However, only `=` or `!=` (resp. `<>`) operators are supported.<br><br>Tailorings are searchable using attributes `os_minor_version`<br><br>(e.g.: `(field_1=something AND field_2!=\"something else\") OR field_3>40`)",
|
|
"schema": {
|
|
"type": "string"
|
|
}
|
|
},
|
|
{
|
|
"name": "policy_id",
|
|
"in": "path",
|
|
"required": true,
|
|
"schema": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
],
|
|
"tags": [
|
|
"Policies"
|
|
],
|
|
"description": "Lists Tailorings",
|
|
"operationId": "Tailorings",
|
|
"responses": {
|
|
"200": {
|
|
"description": "Lists Tailorings",
|
|
"content": {
|
|
"application/vnd.api+json": {
|
|
"examples": {
|
|
"List of Tailorings": {
|
|
"value": {
|
|
"data": [
|
|
{
|
|
"id": "09557fe2-0130-49a3-83c7-da3f27794d28",
|
|
"profile_id": "24fb1e26-5863-4953-aa75-abc0f5c33ffd",
|
|
"os_minor_version": 14,
|
|
"value_overrides": {},
|
|
"type": "tailoring",
|
|
"os_major_version": 7,
|
|
"security_guide_id": "83011eb2-5861-4e05-a255-4219634ab764",
|
|
"security_guide_version": "100.96.41"
|
|
},
|
|
{
|
|
"id": "1483d423-aa65-4fd1-80da-53dba4c191c1",
|
|
"profile_id": "8533663f-4d0f-478c-9adb-d260b23c63f9",
|
|
"os_minor_version": 11,
|
|
"value_overrides": {},
|
|
"type": "tailoring",
|
|
"os_major_version": 7,
|
|
"security_guide_id": "b64676b2-b3c2-437d-8839-52f9549a7710",
|
|
"security_guide_version": "100.96.38"
|
|
},
|
|
{
|
|
"id": "1c248f66-53e0-4913-b75d-31e4cc5fb1be",
|
|
"profile_id": "28722ecd-1563-4e9b-8067-c093a0ae54d8",
|
|
"os_minor_version": 22,
|
|
"value_overrides": {},
|
|
"type": "tailoring",
|
|
"os_major_version": 7,
|
|
"security_guide_id": "9c107dcd-2c95-487c-b030-12f4f8628fbd",
|
|
"security_guide_version": "100.96.49"
|
|
},
|
|
{
|
|
"id": "54eb09c7-cde1-49d0-a20c-0ba037f0e3c6",
|
|
"profile_id": "c567bfbd-a89b-4a47-b8dd-b8ff8dbea43c",
|
|
"os_minor_version": 21,
|
|
"value_overrides": {},
|
|
"type": "tailoring",
|
|
"os_major_version": 7,
|
|
"security_guide_id": "6777e543-baf7-45b9-8c0b-9f9d758964c0",
|
|
"security_guide_version": "100.96.48"
|
|
},
|
|
{
|
|
"id": "69c83256-ffcd-4a39-b4ff-534755a21564",
|
|
"profile_id": "34b22034-2193-48b3-8c83-d7451d51e8d3",
|
|
"os_minor_version": 15,
|
|
"value_overrides": {},
|
|
"type": "tailoring",
|
|
"os_major_version": 7,
|
|
"security_guide_id": "0d750d35-482c-4467-9c29-01acf1f13dcb",
|
|
"security_guide_version": "100.96.42"
|
|
},
|
|
{
|
|
"id": "74dc0c08-0446-4c49-81e8-8ec6ab5bfdf1",
|
|
"profile_id": "62f032b2-8a98-428d-99dc-a06e15b57eee",
|
|
"os_minor_version": 0,
|
|
"value_overrides": {},
|
|
"type": "tailoring",
|
|
"os_major_version": 7,
|
|
"security_guide_id": "fab8ecef-fed0-4b2f-85bb-9b7d66057942",
|
|
"security_guide_version": "100.96.27"
|
|
},
|
|
{
|
|
"id": "85ff4ed1-a44b-4e2c-822a-5d96684cd16f",
|
|
"profile_id": "59e12c3b-0c8f-45f8-95b9-0e7c8b60e241",
|
|
"os_minor_version": 5,
|
|
"value_overrides": {},
|
|
"type": "tailoring",
|
|
"os_major_version": 7,
|
|
"security_guide_id": "c73b1a5f-ae53-4a56-84ac-368850acccf3",
|
|
"security_guide_version": "100.96.32"
|
|
},
|
|
{
|
|
"id": "88c5422d-a504-4b58-8f9b-114821310b73",
|
|
"profile_id": "f28ab16d-5284-4915-9995-a1ccbc8ce8f5",
|
|
"os_minor_version": 3,
|
|
"value_overrides": {},
|
|
"type": "tailoring",
|
|
"os_major_version": 7,
|
|
"security_guide_id": "540bb8d4-fc3f-4013-85d2-6a222686916d",
|
|
"security_guide_version": "100.96.30"
|
|
},
|
|
{
|
|
"id": "89aefef8-22de-4a86-95ef-838db952c39f",
|
|
"profile_id": "b3bdaacb-1377-4bde-b18c-72a32c296cdb",
|
|
"os_minor_version": 16,
|
|
"value_overrides": {},
|
|
"type": "tailoring",
|
|
"os_major_version": 7,
|
|
"security_guide_id": "53a0edaa-baac-44f0-bb37-93604159eff5",
|
|
"security_guide_version": "100.96.43"
|
|
},
|
|
{
|
|
"id": "8b623ac5-ddfa-4103-b81b-95d366a23cfc",
|
|
"profile_id": "c316909c-93cf-456e-b6d5-f9be41a0a474",
|
|
"os_minor_version": 9,
|
|
"value_overrides": {},
|
|
"type": "tailoring",
|
|
"os_major_version": 7,
|
|
"security_guide_id": "85907901-edc1-412b-94f0-0f12339e1800",
|
|
"security_guide_version": "100.96.36"
|
|
}
|
|
],
|
|
"meta": {
|
|
"total": 25,
|
|
"limit": 10,
|
|
"offset": 0
|
|
},
|
|
"links": {
|
|
"first": "/api/compliance/v2/policies/410f72f7-2d3d-43a5-a1f2-452e9201367e/tailorings?limit=10&offset=0",
|
|
"last": "/api/compliance/v2/policies/410f72f7-2d3d-43a5-a1f2-452e9201367e/tailorings?limit=10&offset=20",
|
|
"next": "/api/compliance/v2/policies/410f72f7-2d3d-43a5-a1f2-452e9201367e/tailorings?limit=10&offset=10"
|
|
}
|
|
},
|
|
"summary": "",
|
|
"description": ""
|
|
},
|
|
"List of Tailorings sorted by \"os_minor_version:asc\"": {
|
|
"value": {
|
|
"data": [
|
|
{
|
|
"id": "59637dbb-ca33-40fd-96b2-3bf36ab27796",
|
|
"profile_id": "1476d3cb-8dda-4e74-a98d-c26de6927e96",
|
|
"os_minor_version": 0,
|
|
"value_overrides": {},
|
|
"type": "tailoring",
|
|
"os_major_version": 7,
|
|
"security_guide_id": "d0264836-4e8c-42da-bf0d-c03c884356b1",
|
|
"security_guide_version": "100.97.2"
|
|
},
|
|
{
|
|
"id": "5427baa5-7bfd-48db-a125-47298604e3f8",
|
|
"profile_id": "3a4025eb-6815-4d34-914c-16e7cb9588b4",
|
|
"os_minor_version": 1,
|
|
"value_overrides": {},
|
|
"type": "tailoring",
|
|
"os_major_version": 7,
|
|
"security_guide_id": "30dbadc2-da36-4e4a-9efd-dd08ed268c9f",
|
|
"security_guide_version": "100.97.3"
|
|
},
|
|
{
|
|
"id": "f2e5ef9b-394a-48cd-8290-ce4cf0fd3d12",
|
|
"profile_id": "3e16f5ef-f0ed-404a-956f-8efaa9cce7af",
|
|
"os_minor_version": 2,
|
|
"value_overrides": {},
|
|
"type": "tailoring",
|
|
"os_major_version": 7,
|
|
"security_guide_id": "545a5c8e-6c4a-493a-bfe2-6f1f6a6f6739",
|
|
"security_guide_version": "100.97.4"
|
|
},
|
|
{
|
|
"id": "9b3218f7-5417-41c9-8e91-6700e0bc2111",
|
|
"profile_id": "e58ef9f5-8e24-4b8c-9426-5088adf8f78b",
|
|
"os_minor_version": 3,
|
|
"value_overrides": {},
|
|
"type": "tailoring",
|
|
"os_major_version": 7,
|
|
"security_guide_id": "9304fbe9-d0e1-4d29-a43f-8c4d0088037e",
|
|
"security_guide_version": "100.97.5"
|
|
},
|
|
{
|
|
"id": "5d30f9ef-61b4-4e16-b7d0-f52134ffe790",
|
|
"profile_id": "a945089c-d595-4bd5-871a-ce326ac49d6e",
|
|
"os_minor_version": 4,
|
|
"value_overrides": {},
|
|
"type": "tailoring",
|
|
"os_major_version": 7,
|
|
"security_guide_id": "816cdd63-8eb7-434c-b0d6-603cfaf7100e",
|
|
"security_guide_version": "100.97.6"
|
|
},
|
|
{
|
|
"id": "0a40f1ac-65fe-47bc-8520-8b8f91b3415e",
|
|
"profile_id": "ed6e75d7-a3f3-4f1b-a107-70b07f604579",
|
|
"os_minor_version": 5,
|
|
"value_overrides": {},
|
|
"type": "tailoring",
|
|
"os_major_version": 7,
|
|
"security_guide_id": "d38af1f1-ce34-44a5-bd6d-bbde21740e8b",
|
|
"security_guide_version": "100.97.7"
|
|
},
|
|
{
|
|
"id": "ddfb2b00-034c-4a2c-8eb4-ddbd175bfd21",
|
|
"profile_id": "6b628e6c-6058-47be-8fa0-e7f38daefb1a",
|
|
"os_minor_version": 6,
|
|
"value_overrides": {},
|
|
"type": "tailoring",
|
|
"os_major_version": 7,
|
|
"security_guide_id": "88f8f83b-3c80-4353-8913-f0fcbe065c91",
|
|
"security_guide_version": "100.97.8"
|
|
},
|
|
{
|
|
"id": "bac95f4f-4086-44d9-a00c-94caba627d37",
|
|
"profile_id": "73bae773-b145-440d-8794-a98f2c12b5fc",
|
|
"os_minor_version": 7,
|
|
"value_overrides": {},
|
|
"type": "tailoring",
|
|
"os_major_version": 7,
|
|
"security_guide_id": "e34f973d-dd64-4433-bbf9-18289089d026",
|
|
"security_guide_version": "100.97.9"
|
|
},
|
|
{
|
|
"id": "5a582cd6-1ac4-4701-909b-ad7b559e52ed",
|
|
"profile_id": "d5d412a0-4466-40ba-8784-f5c7b33ce47b",
|
|
"os_minor_version": 8,
|
|
"value_overrides": {},
|
|
"type": "tailoring",
|
|
"os_major_version": 7,
|
|
"security_guide_id": "73eb63e9-d994-4e23-9feb-a8eab1913c8a",
|
|
"security_guide_version": "100.97.10"
|
|
},
|
|
{
|
|
"id": "8e53fca3-28a9-429f-adbd-f5dde19a26cc",
|
|
"profile_id": "c0bf2e69-4c75-4d9d-800d-70f265b70df6",
|
|
"os_minor_version": 9,
|
|
"value_overrides": {},
|
|
"type": "tailoring",
|
|
"os_major_version": 7,
|
|
"security_guide_id": "e89bc9ca-a44b-44e2-8147-9a332b983a10",
|
|
"security_guide_version": "100.97.11"
|
|
}
|
|
],
|
|
"meta": {
|
|
"total": 25,
|
|
"limit": 10,
|
|
"offset": 0,
|
|
"sort_by": "os_minor_version"
|
|
},
|
|
"links": {
|
|
"first": "/api/compliance/v2/policies/7f552ce6-abaa-4c29-bded-c36c36157125/tailorings?limit=10&offset=0&sort_by=os_minor_version",
|
|
"last": "/api/compliance/v2/policies/7f552ce6-abaa-4c29-bded-c36c36157125/tailorings?limit=10&offset=20&sort_by=os_minor_version",
|
|
"next": "/api/compliance/v2/policies/7f552ce6-abaa-4c29-bded-c36c36157125/tailorings?limit=10&offset=10&sort_by=os_minor_version"
|
|
}
|
|
},
|
|
"summary": "",
|
|
"description": ""
|
|
},
|
|
"List of Tailorings filtered by '(os_minor_version=6)'": {
|
|
"value": {
|
|
"data": [
|
|
{
|
|
"id": "01db9440-b439-48f8-ac0f-088e89dab7cd",
|
|
"profile_id": "80d573c2-b1f9-47bc-a0dd-c622f9372d27",
|
|
"os_minor_version": 6,
|
|
"value_overrides": {},
|
|
"type": "tailoring",
|
|
"os_major_version": 7,
|
|
"security_guide_id": "b4afad13-ad57-4b2d-b7c8-b748cab2ba22",
|
|
"security_guide_version": "100.97.33"
|
|
}
|
|
],
|
|
"meta": {
|
|
"total": 1,
|
|
"filter": "(os_minor_version=6)",
|
|
"limit": 10,
|
|
"offset": 0
|
|
},
|
|
"links": {
|
|
"first": "/api/compliance/v2/policies/62338350-f814-410c-a498-a808526acc21/tailorings?filter=%28os_minor_version%3D6%29&limit=10&offset=0",
|
|
"last": "/api/compliance/v2/policies/62338350-f814-410c-a498-a808526acc21/tailorings?filter=%28os_minor_version%3D6%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",
|
|
"responses": {
|
|
"201": {
|
|
"description": "Creates a Tailoring",
|
|
"content": {
|
|
"application/vnd.api+json": {
|
|
"examples": {
|
|
"Response example": {
|
|
"value": {
|
|
"data": {
|
|
"id": "67a2bd5e-ebb9-4eea-88f8-4b1f2aed7ae4",
|
|
"profile_id": "02f30aa9-e27c-4bc4-985b-57bf2a9d025e",
|
|
"os_minor_version": 1,
|
|
"value_overrides": {},
|
|
"type": "tailoring",
|
|
"os_major_version": 7,
|
|
"security_guide_id": "fe8dc8cc-b5b7-4a1c-8d3c-55b15c78c5c1",
|
|
"security_guide_version": "100.99.2"
|
|
}
|
|
},
|
|
"summary": "",
|
|
"description": ""
|
|
}
|
|
},
|
|
"schema": {
|
|
"type": "object",
|
|
"properties": {
|
|
"data": {
|
|
"type": "object",
|
|
"properties": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/tailoring"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"requestBody": {
|
|
"content": {
|
|
"application/vnd.api+json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/tailoring_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": "Returns a Tailoring",
|
|
"operationId": "Tailoring",
|
|
"responses": {
|
|
"200": {
|
|
"description": "Returns a Tailoring",
|
|
"content": {
|
|
"application/vnd.api+json": {
|
|
"examples": {
|
|
"Returns a Tailoring": {
|
|
"value": {
|
|
"data": {
|
|
"id": "77f393f1-c70b-4769-94ac-49f8bb3e9af5",
|
|
"profile_id": "ecea2b01-b932-4bb6-b3e4-baab423135c8",
|
|
"os_minor_version": 1,
|
|
"value_overrides": {},
|
|
"type": "tailoring",
|
|
"os_major_version": 7,
|
|
"security_guide_id": "df1a61cb-055d-4971-9136-4f5b66b724f4",
|
|
"security_guide_version": "100.99.3"
|
|
}
|
|
},
|
|
"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 2ea6ebf5-619c-422d-a2c6-7bbd8e743545"
|
|
]
|
|
},
|
|
"summary": "",
|
|
"description": ""
|
|
}
|
|
},
|
|
"schema": {
|
|
"$ref": "#/components/schemas/errors"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"patch": {
|
|
"summary": "Update a Tailoring",
|
|
"parameters": [
|
|
{
|
|
"name": "X-RH-IDENTITY",
|
|
"in": "header",
|
|
"schema": {
|
|
"type": "string"
|
|
},
|
|
"description": "For internal use only"
|
|
},
|
|
{
|
|
"name": "policy_id",
|
|
"in": "path",
|
|
"required": true,
|
|
"schema": {
|
|
"type": "string"
|
|
}
|
|
},
|
|
{
|
|
"name": "tailoring_id",
|
|
"in": "path",
|
|
"required": true,
|
|
"description": "UUID or OS minor version number",
|
|
"schema": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
],
|
|
"tags": [
|
|
"Policies"
|
|
],
|
|
"description": "Updates a Tailoring with the provided value_overrides",
|
|
"operationId": "UpdateTailoring",
|
|
"responses": {
|
|
"202": {
|
|
"description": "Updates a Tailoring",
|
|
"content": {
|
|
"application/vnd.api+json": {
|
|
"examples": {
|
|
"Returns the updated Tailoring": {
|
|
"value": {
|
|
"data": {
|
|
"id": "ce61f170-cf8a-404d-ae29-4f26f1a7ab87",
|
|
"profile_id": "04a272f6-02ce-4ba0-994b-fd07f896c992",
|
|
"os_minor_version": 1,
|
|
"value_overrides": {
|
|
"83e3586c-3a82-403f-8de7-ef09ffdbf2d0": "123"
|
|
},
|
|
"type": "tailoring",
|
|
"os_major_version": 7,
|
|
"security_guide_id": "6b71aa46-86a2-4339-b352-7f3e32135d33",
|
|
"security_guide_version": "100.99.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"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"/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 the Rule Tree of a Tailoring",
|
|
"operationId": "TailoringRuleTree",
|
|
"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": "5cdd1dda-6df7-469b-8189-d0a48f0915ca",
|
|
"type": "rule_group",
|
|
"children": [
|
|
{
|
|
"id": "5ee19d8a-170c-49b5-b02c-12e65ccd722b",
|
|
"type": "rule"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "1d4ee1a8-d6db-48d1-8dc8-65506ee583f1",
|
|
"type": "rule_group",
|
|
"children": [
|
|
{
|
|
"id": "c9f401aa-5129-4687-970c-212a84e5f9b4",
|
|
"type": "rule"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "1e7611b2-c3ca-4d85-bda1-05c1e7d57e39",
|
|
"type": "rule_group",
|
|
"children": [
|
|
{
|
|
"id": "e737c59f-0f92-4717-aa7f-c43d634b9805",
|
|
"type": "rule"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "f2af3901-19a1-450a-bd7c-5d5091ab6c92",
|
|
"type": "rule_group",
|
|
"children": [
|
|
{
|
|
"id": "c0a16d8d-05b8-4269-b301-8ee5de14ca1c",
|
|
"type": "rule"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "5aef0ebe-ff44-4bde-a8f1-ac46f7379c61",
|
|
"type": "rule_group",
|
|
"children": [
|
|
{
|
|
"id": "99337122-daa2-411e-ae0b-84f2f970a460",
|
|
"type": "rule"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "7426c0f7-fb76-4d70-bf08-017981f3465c",
|
|
"type": "rule_group",
|
|
"children": [
|
|
{
|
|
"id": "7586daa0-f0e6-4d1b-bd99-347c8c661533",
|
|
"type": "rule"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "1e29da8c-88e4-4905-98ed-f242ec2edf8f",
|
|
"type": "rule_group",
|
|
"children": [
|
|
{
|
|
"id": "f2e38f60-d814-4eee-a992-2bd872199de4",
|
|
"type": "rule"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "2bb4ae81-1245-480c-997d-197636ccaa54",
|
|
"type": "rule_group",
|
|
"children": [
|
|
{
|
|
"id": "2e4414ed-2a14-4793-96c6-43af61705c43",
|
|
"type": "rule"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "922c8656-618a-4b21-b719-407a010223e5",
|
|
"type": "rule_group",
|
|
"children": [
|
|
{
|
|
"id": "ff564bf3-f40d-4f0d-aa0f-28e2c160737e",
|
|
"type": "rule"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "d94ad17d-51ad-4079-a139-5ca62c51f0ff",
|
|
"type": "rule_group",
|
|
"children": [
|
|
{
|
|
"id": "5c77aa6a-17f4-4682-885d-5d2d4d9885f3",
|
|
"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 5ca0f206-6fec-4b9d-b3be-bf88f8e24f50"
|
|
]
|
|
},
|
|
"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": "Returns a Tailoring File",
|
|
"operationId": "TailoringFile",
|
|
"responses": {
|
|
"200": {
|
|
"description": "Returns a Tailoring File",
|
|
"content": {
|
|
"application/vnd.api+json": {
|
|
"examples": {
|
|
"Returns a Tailoring File": {
|
|
"value": {
|
|
"profiles": [
|
|
{
|
|
"id": "xccdf_org.ssgproject.content_profile_5bea2a016a087a6b850cf5fe3fbf91c2",
|
|
"title": "Odit omnis a labore.",
|
|
"groups": {},
|
|
"rules": {},
|
|
"variables": {
|
|
"foo_value_063adfe9-4f44-4116-9e96-4797b71e6537": {
|
|
"value": "280221"
|
|
},
|
|
"foo_value_11db2a4f-dd23-4b9d-94d0-cff067ff5593": {
|
|
"value": "375658"
|
|
}
|
|
}
|
|
}
|
|
]
|
|
},
|
|
"summary": "",
|
|
"description": ""
|
|
}
|
|
},
|
|
"schema": {
|
|
"$ref": "#/components/schemas/tailoring_file"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"/reports/{report_id}/test_results": {
|
|
"get": {
|
|
"summary": "Request Test Results under a Report",
|
|
"parameters": [
|
|
{
|
|
"name": "X-RH-IDENTITY",
|
|
"in": "header",
|
|
"schema": {
|
|
"type": "string"
|
|
},
|
|
"description": "For internal use only"
|
|
},
|
|
{
|
|
"name": "limit",
|
|
"in": "query",
|
|
"required": false,
|
|
"description": "Number of items to return per page",
|
|
"schema": {
|
|
"type": "number",
|
|
"maximum": 100,
|
|
"minimum": 1,
|
|
"default": 10
|
|
}
|
|
},
|
|
{
|
|
"name": "offset",
|
|
"in": "query",
|
|
"required": false,
|
|
"description": "Offset of first item of paginated response",
|
|
"schema": {
|
|
"type": "integer",
|
|
"minimum": 0,
|
|
"default": 0
|
|
}
|
|
},
|
|
{
|
|
"name": "ids_only",
|
|
"in": "query",
|
|
"required": false,
|
|
"description": "Indicates whether to return only resource IDs.",
|
|
"schema": {
|
|
"type": "boolean"
|
|
}
|
|
},
|
|
{
|
|
"name": "sort_by",
|
|
"in": "query",
|
|
"required": false,
|
|
"description": "Attribute and direction to sort the items by. Represented by an array of fields with an optional direction (`<key>:asc` or `<key>:desc`).<br><br>If no direction is selected, `<key>:asc` is used by default.",
|
|
"schema": {
|
|
"type": "array",
|
|
"items": {
|
|
"enum": [
|
|
"display_name",
|
|
"security_guide_version",
|
|
"groups",
|
|
"score",
|
|
"end_time",
|
|
"failed_rule_count",
|
|
"display_name:asc",
|
|
"display_name:desc",
|
|
"security_guide_version:asc",
|
|
"security_guide_version:desc",
|
|
"groups:asc",
|
|
"groups:desc",
|
|
"score:asc",
|
|
"score:desc",
|
|
"end_time:asc",
|
|
"end_time:desc",
|
|
"failed_rule_count:asc",
|
|
"failed_rule_count:desc"
|
|
]
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"name": "filter",
|
|
"in": "query",
|
|
"required": false,
|
|
"description": "Query string to filter items by their attributes. Compliant with <a href=\"https://github.com/wvanbergen/scoped_search/wiki/Query-language\" target=\"_blank\" title=\"github.com/wvanbergen/scoped_search\">scoped_search query language</a>. However, only `=` or `!=` (resp. `<>`) operators are supported.<br><br>Test Results are searchable using attributes `score`, `supported`, `system_id`, `display_name`, `os_minor_version`, `security_guide_version`, `compliant`, `group_name`, and `failed_rule_severity`<br><br>(e.g.: `(field_1=something AND field_2!=\"something else\") OR field_3>40`)",
|
|
"schema": {
|
|
"type": "string"
|
|
}
|
|
},
|
|
{
|
|
"name": "report_id",
|
|
"in": "path",
|
|
"required": true,
|
|
"schema": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
],
|
|
"tags": [
|
|
"Reports"
|
|
],
|
|
"description": "Lists Test Results under a Report",
|
|
"operationId": "ReportTestResults",
|
|
"responses": {
|
|
"200": {
|
|
"description": "Lists Test Results under a Report",
|
|
"content": {
|
|
"application/vnd.api+json": {
|
|
"examples": {
|
|
"List of Test Results": {
|
|
"value": {
|
|
"data": [
|
|
{
|
|
"id": "035c7be3-8f30-4c10-a1eb-19cc919f1bfa",
|
|
"end_time": "2024-10-18T08:27:19.275Z",
|
|
"failed_rule_count": 0,
|
|
"supported": true,
|
|
"score": 58.19618681351891,
|
|
"type": "test_result",
|
|
"display_name": "heller.example",
|
|
"groups": [],
|
|
"tags": [
|
|
{
|
|
"key": "transmitter",
|
|
"value": "open-source",
|
|
"namespace": "parsing"
|
|
},
|
|
{
|
|
"key": "monitor",
|
|
"value": "mobile",
|
|
"namespace": "navigating"
|
|
},
|
|
{
|
|
"key": "alarm",
|
|
"value": "1080p",
|
|
"namespace": "navigating"
|
|
},
|
|
{
|
|
"key": "interface",
|
|
"value": "auxiliary",
|
|
"namespace": "quantifying"
|
|
},
|
|
{
|
|
"key": "capacitor",
|
|
"value": "multi-byte",
|
|
"namespace": "hacking"
|
|
}
|
|
],
|
|
"os_major_version": 8,
|
|
"os_minor_version": 0,
|
|
"compliant": false,
|
|
"system_id": "7ebde08d-40e5-401f-9176-2530c164d7cb",
|
|
"security_guide_version": "100.101.30"
|
|
},
|
|
{
|
|
"id": "3787ead6-a191-441a-9e07-3e2a237f1db4",
|
|
"end_time": "2024-10-18T08:27:19.029Z",
|
|
"failed_rule_count": 0,
|
|
"supported": true,
|
|
"score": 63.0116792708632,
|
|
"type": "test_result",
|
|
"display_name": "blanda.test",
|
|
"groups": [],
|
|
"tags": [
|
|
{
|
|
"key": "protocol",
|
|
"value": "redundant",
|
|
"namespace": "quantifying"
|
|
},
|
|
{
|
|
"key": "pixel",
|
|
"value": "optical",
|
|
"namespace": "hacking"
|
|
},
|
|
{
|
|
"key": "array",
|
|
"value": "redundant",
|
|
"namespace": "copying"
|
|
},
|
|
{
|
|
"key": "sensor",
|
|
"value": "solid state",
|
|
"namespace": "compressing"
|
|
},
|
|
{
|
|
"key": "system",
|
|
"value": "cross-platform",
|
|
"namespace": "copying"
|
|
}
|
|
],
|
|
"os_major_version": 8,
|
|
"os_minor_version": 0,
|
|
"compliant": false,
|
|
"system_id": "70ed3f41-b26c-4865-9c61-a65364b05e1e",
|
|
"security_guide_version": "100.101.30"
|
|
},
|
|
{
|
|
"id": "4c7d0497-693c-493a-b99b-cf7ebd487378",
|
|
"end_time": "2024-10-18T08:27:19.087Z",
|
|
"failed_rule_count": 0,
|
|
"supported": true,
|
|
"score": 65.38708646039716,
|
|
"type": "test_result",
|
|
"display_name": "farrell-brown.test",
|
|
"groups": [],
|
|
"tags": [
|
|
{
|
|
"key": "feed",
|
|
"value": "open-source",
|
|
"namespace": "generating"
|
|
},
|
|
{
|
|
"key": "protocol",
|
|
"value": "wireless",
|
|
"namespace": "overriding"
|
|
},
|
|
{
|
|
"key": "capacitor",
|
|
"value": "wireless",
|
|
"namespace": "quantifying"
|
|
},
|
|
{
|
|
"key": "protocol",
|
|
"value": "solid state",
|
|
"namespace": "parsing"
|
|
},
|
|
{
|
|
"key": "microchip",
|
|
"value": "digital",
|
|
"namespace": "calculating"
|
|
}
|
|
],
|
|
"os_major_version": 8,
|
|
"os_minor_version": 0,
|
|
"compliant": false,
|
|
"system_id": "e430c599-8931-49cc-961a-7f6f6801f580",
|
|
"security_guide_version": "100.101.30"
|
|
},
|
|
{
|
|
"id": "4f304d5d-ffda-456d-80de-6d3b61f5b8ca",
|
|
"end_time": "2024-10-18T08:27:19.117Z",
|
|
"failed_rule_count": 0,
|
|
"supported": true,
|
|
"score": 46.97081326476656,
|
|
"type": "test_result",
|
|
"display_name": "schamberger.example",
|
|
"groups": [],
|
|
"tags": [
|
|
{
|
|
"key": "firewall",
|
|
"value": "back-end",
|
|
"namespace": "programming"
|
|
},
|
|
{
|
|
"key": "port",
|
|
"value": "primary",
|
|
"namespace": "compressing"
|
|
},
|
|
{
|
|
"key": "hard drive",
|
|
"value": "back-end",
|
|
"namespace": "synthesizing"
|
|
},
|
|
{
|
|
"key": "panel",
|
|
"value": "bluetooth",
|
|
"namespace": "quantifying"
|
|
},
|
|
{
|
|
"key": "card",
|
|
"value": "multi-byte",
|
|
"namespace": "programming"
|
|
}
|
|
],
|
|
"os_major_version": 8,
|
|
"os_minor_version": 0,
|
|
"compliant": false,
|
|
"system_id": "ae7aa748-bdb6-4619-881c-91610188408d",
|
|
"security_guide_version": "100.101.30"
|
|
},
|
|
{
|
|
"id": "56b04c3c-4fff-468a-bc03-84bfee39c799",
|
|
"end_time": "2024-10-18T08:27:19.108Z",
|
|
"failed_rule_count": 0,
|
|
"supported": true,
|
|
"score": 17.69211537208457,
|
|
"type": "test_result",
|
|
"display_name": "farrell-kohler.test",
|
|
"groups": [],
|
|
"tags": [
|
|
{
|
|
"key": "system",
|
|
"value": "neural",
|
|
"namespace": "hacking"
|
|
},
|
|
{
|
|
"key": "card",
|
|
"value": "bluetooth",
|
|
"namespace": "transmitting"
|
|
},
|
|
{
|
|
"key": "microchip",
|
|
"value": "virtual",
|
|
"namespace": "overriding"
|
|
},
|
|
{
|
|
"key": "bandwidth",
|
|
"value": "bluetooth",
|
|
"namespace": "transmitting"
|
|
},
|
|
{
|
|
"key": "firewall",
|
|
"value": "bluetooth",
|
|
"namespace": "calculating"
|
|
}
|
|
],
|
|
"os_major_version": 8,
|
|
"os_minor_version": 0,
|
|
"compliant": false,
|
|
"system_id": "a71d6fe5-0d77-4802-b7a9-e8418e856463",
|
|
"security_guide_version": "100.101.30"
|
|
},
|
|
{
|
|
"id": "5dc6ee9a-4624-42a0-bc57-4e706643c05b",
|
|
"end_time": "2024-10-18T08:27:19.266Z",
|
|
"failed_rule_count": 0,
|
|
"supported": true,
|
|
"score": 83.79201306512044,
|
|
"type": "test_result",
|
|
"display_name": "cole-wisozk.example",
|
|
"groups": [],
|
|
"tags": [
|
|
{
|
|
"key": "matrix",
|
|
"value": "neural",
|
|
"namespace": "hacking"
|
|
},
|
|
{
|
|
"key": "matrix",
|
|
"value": "solid state",
|
|
"namespace": "compressing"
|
|
},
|
|
{
|
|
"key": "alarm",
|
|
"value": "optical",
|
|
"namespace": "navigating"
|
|
},
|
|
{
|
|
"key": "application",
|
|
"value": "back-end",
|
|
"namespace": "generating"
|
|
},
|
|
{
|
|
"key": "panel",
|
|
"value": "open-source",
|
|
"namespace": "generating"
|
|
}
|
|
],
|
|
"os_major_version": 8,
|
|
"os_minor_version": 0,
|
|
"compliant": false,
|
|
"system_id": "bd536734-21e6-446c-8f1d-770567a77529",
|
|
"security_guide_version": "100.101.30"
|
|
},
|
|
{
|
|
"id": "63933373-9276-4233-8070-1528c47d7d8a",
|
|
"end_time": "2024-10-18T08:27:19.243Z",
|
|
"failed_rule_count": 0,
|
|
"supported": true,
|
|
"score": 19.80660262857708,
|
|
"type": "test_result",
|
|
"display_name": "damore.test",
|
|
"groups": [],
|
|
"tags": [
|
|
{
|
|
"key": "alarm",
|
|
"value": "optical",
|
|
"namespace": "quantifying"
|
|
},
|
|
{
|
|
"key": "pixel",
|
|
"value": "neural",
|
|
"namespace": "calculating"
|
|
},
|
|
{
|
|
"key": "matrix",
|
|
"value": "auxiliary",
|
|
"namespace": "hacking"
|
|
},
|
|
{
|
|
"key": "array",
|
|
"value": "mobile",
|
|
"namespace": "calculating"
|
|
},
|
|
{
|
|
"key": "transmitter",
|
|
"value": "primary",
|
|
"namespace": "indexing"
|
|
}
|
|
],
|
|
"os_major_version": 8,
|
|
"os_minor_version": 0,
|
|
"compliant": false,
|
|
"system_id": "4a246cf3-0138-40f4-98cf-ec1683a02cc3",
|
|
"security_guide_version": "100.101.30"
|
|
},
|
|
{
|
|
"id": "65428aa5-f95a-4011-9b04-c3de40f884b9",
|
|
"end_time": "2024-10-18T08:27:19.205Z",
|
|
"failed_rule_count": 0,
|
|
"supported": true,
|
|
"score": 45.57421269048603,
|
|
"type": "test_result",
|
|
"display_name": "abernathy-hodkiewicz.test",
|
|
"groups": [],
|
|
"tags": [
|
|
{
|
|
"key": "pixel",
|
|
"value": "multi-byte",
|
|
"namespace": "navigating"
|
|
},
|
|
{
|
|
"key": "matrix",
|
|
"value": "redundant",
|
|
"namespace": "bypassing"
|
|
},
|
|
{
|
|
"key": "matrix",
|
|
"value": "1080p",
|
|
"namespace": "indexing"
|
|
},
|
|
{
|
|
"key": "card",
|
|
"value": "redundant",
|
|
"namespace": "generating"
|
|
},
|
|
{
|
|
"key": "capacitor",
|
|
"value": "auxiliary",
|
|
"namespace": "overriding"
|
|
}
|
|
],
|
|
"os_major_version": 8,
|
|
"os_minor_version": 0,
|
|
"compliant": false,
|
|
"system_id": "85896ab0-acfa-48d3-90fe-e5ab9bf95537",
|
|
"security_guide_version": "100.101.30"
|
|
},
|
|
{
|
|
"id": "7355b9e1-527e-49c9-89de-eee6e916dac6",
|
|
"end_time": "2024-10-18T08:27:19.186Z",
|
|
"failed_rule_count": 0,
|
|
"supported": true,
|
|
"score": 44.47745329221194,
|
|
"type": "test_result",
|
|
"display_name": "block.test",
|
|
"groups": [],
|
|
"tags": [
|
|
{
|
|
"key": "driver",
|
|
"value": "digital",
|
|
"namespace": "connecting"
|
|
},
|
|
{
|
|
"key": "capacitor",
|
|
"value": "neural",
|
|
"namespace": "transmitting"
|
|
},
|
|
{
|
|
"key": "bus",
|
|
"value": "redundant",
|
|
"namespace": "bypassing"
|
|
},
|
|
{
|
|
"key": "bus",
|
|
"value": "open-source",
|
|
"namespace": "transmitting"
|
|
},
|
|
{
|
|
"key": "system",
|
|
"value": "solid state",
|
|
"namespace": "overriding"
|
|
}
|
|
],
|
|
"os_major_version": 8,
|
|
"os_minor_version": 0,
|
|
"compliant": false,
|
|
"system_id": "02bd6220-36a8-495c-b976-c11c05c326b7",
|
|
"security_guide_version": "100.101.30"
|
|
},
|
|
{
|
|
"id": "89fcfdd6-a21f-4afc-b831-d7642a8b1c19",
|
|
"end_time": "2024-10-18T08:27:19.212Z",
|
|
"failed_rule_count": 0,
|
|
"supported": true,
|
|
"score": 93.32399464014867,
|
|
"type": "test_result",
|
|
"display_name": "ryan.test",
|
|
"groups": [],
|
|
"tags": [
|
|
{
|
|
"key": "feed",
|
|
"value": "primary",
|
|
"namespace": "copying"
|
|
},
|
|
{
|
|
"key": "microchip",
|
|
"value": "open-source",
|
|
"namespace": "connecting"
|
|
},
|
|
{
|
|
"key": "card",
|
|
"value": "haptic",
|
|
"namespace": "parsing"
|
|
},
|
|
{
|
|
"key": "protocol",
|
|
"value": "cross-platform",
|
|
"namespace": "programming"
|
|
},
|
|
{
|
|
"key": "port",
|
|
"value": "digital",
|
|
"namespace": "indexing"
|
|
}
|
|
],
|
|
"os_major_version": 8,
|
|
"os_minor_version": 0,
|
|
"compliant": true,
|
|
"system_id": "def3e4cd-e096-4a02-9dab-5478d266b5e7",
|
|
"security_guide_version": "100.101.30"
|
|
}
|
|
],
|
|
"meta": {
|
|
"total": 25,
|
|
"limit": 10,
|
|
"offset": 0
|
|
},
|
|
"links": {
|
|
"first": "/api/compliance/v2/reports/8792d373-2327-49e0-8d1b-9e6192d6c0ea/test_results?limit=10&offset=0",
|
|
"last": "/api/compliance/v2/reports/8792d373-2327-49e0-8d1b-9e6192d6c0ea/test_results?limit=10&offset=20",
|
|
"next": "/api/compliance/v2/reports/8792d373-2327-49e0-8d1b-9e6192d6c0ea/test_results?limit=10&offset=10"
|
|
}
|
|
},
|
|
"summary": "",
|
|
"description": ""
|
|
},
|
|
"List of Test Results sorted by \"score:asc\"": {
|
|
"value": {
|
|
"data": [
|
|
{
|
|
"id": "82fd84a8-a1ba-4e3b-9c66-03e7e019f621",
|
|
"end_time": "2024-10-18T08:27:19.731Z",
|
|
"failed_rule_count": 0,
|
|
"supported": true,
|
|
"score": 2.912877335222663,
|
|
"type": "test_result",
|
|
"display_name": "nolan.example",
|
|
"groups": [],
|
|
"tags": [
|
|
{
|
|
"key": "microchip",
|
|
"value": "wireless",
|
|
"namespace": "programming"
|
|
},
|
|
{
|
|
"key": "card",
|
|
"value": "back-end",
|
|
"namespace": "indexing"
|
|
},
|
|
{
|
|
"key": "transmitter",
|
|
"value": "digital",
|
|
"namespace": "connecting"
|
|
},
|
|
{
|
|
"key": "bandwidth",
|
|
"value": "1080p",
|
|
"namespace": "parsing"
|
|
},
|
|
{
|
|
"key": "application",
|
|
"value": "multi-byte",
|
|
"namespace": "transmitting"
|
|
}
|
|
],
|
|
"os_major_version": 8,
|
|
"os_minor_version": 0,
|
|
"compliant": false,
|
|
"system_id": "0be91424-d6f3-4470-8859-f5757efa83de",
|
|
"security_guide_version": "100.102.37"
|
|
},
|
|
{
|
|
"id": "bc394a7c-4533-4e11-b01c-77c3915c2f4e",
|
|
"end_time": "2024-10-18T08:27:19.965Z",
|
|
"failed_rule_count": 0,
|
|
"supported": true,
|
|
"score": 8.979447746918378,
|
|
"type": "test_result",
|
|
"display_name": "daugherty.example",
|
|
"groups": [],
|
|
"tags": [
|
|
{
|
|
"key": "capacitor",
|
|
"value": "bluetooth",
|
|
"namespace": "indexing"
|
|
},
|
|
{
|
|
"key": "firewall",
|
|
"value": "mobile",
|
|
"namespace": "navigating"
|
|
},
|
|
{
|
|
"key": "firewall",
|
|
"value": "haptic",
|
|
"namespace": "backing up"
|
|
},
|
|
{
|
|
"key": "protocol",
|
|
"value": "solid state",
|
|
"namespace": "synthesizing"
|
|
},
|
|
{
|
|
"key": "card",
|
|
"value": "primary",
|
|
"namespace": "bypassing"
|
|
}
|
|
],
|
|
"os_major_version": 8,
|
|
"os_minor_version": 0,
|
|
"compliant": false,
|
|
"system_id": "68dce58d-10d8-4c54-aff4-2ea1f84301da",
|
|
"security_guide_version": "100.102.37"
|
|
},
|
|
{
|
|
"id": "6e4b67cb-c61f-4bbb-aa48-b966e8ff0458",
|
|
"end_time": "2024-10-18T08:27:19.784Z",
|
|
"failed_rule_count": 0,
|
|
"supported": true,
|
|
"score": 10.48679549920335,
|
|
"type": "test_result",
|
|
"display_name": "hilpert.test",
|
|
"groups": [],
|
|
"tags": [
|
|
{
|
|
"key": "transmitter",
|
|
"value": "virtual",
|
|
"namespace": "quantifying"
|
|
},
|
|
{
|
|
"key": "capacitor",
|
|
"value": "digital",
|
|
"namespace": "synthesizing"
|
|
},
|
|
{
|
|
"key": "port",
|
|
"value": "redundant",
|
|
"namespace": "programming"
|
|
},
|
|
{
|
|
"key": "bus",
|
|
"value": "online",
|
|
"namespace": "transmitting"
|
|
},
|
|
{
|
|
"key": "system",
|
|
"value": "wireless",
|
|
"namespace": "bypassing"
|
|
}
|
|
],
|
|
"os_major_version": 8,
|
|
"os_minor_version": 0,
|
|
"compliant": false,
|
|
"system_id": "e3158acc-df96-43ed-8b71-e317d6352059",
|
|
"security_guide_version": "100.102.37"
|
|
},
|
|
{
|
|
"id": "7ef49af7-fdf6-46a7-a5f8-fab831559b1b",
|
|
"end_time": "2024-10-18T08:27:19.911Z",
|
|
"failed_rule_count": 0,
|
|
"supported": true,
|
|
"score": 11.09187800257398,
|
|
"type": "test_result",
|
|
"display_name": "jones.example",
|
|
"groups": [],
|
|
"tags": [
|
|
{
|
|
"key": "sensor",
|
|
"value": "wireless",
|
|
"namespace": "quantifying"
|
|
},
|
|
{
|
|
"key": "port",
|
|
"value": "neural",
|
|
"namespace": "indexing"
|
|
},
|
|
{
|
|
"key": "application",
|
|
"value": "cross-platform",
|
|
"namespace": "parsing"
|
|
},
|
|
{
|
|
"key": "card",
|
|
"value": "haptic",
|
|
"namespace": "connecting"
|
|
},
|
|
{
|
|
"key": "feed",
|
|
"value": "neural",
|
|
"namespace": "hacking"
|
|
}
|
|
],
|
|
"os_major_version": 8,
|
|
"os_minor_version": 0,
|
|
"compliant": false,
|
|
"system_id": "8f231b18-279a-44f9-bd46-1bb23e93f8d0",
|
|
"security_guide_version": "100.102.37"
|
|
},
|
|
{
|
|
"id": "b49e7a3d-9094-43cf-8389-0272790dc4d8",
|
|
"end_time": "2024-10-18T08:27:19.714Z",
|
|
"failed_rule_count": 0,
|
|
"supported": true,
|
|
"score": 13.07875738981102,
|
|
"type": "test_result",
|
|
"display_name": "durgan.example",
|
|
"groups": [],
|
|
"tags": [
|
|
{
|
|
"key": "sensor",
|
|
"value": "wireless",
|
|
"namespace": "copying"
|
|
},
|
|
{
|
|
"key": "driver",
|
|
"value": "online",
|
|
"namespace": "transmitting"
|
|
},
|
|
{
|
|
"key": "array",
|
|
"value": "open-source",
|
|
"namespace": "overriding"
|
|
},
|
|
{
|
|
"key": "interface",
|
|
"value": "auxiliary",
|
|
"namespace": "navigating"
|
|
},
|
|
{
|
|
"key": "matrix",
|
|
"value": "auxiliary",
|
|
"namespace": "backing up"
|
|
}
|
|
],
|
|
"os_major_version": 8,
|
|
"os_minor_version": 0,
|
|
"compliant": false,
|
|
"system_id": "647adff2-6525-41d9-bd85-4651606f7ef3",
|
|
"security_guide_version": "100.102.37"
|
|
},
|
|
{
|
|
"id": "49f552ba-fbb8-4b6a-b255-ddac2dca94ea",
|
|
"end_time": "2024-10-18T08:27:19.840Z",
|
|
"failed_rule_count": 0,
|
|
"supported": true,
|
|
"score": 22.81360387117354,
|
|
"type": "test_result",
|
|
"display_name": "zemlak-hartmann.example",
|
|
"groups": [],
|
|
"tags": [
|
|
{
|
|
"key": "hard drive",
|
|
"value": "auxiliary",
|
|
"namespace": "backing up"
|
|
},
|
|
{
|
|
"key": "capacitor",
|
|
"value": "neural",
|
|
"namespace": "parsing"
|
|
},
|
|
{
|
|
"key": "system",
|
|
"value": "open-source",
|
|
"namespace": "copying"
|
|
},
|
|
{
|
|
"key": "card",
|
|
"value": "solid state",
|
|
"namespace": "indexing"
|
|
},
|
|
{
|
|
"key": "alarm",
|
|
"value": "virtual",
|
|
"namespace": "overriding"
|
|
}
|
|
],
|
|
"os_major_version": 8,
|
|
"os_minor_version": 0,
|
|
"compliant": false,
|
|
"system_id": "04faf1c5-f9ed-4244-a004-985b3d337be8",
|
|
"security_guide_version": "100.102.37"
|
|
},
|
|
{
|
|
"id": "057a0c2d-7257-443f-a9e8-ee0a413fb3ac",
|
|
"end_time": "2024-10-18T08:27:19.825Z",
|
|
"failed_rule_count": 0,
|
|
"supported": true,
|
|
"score": 23.63526893640464,
|
|
"type": "test_result",
|
|
"display_name": "jacobi.test",
|
|
"groups": [],
|
|
"tags": [
|
|
{
|
|
"key": "monitor",
|
|
"value": "haptic",
|
|
"namespace": "bypassing"
|
|
},
|
|
{
|
|
"key": "feed",
|
|
"value": "digital",
|
|
"namespace": "synthesizing"
|
|
},
|
|
{
|
|
"key": "bus",
|
|
"value": "virtual",
|
|
"namespace": "indexing"
|
|
},
|
|
{
|
|
"key": "driver",
|
|
"value": "online",
|
|
"namespace": "calculating"
|
|
},
|
|
{
|
|
"key": "bandwidth",
|
|
"value": "optical",
|
|
"namespace": "synthesizing"
|
|
}
|
|
],
|
|
"os_major_version": 8,
|
|
"os_minor_version": 0,
|
|
"compliant": false,
|
|
"system_id": "7cf9ae71-691c-4d66-a0f7-7b64fe2d52fd",
|
|
"security_guide_version": "100.102.37"
|
|
},
|
|
{
|
|
"id": "1f617d75-6715-48fa-8f7c-728d1d7891bf",
|
|
"end_time": "2024-10-18T08:27:19.900Z",
|
|
"failed_rule_count": 0,
|
|
"supported": true,
|
|
"score": 26.01563014299423,
|
|
"type": "test_result",
|
|
"display_name": "bradtke.test",
|
|
"groups": [],
|
|
"tags": [
|
|
{
|
|
"key": "pixel",
|
|
"value": "1080p",
|
|
"namespace": "navigating"
|
|
},
|
|
{
|
|
"key": "interface",
|
|
"value": "optical",
|
|
"namespace": "backing up"
|
|
},
|
|
{
|
|
"key": "feed",
|
|
"value": "solid state",
|
|
"namespace": "copying"
|
|
},
|
|
{
|
|
"key": "application",
|
|
"value": "auxiliary",
|
|
"namespace": "connecting"
|
|
},
|
|
{
|
|
"key": "feed",
|
|
"value": "cross-platform",
|
|
"namespace": "synthesizing"
|
|
}
|
|
],
|
|
"os_major_version": 8,
|
|
"os_minor_version": 0,
|
|
"compliant": false,
|
|
"system_id": "4c0441b6-3dc0-4973-9735-06c646e40eb0",
|
|
"security_guide_version": "100.102.37"
|
|
},
|
|
{
|
|
"id": "2df061fd-dd7a-47e5-a049-83a5e16204ca",
|
|
"end_time": "2024-10-18T08:27:19.743Z",
|
|
"failed_rule_count": 0,
|
|
"supported": true,
|
|
"score": 31.59704629928522,
|
|
"type": "test_result",
|
|
"display_name": "bergnaum.test",
|
|
"groups": [],
|
|
"tags": [
|
|
{
|
|
"key": "matrix",
|
|
"value": "auxiliary",
|
|
"namespace": "navigating"
|
|
},
|
|
{
|
|
"key": "port",
|
|
"value": "multi-byte",
|
|
"namespace": "parsing"
|
|
},
|
|
{
|
|
"key": "card",
|
|
"value": "redundant",
|
|
"namespace": "indexing"
|
|
},
|
|
{
|
|
"key": "firewall",
|
|
"value": "open-source",
|
|
"namespace": "compressing"
|
|
},
|
|
{
|
|
"key": "port",
|
|
"value": "neural",
|
|
"namespace": "synthesizing"
|
|
}
|
|
],
|
|
"os_major_version": 8,
|
|
"os_minor_version": 0,
|
|
"compliant": false,
|
|
"system_id": "2ca11269-b7f8-4eb1-aa2f-fa7180ba2bb8",
|
|
"security_guide_version": "100.102.37"
|
|
},
|
|
{
|
|
"id": "f5108888-29e5-4a44-9e81-bb20846c621d",
|
|
"end_time": "2024-10-18T08:27:19.812Z",
|
|
"failed_rule_count": 0,
|
|
"supported": true,
|
|
"score": 45.82750990194606,
|
|
"type": "test_result",
|
|
"display_name": "predovic.test",
|
|
"groups": [],
|
|
"tags": [
|
|
{
|
|
"key": "transmitter",
|
|
"value": "back-end",
|
|
"namespace": "generating"
|
|
},
|
|
{
|
|
"key": "hard drive",
|
|
"value": "redundant",
|
|
"namespace": "hacking"
|
|
},
|
|
{
|
|
"key": "protocol",
|
|
"value": "mobile",
|
|
"namespace": "connecting"
|
|
},
|
|
{
|
|
"key": "hard drive",
|
|
"value": "virtual",
|
|
"namespace": "copying"
|
|
},
|
|
{
|
|
"key": "system",
|
|
"value": "wireless",
|
|
"namespace": "copying"
|
|
}
|
|
],
|
|
"os_major_version": 8,
|
|
"os_minor_version": 0,
|
|
"compliant": false,
|
|
"system_id": "ea326ba4-0f98-4b6c-a841-d512ff6d6c35",
|
|
"security_guide_version": "100.102.37"
|
|
}
|
|
],
|
|
"meta": {
|
|
"total": 25,
|
|
"limit": 10,
|
|
"offset": 0,
|
|
"sort_by": "score"
|
|
},
|
|
"links": {
|
|
"first": "/api/compliance/v2/reports/bfd1d9eb-fc1d-4640-8ec5-e2055f005502/test_results?limit=10&offset=0&sort_by=score",
|
|
"last": "/api/compliance/v2/reports/bfd1d9eb-fc1d-4640-8ec5-e2055f005502/test_results?limit=10&offset=20&sort_by=score",
|
|
"next": "/api/compliance/v2/reports/bfd1d9eb-fc1d-4640-8ec5-e2055f005502/test_results?limit=10&offset=10&sort_by=score"
|
|
}
|
|
},
|
|
"summary": "",
|
|
"description": ""
|
|
},
|
|
"List of Test Results filtered by \"(os_minor_version=8)\"": {
|
|
"value": {
|
|
"data": [],
|
|
"meta": {
|
|
"total": 0,
|
|
"filter": "(os_minor_version=8)",
|
|
"limit": 10,
|
|
"offset": 0
|
|
},
|
|
"links": {
|
|
"first": "/api/compliance/v2/reports/bed7f1f2-ce9e-45ba-9b22-4d81b6f57d82/test_results?filter=%28os_minor_version%3D8%29&limit=10&offset=0",
|
|
"last": "/api/compliance/v2/reports/bed7f1f2-ce9e-45ba-9b22-4d81b6f57d82/test_results?filter=%28os_minor_version%3D8%29&limit=10&offset=0"
|
|
}
|
|
},
|
|
"summary": "",
|
|
"description": ""
|
|
}
|
|
},
|
|
"schema": {
|
|
"type": "object",
|
|
"properties": {
|
|
"meta": {
|
|
"$ref": "#/components/schemas/metadata"
|
|
},
|
|
"links": {
|
|
"$ref": "#/components/schemas/links"
|
|
},
|
|
"data": {
|
|
"type": "array",
|
|
"items": {
|
|
"properties": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/test_result"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"422": {
|
|
"description": "Returns with Unprocessable Content",
|
|
"content": {
|
|
"application/vnd.api+json": {
|
|
"examples": {
|
|
"Description of an error when sorting by incorrect parameter": {
|
|
"value": {
|
|
"errors": [
|
|
"Result cannot be sorted by the 'description' column."
|
|
]
|
|
},
|
|
"summary": "",
|
|
"description": ""
|
|
},
|
|
"Description of an error when requesting higher limit than supported": {
|
|
"value": {
|
|
"errors": [
|
|
"Invalid parameter: limit must be less than or equal to 100"
|
|
]
|
|
},
|
|
"summary": "",
|
|
"description": ""
|
|
}
|
|
},
|
|
"schema": {
|
|
"$ref": "#/components/schemas/errors"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"/reports/{report_id}/test_results/os_versions": {
|
|
"get": {
|
|
"summary": "Request the list of available OS versions",
|
|
"parameters": [
|
|
{
|
|
"name": "X-RH-IDENTITY",
|
|
"in": "header",
|
|
"schema": {
|
|
"type": "string"
|
|
},
|
|
"description": "For internal use only"
|
|
},
|
|
{
|
|
"name": "filter",
|
|
"in": "query",
|
|
"required": false,
|
|
"description": "Query string to filter items by their attributes. Compliant with <a href=\"https://github.com/wvanbergen/scoped_search/wiki/Query-language\" target=\"_blank\" title=\"github.com/wvanbergen/scoped_search\">scoped_search query language</a>. However, only `=` or `!=` (resp. `<>`) operators are supported.<br><br>Test Results are searchable using attributes `score`, `supported`, `system_id`, `display_name`, `os_minor_version`, `security_guide_version`, `compliant`, `group_name`, and `failed_rule_severity`<br><br>(e.g.: `(field_1=something AND field_2!=\"something else\") OR field_3>40`)",
|
|
"schema": {
|
|
"type": "string"
|
|
}
|
|
},
|
|
{
|
|
"name": "report_id",
|
|
"in": "path",
|
|
"required": true,
|
|
"schema": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
],
|
|
"tags": [
|
|
"Reports"
|
|
],
|
|
"description": "This feature is exclusively used by the frontend",
|
|
"operationId": "ReportTestResultsOS",
|
|
"deprecated": true,
|
|
"responses": {
|
|
"200": {
|
|
"description": "Lists available OS versions",
|
|
"content": {
|
|
"application/vnd.api+json": {
|
|
"examples": {
|
|
"List of available OS versions": {
|
|
"value": [
|
|
"8.0"
|
|
],
|
|
"summary": "",
|
|
"description": ""
|
|
}
|
|
},
|
|
"schema": {
|
|
"type": "array",
|
|
"items": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"/reports/{report_id}/test_results/{test_result_id}": {
|
|
"get": {
|
|
"summary": "Request a Test Result",
|
|
"parameters": [
|
|
{
|
|
"name": "X-RH-IDENTITY",
|
|
"in": "header",
|
|
"schema": {
|
|
"type": "string"
|
|
},
|
|
"description": "For internal use only"
|
|
},
|
|
{
|
|
"name": "test_result_id",
|
|
"in": "path",
|
|
"required": true,
|
|
"schema": {
|
|
"type": "string"
|
|
}
|
|
},
|
|
{
|
|
"name": "report_id",
|
|
"in": "path",
|
|
"required": true,
|
|
"schema": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
],
|
|
"tags": [
|
|
"Reports"
|
|
],
|
|
"description": "Returns a Test Result under a Report",
|
|
"operationId": "ReportTestResult",
|
|
"responses": {
|
|
"200": {
|
|
"description": "Returns a Test Result under a Report",
|
|
"content": {
|
|
"application/vnd.api+json": {
|
|
"examples": {
|
|
"Returns a Test Result under a Report": {
|
|
"value": {
|
|
"data": {
|
|
"id": "def7e46d-ff64-489e-a48a-85a4a94cafa4",
|
|
"end_time": "2024-10-18T08:27:22.624Z",
|
|
"failed_rule_count": 0,
|
|
"supported": true,
|
|
"score": 75.73310397473169,
|
|
"type": "test_result",
|
|
"display_name": "breitenberg.example",
|
|
"groups": [],
|
|
"tags": [
|
|
{
|
|
"key": "bus",
|
|
"value": "back-end",
|
|
"namespace": "compressing"
|
|
},
|
|
{
|
|
"key": "capacitor",
|
|
"value": "neural",
|
|
"namespace": "bypassing"
|
|
},
|
|
{
|
|
"key": "system",
|
|
"value": "optical",
|
|
"namespace": "generating"
|
|
},
|
|
{
|
|
"key": "monitor",
|
|
"value": "open-source",
|
|
"namespace": "overriding"
|
|
},
|
|
{
|
|
"key": "program",
|
|
"value": "bluetooth",
|
|
"namespace": "programming"
|
|
}
|
|
],
|
|
"os_major_version": 8,
|
|
"os_minor_version": 0,
|
|
"compliant": false,
|
|
"system_id": "b78b9fdd-c5d1-4233-921f-1175f12fdb20",
|
|
"security_guide_version": "100.109.8"
|
|
}
|
|
},
|
|
"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 683744f4-054d-433c-a4ed-04d3405edaf0"
|
|
]
|
|
},
|
|
"summary": "",
|
|
"description": ""
|
|
}
|
|
},
|
|
"schema": {
|
|
"$ref": "#/components/schemas/errors"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"/security_guides/{security_guide_id}/value_definitions": {
|
|
"get": {
|
|
"summary": "Request Value Definitions",
|
|
"parameters": [
|
|
{
|
|
"name": "X-RH-IDENTITY",
|
|
"in": "header",
|
|
"schema": {
|
|
"type": "string"
|
|
},
|
|
"description": "For internal use only"
|
|
},
|
|
{
|
|
"name": "limit",
|
|
"in": "query",
|
|
"required": false,
|
|
"description": "Number of items to return per page",
|
|
"schema": {
|
|
"type": "number",
|
|
"maximum": 100,
|
|
"minimum": 1,
|
|
"default": 10
|
|
}
|
|
},
|
|
{
|
|
"name": "offset",
|
|
"in": "query",
|
|
"required": false,
|
|
"description": "Offset of first item of paginated response",
|
|
"schema": {
|
|
"type": "integer",
|
|
"minimum": 0,
|
|
"default": 0
|
|
}
|
|
},
|
|
{
|
|
"name": "ids_only",
|
|
"in": "query",
|
|
"required": false,
|
|
"description": "Indicates whether to return only resource IDs.",
|
|
"schema": {
|
|
"type": "boolean"
|
|
}
|
|
},
|
|
{
|
|
"name": "sort_by",
|
|
"in": "query",
|
|
"required": false,
|
|
"description": "Attribute and direction to sort the items by. Represented by an array of fields with an optional direction (`<key>:asc` or `<key>:desc`).<br><br>If no direction is selected, `<key>:asc` is used by default.",
|
|
"schema": {
|
|
"type": "array",
|
|
"items": {
|
|
"enum": [
|
|
"title",
|
|
"title:asc",
|
|
"title:desc"
|
|
]
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"name": "filter",
|
|
"in": "query",
|
|
"required": false,
|
|
"description": "Query string to filter items by their attributes. Compliant with <a href=\"https://github.com/wvanbergen/scoped_search/wiki/Query-language\" target=\"_blank\" title=\"github.com/wvanbergen/scoped_search\">scoped_search query language</a>. However, only `=` or `!=` (resp. `<>`) operators are supported.<br><br>Value Definitions are searchable using attributes `title` and `ref_id`<br><br>(e.g.: `(field_1=something AND field_2!=\"something else\") OR field_3>40`)",
|
|
"schema": {
|
|
"type": "string"
|
|
}
|
|
},
|
|
{
|
|
"name": "security_guide_id",
|
|
"in": "path",
|
|
"required": true,
|
|
"schema": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
],
|
|
"tags": [
|
|
"Content"
|
|
],
|
|
"description": "Lists Value Definitions",
|
|
"operationId": "ValueDefinitions",
|
|
"responses": {
|
|
"200": {
|
|
"description": "Lists Value Definitions",
|
|
"content": {
|
|
"application/vnd.api+json": {
|
|
"examples": {
|
|
"List of Value Definitions": {
|
|
"value": {
|
|
"data": [
|
|
{
|
|
"id": "09ebabf4-03c8-4290-a134-06983f4c5ba7",
|
|
"ref_id": "foo_value_c5dc7096-d8b4-4a2e-9e2c-742ff0160210",
|
|
"title": "Dolore ea laboriosam necessitatibus.",
|
|
"description": "Voluptatem magnam fuga. Saepe nesciunt consequatur. Maxime eos est.",
|
|
"value_type": "number",
|
|
"default_value": "0.6433663241667068",
|
|
"type": "value_definition"
|
|
},
|
|
{
|
|
"id": "194e889d-bae5-4264-ab94-9d58df4ae054",
|
|
"ref_id": "foo_value_4d93cdff-d774-479c-bad3-eb2e1f00f657",
|
|
"title": "Eius voluptatum aut perspiciatis.",
|
|
"description": "Eum tempore dolorem. Non nemo et. Reiciendis veniam est.",
|
|
"value_type": "number",
|
|
"default_value": "0.12156165831857613",
|
|
"type": "value_definition"
|
|
},
|
|
{
|
|
"id": "252cef30-ff0a-4805-a543-80dd287de6e9",
|
|
"ref_id": "foo_value_5cd5ac69-bb40-4cef-a415-bf1b60960e43",
|
|
"title": "Quis non minus mollitia.",
|
|
"description": "Blanditiis sed doloribus. Nostrum ipsam magni. Officia voluptas ea.",
|
|
"value_type": "number",
|
|
"default_value": "0.3938535165737047",
|
|
"type": "value_definition"
|
|
},
|
|
{
|
|
"id": "32f8e2b2-ba96-43cb-8ed5-0ba63f33d92b",
|
|
"ref_id": "foo_value_cd9dcb19-b4d7-4e39-b22a-d6988f25afb3",
|
|
"title": "Voluptatem est beatae soluta.",
|
|
"description": "Doloribus eius voluptatem. Quis incidunt aut. Neque id laudantium.",
|
|
"value_type": "number",
|
|
"default_value": "0.45096232852819773",
|
|
"type": "value_definition"
|
|
},
|
|
{
|
|
"id": "413a1a00-4dca-4f5b-9252-4054146d9a64",
|
|
"ref_id": "foo_value_cbdad186-62fb-4f62-abbd-e3042e588fb8",
|
|
"title": "Ut aut repudiandae omnis.",
|
|
"description": "Esse libero suscipit. Repellat ut aut. Illo vero asperiores.",
|
|
"value_type": "number",
|
|
"default_value": "0.8476364657376795",
|
|
"type": "value_definition"
|
|
},
|
|
{
|
|
"id": "5762d6b3-b998-46f8-8664-53b985cf7833",
|
|
"ref_id": "foo_value_32d66f4e-31e3-4ce9-9da2-6a807f5bb467",
|
|
"title": "Rerum rem omnis porro.",
|
|
"description": "Non aperiam dolore. Non at eligendi. Perspiciatis aut aliquam.",
|
|
"value_type": "number",
|
|
"default_value": "0.2211983434846443",
|
|
"type": "value_definition"
|
|
},
|
|
{
|
|
"id": "5d7d7541-fd12-4bdc-bbc5-ed2550f43dd0",
|
|
"ref_id": "foo_value_a9fbb488-042f-4b43-90c6-665d39c8f781",
|
|
"title": "Aut fugit blanditiis sed.",
|
|
"description": "Accusantium id totam. Consequatur ut et. Eos dolorum reprehenderit.",
|
|
"value_type": "number",
|
|
"default_value": "0.8158191035367531",
|
|
"type": "value_definition"
|
|
},
|
|
{
|
|
"id": "70e8465d-eab7-4d88-b676-49a8ab94dec3",
|
|
"ref_id": "foo_value_14a95dd6-eb28-41a6-bae5-7ae9a1f4a37e",
|
|
"title": "Ipsum in possimus sequi.",
|
|
"description": "Praesentium sed perferendis. Ipsa quis odio. Ea sit voluptas.",
|
|
"value_type": "number",
|
|
"default_value": "0.4822015118827696",
|
|
"type": "value_definition"
|
|
},
|
|
{
|
|
"id": "72c5ec3a-90bd-4ef5-babe-33257d92eb22",
|
|
"ref_id": "foo_value_244581a2-b93b-411b-ab04-045b18e4371f",
|
|
"title": "Unde officia ea amet.",
|
|
"description": "Ipsa distinctio commodi. Eos voluptatem voluptatem. Adipisci sit sed.",
|
|
"value_type": "number",
|
|
"default_value": "0.9497760921731637",
|
|
"type": "value_definition"
|
|
},
|
|
{
|
|
"id": "78e476f5-a5a6-4c17-8ceb-54a54c7dbe2e",
|
|
"ref_id": "foo_value_ddd4918a-6937-4088-8f26-b9467b351fc7",
|
|
"title": "Voluptas excepturi suscipit veritatis.",
|
|
"description": "Fugiat et omnis. Cum ipsa odit. Et totam voluptate.",
|
|
"value_type": "number",
|
|
"default_value": "0.35460835110972355",
|
|
"type": "value_definition"
|
|
}
|
|
],
|
|
"meta": {
|
|
"total": 25,
|
|
"limit": 10,
|
|
"offset": 0
|
|
},
|
|
"links": {
|
|
"first": "/api/compliance/v2/security_guides/d421aa97-9fdd-4d6d-8460-306c3687b7ff/value_definitions?limit=10&offset=0",
|
|
"last": "/api/compliance/v2/security_guides/d421aa97-9fdd-4d6d-8460-306c3687b7ff/value_definitions?limit=10&offset=20",
|
|
"next": "/api/compliance/v2/security_guides/d421aa97-9fdd-4d6d-8460-306c3687b7ff/value_definitions?limit=10&offset=10"
|
|
}
|
|
},
|
|
"summary": "",
|
|
"description": ""
|
|
},
|
|
"List of Value Definitions sorted by \"title:asc\"": {
|
|
"value": {
|
|
"data": [
|
|
{
|
|
"id": "8aeaa9d0-4084-48d5-819c-6efe22e2c9de",
|
|
"ref_id": "foo_value_27f82de8-3716-4377-a7eb-3e3a44277cc6",
|
|
"title": "Ab voluptatem ut perferendis.",
|
|
"description": "Voluptatem doloribus iusto. Accusamus qui animi. Sint ullam illo.",
|
|
"value_type": "number",
|
|
"default_value": "0.8819595002654748",
|
|
"type": "value_definition"
|
|
},
|
|
{
|
|
"id": "6ad79b84-c7d4-46e6-8e72-d75161f4dbdd",
|
|
"ref_id": "foo_value_27954e7a-14f8-4774-92b9-b56072e41776",
|
|
"title": "Accusamus rem magnam ipsam.",
|
|
"description": "Suscipit et quam. Dolores corrupti molestiae. Sit ut quibusdam.",
|
|
"value_type": "number",
|
|
"default_value": "0.9269477442474207",
|
|
"type": "value_definition"
|
|
},
|
|
{
|
|
"id": "c66ec61e-820d-457b-875f-63b6bdb75cf8",
|
|
"ref_id": "foo_value_4e04282c-557e-4f52-a409-2d2fa5279b54",
|
|
"title": "At aut voluptatem enim.",
|
|
"description": "Possimus repellendus sit. Velit voluptas nam. Accusantium qui nesciunt.",
|
|
"value_type": "number",
|
|
"default_value": "0.9920069681256637",
|
|
"type": "value_definition"
|
|
},
|
|
{
|
|
"id": "71bbac7c-8d67-4f94-b908-15db6d8b6ccd",
|
|
"ref_id": "foo_value_e1276e5d-4236-494b-a94e-7f85e6a6471e",
|
|
"title": "Eius dolorum rerum exercitationem.",
|
|
"description": "Officia nesciunt ea. Nulla qui dolor. Minima sunt eveniet.",
|
|
"value_type": "number",
|
|
"default_value": "0.9511545695172501",
|
|
"type": "value_definition"
|
|
},
|
|
{
|
|
"id": "82172fb0-c82c-4829-a6ab-3c3ba095bce4",
|
|
"ref_id": "foo_value_5253e5f6-0206-41bf-8120-a7b92e59fef7",
|
|
"title": "Eius id eligendi quas.",
|
|
"description": "Et ad dolores. Sunt voluptatem laborum. Rem quod voluptatem.",
|
|
"value_type": "number",
|
|
"default_value": "0.30461875902423385",
|
|
"type": "value_definition"
|
|
},
|
|
{
|
|
"id": "bbc31eb0-35f4-427f-a6f4-97ed6de394dd",
|
|
"ref_id": "foo_value_87246c6e-453c-40fa-be5b-de3796f7bd6c",
|
|
"title": "Eos eius libero sed.",
|
|
"description": "Animi deserunt aut. Quia dignissimos ut. Et accusantium adipisci.",
|
|
"value_type": "number",
|
|
"default_value": "0.1307142609711277",
|
|
"type": "value_definition"
|
|
},
|
|
{
|
|
"id": "4709b899-db03-47e0-8096-b56b2e8c77f9",
|
|
"ref_id": "foo_value_b793fe52-e919-48c0-89bb-cee74eb5aa56",
|
|
"title": "Et sed rerum velit.",
|
|
"description": "Et unde quia. Deserunt eligendi recusandae. Ut nulla cupiditate.",
|
|
"value_type": "number",
|
|
"default_value": "0.7565419560442984",
|
|
"type": "value_definition"
|
|
},
|
|
{
|
|
"id": "25ac692a-e205-4c2a-8b4f-43a3cd239ccd",
|
|
"ref_id": "foo_value_6daf1bb2-e060-4167-93c1-fa243330ff22",
|
|
"title": "Eum in molestias rem.",
|
|
"description": "Suscipit officiis inventore. Dolore nulla non. Hic velit illo.",
|
|
"value_type": "number",
|
|
"default_value": "0.20230793657989687",
|
|
"type": "value_definition"
|
|
},
|
|
{
|
|
"id": "f04daaa5-11b4-42ed-8829-9ea4f76ec29a",
|
|
"ref_id": "foo_value_e2e7cadf-320c-4ea0-9e24-f06f3a1808df",
|
|
"title": "Ipsa cumque nemo hic.",
|
|
"description": "Aliquam fugit soluta. Autem tempore dolor. Et laborum vitae.",
|
|
"value_type": "number",
|
|
"default_value": "0.34187051862762585",
|
|
"type": "value_definition"
|
|
},
|
|
{
|
|
"id": "2159b91f-44d6-418c-8481-3f283f8183e1",
|
|
"ref_id": "foo_value_e7469394-021f-4e3c-99a1-b57e9d41f657",
|
|
"title": "Magnam optio officia nesciunt.",
|
|
"description": "Est id dolor. Voluptate aliquam qui. Necessitatibus neque dolores.",
|
|
"value_type": "number",
|
|
"default_value": "0.765559803308152",
|
|
"type": "value_definition"
|
|
}
|
|
],
|
|
"meta": {
|
|
"total": 25,
|
|
"limit": 10,
|
|
"offset": 0,
|
|
"sort_by": "title"
|
|
},
|
|
"links": {
|
|
"first": "/api/compliance/v2/security_guides/2b075e63-963e-4616-8508-708c4376b753/value_definitions?limit=10&offset=0&sort_by=title",
|
|
"last": "/api/compliance/v2/security_guides/2b075e63-963e-4616-8508-708c4376b753/value_definitions?limit=10&offset=20&sort_by=title",
|
|
"next": "/api/compliance/v2/security_guides/2b075e63-963e-4616-8508-708c4376b753/value_definitions?limit=10&offset=10&sort_by=title"
|
|
}
|
|
},
|
|
"summary": "",
|
|
"description": ""
|
|
},
|
|
"List of Value Definitions filtered by '(title=Tempore deleniti quam nihil.)'": {
|
|
"value": {
|
|
"data": [
|
|
{
|
|
"id": "0732b5ee-2e9d-4568-92e2-ef21419d5e90",
|
|
"ref_id": "foo_value_4399e0b0-aa1b-4512-8105-469cea704185",
|
|
"title": "Tempore deleniti quam nihil.",
|
|
"description": "Eveniet non omnis. Nisi at totam. Vel deleniti doloremque.",
|
|
"value_type": "number",
|
|
"default_value": "0.752031804517296",
|
|
"type": "value_definition"
|
|
}
|
|
],
|
|
"meta": {
|
|
"total": 1,
|
|
"filter": "(title=\"Tempore deleniti quam nihil.\")",
|
|
"limit": 10,
|
|
"offset": 0
|
|
},
|
|
"links": {
|
|
"first": "/api/compliance/v2/security_guides/245a5050-81c9-4dac-82f3-ec0002f4001a/value_definitions?filter=%28title%3D%22Tempore+deleniti+quam+nihil.%22%29&limit=10&offset=0",
|
|
"last": "/api/compliance/v2/security_guides/245a5050-81c9-4dac-82f3-ec0002f4001a/value_definitions?filter=%28title%3D%22Tempore+deleniti+quam+nihil.%22%29&limit=10&offset=0"
|
|
}
|
|
},
|
|
"summary": "",
|
|
"description": ""
|
|
}
|
|
},
|
|
"schema": {
|
|
"type": "object",
|
|
"properties": {
|
|
"meta": {
|
|
"$ref": "#/components/schemas/metadata"
|
|
},
|
|
"links": {
|
|
"$ref": "#/components/schemas/links"
|
|
},
|
|
"data": {
|
|
"type": "array",
|
|
"items": {
|
|
"properties": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/value_definition"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"422": {
|
|
"description": "Returns with Unprocessable Content",
|
|
"content": {
|
|
"application/vnd.api+json": {
|
|
"examples": {
|
|
"Description of an error when sorting by incorrect parameter": {
|
|
"value": {
|
|
"errors": [
|
|
"Result cannot be sorted by the 'description' column."
|
|
]
|
|
},
|
|
"summary": "",
|
|
"description": ""
|
|
},
|
|
"Description of an error when requesting higher limit than supported": {
|
|
"value": {
|
|
"errors": [
|
|
"Invalid parameter: limit must be less than or equal to 100"
|
|
]
|
|
},
|
|
"summary": "",
|
|
"description": ""
|
|
}
|
|
},
|
|
"schema": {
|
|
"$ref": "#/components/schemas/errors"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"/security_guides/{security_guide_id}/value_definitions/{value_definition_id}": {
|
|
"get": {
|
|
"summary": "Request a Value Definition",
|
|
"parameters": [
|
|
{
|
|
"name": "X-RH-IDENTITY",
|
|
"in": "header",
|
|
"schema": {
|
|
"type": "string"
|
|
},
|
|
"description": "For internal use only"
|
|
},
|
|
{
|
|
"name": "security_guide_id",
|
|
"in": "path",
|
|
"required": true,
|
|
"schema": {
|
|
"type": "string"
|
|
}
|
|
},
|
|
{
|
|
"name": "value_definition_id",
|
|
"in": "path",
|
|
"required": true,
|
|
"schema": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
],
|
|
"tags": [
|
|
"Content"
|
|
],
|
|
"description": "Returns a Value Definition",
|
|
"operationId": "ValueDefinition",
|
|
"responses": {
|
|
"200": {
|
|
"description": "Returns a Value Definition",
|
|
"content": {
|
|
"application/vnd.api+json": {
|
|
"examples": {
|
|
"Returns a Value Definition": {
|
|
"value": {
|
|
"data": {
|
|
"id": "d9b5c283-cc19-4364-a408-1fb2861a64e2",
|
|
"ref_id": "foo_value_454751a5-2528-4ec8-8583-f2cdd3824047",
|
|
"title": "Vero voluptas sit dicta.",
|
|
"description": "Dolore ut et. Eligendi impedit aut. Debitis impedit saepe.",
|
|
"value_type": "number",
|
|
"default_value": "0.06462112174149437",
|
|
"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 c8d28e0e-53ec-4655-b089-b041e8bea993"
|
|
]
|
|
},
|
|
"summary": "",
|
|
"description": ""
|
|
}
|
|
},
|
|
"schema": {
|
|
"$ref": "#/components/schemas/errors"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"components": {
|
|
"schemas": {
|
|
"errors": {
|
|
"type": "object",
|
|
"required": [
|
|
"errors"
|
|
],
|
|
"properties": {
|
|
"errors": {
|
|
"type": "array",
|
|
"items": {
|
|
"type": "string",
|
|
"examples": [
|
|
"V2::SecurityGuide not found with ID a4708198-9d00-4035-bf57-1e7aaad217c5"
|
|
]
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"id": {
|
|
"type": "string",
|
|
"format": "uuid",
|
|
"readOnly": true
|
|
},
|
|
"links": {
|
|
"type": "object",
|
|
"properties": {
|
|
"first": {
|
|
"type": "string",
|
|
"format": "uri",
|
|
"readOnly": true,
|
|
"description": "Link to first page"
|
|
},
|
|
"last": {
|
|
"type": "string",
|
|
"format": "uri",
|
|
"readOnly": true,
|
|
"description": "Link to last page"
|
|
},
|
|
"previous": {
|
|
"type": "string",
|
|
"format": "uri",
|
|
"readOnly": true,
|
|
"description": "Link to previous page"
|
|
},
|
|
"next": {
|
|
"type": "string",
|
|
"format": "uri",
|
|
"readOnly": true,
|
|
"description": "Link to next page"
|
|
}
|
|
}
|
|
},
|
|
"metadata": {
|
|
"type": "object",
|
|
"properties": {
|
|
"total": {
|
|
"type": "number",
|
|
"examples": [
|
|
1,
|
|
42,
|
|
770
|
|
],
|
|
"readOnly": true,
|
|
"description": "Total number of items"
|
|
},
|
|
"limit": {
|
|
"type": "number",
|
|
"maximum": 100,
|
|
"minimum": 1,
|
|
"default": 10,
|
|
"examples": [
|
|
10,
|
|
100
|
|
],
|
|
"readOnly": true,
|
|
"description": "Number of items returned per page"
|
|
},
|
|
"offset": {
|
|
"type": "number",
|
|
"minimum": 0,
|
|
"default": 0,
|
|
"examples": [
|
|
15,
|
|
90
|
|
],
|
|
"readOnly": true,
|
|
"description": "Offset of the first item of paginated response"
|
|
},
|
|
"sort_by": {
|
|
"type": "string",
|
|
"examples": [
|
|
"version:asc"
|
|
],
|
|
"description": "Attribute and direction the items are sorted by"
|
|
},
|
|
"filter": {
|
|
"type": "string",
|
|
"default": "",
|
|
"examples": [
|
|
"title='Standard System Security Profile for Fedora'"
|
|
],
|
|
"description": "Query string used to filter items by their attributes"
|
|
}
|
|
}
|
|
},
|
|
"policy": {
|
|
"type": "object",
|
|
"required": [
|
|
"compliance_threshold",
|
|
"profile_id"
|
|
],
|
|
"properties": {
|
|
"id": {
|
|
"$ref": "#/components/schemas/id"
|
|
},
|
|
"type": {
|
|
"type": "string",
|
|
"enum": [
|
|
"policy"
|
|
],
|
|
"readOnly": true
|
|
},
|
|
"title": {
|
|
"type": "string",
|
|
"examples": [
|
|
"CIS Red Hat Enterprise Linux 7 Benchmark"
|
|
],
|
|
"description": "Short title of the Policy"
|
|
},
|
|
"description": {
|
|
"type": "string",
|
|
"examples": [
|
|
"This profile defines a baseline that aligns to the Center for Internet Security®Red Hat Enterprise Linux 7 Benchmark™, v2.2.0, released 12-27-2017."
|
|
],
|
|
"description": "Longer description of the Policy"
|
|
},
|
|
"business_objective": {
|
|
"type": "string",
|
|
"examples": [
|
|
"Guide to the Secure Configuration of Red Hat Enterprise Linux 7"
|
|
],
|
|
"description": "The Business Objective associated to the Policy"
|
|
},
|
|
"compliance_threshold": {
|
|
"type": "number",
|
|
"examples": [
|
|
90
|
|
],
|
|
"maximum": 100,
|
|
"minimum": 0,
|
|
"description": "The percentage above which the Policy meets compliance requirements"
|
|
},
|
|
"profile_id": {
|
|
"type": "string",
|
|
"format": "uuid",
|
|
"writeOnly": true,
|
|
"examples": [
|
|
"9c4bccad-eb1f-473f-bd3d-2de6e125f725"
|
|
],
|
|
"description": "Identifier of the underlying Profile"
|
|
},
|
|
"os_major_version": {
|
|
"type": "number",
|
|
"minimum": 6,
|
|
"examples": [
|
|
7
|
|
],
|
|
"description": "Major version of the Operating System that the Policy covers",
|
|
"readOnly": true
|
|
},
|
|
"ref_id": {
|
|
"type": "string",
|
|
"examples": [
|
|
"xccdf_org.ssgproject.content_profile_pci-dss"
|
|
],
|
|
"description": "Identificator of the Profile",
|
|
"readOnly": true
|
|
},
|
|
"profile_title": {
|
|
"type": "string",
|
|
"examples": [
|
|
"CIS Red Hat Enterprise Linux 7 Benchmark"
|
|
],
|
|
"description": "Title of the associated Policy",
|
|
"readOnly": true
|
|
},
|
|
"total_system_count": {
|
|
"type": "number",
|
|
"minium": 0,
|
|
"examples": [
|
|
3
|
|
],
|
|
"description": "The number of Systems assigned to this Policy",
|
|
"readOnly": true
|
|
}
|
|
}
|
|
},
|
|
"policy_update": {
|
|
"type": "object",
|
|
"properties": {
|
|
"description": {
|
|
"type": "string",
|
|
"examples": [
|
|
"This profile defines a baseline that aligns to the Center for Internet Security®Red Hat Enterprise Linux 7 Benchmark™, v2.2.0, released 12-27-2017."
|
|
],
|
|
"description": "Longer description of the Policy"
|
|
},
|
|
"business_objective": {
|
|
"type": "string",
|
|
"examples": [
|
|
"Guide to the Secure Configuration of Red Hat Enterprise Linux 7"
|
|
],
|
|
"description": "The Business Objective associated to the Policy"
|
|
},
|
|
"compliance_threshold": {
|
|
"type": "number",
|
|
"examples": [
|
|
90
|
|
],
|
|
"maximum": 100,
|
|
"minimum": 0,
|
|
"description": "The percentage above which the Policy meets compliance requirements"
|
|
}
|
|
}
|
|
},
|
|
"profile": {
|
|
"type": "object",
|
|
"properties": {
|
|
"id": {
|
|
"$ref": "#/components/schemas/id"
|
|
},
|
|
"type": {
|
|
"type": "string",
|
|
"readOnly": true,
|
|
"enum": [
|
|
"profile"
|
|
]
|
|
},
|
|
"ref_id": {
|
|
"type": "string",
|
|
"examples": [
|
|
"xccdf_org.ssgproject.content_profile_pci-dss"
|
|
],
|
|
"readOnly": true,
|
|
"description": "Identificator of the Profile"
|
|
},
|
|
"title": {
|
|
"type": "string",
|
|
"examples": [
|
|
"CIS Red Hat Enterprise Linux 7 Benchmark"
|
|
],
|
|
"readOnly": true,
|
|
"description": "Short title of the Profile"
|
|
},
|
|
"description": {
|
|
"type": "string",
|
|
"examples": [
|
|
"This profile defines a baseline that aligns to the Center for Internet Security®Red Hat Enterprise Linux 7 Benchmark™, v2.2.0, released 12-27-2017."
|
|
],
|
|
"readOnly": true,
|
|
"description": "Longer description of the Profile"
|
|
},
|
|
"value_overrides": {
|
|
"type": "object",
|
|
"readOnly": true,
|
|
"description": "Pair of keys and values for Value Definition customizations"
|
|
}
|
|
}
|
|
},
|
|
"report": {
|
|
"type": "object",
|
|
"properties": {
|
|
"id": {
|
|
"$ref": "#/components/schemas/id"
|
|
},
|
|
"type": {
|
|
"type": "string",
|
|
"enum": [
|
|
"report"
|
|
],
|
|
"readOnly": true
|
|
},
|
|
"title": {
|
|
"type": "string",
|
|
"examples": [
|
|
"CIS Red Hat Enterprise Linux 7 Benchmark"
|
|
],
|
|
"description": "Short title of the Report",
|
|
"readOnly": true
|
|
},
|
|
"business_objective": {
|
|
"type": "string",
|
|
"examples": [
|
|
"Guide to the Secure Configuration of Red Hat Enterprise Linux 7"
|
|
],
|
|
"description": "The Business Objective associated to the Policy",
|
|
"readOnly": true
|
|
},
|
|
"compliance_threshold": {
|
|
"type": "number",
|
|
"examples": [
|
|
90
|
|
],
|
|
"maximum": 100,
|
|
"minimum": 0,
|
|
"description": "The percentage above which the Policy meets compliance requirements",
|
|
"readOnly": true
|
|
},
|
|
"os_major_version": {
|
|
"type": "number",
|
|
"minimum": 6,
|
|
"examples": [
|
|
7
|
|
],
|
|
"description": "Major version of the Operating System that the Report covers",
|
|
"readOnly": true
|
|
},
|
|
"ref_id": {
|
|
"type": "string",
|
|
"examples": [
|
|
"xccdf_org.ssgproject.content_profile_pci-dss"
|
|
],
|
|
"description": "Identificator of the Profile",
|
|
"readOnly": true
|
|
},
|
|
"profile_title": {
|
|
"type": "string",
|
|
"examples": [
|
|
"CIS Red Hat Enterprise Linux 7 Benchmark"
|
|
],
|
|
"description": "Title of the associated Profile",
|
|
"readOnly": true
|
|
},
|
|
"percent_compliant": {
|
|
"type": "number",
|
|
"minimum": 0,
|
|
"maximum": 100,
|
|
"examples": [
|
|
68
|
|
],
|
|
"description": "Describes percentage of compliant systems",
|
|
"readOnly": true
|
|
},
|
|
"assigned_system_count": {
|
|
"type": "number",
|
|
"minium": 1,
|
|
"examples": [
|
|
42
|
|
],
|
|
"description": "The number of Systems assigned to this Report. Not visible under the Systems endpoint.",
|
|
"readOnly": true
|
|
},
|
|
"compliant_system_count": {
|
|
"type": "number",
|
|
"minium": 0,
|
|
"examples": [
|
|
21
|
|
],
|
|
"description": "The number of compliant Systems in this Report. Inconsistent under the Systems endpoint.",
|
|
"readOnly": true
|
|
},
|
|
"all_systems_exposed": {
|
|
"type": "boolean",
|
|
"description": "Informs if the user has access to all the Systems under the Report. \\\n Inconsistent under the Systems endpoint.",
|
|
"examples": [
|
|
false
|
|
],
|
|
"readOnly": true
|
|
},
|
|
"unsupported_system_count": {
|
|
"type": "number",
|
|
"minium": 0,
|
|
"examples": [
|
|
3
|
|
],
|
|
"description": "The number of unsupported Systems in this Report. \\\n Inconsistent under the Systems endpoint.",
|
|
"readOnly": true
|
|
},
|
|
"reported_system_count": {
|
|
"type": "number",
|
|
"minium": 0,
|
|
"examples": [
|
|
3
|
|
],
|
|
"description": "The number of Systems in this Report that have Test Results available. \\\n Inconsistent under the Systems endpoint.",
|
|
"readOnly": true
|
|
}
|
|
}
|
|
},
|
|
"report_stats": {
|
|
"type": "array",
|
|
"items": {
|
|
"type": "object",
|
|
"properties": {
|
|
"title": {
|
|
"type": "string",
|
|
"examples": [
|
|
"Remove tftp"
|
|
],
|
|
"readOnly": true,
|
|
"description": "Short title of the Rule"
|
|
},
|
|
"ref_id": {
|
|
"type": "string",
|
|
"examples": [
|
|
"xccdf_org.ssgproject.content_rule_package_tftp_removed"
|
|
],
|
|
"readOnly": true,
|
|
"description": "Identificator of the Rule"
|
|
},
|
|
"identifier": {
|
|
"type": "object",
|
|
"readOnly": true,
|
|
"description": "Identifier of the Rule",
|
|
"properties": {
|
|
"label": {
|
|
"type": "string",
|
|
"readOnly": true,
|
|
"examples": [
|
|
"CCE-80798-2"
|
|
]
|
|
},
|
|
"system": {
|
|
"type": "string",
|
|
"readOnly": true,
|
|
"examples": [
|
|
"https://nvd.nist.gov/cce/index.cfm"
|
|
]
|
|
}
|
|
},
|
|
"examples": [
|
|
"CEE-1234-123"
|
|
]
|
|
},
|
|
"severity": {
|
|
"type": "string",
|
|
"examples": [
|
|
"low"
|
|
],
|
|
"readOnly": true,
|
|
"description": "The severity of the Rule"
|
|
},
|
|
"count": {
|
|
"type": "integer",
|
|
"examples": [
|
|
102
|
|
],
|
|
"readOnly": true,
|
|
"description": "Number of failures"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"rule": {
|
|
"type": "object",
|
|
"properties": {
|
|
"id": {
|
|
"$ref": "#/components/schemas/id"
|
|
},
|
|
"type": {
|
|
"type": "string",
|
|
"readOnly": true,
|
|
"enum": [
|
|
"rule"
|
|
]
|
|
},
|
|
"ref_id": {
|
|
"type": "string",
|
|
"examples": [
|
|
"xccdf_org.ssgproject.content_rule_package_tftp_removed"
|
|
],
|
|
"readOnly": true,
|
|
"description": "Identificator of the Rule"
|
|
},
|
|
"title": {
|
|
"type": "string",
|
|
"examples": [
|
|
"Remove tftp"
|
|
],
|
|
"readOnly": true,
|
|
"description": "Short title of the Rule"
|
|
},
|
|
"rationale": {
|
|
"type": "string",
|
|
"examples": [
|
|
"It is recommended that TFTP be remvoed, unless there is a specific need for TFTP (such as a boot server). In that case, use extreme caution when configuring the services."
|
|
],
|
|
"readOnly": true,
|
|
"description": "Rationale of the Rule"
|
|
},
|
|
"description": {
|
|
"type": "string",
|
|
"examples": [
|
|
"Trivial File Transfer Protocol (TFTP) is a simple file transfer protocol, typically used to automatically transfer configuration or boot files between machines. TFTP does not support authentication and can be easily hacked. The package tftp is a client program that allows for connections to a tftp server."
|
|
],
|
|
"readOnly": true,
|
|
"description": "Longer description of the Rule"
|
|
},
|
|
"precedence": {
|
|
"type": "integer",
|
|
"examples": [
|
|
3
|
|
],
|
|
"readOnly": true,
|
|
"description": "The original sorting precedence of the Rule in the Security Guide"
|
|
},
|
|
"severity": {
|
|
"type": "string",
|
|
"examples": [
|
|
"low"
|
|
],
|
|
"readOnly": true,
|
|
"description": "The severity of the Rule"
|
|
},
|
|
"identifier": {
|
|
"type": "object",
|
|
"readOnly": true,
|
|
"description": "Identifier of the Rule",
|
|
"properties": {
|
|
"label": {
|
|
"type": "string",
|
|
"readOnly": true,
|
|
"examples": [
|
|
"CCE-80798-2"
|
|
]
|
|
},
|
|
"system": {
|
|
"type": "string",
|
|
"readOnly": true,
|
|
"examples": [
|
|
"https://nvd.nist.gov/cce/index.cfm"
|
|
]
|
|
}
|
|
},
|
|
"examples": [
|
|
"CEE-1234-123"
|
|
]
|
|
},
|
|
"references": {
|
|
"type": "array",
|
|
"items": {
|
|
"type": "object",
|
|
"readOnly": true,
|
|
"description": "List of Tags assigned to the System",
|
|
"properties": {
|
|
"label": {
|
|
"type": "string",
|
|
"readOnly": true,
|
|
"examples": [
|
|
"APO01.06"
|
|
]
|
|
},
|
|
"href": {
|
|
"type": "string",
|
|
"readOnly": true,
|
|
"examples": [
|
|
"https://www.isaca.org/resources/cobit"
|
|
]
|
|
}
|
|
}
|
|
},
|
|
"readOnly": true,
|
|
"description": "Array of the Rule References"
|
|
},
|
|
"remediation_available": {
|
|
"type": "boolean",
|
|
"examples": [
|
|
true,
|
|
false
|
|
],
|
|
"readOnly": true,
|
|
"description": "Whether or not a remediation is available for the given rule."
|
|
},
|
|
"remediation_issue_id": {
|
|
"type": [
|
|
"string",
|
|
"null"
|
|
],
|
|
"examples": [
|
|
"ssg:rhel6|rht-ccp|xccdf_org.ssgproject.content_rule_sshd_disable_rhosts"
|
|
],
|
|
"readOnly": true,
|
|
"description": "The idenfitier of the remediation associated to this rule, only available under profiles."
|
|
}
|
|
}
|
|
},
|
|
"rule_group": {
|
|
"type": "object",
|
|
"properties": {
|
|
"id": {
|
|
"$ref": "#/components/schemas/id"
|
|
},
|
|
"type": {
|
|
"type": "string",
|
|
"readOnly": true,
|
|
"enum": [
|
|
"rule_group"
|
|
]
|
|
},
|
|
"ref_id": {
|
|
"type": "string",
|
|
"examples": [
|
|
"xccdf_org.ssgproject.content_group_locking_out_password_attempts"
|
|
],
|
|
"readOnly": true,
|
|
"description": "Identificator of the Rule Group"
|
|
},
|
|
"title": {
|
|
"type": "string",
|
|
"examples": [
|
|
"Set Lockouts for Failed Password Attempt"
|
|
],
|
|
"readOnly": true,
|
|
"description": "Short title of the Rule Group"
|
|
},
|
|
"rationale": {
|
|
"type": "string",
|
|
"examples": [
|
|
"By limiting the number of failed logon attempts, the risk of unauthorized system access via user password guessing, otherwise known as brute-forcing, is reduced. Limits are imposed by locking the account."
|
|
],
|
|
"readOnly": true,
|
|
"description": "Rationale of the Rule Group"
|
|
},
|
|
"description": {
|
|
"type": "string",
|
|
"examples": [
|
|
"The pam_faillock PAM module provides the capability to lock out user accounts after a number of failed login attempts. Its documentation is available in /usr/share/doc/pam-VERSION/txts/README.pam_faillock."
|
|
],
|
|
"readOnly": true,
|
|
"description": "Longer description of the Rule Group"
|
|
},
|
|
"precedence": {
|
|
"type": "integer",
|
|
"examples": [
|
|
3
|
|
],
|
|
"readOnly": true,
|
|
"description": "The original sorting precedence of the Rule Group in the Security Guide"
|
|
}
|
|
}
|
|
},
|
|
"rule_result": {
|
|
"type": "object",
|
|
"properties": {
|
|
"id": {
|
|
"$ref": "#/components/schemas/id"
|
|
},
|
|
"type": {
|
|
"type": "string",
|
|
"readOnly": true,
|
|
"enum": [
|
|
"rule"
|
|
]
|
|
},
|
|
"result": {
|
|
"type": "string",
|
|
"enum": [
|
|
"pass",
|
|
"fail",
|
|
"error",
|
|
"unknown",
|
|
"fixed",
|
|
"notapplicable",
|
|
"notchecked",
|
|
"informational",
|
|
"notselected"
|
|
],
|
|
"readOnly": true,
|
|
"description": "Status of the Rule Result"
|
|
},
|
|
"rule_id": {
|
|
"type": "string",
|
|
"format": "uuid",
|
|
"examples": [
|
|
"ac0475d7-043c-439b-abef-606f02531e10"
|
|
],
|
|
"readOnly": true,
|
|
"description": "UUID of the affected Rule"
|
|
},
|
|
"system_id": {
|
|
"type": "string",
|
|
"format": "uuid",
|
|
"examples": [
|
|
"e6ba5c79-48af-4899-bb1d-964116b58c7a"
|
|
],
|
|
"readOnly": true,
|
|
"description": "UUID of the affected System"
|
|
},
|
|
"ref_id": {
|
|
"type": "string",
|
|
"examples": [
|
|
"xccdf_org.ssgproject.content_rule_package_tftp_removed"
|
|
],
|
|
"readOnly": true,
|
|
"description": "Identificator of the Rule"
|
|
},
|
|
"title": {
|
|
"type": "string",
|
|
"examples": [
|
|
"Remove tftp"
|
|
],
|
|
"readOnly": true,
|
|
"description": "Short title of the Rule"
|
|
},
|
|
"rationale": {
|
|
"type": "string",
|
|
"examples": [
|
|
"It is recommended that TFTP be remvoed, unless there is a specific need for TFTP (such as a boot server). In that case, use extreme caution when configuring the services."
|
|
],
|
|
"readOnly": true,
|
|
"description": "Rationale of the Rule"
|
|
},
|
|
"description": {
|
|
"type": "string",
|
|
"examples": [
|
|
"Trivial File Transfer Protocol (TFTP) is a simple file transfer protocol, typically used to automatically transfer configuration or boot files between machines. TFTP does not support authentication and can be easily hacked. The package tftp is a client program that allows for connections to a tftp server."
|
|
],
|
|
"readOnly": true,
|
|
"description": "Longer description of the Rule"
|
|
},
|
|
"precedence": {
|
|
"type": "integer",
|
|
"examples": [
|
|
3
|
|
],
|
|
"readOnly": true,
|
|
"description": "The original sorting precedence of the Rule in the Security Guide"
|
|
},
|
|
"severity": {
|
|
"type": "string",
|
|
"examples": [
|
|
"low"
|
|
],
|
|
"readOnly": true,
|
|
"description": "The severity of the Rule"
|
|
},
|
|
"remediation_issue_id": {
|
|
"type": [
|
|
"string",
|
|
"null"
|
|
],
|
|
"examples": [
|
|
"ssg:rhel6|rht-ccp|xccdf_org.ssgproject.content_rule_sshd_disable_rhosts"
|
|
],
|
|
"readOnly": true,
|
|
"description": "The idenfitier of the remediation associated to this rule, only available under profiles."
|
|
}
|
|
}
|
|
},
|
|
"rule_tree": {
|
|
"type": "array",
|
|
"items": {
|
|
"oneOf": [
|
|
{
|
|
"type": "object",
|
|
"properties": {
|
|
"id": {
|
|
"$ref": "#/components/schemas/id"
|
|
},
|
|
"type": {
|
|
"type": "string",
|
|
"enum": [
|
|
"rule_group"
|
|
]
|
|
},
|
|
"children": {
|
|
"$ref": "#/components/schemas/rule_tree"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": "object",
|
|
"properties": {
|
|
"id": {
|
|
"$ref": "#/components/schemas/id"
|
|
},
|
|
"type": {
|
|
"type": "string",
|
|
"enum": [
|
|
"rule"
|
|
]
|
|
}
|
|
}
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"security_guide": {
|
|
"type": "object",
|
|
"properties": {
|
|
"id": {
|
|
"$ref": "#/components/schemas/id"
|
|
},
|
|
"type": {
|
|
"type": "string",
|
|
"readOnly": true,
|
|
"enum": [
|
|
"security_guide"
|
|
]
|
|
},
|
|
"ref_id": {
|
|
"type": "string",
|
|
"examples": [
|
|
"xccdf_org.ssgproject.content_benchmark_RHEL-7"
|
|
],
|
|
"readOnly": true,
|
|
"description": "Identificator of the Security Guide"
|
|
},
|
|
"title": {
|
|
"type": "string",
|
|
"examples": [
|
|
"Guide to the Secure Configuration of Red Hat Enterprise Linux 7"
|
|
],
|
|
"readOnly": true,
|
|
"description": "Short title of the Security Guide"
|
|
},
|
|
"version": {
|
|
"type": "string",
|
|
"examples": [
|
|
"0.1.46"
|
|
],
|
|
"readOnly": true,
|
|
"description": "Version of the Security Guide"
|
|
},
|
|
"description": {
|
|
"type": "string",
|
|
"examples": [
|
|
"This guide presents a catalog of security-relevant configuration settings for Red Hat Enterprise Linux 7."
|
|
],
|
|
"readOnly": true,
|
|
"description": "Longer description of the Security Guide"
|
|
},
|
|
"os_major_version": {
|
|
"type": "number",
|
|
"minimum": 6,
|
|
"examples": [
|
|
7
|
|
],
|
|
"readOnly": true,
|
|
"description": "Major version of the Operating System that the Security Guide covers"
|
|
}
|
|
}
|
|
},
|
|
"supported_profile": {
|
|
"type": "object",
|
|
"properties": {
|
|
"id": {
|
|
"$ref": "#/components/schemas/id"
|
|
},
|
|
"type": {
|
|
"type": "string",
|
|
"readOnly": true,
|
|
"enum": [
|
|
"supported_profile"
|
|
]
|
|
},
|
|
"ref_id": {
|
|
"type": "string",
|
|
"examples": [
|
|
"xccdf_org.ssgproject.content_profile_cis"
|
|
],
|
|
"readOnly": true,
|
|
"description": "Identificator of the latest supported Profile"
|
|
},
|
|
"title": {
|
|
"type": "string",
|
|
"examples": [
|
|
"CIS Red Hat Enterprise Linux 7 Benchmark"
|
|
],
|
|
"readOnly": true,
|
|
"description": "Short title of the Profile"
|
|
},
|
|
"description": {
|
|
"type": "string",
|
|
"examples": [
|
|
"This profile defines a baseline that aligns to the Center for Internet Security®Red Hat Enterprise Linux 7 Benchmark™, v2.2.0, released 12-27-2017."
|
|
],
|
|
"readOnly": true,
|
|
"description": "Longer description of the Profile"
|
|
},
|
|
"security_guide_id": {
|
|
"type": "string",
|
|
"format": "uuid",
|
|
"examples": [
|
|
"e6ba5c79-48af-4899-bb1d-964116b58c7a"
|
|
],
|
|
"readOnly": true,
|
|
"description": "UUID of the latest Security Guide supporting this Profile"
|
|
},
|
|
"security_guide_version": {
|
|
"type": "string",
|
|
"examples": [
|
|
"0.1.72"
|
|
],
|
|
"readOnly": true,
|
|
"description": "Version of the latest Security Guide supporting this Profile"
|
|
},
|
|
"os_major_version": {
|
|
"type": "number",
|
|
"examples": [
|
|
7
|
|
],
|
|
"readOnly": true,
|
|
"description": "Major version of the Operating System that the Profile covers"
|
|
},
|
|
"os_minor_versions": {
|
|
"type": "array",
|
|
"items": {
|
|
"type": "number",
|
|
"examples": [
|
|
1
|
|
]
|
|
},
|
|
"readOnly": true,
|
|
"description": "List of the supported Operating System minor versions that the Profile covers"
|
|
}
|
|
}
|
|
},
|
|
"system": {
|
|
"type": "object",
|
|
"properties": {
|
|
"id": {
|
|
"$ref": "#/components/schemas/id"
|
|
},
|
|
"type": {
|
|
"type": "string",
|
|
"enum": [
|
|
"system"
|
|
],
|
|
"readOnly": true
|
|
},
|
|
"display_name": {
|
|
"type": "string",
|
|
"readOnly": true,
|
|
"examples": [
|
|
"localhost"
|
|
],
|
|
"description": "Display Name of the System"
|
|
},
|
|
"groups": {
|
|
"type": "array",
|
|
"readOnly": true,
|
|
"items": {
|
|
"type": "object",
|
|
"description": "List of Inventory Groups the System belongs to",
|
|
"properties": {
|
|
"id": {
|
|
"$ref": "#/components/schemas/id"
|
|
},
|
|
"name": {
|
|
"type": "string",
|
|
"readOnly": true,
|
|
"examples": [
|
|
"production"
|
|
]
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"culled_timestamp": {
|
|
"type": "string",
|
|
"readOnly": true,
|
|
"examples": [
|
|
"2020-06-04T19:31:55Z"
|
|
]
|
|
},
|
|
"stale_timestamp": {
|
|
"type": "string",
|
|
"readOnly": true,
|
|
"examples": [
|
|
"2020-06-04T19:31:55Z"
|
|
]
|
|
},
|
|
"stale_warning_timestamp": {
|
|
"type": "string",
|
|
"readOnly": true,
|
|
"examples": [
|
|
"2020-06-04T19:31:55Z"
|
|
]
|
|
},
|
|
"updated": {
|
|
"type": "string",
|
|
"readOnly": true,
|
|
"examples": [
|
|
"2020-06-04T19:31:55Z"
|
|
]
|
|
},
|
|
"insights_id": {
|
|
"$ref": "#/components/schemas/id"
|
|
},
|
|
"tags": {
|
|
"type": "array",
|
|
"readOnly": true,
|
|
"items": {
|
|
"type": "object",
|
|
"readOnly": true,
|
|
"description": "List of Tags assigned to the System",
|
|
"properties": {
|
|
"namespace": {
|
|
"type": "string",
|
|
"readOnly": true,
|
|
"examples": [
|
|
"insights"
|
|
]
|
|
},
|
|
"key": {
|
|
"type": "string",
|
|
"readOnly": true,
|
|
"examples": [
|
|
"environment"
|
|
]
|
|
},
|
|
"value": {
|
|
"type": "string",
|
|
"readOnly": true,
|
|
"examples": [
|
|
"production"
|
|
]
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"os_major_version": {
|
|
"type": "number",
|
|
"examples": [
|
|
7
|
|
],
|
|
"readOnly": true,
|
|
"description": "Major version of the Operating System"
|
|
},
|
|
"os_minor_version": {
|
|
"type": "number",
|
|
"examples": [
|
|
1
|
|
],
|
|
"readOnly": true,
|
|
"description": "Minor version of the Operating System"
|
|
},
|
|
"policies": {
|
|
"type": "array",
|
|
"readOnly": true,
|
|
"description": "List of Policies assigned to the System, visible only when not listing Systems under a given Policy",
|
|
"items": {
|
|
"type": "object",
|
|
"readOnly": true,
|
|
"properties": {
|
|
"id": {
|
|
"$ref": "#/components/schemas/id"
|
|
},
|
|
"title": {
|
|
"type": "string",
|
|
"readOnly": true,
|
|
"examples": [
|
|
"CIS Red Hat Enterprise Linux 7 Benchmark"
|
|
],
|
|
"description": "Short title of the Policy"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"tailoring": {
|
|
"type": "object",
|
|
"properties": {
|
|
"id": {
|
|
"$ref": "#/components/schemas/id"
|
|
},
|
|
"type": {
|
|
"type": "string",
|
|
"readOnly": true,
|
|
"enum": [
|
|
"tailoring"
|
|
]
|
|
},
|
|
"profile_id": {
|
|
"type": "string",
|
|
"examples": [
|
|
"cde8be06-74bc-4a2d-9e7f-11d30c5ea588"
|
|
],
|
|
"readOnly": true,
|
|
"description": "Identificator of the Profile from which the Tailoring was cloned"
|
|
},
|
|
"security_guide_id": {
|
|
"type": "string",
|
|
"examples": [
|
|
"8800e1d8-70da-4e62-8cf0-16e8cee784c7"
|
|
],
|
|
"readOnly": true,
|
|
"description": "Identificator of the Security Guide that contains the parent Profile"
|
|
},
|
|
"security_guide_version": {
|
|
"type": "string",
|
|
"examples": [
|
|
"0.1.210"
|
|
],
|
|
"readOnly": true,
|
|
"description": "Version of the Security Guide that contains the parent Profile"
|
|
},
|
|
"os_major_version": {
|
|
"type": "number",
|
|
"examples": [
|
|
7
|
|
],
|
|
"readOnly": true,
|
|
"description": "Major version of the Operating System that the Tailoring covers"
|
|
},
|
|
"os_minor_version": {
|
|
"type": "number",
|
|
"examples": [
|
|
1
|
|
],
|
|
"readOnly": true,
|
|
"description": "Minor version of the Operating System that the Tailoring covers"
|
|
},
|
|
"value_overrides": {
|
|
"type": "object",
|
|
"description": "Pair of keys and values for Value Definition customizations",
|
|
"examples": [
|
|
{
|
|
"af5ad462-0dab-4a0b-834a-2b7d247c655c": "foo",
|
|
"d53ca6e0-6e8d-4186-a5fb-47d0c808047b": "123",
|
|
"53b457e2-7c33-4eee-9abe-d91919aab2bd": "false"
|
|
}
|
|
]
|
|
}
|
|
}
|
|
},
|
|
"tailoring_create": {
|
|
"type": "object",
|
|
"properties": {
|
|
"os_minor_version": {
|
|
"type": "number",
|
|
"examples": [
|
|
1
|
|
],
|
|
"required": true,
|
|
"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"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
} |