Skip to content

Commit

Permalink
Syncing API
Browse files Browse the repository at this point in the history
  • Loading branch information
web-flow authored and github-actions[bot] committed Feb 8, 2025
1 parent f185726 commit d609951
Show file tree
Hide file tree
Showing 2 changed files with 209 additions and 20 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -8220,7 +8220,7 @@
"Purge": {
"properties": {
"finished_before": {
"default": "2024-12-30",
"default": "2025-01-01",
"description": "Purge tasks completed earlier than this timestamp. Format '%Y-%m-%d[T%H:%M:%S]'",
"format": "date-time",
"type": "string"
Expand Down
227 changes: 208 additions & 19 deletions packages/common/config/apis/hcc-insights/insights-advisor/content.json
Original file line number Diff line number Diff line change
Expand Up @@ -145,13 +145,16 @@
"type": "string"
},
"rating": {
"allOf": [
{
"$ref": "#/components/schemas/RatingEnum"
}
"description": "* `-1` - Dislike\n* `0` - Neutral\n* `1` - Like",
"enum": [
-1,
0,
1
],
"maximum": 32767,
"minimum": -32768
"minimum": -32768,
"type": "integer",
"x-spec-enum-id": "77fd471e36283637"
},
"rule": {
"description": "Rule ID from Insights",
Expand Down Expand Up @@ -1184,15 +1187,6 @@
],
"type": "object"
},
"RatingEnum": {
"description": "* `-1` - Dislike\n* `0` - Neutral\n* `1` - Like",
"enum": [
-1,
0,
1
],
"type": "integer"
},
"Report": {
"properties": {
"details": {},
Expand Down Expand Up @@ -1717,13 +1711,16 @@
"description": "Rule ratings list the rating (-1, 0 or +1) for one or more rules. The\nrule is listed by its Insights Rule ID.",
"properties": {
"rating": {
"allOf": [
{
"$ref": "#/components/schemas/RatingEnum"
}
"description": "* `-1` - Dislike\n* `0` - Neutral\n* `1` - Like",
"enum": [
-1,
0,
1
],
"maximum": 32767,
"minimum": -32768
"minimum": -32768,
"type": "integer",
"x-spec-enum-id": "77fd471e36283637"
},
"rule": {
"description": "Rule ID from Insights",
Expand Down Expand Up @@ -6206,6 +6203,54 @@
"get": {
"description": "Show overview statistics for this user\n\nThis gives the number of pathways, and incident, critical and\nimportant recommendations, affecting systems that the user can see.",
"operationId": "stats_overview_retrieve",
"parameters": [
{
"description": "Tags have a namespace, key and value in the form namespace/key=value",
"in": "query",
"name": "tags",
"schema": {
"items": {
"format": "regex",
"type": "string"
},
"type": "array"
},
"style": "form"
},
{
"description": "List of Inventory host group names",
"in": "query",
"name": "groups",
"schema": {
"items": {
"type": "string"
},
"type": "array"
},
"style": "form"
},
{
"description": "Is this a SAP system?",
"in": "query",
"name": "filter[system_profile][sap_system]",
"schema": {
"type": "boolean"
}
},
{
"description": "Are there systems which contain these SAP SIDs?",
"in": "query",
"name": "filter[system_profile][sap_sids][contains]",
"schema": {
"items": {
"format": "regex",
"type": "string"
},
"type": "array"
},
"style": "form"
}
],
"responses": {
"200": {
"content": {
Expand All @@ -6232,6 +6277,54 @@
"get": {
"description": "Show statistics of reports impacting across categories and risks.\n\nOnly current reports are considered.",
"operationId": "stats_reports_retrieve",
"parameters": [
{
"description": "Tags have a namespace, key and value in the form namespace/key=value",
"in": "query",
"name": "tags",
"schema": {
"items": {
"format": "regex",
"type": "string"
},
"type": "array"
},
"style": "form"
},
{
"description": "List of Inventory host group names",
"in": "query",
"name": "groups",
"schema": {
"items": {
"type": "string"
},
"type": "array"
},
"style": "form"
},
{
"description": "Is this a SAP system?",
"in": "query",
"name": "filter[system_profile][sap_system]",
"schema": {
"type": "boolean"
}
},
{
"description": "Are there systems which contain these SAP SIDs?",
"in": "query",
"name": "filter[system_profile][sap_sids][contains]",
"schema": {
"items": {
"format": "regex",
"type": "string"
},
"type": "array"
},
"style": "form"
}
],
"responses": {
"200": {
"content": {
Expand All @@ -6258,6 +6351,54 @@
"get": {
"description": "Show statistics of rule usage across categories and risks.\n\nOnly current reports are considered.",
"operationId": "stats_rules_retrieve",
"parameters": [
{
"description": "Tags have a namespace, key and value in the form namespace/key=value",
"in": "query",
"name": "tags",
"schema": {
"items": {
"format": "regex",
"type": "string"
},
"type": "array"
},
"style": "form"
},
{
"description": "List of Inventory host group names",
"in": "query",
"name": "groups",
"schema": {
"items": {
"type": "string"
},
"type": "array"
},
"style": "form"
},
{
"description": "Is this a SAP system?",
"in": "query",
"name": "filter[system_profile][sap_system]",
"schema": {
"type": "boolean"
}
},
{
"description": "Are there systems which contain these SAP SIDs?",
"in": "query",
"name": "filter[system_profile][sap_sids][contains]",
"schema": {
"items": {
"format": "regex",
"type": "string"
},
"type": "array"
},
"style": "form"
}
],
"responses": {
"200": {
"content": {
Expand All @@ -6284,6 +6425,54 @@
"get": {
"description": "Show statistics of systems being impacted across categories and risks.\n\nOnly current reports are considered.",
"operationId": "stats_systems_retrieve",
"parameters": [
{
"description": "Tags have a namespace, key and value in the form namespace/key=value",
"in": "query",
"name": "tags",
"schema": {
"items": {
"format": "regex",
"type": "string"
},
"type": "array"
},
"style": "form"
},
{
"description": "List of Inventory host group names",
"in": "query",
"name": "groups",
"schema": {
"items": {
"type": "string"
},
"type": "array"
},
"style": "form"
},
{
"description": "Is this a SAP system?",
"in": "query",
"name": "filter[system_profile][sap_system]",
"schema": {
"type": "boolean"
}
},
{
"description": "Are there systems which contain these SAP SIDs?",
"in": "query",
"name": "filter[system_profile][sap_sids][contains]",
"schema": {
"items": {
"format": "regex",
"type": "string"
},
"type": "array"
},
"style": "form"
}
],
"responses": {
"200": {
"content": {
Expand Down

0 comments on commit d609951

Please sign in to comment.