diff --git a/asset-manifest.json b/asset-manifest.json index df7559a8..90d89379 100644 --- a/asset-manifest.json +++ b/asset-manifest.json @@ -1,8 +1,8 @@ { "files": { "main.css": "/api-documentation-frontend/static/css/main.3cc1bf37.css", - "main.js": "/api-documentation-frontend/static/js/main.26f7f3cf.js", - "static/js/5322.536ca929.chunk.js": "/api-documentation-frontend/static/js/5322.536ca929.chunk.js", + "main.js": "/api-documentation-frontend/static/js/main.c66a93be.js", + "static/js/5322.4f29c116.chunk.js": "/api-documentation-frontend/static/js/5322.4f29c116.chunk.js", "static/js/9511.0184e6df.chunk.js": "/api-documentation-frontend/static/js/9511.0184e6df.chunk.js", "static/js/1087.037afadc.chunk.js": "/api-documentation-frontend/static/js/1087.037afadc.chunk.js", "static/js/7223.363c2ff5.chunk.js": "/api-documentation-frontend/static/js/7223.363c2ff5.chunk.js", @@ -31,7 +31,7 @@ "static/js/7710.7abbdb00.chunk.js": "/api-documentation-frontend/static/js/7710.7abbdb00.chunk.js", "static/js/7325.0fe7bf16.chunk.js": "/api-documentation-frontend/static/js/7325.0fe7bf16.chunk.js", "static/js/6865.ec9ea981.chunk.js": "/api-documentation-frontend/static/js/6865.ec9ea981.chunk.js", - "static/js/7832.d06d986b.chunk.js": "/api-documentation-frontend/static/js/7832.d06d986b.chunk.js", + "static/js/7832.9d345a5d.chunk.js": "/api-documentation-frontend/static/js/7832.9d345a5d.chunk.js", "static/js/5781.92b66b46.chunk.js": "/api-documentation-frontend/static/js/5781.92b66b46.chunk.js", "static/js/8171.ccf3efbd.chunk.js": "/api-documentation-frontend/static/js/8171.ccf3efbd.chunk.js", "static/js/4982.fc641823.chunk.js": "/api-documentation-frontend/static/js/4982.fc641823.chunk.js", @@ -132,7 +132,7 @@ "static/media/status-icon-sprite.svg": "/api-documentation-frontend/static/media/status-icon-sprite.4fee9fefc3971799d2dd.svg", "index.html": "/api-documentation-frontend/index.html", "main.3cc1bf37.css.map": "/api-documentation-frontend/static/css/main.3cc1bf37.css.map", - "main.26f7f3cf.js.map": "/api-documentation-frontend/static/js/main.26f7f3cf.js.map", + "main.c66a93be.js.map": "/api-documentation-frontend/static/js/main.c66a93be.js.map", "7299.8c76628a.chunk.js.map": "/api-documentation-frontend/static/js/7299.8c76628a.chunk.js.map", "5328.f35f9abe.chunk.js.map": "/api-documentation-frontend/static/js/5328.f35f9abe.chunk.js.map", "7615.c56e9218.chunk.js.map": "/api-documentation-frontend/static/js/7615.c56e9218.chunk.js.map", @@ -145,6 +145,6 @@ }, "entrypoints": [ "static/css/main.3cc1bf37.css", - "static/js/main.26f7f3cf.js" + "static/js/main.c66a93be.js" ] } \ No newline at end of file diff --git a/index.html b/index.html index 2d1d5b93..63fe3b5c 100644 --- a/index.html +++ b/index.html @@ -1 +1 @@ -API Catalog
\ No newline at end of file +API Catalog
\ No newline at end of file diff --git a/static/js/5322.4f29c116.chunk.js b/static/js/5322.4f29c116.chunk.js new file mode 100644 index 00000000..3ff296ef --- /dev/null +++ b/static/js/5322.4f29c116.chunk.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkapidocs=self.webpackChunkapidocs||[]).push([[5322],{45322:function(e){e.exports=JSON.parse('{"extras":{},"openapi":{"components":{"schemas":{"Ack":{"properties":{"created_at":{"format":"date-time","readOnly":true,"type":"string"},"created_by":{"description":"The user who created the ack","maxLength":255,"type":"string"},"justification":{"description":"The reason the rule was acked","maxLength":140,"type":"string"},"rule":{"type":"string"},"updated_at":{"format":"date-time","readOnly":true,"type":"string"}},"required":["created_at","rule","updated_at"],"type":"object"},"AckCount":{"description":"A rule_id and the number of acks on it","properties":{"ack_count":{"type":"integer"},"rule_id":{"type":"string"}},"required":["ack_count","rule_id"],"type":"object"},"AckInput":{"properties":{"justification":{"default":"","maxLength":140,"type":"string"},"rule_id":{"maxLength":240,"type":"string"}},"required":["rule_id"],"type":"object"},"AckJustification":{"properties":{"justification":{"description":"The reason the rule was acked","maxLength":140,"type":"string"}},"type":"object"},"AllAck":{"properties":{"account":{"type":"string"},"created_at":{"format":"date-time","readOnly":true,"type":"string"},"created_by":{"description":"The user who created the ack","maxLength":255,"type":"string"},"justification":{"description":"The reason the rule was acked","maxLength":140,"type":"string"},"org_id":{"type":"string"},"rule":{"title":"rule_id","type":"string"},"updated_at":{"format":"date-time","readOnly":true,"type":"string"}},"required":["account","created_at","org_id","rule","updated_at"],"type":"object"},"AllRuleRatings":{"description":"This is only available to internal users and lists ratings from all users.","properties":{"account":{"maxLength":10,"nullable":true,"type":"string"},"created_at":{"format":"date-time","readOnly":true,"type":"string"},"org_id":{"maxLength":50,"type":"string"},"rated_by":{"default":"","description":"The username that rated this rule","maxLength":255,"type":"string"},"rating":{"description":"* `-1` - Dislike\\n* `0` - Neutral\\n* `1` - Like","enum":[-1,0,1],"maximum":32767,"minimum":-32768,"type":"integer","x-spec-enum-id":"77fd471e36283637"},"rule":{"description":"Rule ID from Insights","type":"string"},"updated_at":{"format":"date-time","readOnly":true,"type":"string"}},"required":["created_at","org_id","rating","rule","updated_at"],"type":"object"},"AutoSubscribe":{"description":"Serializer specifically for listing\\nall Pathways currently in the system","properties":{"is_auto_subscribed":{"type":"boolean"},"org_id":{"type":"string"}},"required":["is_auto_subscribed","org_id"],"type":"object"},"AutoSubscribeInput":{"description":"Serializer specifically for handling\\nCREATE and UPDATE views for AutoSubscribe","properties":{"is_auto_subscribed":{"type":"boolean"},"org_id":{"type":"string"}},"required":["is_auto_subscribed","org_id"],"type":"object"},"ExportHits":{"description":"The basic report information for each system affected by a rule. Only\\nlists basic details of the host and rule, and links to more information.","properties":{"hostname":{"type":"string"},"last_seen":{"format":"date-time","type":"string"},"likelihood":{"type":"integer"},"publish_date":{"format":"date-time","type":"string"},"results_url":{"format":"uri","type":"string"},"rhel_version":{"type":"string"},"solution_url":{"format":"uri","type":"string"},"stale_at":{"format":"date-time","type":"string"},"title":{"type":"string"},"total_risk":{"type":"integer"},"uuid":{"format":"uuid","type":"string"}},"required":["hostname","last_seen","likelihood","publish_date","results_url","rhel_version","solution_url","stale_at","title","total_risk","uuid"],"type":"object"},"HostAck":{"description":"Ignore reports of this rule on this system for this account.","properties":{"created_at":{"format":"date-time","readOnly":true,"type":"string"},"created_by":{"description":"The username that created this acknowledgement","readOnly":true,"type":"string"},"display_name":{"readOnly":true,"type":"string"},"id":{"readOnly":true,"type":"integer"},"justification":{"maxLength":140,"type":"string"},"rule":{"description":"Rule ID from Insights","type":"string"},"system_uuid":{"format":"uuid","type":"string"},"updated_at":{"format":"date-time","readOnly":true,"type":"string"}},"required":["created_at","created_by","display_name","id","rule","system_uuid","updated_at"],"type":"object"},"HostAckInput":{"description":"Ignore reports of this rule on this system for this account.\\n\\nUse this when creating a new HostAck.","properties":{"justification":{"maxLength":140,"type":"string"},"rule":{"description":"Rule ID from Insights","type":"string"},"system_uuid":{"format":"uuid","type":"string"}},"required":["rule","system_uuid"],"type":"object"},"HostAckJustification":{"description":"Just modify the justification on a Host Ack.","properties":{"id":{"readOnly":true,"type":"integer"},"justification":{"maxLength":140,"type":"string"}},"required":["id"],"type":"object"},"JustificationCount":{"properties":{"count":{"type":"integer"},"justification":{"type":"string"}},"required":["count","justification"],"type":"object"},"Kcs":{"description":"Pairings of C.R.C rule URL and its KCS solution number (node_id)","properties":{"node_id":{"description":"KCS solution number","type":"string"},"rule_url":{"description":"Rule URL on C.R.C.","format":"uri","type":"string"}},"required":["node_id","rule_url"],"type":"object"},"MultiAckResponse":{"description":"The response from adding or deleting multiple acks on a rule. For backward\\ncompatibility we include the count, and then list the impacted systems.","properties":{"count":{"type":"integer"},"host_ids":{"items":{"format":"uuid","type":"string"},"type":"array"}},"required":["count","host_ids"],"type":"object"},"MultiHostAck":{"description":"Add acks to multiple hosts for a single rule.","properties":{"justification":{"maxLength":140,"type":"string"},"systems":{"items":{"format":"uuid","type":"string"},"type":"array"}},"required":["justification","systems"],"type":"object"},"MultiHostUnAck":{"description":"Delete acks from multiple hosts for a single rule.","properties":{"systems":{"items":{"format":"uuid","type":"string"},"type":"array"}},"required":["systems"],"type":"object"},"OrgId":{"description":"A specific org id for a Red Hat customer.","properties":{"org_id":{"maxLength":10,"minLength":6,"type":"string"}},"required":["org_id"],"type":"object"},"PaginatedAckList":{"properties":{"data":{"items":{"$ref":"#/components/schemas/Ack"},"type":"array"},"links":{"properties":{"first":{"format":"uri","nullable":true,"type":"string"},"last":{"format":"uri","nullable":true,"type":"string"},"next":{"format":"uri","nullable":true,"type":"string"},"previous":{"format":"uri","nullable":true,"type":"string"}},"type":"object"},"meta":{"properties":{"count":{"example":169,"type":"integer"}},"required":["count"],"type":"object"}},"type":"object"},"PaginatedAllRuleRatingsList":{"properties":{"data":{"items":{"$ref":"#/components/schemas/AllRuleRatings"},"type":"array"},"links":{"properties":{"first":{"format":"uri","nullable":true,"type":"string"},"last":{"format":"uri","nullable":true,"type":"string"},"next":{"format":"uri","nullable":true,"type":"string"},"previous":{"format":"uri","nullable":true,"type":"string"}},"type":"object"},"meta":{"properties":{"count":{"example":169,"type":"integer"}},"required":["count"],"type":"object"}},"type":"object"},"PaginatedHostAckList":{"properties":{"data":{"items":{"$ref":"#/components/schemas/HostAck"},"type":"array"},"links":{"properties":{"first":{"format":"uri","nullable":true,"type":"string"},"last":{"format":"uri","nullable":true,"type":"string"},"next":{"format":"uri","nullable":true,"type":"string"},"previous":{"format":"uri","nullable":true,"type":"string"}},"type":"object"},"meta":{"properties":{"count":{"example":169,"type":"integer"}},"required":["count"],"type":"object"}},"type":"object"},"PaginatedJustificationCountList":{"properties":{"data":{"items":{"$ref":"#/components/schemas/JustificationCount"},"type":"array"},"links":{"properties":{"first":{"format":"uri","nullable":true,"type":"string"},"last":{"format":"uri","nullable":true,"type":"string"},"next":{"format":"uri","nullable":true,"type":"string"},"previous":{"format":"uri","nullable":true,"type":"string"}},"type":"object"},"meta":{"properties":{"count":{"example":169,"type":"integer"}},"required":["count"],"type":"object"}},"type":"object"},"PaginatedOrgIdList":{"properties":{"data":{"items":{"$ref":"#/components/schemas/OrgId"},"type":"array"},"links":{"properties":{"first":{"format":"uri","nullable":true,"type":"string"},"last":{"format":"uri","nullable":true,"type":"string"},"next":{"format":"uri","nullable":true,"type":"string"},"previous":{"format":"uri","nullable":true,"type":"string"}},"type":"object"},"meta":{"properties":{"count":{"example":169,"type":"integer"}},"required":["count"],"type":"object"}},"type":"object"},"PaginatedPathwayList":{"properties":{"data":{"items":{"$ref":"#/components/schemas/Pathway"},"type":"array"},"links":{"properties":{"first":{"format":"uri","nullable":true,"type":"string"},"last":{"format":"uri","nullable":true,"type":"string"},"next":{"format":"uri","nullable":true,"type":"string"},"previous":{"format":"uri","nullable":true,"type":"string"}},"type":"object"},"meta":{"properties":{"count":{"example":169,"type":"integer"}},"required":["count"],"type":"object"}},"type":"object"},"PaginatedRuleForAccountList":{"properties":{"data":{"items":{"$ref":"#/components/schemas/RuleForAccount"},"type":"array"},"links":{"properties":{"first":{"format":"uri","nullable":true,"type":"string"},"last":{"format":"uri","nullable":true,"type":"string"},"next":{"format":"uri","nullable":true,"type":"string"},"previous":{"format":"uri","nullable":true,"type":"string"}},"type":"object"},"meta":{"properties":{"count":{"example":169,"type":"integer"}},"required":["count"],"type":"object"}},"type":"object"},"PaginatedRuleRatingList":{"properties":{"data":{"items":{"$ref":"#/components/schemas/RuleRating"},"type":"array"},"links":{"properties":{"first":{"format":"uri","nullable":true,"type":"string"},"last":{"format":"uri","nullable":true,"type":"string"},"next":{"format":"uri","nullable":true,"type":"string"},"previous":{"format":"uri","nullable":true,"type":"string"}},"type":"object"},"meta":{"properties":{"count":{"example":169,"type":"integer"}},"required":["count"],"type":"object"}},"type":"object"},"PaginatedRuleRatingStatsList":{"properties":{"data":{"items":{"$ref":"#/components/schemas/RuleRatingStats"},"type":"array"},"links":{"properties":{"first":{"format":"uri","nullable":true,"type":"string"},"last":{"format":"uri","nullable":true,"type":"string"},"next":{"format":"uri","nullable":true,"type":"string"},"previous":{"format":"uri","nullable":true,"type":"string"}},"type":"object"},"meta":{"properties":{"count":{"example":169,"type":"integer"}},"required":["count"],"type":"object"}},"type":"object"},"PaginatedSubscriptionExcludedAccountList":{"properties":{"data":{"items":{"$ref":"#/components/schemas/SubscriptionExcludedAccount"},"type":"array"},"links":{"properties":{"first":{"format":"uri","nullable":true,"type":"string"},"last":{"format":"uri","nullable":true,"type":"string"},"next":{"format":"uri","nullable":true,"type":"string"},"previous":{"format":"uri","nullable":true,"type":"string"}},"type":"object"},"meta":{"properties":{"count":{"example":169,"type":"integer"}},"required":["count"],"type":"object"}},"type":"object"},"PaginatedSystemList":{"properties":{"data":{"items":{"$ref":"#/components/schemas/System"},"type":"array"},"links":{"properties":{"first":{"format":"uri","nullable":true,"type":"string"},"last":{"format":"uri","nullable":true,"type":"string"},"next":{"format":"uri","nullable":true,"type":"string"},"previous":{"format":"uri","nullable":true,"type":"string"}},"type":"object"},"meta":{"properties":{"count":{"example":169,"type":"integer"}},"required":["count"],"type":"object"}},"type":"object"},"PaginatedSystemsDetailList":{"properties":{"data":{"items":{"$ref":"#/components/schemas/SystemsDetail"},"type":"array"},"links":{"properties":{"first":{"format":"uri","nullable":true,"type":"string"},"last":{"format":"uri","nullable":true,"type":"string"},"next":{"format":"uri","nullable":true,"type":"string"},"previous":{"format":"uri","nullable":true,"type":"string"}},"type":"object"},"meta":{"properties":{"count":{"example":169,"type":"integer"}},"required":["count"],"type":"object"}},"type":"object"},"PatchedTopicEdit":{"description":"Create or edit topics.","properties":{"description":{"type":"string"},"enabled":{"type":"boolean"},"featured":{"type":"boolean"},"name":{"maxLength":80,"type":"string"},"slug":{"description":"Rule topic slug","maxLength":20,"pattern":"^[-a-zA-Z0-9_]+$","type":"string"},"tag":{"type":"string"}},"type":"object"},"Pathway":{"description":"Serializer specifically for listing\\nall Pathways currently in the system","properties":{"categories":{"items":{"$ref":"#/components/schemas/RuleCategory"},"readOnly":true,"type":"array"},"component":{"type":"string"},"critical_risk_count":{"type":"integer"},"description":{"type":"string"},"has_incident":{"type":"boolean"},"has_playbook":{"type":"boolean"},"high_risk_count":{"type":"integer"},"impacted_systems_count":{"type":"integer"},"incident_count":{"type":"integer"},"low_risk_count":{"type":"integer"},"medium_risk_count":{"type":"integer"},"name":{"type":"string"},"publish_date":{"format":"date-time","type":"string"},"reboot_required":{"type":"boolean"},"recommendation_level":{"format":"double","readOnly":true,"type":"number"},"resolution_risk":{"$ref":"#/components/schemas/ResolutionRisk"},"slug":{"type":"string"}},"required":["categories","component","critical_risk_count","description","has_incident","has_playbook","high_risk_count","impacted_systems_count","incident_count","low_risk_count","medium_risk_count","name","publish_date","reboot_required","recommendation_level","resolution_risk","slug"],"type":"object"},"PathwayInput":{"description":"Serializer specifically for handling\\nCREATE and UPDATE views for Pathways","properties":{"component":{"type":"string"},"description":{"type":"string"},"name":{"type":"string"},"publish_date":{"format":"date-time","type":"string"},"resolution_risk":{"type":"string"}},"required":["component","description","name","publish_date","resolution_risk"],"type":"object"},"PreferencesInput":{"description":"User preferences - separated from account settings.","properties":{"is_subscribed":{"type":"boolean"}},"required":["is_subscribed"],"type":"object"},"RenderedReport":{"description":"The actual rule fields with the report data for a particular system\\nrendered into them, in a flat structure that\'s easier to use.","properties":{"description":{"maxLength":240,"type":"string"},"generic":{"type":"string"},"more_info":{"type":"string"},"reason":{"type":"string"},"resolution":{"type":"string"},"summary":{"type":"string"}},"required":["description","generic","reason","resolution","summary"],"type":"object"},"Report":{"properties":{"details":{},"impacted_date":{"format":"date-time","readOnly":true,"type":"string"},"resolution":{"allOf":[{"$ref":"#/components/schemas/Resolution"}],"readOnly":true},"rule":{"allOf":[{"$ref":"#/components/schemas/Rule"}],"readOnly":true}},"required":["details","impacted_date","resolution","rule"],"type":"object"},"ReportExport":{"description":"Report information for export. Based on CurrentReport with fields from\\nRule and Host pulled through for convenience.","properties":{"details":{},"host_id":{"format":"uuid","readOnly":true,"type":"string"},"impacted_date":{"format":"date-time","nullable":true,"readOnly":true,"type":"string"},"report_time":{"format":"date-time","type":"string"},"reports_url":{"type":"string"},"rule_id":{"type":"string"}},"required":["details","host_id","impacted_date","report_time","reports_url","rule_id"],"type":"object"},"Resolution":{"properties":{"has_playbook":{"readOnly":true,"type":"boolean"},"resolution":{"type":"string"},"resolution_risk":{"allOf":[{"$ref":"#/components/schemas/ResolutionRisk"}],"readOnly":true},"system_type":{"type":"integer"}},"required":["has_playbook","resolution","resolution_risk","system_type"],"type":"object"},"ResolutionRisk":{"properties":{"name":{"maxLength":80,"type":"string"},"risk":{"maximum":32767,"minimum":0,"type":"integer"}},"type":"object"},"Rule":{"description":"The standard rule information. Used for models and relations that don\'t\\nknow the account and therefore can\'t know the acks or impacted systems.","properties":{"active":{"type":"boolean"},"category":{"$ref":"#/components/schemas/RuleCategory"},"created_at":{"format":"date-time","readOnly":true,"type":"string"},"deleted_at":{"format":"date-time","type":"string"},"description":{"maxLength":240,"type":"string"},"generic":{"type":"string"},"impact":{"$ref":"#/components/schemas/RuleImpact"},"likelihood":{"maximum":32767,"minimum":0,"type":"integer"},"more_info":{"type":"string"},"node_id":{"description":"KCS solution number","maxLength":10,"type":"string"},"publish_date":{"format":"date-time","nullable":true,"type":"string"},"reason":{"type":"string"},"reboot_required":{"type":"boolean"},"resolution_set":{"items":{"$ref":"#/components/schemas/Resolution"},"type":"array"},"rule_id":{"description":"Rule ID from Insights","maxLength":240,"type":"string"},"summary":{"type":"string"},"tags":{"readOnly":true,"type":"string"},"total_risk":{"maximum":32767,"minimum":0,"type":"integer"},"updated_at":{"format":"date-time","readOnly":true,"type":"string"}},"required":["category","created_at","description","generic","impact","reason","resolution_set","rule_id","summary","tags","updated_at"],"type":"object"},"RuleCategory":{"properties":{"id":{"readOnly":true,"type":"integer"},"name":{"maxLength":20,"type":"string"}},"required":["id","name"],"type":"object"},"RuleExport":{"description":"Rule information for export.","properties":{"active":{"type":"boolean"},"category":{"type":"string"},"created_at":{"format":"date-time","readOnly":true,"type":"string"},"deleted_at":{"format":"date-time","nullable":true,"readOnly":true,"type":"string"},"description":{"maxLength":240,"type":"string"},"generic":{"type":"string"},"hosts_acked_count":{"type":"integer"},"impact":{"type":"string"},"impacted_systems_count":{"type":"integer"},"likelihood":{"maximum":32767,"minimum":0,"type":"integer"},"more_info":{"type":"string"},"node_id":{"description":"KCS solution number","maxLength":10,"type":"string"},"playbook_count":{"type":"integer"},"publish_date":{"format":"date-time","nullable":true,"type":"string"},"rating":{"readOnly":true,"type":"integer"},"reason":{"type":"string"},"reboot_required":{"type":"boolean"},"reports_shown":{"readOnly":true,"type":"boolean"},"resolution_set":{"items":{"$ref":"#/components/schemas/Resolution"},"type":"array"},"rule_id":{"description":"Rule ID from Insights","maxLength":240,"type":"string"},"rule_status":{"readOnly":true,"type":"string"},"summary":{"type":"string"},"tags":{"readOnly":true,"type":"string"},"total_risk":{"maximum":32767,"minimum":0,"type":"integer"},"updated_at":{"format":"date-time","readOnly":true,"type":"string"}},"required":["category","created_at","deleted_at","description","generic","hosts_acked_count","impact","impacted_systems_count","playbook_count","rating","reason","reports_shown","resolution_set","rule_id","rule_status","summary","tags","updated_at"],"type":"object"},"RuleForAccount":{"description":"Rule information when we know the account, and therefore can calculate\\nthe number of impacted systems and the reports_shown/rule_status flags.\\nWe have to declare those explicitly here because they\'re not part of the model.","properties":{"active":{"type":"boolean"},"category":{"$ref":"#/components/schemas/RuleCategory"},"created_at":{"format":"date-time","readOnly":true,"type":"string"},"deleted_at":{"format":"date-time","type":"string"},"description":{"maxLength":240,"type":"string"},"generic":{"type":"string"},"hosts_acked_count":{"readOnly":true,"type":"integer"},"impact":{"$ref":"#/components/schemas/RuleImpact"},"impacted_systems_count":{"readOnly":true,"type":"integer"},"likelihood":{"maximum":32767,"minimum":0,"type":"integer"},"more_info":{"type":"string"},"node_id":{"description":"KCS solution number","maxLength":10,"type":"string"},"pathway":{"$ref":"#/components/schemas/RulePathway"},"playbook_count":{"readOnly":true,"type":"integer"},"publish_date":{"format":"date-time","nullable":true,"type":"string"},"rating":{"readOnly":true,"type":"integer"},"reason":{"type":"string"},"reboot_required":{"type":"boolean"},"reports_shown":{"readOnly":true,"type":"boolean"},"resolution_set":{"items":{"$ref":"#/components/schemas/Resolution"},"type":"array"},"rule_id":{"description":"Rule ID from Insights","maxLength":240,"type":"string"},"rule_status":{"readOnly":true,"type":"string"},"summary":{"type":"string"},"tags":{"readOnly":true,"type":"string"},"total_risk":{"maximum":32767,"minimum":0,"type":"integer"},"updated_at":{"format":"date-time","readOnly":true,"type":"string"}},"required":["category","created_at","description","generic","hosts_acked_count","impact","impacted_systems_count","playbook_count","rating","reason","reports_shown","resolution_set","rule_id","rule_status","summary","tags","updated_at"],"type":"object"},"RuleImpact":{"properties":{"impact":{"maximum":32767,"minimum":0,"type":"integer"},"name":{"maxLength":80,"type":"string"}},"type":"object"},"RulePathway":{"properties":{"component":{"maxLength":80,"type":"string"},"name":{"maxLength":240,"type":"string"},"resolution_risk":{"allOf":[{"$ref":"#/components/schemas/ResolutionRisk"}],"readOnly":true}},"required":["component","name","resolution_risk"],"type":"object"},"RuleRating":{"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":{"description":"* `-1` - Dislike\\n* `0` - Neutral\\n* `1` - Like","enum":[-1,0,1],"maximum":32767,"minimum":-32768,"type":"integer","x-spec-enum-id":"77fd471e36283637"},"rule":{"description":"Rule ID from Insights","type":"string"}},"required":["rating","rule"],"type":"object"},"RuleRatingStats":{"description":"Output of statistics view of rule ratings - rule ID and totals of ratings.","properties":{"rule":{"type":"string"},"total_negative":{"type":"integer"},"total_positive":{"type":"integer"},"total_ratings":{"type":"integer"}},"required":["rule","total_negative","total_positive","total_ratings"],"type":"object"},"RuleSystemsExport":{"description":"List of systems with current reports for each rule.","properties":{"rules":{"additionalProperties":{"items":{"format":"uuid","type":"string"},"type":"array"},"type":"object"}},"required":["rules"],"type":"object"},"RuleUsageStats":{"description":"Rule usage statistics for rule developers.","properties":{"accounts_acked":{"type":"integer"},"accounts_hit":{"type":"integer"},"active":{"type":"boolean"},"description":{"type":"string"},"rule_id":{"maxLength":240,"type":"string"},"systems_hit":{"type":"integer"}},"required":["accounts_acked","accounts_hit","active","description","rule_id","systems_hit"],"type":"object"},"SettingDDF":{"description":"Outputs the description of the settings in a Data-Driven Forms format.","properties":{"component":{"type":"string"},"description":{"type":"string"},"helperText":{"type":"string"},"initialValue":{"type":"boolean"},"isDisabled":{"type":"boolean"},"isRequired":{"type":"boolean"},"label":{"type":"string"},"name":{"type":"string"},"title":{"type":"string"}},"required":["component","initialValue","isDisabled","isRequired","name"],"type":"object"},"SettingsDDF":{"description":"Combining the DDF fields into one \'fields\' object.","properties":{"fields":{"items":{"$ref":"#/components/schemas/SettingDDF"},"type":"array"}},"required":["fields"],"type":"object"},"Stats":{"description":"Advisor rule or report frequency statisics.","properties":{"category":{"additionalProperties":{"type":"integer"},"type":"object"},"total":{"type":"integer"},"total_risk":{"additionalProperties":{"type":"integer"},"type":"object"}},"required":["category","total","total_risk"],"type":"object"},"SubscriptionExcludedAccount":{"properties":{"account":{"type":"string"},"org_id":{"type":"string"}},"required":["org_id"],"type":"object"},"System":{"properties":{"all_pathway_hits":{"readOnly":true,"type":"integer"},"critical_hits":{"readOnly":true,"type":"integer"},"display_name":{"maxLength":200,"type":"string"},"group_name":{"readOnly":true,"type":"string"},"hits":{"readOnly":true,"type":"integer"},"important_hits":{"readOnly":true,"type":"integer"},"incident_hits":{"readOnly":true,"type":"integer"},"last_seen":{"format":"date-time","readOnly":true,"type":"string"},"low_hits":{"readOnly":true,"type":"integer"},"moderate_hits":{"readOnly":true,"type":"integer"},"pathway_filter_hits":{"readOnly":true,"type":"integer"},"rhel_version":{"type":"string"},"stale_at":{"format":"date-time","readOnly":true,"type":"string"},"system_uuid":{"format":"uuid","type":"string"}},"required":["all_pathway_hits","critical_hits","display_name","group_name","hits","important_hits","incident_hits","last_seen","low_hits","moderate_hits","pathway_filter_hits","rhel_version","stale_at","system_uuid"],"type":"object"},"SystemType":{"description":"RHN-based system types classified by role and product code.","properties":{"id":{"readOnly":true,"type":"integer"},"product_code":{"maxLength":10,"type":"string"},"role":{"maxLength":15,"type":"string"}},"required":["id","product_code","role"],"type":"object"},"SystemsDetail":{"properties":{"all_pathway_hits":{"readOnly":true,"type":"integer"},"critical_hits":{"readOnly":true,"type":"integer"},"display_name":{"maxLength":200,"type":"string"},"hits":{"readOnly":true,"type":"integer"},"impacted_date":{"format":"date-time","readOnly":true,"type":"string"},"important_hits":{"readOnly":true,"type":"integer"},"incident_hits":{"readOnly":true,"type":"integer"},"last_seen":{"format":"date-time","readOnly":true,"type":"string"},"low_hits":{"readOnly":true,"type":"integer"},"moderate_hits":{"readOnly":true,"type":"integer"},"pathway_filter_hits":{"readOnly":true,"type":"integer"},"rhel_version":{"type":"string"},"stale_at":{"format":"date-time","readOnly":true,"type":"string"},"system_uuid":{"format":"uuid","type":"string"}},"required":["all_pathway_hits","critical_hits","display_name","hits","impacted_date","important_hits","incident_hits","last_seen","low_hits","moderate_hits","pathway_filter_hits","rhel_version","stale_at","system_uuid"],"type":"object"},"SystemsForRule":{"description":"The list of Inventory Host IDs that are (currently) affected by a given\\nrule.","properties":{"host_ids":{"items":{"format":"uuid","type":"string"},"type":"array"}},"required":["host_ids"],"type":"object"},"Topic":{"description":"Topics group rules by a tag shared by all the rules.","properties":{"description":{"type":"string"},"enabled":{"type":"boolean"},"featured":{"type":"boolean"},"impacted_systems_count":{"readOnly":true,"type":"integer"},"name":{"maxLength":80,"type":"string"},"slug":{"description":"Rule topic slug","maxLength":20,"pattern":"^[-a-zA-Z0-9_]+$","type":"string"},"tag":{"type":"string"}},"required":["description","impacted_systems_count","name","slug","tag"],"type":"object"},"TopicEdit":{"description":"Create or edit topics.","properties":{"description":{"type":"string"},"enabled":{"type":"boolean"},"featured":{"type":"boolean"},"name":{"maxLength":80,"type":"string"},"slug":{"description":"Rule topic slug","maxLength":20,"pattern":"^[-a-zA-Z0-9_]+$","type":"string"},"tag":{"type":"string"}},"required":["description","name","slug","tag"],"type":"object"},"Usage":{"description":"An approximation of the number of unique hits per day.","properties":{"unique_hits":{"type":"integer"}},"required":["unique_hits"],"type":"object"},"WeeklyReportSubscription":{"properties":{"is_subscribed":{"type":"boolean"}},"required":["is_subscribed"],"type":"object"}},"securitySchemes":{"Authorization":{"in":"header","name":"Authorization","type":"apiKey"}}},"info":{"description":"The API for managing and issuing Red Hat generated tasks on your infrastructure","title":"Insights Tasks API","version":"1.0.0"},"openapi":"3.0.3","paths":{"/api/insights/v1/account/":{"get":{"description":"List all accounts by org_id we know about (through the host table).\\n\\nNo other information about the accounts is provided in this view.","operationId":"api_insights_v1_account_list","parameters":[{"description":"Number of results to return per page.","in":"query","name":"limit","required":false,"schema":{"type":"integer"}},{"description":"The initial index from which to return the results.","in":"query","name":"offset","required":false,"schema":{"type":"integer"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PaginatedOrgIdList"}}},"description":""}},"security":[{"x-rh-identity":[]}],"tags":["api"]}},"/api/insights/v1/account/{org_id}/":{"get":{"description":"List information relating to other accounts.\\n\\nThis allows us to collect data that requires the user to specify an\\norg_id number, such as number of systems currently registered to that\\norg.\\n\\nparam: org_id: Org ID number of a Red Hat customer.","operationId":"api_insights_v1_account_retrieve","parameters":[{"in":"path","name":"org_id","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OrgId"}}},"description":""}},"security":[{"x-rh-identity":[]}],"tags":["api"]}},"/api/insights/v1/account/{org_id}/hosts/":{"get":{"description":"List details about the number of hosts in this account by org_id.\\n\\nAs well as the total number of hosts, we report on the number of hosts\\nin various states of staleness:\\n * fresh: hosts that have updated in the last 26 hours\\n * stale: hosts not updated in the last 26 hours - we display the\\n results for these hosts but a warning is shown to say they are\\n not updating\\n * warn: hosts not updated in the last week - these are not shown\\n in any queries\\n\\nThis may have other aggregate data added in the future.","operationId":"api_insights_v1_account_hosts_retrieve","parameters":[{"in":"path","name":"org_id","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OrgId"}}},"description":""}},"security":[{"x-rh-identity":[]}],"tags":["api"]}},"/api/insights/v1/ack/":{"get":{"description":"List acks from this account by org_id where the rule is active\\n\\nWill return an empty list if this account has no acks.","operationId":"api_insights_v1_ack_list","parameters":[{"description":"Number of results to return per page.","in":"query","name":"limit","required":false,"schema":{"type":"integer"}},{"description":"The initial index from which to return the results.","in":"query","name":"offset","required":false,"schema":{"type":"integer"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PaginatedAckList"}}},"description":""}},"security":[{"x-rh-identity":[]}],"tags":["api"]},"post":{"description":"Add an acknowledgement for a rule, by rule ID.\\n\\nIf there\'s already an acknowledgement of this rule by this\\naccounts org_id, then return that. Otherwise, a new ack is created.","operationId":"api_insights_v1_ack_create","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AckInput"}},"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/AckInput"}},"multipart/form-data":{"schema":{"$ref":"#/components/schemas/AckInput"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Ack"}}},"description":""}},"security":[{"x-rh-identity":[]}],"tags":["api"]}},"/api/insights/v1/ack/all/":{"get":{"description":"List acks from all accounts, with org_id.\\n\\nHas no pagination.","operationId":"api_insights_v1_ack_all_list","responses":{"200":{"content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/AllAck"},"type":"array"}}},"description":""}},"security":[{"x-rh-identity":[]}],"tags":["api"]}},"/api/insights/v1/ack/{rule_id}/":{"delete":{"description":"Delete an acknowledgement for a rule, by its rule ID.\\n\\nIf the ack existed, it is deleted and a 204 is returned. Otherwise,\\na 404 is returned.","operationId":"api_insights_v1_ack_destroy","parameters":[{"in":"path","name":"rule_id","required":true,"schema":{"description":"Rule ID from Insights","type":"string"}}],"responses":{"204":{"content":{"application/json":{"schema":{"type":"string"}}},"description":""}},"security":[{"x-rh-identity":[]}],"tags":["api"]},"get":{"description":"Acks acknowledge (and therefore hide) a rule from view in an account.\\n\\nThis view handles listing, retrieving, creating and deleting acks. Acks\\nare created and deleted by Insights rule ID, not by their own ack ID.\\n\\nparam: rule_id: Rule ID defined by Insights ruleset","operationId":"api_insights_v1_ack_retrieve","parameters":[{"in":"path","name":"rule_id","required":true,"schema":{"description":"Rule ID from Insights","type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Ack"}}},"description":""}},"security":[{"x-rh-identity":[]}],"tags":["api"]},"put":{"description":"Update an acknowledgement for a rule, by rule ID.\\n\\nA new justification can be supplied. The username is taken from the\\nauthenticated request. The updated ack is returned.","operationId":"api_insights_v1_ack_update","parameters":[{"in":"path","name":"rule_id","required":true,"schema":{"description":"Rule ID from Insights","type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AckJustification"}},"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/AckJustification"}},"multipart/form-data":{"schema":{"$ref":"#/components/schemas/AckJustification"}}}},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Ack"}}},"description":""}},"security":[{"x-rh-identity":[]}],"tags":["api"]}},"/api/insights/v1/ackcount/":{"get":{"description":"Get the ack counts for all active rules\\n\\nReturn a list of rule_ids and their ack counts","operationId":"api_insights_v1_ackcount_list","responses":{"200":{"content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/AckCount"},"type":"array"}}},"description":""}},"security":[{"x-rh-identity":[]}],"tags":["api"]}},"/api/insights/v1/ackcount/{rule_id}/":{"get":{"description":"Get the ack count for the given rule_id\\n\\nReturns the rule_id and its ack count","operationId":"api_insights_v1_ackcount_retrieve","parameters":[{"in":"path","name":"rule_id","required":true,"schema":{"description":"Rule ID from Insights","type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AckCount"}}},"description":""}},"security":[{"x-rh-identity":[]}],"tags":["api"]}},"/api/insights/v1/autosubexclusion/":{"get":{"description":"Returns all subscription exclusions for accounts\\n\\nThis returns a list of all subscription exclusions.\\nThis contains exclusions and their account and org_id.\\nThese are all accounts that are excluded from the autosub\\nsubscription path for weekly report subscriptions.","operationId":"api_insights_v1_autosubexclusion_list","parameters":[{"description":"Number of results to return per page.","in":"query","name":"limit","required":false,"schema":{"type":"integer"}},{"description":"The initial index from which to return the results.","in":"query","name":"offset","required":false,"schema":{"type":"integer"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PaginatedSubscriptionExcludedAccountList"}}},"description":""}},"security":[{"x-rh-identity":[]}],"tags":["api"]},"post":{"description":"Create a new subscription exclusion for an account.\\n\\nThis creates a new subscription exclusion for an account.\\nThis should contain an org_id and account. Only org_id is required.\\nAccount is optional.","operationId":"api_insights_v1_autosubexclusion_create","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SubscriptionExcludedAccount"}},"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/SubscriptionExcludedAccount"}},"multipart/form-data":{"schema":{"$ref":"#/components/schemas/SubscriptionExcludedAccount"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SubscriptionExcludedAccount"}}},"description":""}},"security":[{"x-rh-identity":[]}],"tags":["api"]}},"/api/insights/v1/autosubexclusion/{org_id}/":{"delete":{"description":"Destroy an existing subscription exclusion in the system.\\n\\nThis will DELETE an existing subscription exclusion\\nin the system. Existing subscription exclusions\\nare identified and deleted by the \\"org_id\\" field.","operationId":"api_insights_v1_autosubexclusion_destroy","parameters":[{"in":"path","name":"org_id","required":true,"schema":{"type":"string"}}],"responses":{"204":{"content":{"application/json":{"schema":{"type":"string"}}},"description":""}},"security":[{"x-rh-identity":[]}],"tags":["api"]},"get":{"description":"Returns an individual subscription exclusion based on org_id.\\n\\nThis returns an individual subscription exclusion\\nbased on the org_id.","operationId":"api_insights_v1_autosubexclusion_retrieve","parameters":[{"in":"path","name":"org_id","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SubscriptionExcludedAccount"}}},"description":""}},"security":[{"x-rh-identity":[]}],"tags":["api"]}},"/api/insights/v1/export/hits/":{"get":{"description":"Get each host and all rules currently affecting it.\\n\\nWe also only present active, non-acked (on an account AND host level)\\nrules. Inventory data may be requested if Advisor has not seen all\\nthe hosts. The accepted content type supplied in the request headers\\nis used to determine the supplied content type.","operationId":"api_insights_v1_export_hits_list","parameters":[{"description":"Display rules of this category (number)","in":"query","name":"category","schema":{"items":{"enum":[1,2,3,4],"type":"integer"},"type":"array"},"style":"form"},{"description":"Display systems with this text in their display_name","in":"query","name":"display_name","schema":{"type":"string"}},{"description":"Are there systems which contain these SAP SIDs?","in":"query","name":"filter[system_profile][sap_sids][contains]","schema":{"items":{"format":"regex","pattern":"^[A-Z]..$","type":"string"},"type":"array"},"style":"form"},{"description":"Is this a SAP system?","in":"query","name":"filter[system_profile][sap_system]","schema":{"type":"boolean"}},{"in":"query","name":"format","schema":{"enum":["csv","json"],"type":"string"}},{"description":"List of Inventory host group names","in":"query","name":"groups","schema":{"items":{"type":"string"},"type":"array"},"style":"form"},{"description":"Display rules that have a playbook","in":"query","name":"has_playbook","schema":{"type":"boolean"}},{"description":"Display rules of this impact level (1..4)","in":"query","name":"impact","schema":{"items":{"enum":[1,2,3,4],"type":"integer"},"type":"array"},"style":"form"},{"description":"Display only rules that cause an incident","in":"query","name":"incident","schema":{"type":"boolean"}},{"description":"Display only rules of this likelihood level (1..4)","in":"query","name":"likelihood","schema":{"items":{"enum":[1,2,3,4],"type":"integer"},"type":"array"},"style":"form"},{"description":"Display rules that require a reboot to fix","in":"query","name":"reboot","schema":{"type":"boolean"}},{"description":"Display rules with this resolution risk level (1..4)","in":"query","name":"res_risk","schema":{"items":{"enum":[1,2,3,4],"type":"integer"},"type":"array"},"style":"form"},{"description":"Tags have a namespace, key and value in the form namespace/key=value","in":"query","name":"tags","schema":{"items":{"format":"regex","pattern":"^[^/=]+/[^/=]+=[^/=]+$","type":"string"},"type":"array"},"style":"form"},{"description":"Display rules with this text in their text fields","in":"query","name":"text","schema":{"type":"string"}},{"description":"Display rules with this total risk level (1..4)","in":"query","name":"total_risk","schema":{"items":{"enum":[1,2,3,4],"type":"integer"},"type":"array"},"style":"form"},{"description":"Search for systems with this updater type","in":"query","name":"update_method","schema":{"items":{"enum":["dnfyum","ostree"],"type":"string"},"type":"array"},"style":"form"},{"description":"Display a system with this uuid","in":"query","name":"uuid","schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/ExportHits"},"type":"array"}},"text/csv":{"schema":{"items":{"$ref":"#/components/schemas/ExportHits"},"type":"array"}}},"description":""}},"security":[{"x-rh-identity":[]}],"tags":["api"]}},"/api/insights/v1/export/reports/":{"get":{"description":"List the report details of each rule affecting each system.\\n\\nSystem and Rule are referred to by ID only, to be correlated with the\\nRule and System export data. It\'s like the hits output but much\\nless repetitive.","operationId":"api_insights_v1_export_reports_list","parameters":[{"description":"Display rules of this category (number)","in":"query","name":"category","schema":{"items":{"enum":[1,2,3,4],"type":"integer"},"type":"array"},"style":"form"},{"description":"Display systems with this text in their display_name","in":"query","name":"display_name","schema":{"type":"string"}},{"description":"Are there systems which contain these SAP SIDs?","in":"query","name":"filter[system_profile][sap_sids][contains]","schema":{"items":{"format":"regex","pattern":"^[A-Z]..$","type":"string"},"type":"array"},"style":"form"},{"description":"Is this a SAP system?","in":"query","name":"filter[system_profile][sap_system]","schema":{"type":"boolean"}},{"description":"List of Inventory host group names","in":"query","name":"groups","schema":{"items":{"type":"string"},"type":"array"},"style":"form"},{"description":"Display rules that have a playbook","in":"query","name":"has_playbook","schema":{"type":"boolean"}},{"description":"Display rules of this impact level (1..4)","in":"query","name":"impact","schema":{"items":{"enum":[1,2,3,4],"type":"integer"},"type":"array"},"style":"form"},{"description":"Display only rules that cause an incident","in":"query","name":"incident","schema":{"type":"boolean"}},{"description":"Display only rules of this likelihood level (1..4)","in":"query","name":"likelihood","schema":{"items":{"enum":[1,2,3,4],"type":"integer"},"type":"array"},"style":"form"},{"description":"Display rules that require a reboot to fix","in":"query","name":"reboot","schema":{"type":"boolean"}},{"description":"Display rules with this resolution risk level (1..4)","in":"query","name":"res_risk","schema":{"items":{"enum":[1,2,3,4],"type":"integer"},"type":"array"},"style":"form"},{"description":"Tags have a namespace, key and value in the form namespace/key=value","in":"query","name":"tags","schema":{"items":{"format":"regex","pattern":"^[^/=]+/[^/=]+=[^/=]+$","type":"string"},"type":"array"},"style":"form"},{"description":"Display rules with this text in their text fields","in":"query","name":"text","schema":{"type":"string"}},{"description":"Display rules with this total risk level (1..4)","in":"query","name":"total_risk","schema":{"items":{"enum":[1,2,3,4],"type":"integer"},"type":"array"},"style":"form"},{"description":"Search for systems with this updater type","in":"query","name":"update_method","schema":{"items":{"enum":["dnfyum","ostree"],"type":"string"},"type":"array"},"style":"form"},{"description":"Display a system with this uuid","in":"query","name":"uuid","schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/ReportExport"},"type":"array"}}},"description":""}},"security":[{"x-rh-identity":[]}],"tags":["api"]}},"/api/insights/v1/export/rules/":{"get":{"description":"List the report details of each rule affecting each system.\\n\\nSystem and Rule are referred to by ID only, to be correlated with the\\nRule and System export data. It\'s like the hits output but much\\nless repetitive.","operationId":"api_insights_v1_export_rules_list","parameters":[{"description":"Display rules of this category (number)","in":"query","name":"category","schema":{"items":{"enum":[1,2,3,4],"type":"integer"},"type":"array"},"style":"form"},{"description":"Display systems with this text in their display_name","in":"query","name":"display_name","schema":{"type":"string"}},{"description":"Are there systems which contain these SAP SIDs?","in":"query","name":"filter[system_profile][sap_sids][contains]","schema":{"items":{"format":"regex","pattern":"^[A-Z]..$","type":"string"},"type":"array"},"style":"form"},{"description":"Is this a SAP system?","in":"query","name":"filter[system_profile][sap_system]","schema":{"type":"boolean"}},{"description":"List of Inventory host group names","in":"query","name":"groups","schema":{"items":{"type":"string"},"type":"array"},"style":"form"},{"description":"Display rules that have a playbook","in":"query","name":"has_playbook","schema":{"type":"boolean"}},{"description":"Display rules of this impact level (1..4)","in":"query","name":"impact","schema":{"items":{"enum":[1,2,3,4],"type":"integer"},"type":"array"},"style":"form"},{"description":"Display only rules that cause an incident","in":"query","name":"incident","schema":{"type":"boolean"}},{"description":"Display only rules of this likelihood level (1..4)","in":"query","name":"likelihood","schema":{"items":{"enum":[1,2,3,4],"type":"integer"},"type":"array"},"style":"form"},{"description":"Display rules that require a reboot to fix","in":"query","name":"reboot","schema":{"type":"boolean"}},{"description":"Display rules with this resolution risk level (1..4)","in":"query","name":"res_risk","schema":{"items":{"enum":[1,2,3,4],"type":"integer"},"type":"array"},"style":"form"},{"description":"Tags have a namespace, key and value in the form namespace/key=value","in":"query","name":"tags","schema":{"items":{"format":"regex","pattern":"^[^/=]+/[^/=]+=[^/=]+$","type":"string"},"type":"array"},"style":"form"},{"description":"Display rules with this text in their text fields","in":"query","name":"text","schema":{"type":"string"}},{"description":"Display rules with this total risk level (1..4)","in":"query","name":"total_risk","schema":{"items":{"enum":[1,2,3,4],"type":"integer"},"type":"array"},"style":"form"},{"description":"Search for systems with this updater type","in":"query","name":"update_method","schema":{"items":{"enum":["dnfyum","ostree"],"type":"string"},"type":"array"},"style":"form"},{"description":"Display a system with this uuid","in":"query","name":"uuid","schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/RuleExport"},"type":"array"}}},"description":""}},"security":[{"x-rh-identity":[]}],"tags":["api"]}},"/api/insights/v1/export/systems/":{"get":{"description":"List of systems with details and hit counts.\\n\\nSystems can be sorted and filtered by display name and rule id.","operationId":"api_insights_v1_export_systems_list","parameters":[{"description":"Display systems with this text in their display_name","in":"query","name":"display_name","schema":{"type":"string"}},{"in":"query","name":"format","schema":{"enum":["csv","json"],"type":"string"}},{"description":"List of Inventory host group names","in":"query","name":"groups","schema":{"items":{"type":"string"},"type":"array"},"style":"form"},{"description":"Display systems with this text in their rule_id","in":"query","name":"rule_id","schema":{"type":"string"}},{"description":"Order by this field","in":"query","name":"sort","schema":{"default":"-hits","enum":["-critical_hits","-display_name","-group_name","-hits","-important_hits","-last_seen","-low_hits","-moderate_hits","-rhel_version","critical_hits","display_name","group_name","hits","important_hits","last_seen","low_hits","moderate_hits","rhel_version"],"type":"string"}},{"description":"Search for systems with this updater type","in":"query","name":"update_method","schema":{"items":{"enum":["dnfyum","ostree"],"type":"string"},"type":"array"},"style":"form"}],"responses":{"200":{"content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/System"},"type":"array"}},"text/csv":{"schema":{"items":{"$ref":"#/components/schemas/System"},"type":"array"}}},"description":""}},"security":[{"x-rh-identity":[]}],"tags":["api"]}},"/api/insights/v1/hostack/":{"get":{"description":"List host acks from this account for a system where the rule is active.\\n\\nHostacks are retrieved, edited and deleted by the \'id\' field.","operationId":"api_insights_v1_hostack_list","parameters":[{"description":"Are there systems which contain these SAP SIDs?","in":"query","name":"filter[system_profile][sap_sids][contains]","schema":{"items":{"format":"regex","pattern":"^[A-Z]..$","type":"string"},"type":"array"},"style":"form"},{"description":"Is this a SAP system?","in":"query","name":"filter[system_profile][sap_system]","schema":{"type":"boolean"}},{"description":"List of Inventory host group names","in":"query","name":"groups","schema":{"items":{"type":"string"},"type":"array"},"style":"form"},{"description":"Number of results to return per page.","in":"query","name":"limit","required":false,"schema":{"type":"integer"}},{"description":"The initial index from which to return the results.","in":"query","name":"offset","required":false,"schema":{"type":"integer"}},{"description":"Display host acknowledgement of this/these rules","in":"query","name":"rule_id","schema":{"items":{"format":"regex","pattern":"\\\\w+(,\\\\w+)*","type":"string"},"type":"array"},"style":"form"},{"description":"Tags have a namespace, key and value in the form namespace/key=value","in":"query","name":"tags","schema":{"items":{"format":"regex","pattern":"^[^/=]+/[^/=]+=[^/=]+$","type":"string"},"type":"array"},"style":"form"}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PaginatedHostAckList"}}},"description":""}},"security":[{"x-rh-identity":[]}],"tags":["api"]},"post":{"description":"Add an acknowledgement for a rule, by rule ID, system, and account.\\n\\nReturn the new hostack. If there\'s already an acknowledgement of\\nthis rule by this account for a system, then return that. This does\\nnot take an \'id\' number.","operationId":"api_insights_v1_hostack_create","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HostAckInput"}},"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/HostAckInput"}},"multipart/form-data":{"schema":{"$ref":"#/components/schemas/HostAckInput"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HostAck"}}},"description":""}},"security":[{"x-rh-identity":[]}],"tags":["api"]}},"/api/insights/v1/hostack/{id}/":{"delete":{"description":"Delete an acknowledgement for a rule, for a system, for an account, by its ID.\\n\\nTakes the hostack ID (given in the hostack list) as an identifier.","operationId":"api_insights_v1_hostack_destroy","parameters":[{"description":"A unique integer value identifying this host ack.","in":"path","name":"id","required":true,"schema":{"type":"integer"}}],"responses":{"204":{"content":{"application/json":{"schema":{"type":"string"}}},"description":""}},"security":[{"x-rh-identity":[]}],"tags":["api"]},"get":{"description":"HostAcks acknowledge (and therefore hide) a rule from view in an account for a specific system.\\n\\nThis view handles listing, retrieving, creating and deleting hostacks.","operationId":"api_insights_v1_hostack_retrieve","parameters":[{"description":"A unique integer value identifying this host ack.","in":"path","name":"id","required":true,"schema":{"type":"integer"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HostAck"}}},"description":""}},"security":[{"x-rh-identity":[]}],"tags":["api"]},"put":{"description":"Update the justification for this host acknowledgement.\\n\\nThe justification is taken from the request body. The created_by\\nfield is taken from the username in the x-rh-identity field, and the\\nupdated_at field is set to the current time.","operationId":"api_insights_v1_hostack_update","parameters":[{"description":"A unique integer value identifying this host ack.","in":"path","name":"id","required":true,"schema":{"type":"integer"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HostAckJustification"}},"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/HostAckJustification"}},"multipart/form-data":{"schema":{"$ref":"#/components/schemas/HostAckJustification"}}}},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HostAckJustification"}}},"description":""}},"security":[{"x-rh-identity":[]}],"tags":["api"]}},"/api/insights/v1/kcs/":{"get":{"description":"Looks for all active rules with KCS solutions\\n\\nReturns a list of dicts of the C.R.C rule URL and its KCS solution number","operationId":"api_insights_v1_kcs_list","parameters":[{"description":"Display the rule urls for the given list of comma separated KCS solution node_ids","in":"query","name":"node_ids","schema":{"items":{"format":"regex","pattern":"\\\\d+","type":"string"},"type":"array"},"style":"form"}],"responses":{"200":{"content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/Kcs"},"type":"array"}}},"description":""}},"tags":["api"]}},"/api/insights/v1/kcs/{node_id}/":{"get":{"description":"Gets active rule(s) for a particular KCS solution (node_id)\\n\\nReturns a list of C.R.C rule url(s) for that KCS solution","operationId":"kcs_retrieve","parameters":[{"in":"path","name":"node_id","required":true,"schema":{"description":"KCS solution number","type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"items":{"description":"Rule URL on C.R.C.","format":"uri","type":"string"},"type":"array"}}},"description":""}},"tags":["api"]}},"/api/insights/v1/pathway/":{"get":{"description":"This returns a list of all Pathways. Will display the same\\ninformation as is provided in the retrieve view, but has all Pathways\\nlisted.","operationId":"api_insights_v1_pathway_list","parameters":[{"description":"Filter rules of this category (number)","in":"query","name":"category","schema":{"items":{"enum":[1,2,3,4],"type":"integer"},"type":"array"},"style":"form"},{"description":"Is this an Ansible system?","in":"query","name":"filter[system_profile][ansible]","schema":{"type":"boolean"}},{"description":"Is this a Microsoft SQL system?","in":"query","name":"filter[system_profile][mssql]","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","pattern":"^[A-Z]..$","type":"string"},"type":"array"},"style":"form"},{"description":"Is this a SAP system?","in":"query","name":"filter[system_profile][sap_system]","schema":{"type":"boolean"}},{"description":"List of Inventory host group names","in":"query","name":"groups","schema":{"items":{"type":"string"},"type":"array"},"style":"form"},{"description":"Display only pathways where there are incidents.","in":"query","name":"has_incident","schema":{"type":"boolean"}},{"description":"Display pathways even if they aren\'t impacting systems currently","in":"query","name":"impacting","schema":{"default":true,"type":"boolean"}},{"description":"Number of results to return per page.","in":"query","name":"limit","required":false,"schema":{"type":"integer"}},{"description":"The initial index from which to return the results.","in":"query","name":"offset","required":false,"schema":{"type":"integer"}},{"description":"Display only pathways where reboot is required.","in":"query","name":"reboot_required","schema":{"type":"boolean"}},{"description":"Order by this field","in":"query","name":"sort","schema":{"default":"name","enum":["-impacted_systems_count","-name","-recommendation_level","impacted_systems_count","name","recommendation_level"],"type":"string"}},{"description":"Tags have a namespace, key and value in the form namespace/key=value","in":"query","name":"tags","schema":{"items":{"format":"regex","pattern":"^[^/=]+/[^/=]+=[^/=]+$","type":"string"},"type":"array"},"style":"form"},{"description":"Filter pathway names with this text. If viewing details for a pathway for rules, reports and systems, additional filter on their text fields","in":"query","name":"text","schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PaginatedPathwayList"}}},"description":""}},"security":[{"x-rh-identity":[]}],"summary":"Return all pathways","tags":["api"]},"post":{"description":"This creates a new Pathway in the system.\\nRequired fields are \\"name,\\" \\"description,\\"\\n\\"component,\\" \\"resolution_risk,\\" and \\"publish_date.\\"\\n\\"name\\" is a slug field and used to identify and\\nretrieve Pathways for detailed analysis. The slug\\nfor a Pathway is auto-generated by converting the\\n\\"name\\" to lowercase and replacing all spaces with dashes.\\n\\"resolution_risk\\" should be the \\"name\\" of the\\nResolutionRisk to associate with this Pathway,\\nnot the risk value.","operationId":"api_insights_v1_pathway_create","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PathwayInput"}},"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/PathwayInput"}},"multipart/form-data":{"schema":{"$ref":"#/components/schemas/PathwayInput"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PathwayInput"}}},"description":""}},"security":[{"x-rh-identity":[]}],"summary":"Create a new Pathway in the system","tags":["api"]}},"/api/insights/v1/pathway/{slug}/":{"delete":{"description":"This will DELETE an existing Pathway in the system.\\nExisting pathways are identified and deleted by\\nthe \\"slug\\" field.","operationId":"api_insights_v1_pathway_destroy","parameters":[{"in":"path","name":"slug","required":true,"schema":{"type":"string"}}],"responses":{"204":{"content":{"application/json":{"schema":{"type":"string"}}},"description":""}},"security":[{"x-rh-identity":[]}],"summary":"Destroy an existing Pathway in the system","tags":["api"]},"get":{"description":"This returns an individual pathway based on slug.\\nWill display the same information as is\\nprovided in the list view.","operationId":"api_insights_v1_pathway_retrieve","parameters":[{"description":"Filter rules of this category (number)","in":"query","name":"category","schema":{"items":{"enum":[1,2,3,4],"type":"integer"},"type":"array"},"style":"form"},{"description":"Is this an Ansible system?","in":"query","name":"filter[system_profile][ansible]","schema":{"type":"boolean"}},{"description":"Is this a Microsoft SQL system?","in":"query","name":"filter[system_profile][mssql]","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","pattern":"^[A-Z]..$","type":"string"},"type":"array"},"style":"form"},{"description":"Is this a SAP system?","in":"query","name":"filter[system_profile][sap_system]","schema":{"type":"boolean"}},{"description":"List of Inventory host group names","in":"query","name":"groups","schema":{"items":{"type":"string"},"type":"array"},"style":"form"},{"in":"path","name":"slug","required":true,"schema":{"type":"string"}},{"description":"Tags have a namespace, key and value in the form namespace/key=value","in":"query","name":"tags","schema":{"items":{"format":"regex","pattern":"^[^/=]+/[^/=]+=[^/=]+$","type":"string"},"type":"array"},"style":"form"},{"description":"Filter pathway names with this text. If viewing details for a pathway for rules, reports and systems, additional filter on their text fields","in":"query","name":"text","schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Pathway"}}},"description":""}},"security":[{"x-rh-identity":[]}],"summary":"Returns an individual Pathway based on slug","tags":["api"]},"put":{"description":"This updates an existing Pathway already\\ndefined in the system. All fields that are\\nrequired to define a Pathway initially\\nmay be updated here as well. Pathways are\\nidenfitied and updated by the \\"slug\\" field.","operationId":"api_insights_v1_pathway_update","parameters":[{"in":"path","name":"slug","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PathwayInput"}},"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/PathwayInput"}},"multipart/form-data":{"schema":{"$ref":"#/components/schemas/PathwayInput"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PathwayInput"}}},"description":""}},"security":[{"x-rh-identity":[]}],"summary":"Update an existing Pathway in the system","tags":["api"]}},"/api/insights/v1/pathway/{slug}/reports/":{"get":{"description":"Each rule is listed once, with the systems currently reporting an\\nincidence of that rule in a list.","operationId":"api_insights_v1_pathway_reports_retrieve","parameters":[{"description":"Filter rules of this category (number)","in":"query","name":"category","schema":{"items":{"enum":[1,2,3,4],"type":"integer"},"type":"array"},"style":"form"},{"description":"List of Inventory host group names","in":"query","name":"groups","schema":{"items":{"type":"string"},"type":"array"},"style":"form"},{"description":"Display Pathway Reports of this/these systems","in":"query","name":"host_id","schema":{"items":{"format":"regex","pattern":"\\\\w+(,\\\\w+)*","type":"string"},"type":"array"},"style":"form"},{"description":"Display Pathway Reports of this/these rules","in":"query","name":"rule_id","schema":{"items":{"format":"regex","pattern":"\\\\w+(,\\\\w+)*","type":"string"},"type":"array"},"style":"form"},{"in":"path","name":"slug","required":true,"schema":{"type":"string"}},{"description":"Filter pathway names with this text. If viewing details for a pathway for rules, reports and systems, additional filter on their text fields","in":"query","name":"text","schema":{"type":"string"}},{"description":"Search for systems with this updater type","in":"query","name":"update_method","schema":{"items":{"enum":["dnfyum","ostree"],"type":"string"},"type":"array"},"style":"form"}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RuleSystemsExport"}}},"description":""}},"security":[{"x-rh-identity":[]}],"summary":"Get the list of systems for each rule in this pathway","tags":["api"]}},"/api/insights/v1/pathway/{slug}/rules/":{"get":{"description":"This view will retrieve/list in paginated\\nformat, all rules for a specific Pathway.\\nThis does not take into account acks\\nor host asks. The Specific Pathway\\nis requested by its slug","operationId":"api_insights_v1_pathway_rules_list","parameters":[{"description":"Filter rules of this category (number)","in":"query","name":"category","schema":{"items":{"enum":[1,2,3,4],"type":"integer"},"type":"array"},"style":"form"},{"description":"Number of results to return per page.","in":"query","name":"limit","required":false,"schema":{"type":"integer"}},{"description":"The initial index from which to return the results.","in":"query","name":"offset","required":false,"schema":{"type":"integer"}},{"in":"path","name":"slug","required":true,"schema":{"type":"string"}},{"description":"Filter pathway names with this text. If viewing details for a pathway for rules, reports and systems, additional filter on their text fields","in":"query","name":"text","schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PaginatedRuleForAccountList"}}},"description":""}},"security":[{"x-rh-identity":[]}],"summary":"Get all rules in a Pathway","tags":["api"]}},"/api/insights/v1/pathway/{slug}/systems/":{"get":{"description":"This view will retrieve/list in paginated\\nformat, all impacted systems for an account,\\nfor a specific Pathway. The specific Pathway\\nis requested by its slug.","operationId":"api_insights_v1_pathway_systems_list","parameters":[{"description":"Filter rules of this category (number)","in":"query","name":"category","schema":{"items":{"enum":[1,2,3,4],"type":"integer"},"type":"array"},"style":"form"},{"description":"Is this an Ansible system?","in":"query","name":"filter[system_profile][ansible]","schema":{"type":"boolean"}},{"description":"Is this a Microsoft SQL system?","in":"query","name":"filter[system_profile][mssql]","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","pattern":"^[A-Z]..$","type":"string"},"type":"array"},"style":"form"},{"description":"Is this a SAP system?","in":"query","name":"filter[system_profile][sap_system]","schema":{"type":"boolean"}},{"description":"List of Inventory host group names","in":"query","name":"groups","schema":{"items":{"type":"string"},"type":"array"},"style":"form"},{"description":"Number of results to return per page.","in":"query","name":"limit","required":false,"schema":{"type":"integer"}},{"description":"The initial index from which to return the results.","in":"query","name":"offset","required":false,"schema":{"type":"integer"}},{"in":"path","name":"slug","required":true,"schema":{"type":"string"}},{"description":"Tags have a namespace, key and value in the form namespace/key=value","in":"query","name":"tags","schema":{"items":{"format":"regex","pattern":"^[^/=]+/[^/=]+=[^/=]+$","type":"string"},"type":"array"},"style":"form"},{"description":"Filter pathway names with this text. If viewing details for a pathway for rules, reports and systems, additional filter on their text fields","in":"query","name":"text","schema":{"type":"string"}},{"description":"Search for systems with this updater type","in":"query","name":"update_method","schema":{"items":{"enum":["dnfyum","ostree"],"type":"string"},"type":"array"},"style":"form"}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PaginatedSystemList"}}},"description":""}},"security":[{"x-rh-identity":[]}],"summary":"Get all impacted systems for an account for a specific Pathway","tags":["api"]}},"/api/insights/v1/rating/":{"get":{"description":"List all rules rated by the current user\\n\\nOnly the current user\'s ratings are listed here.","operationId":"api_insights_v1_rating_list","parameters":[{"description":"Number of results to return per page.","in":"query","name":"limit","required":false,"schema":{"type":"integer"}},{"description":"The initial index from which to return the results.","in":"query","name":"offset","required":false,"schema":{"type":"integer"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PaginatedRuleRatingList"}}},"description":""}},"security":[{"x-rh-identity":[]}],"tags":["api"]},"post":{"description":"Add or update a rating for a rule, by rule ID.\\n\\nReturn the new rating. Any previous rating for this rule by this\\nuser is amended to the current value. This does not attempt to delete\\na rating by this user of this rule if the rating is zero.","operationId":"api_insights_v1_rating_create","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RuleRating"}},"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/RuleRating"}},"multipart/form-data":{"schema":{"$ref":"#/components/schemas/RuleRating"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RuleRating"}}},"description":""},"201":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RuleRating"}}},"description":""}},"security":[{"x-rh-identity":[]}],"tags":["api"]}},"/api/insights/v1/rating/all_ratings/":{"get":{"description":"Show all ratings.\\n\\nAvailable only to internal users.","operationId":"api_insights_v1_rating_all_ratings_list","parameters":[{"description":"Number of results to return per page.","in":"query","name":"limit","required":false,"schema":{"type":"integer"}},{"description":"The initial index from which to return the results.","in":"query","name":"offset","required":false,"schema":{"type":"integer"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PaginatedAllRuleRatingsList"}}},"description":""}},"security":[{"x-rh-identity":[]}],"tags":["api"]}},"/api/insights/v1/rating/stats/":{"get":{"description":"Summarise the ratings for a rule.\\n\\nThis summarises the statistics for each rule. Available only to\\ninternal users.","operationId":"api_insights_v1_rating_stats_list","parameters":[{"description":"Number of results to return per page.","in":"query","name":"limit","required":false,"schema":{"type":"integer"}},{"description":"The initial index from which to return the results.","in":"query","name":"offset","required":false,"schema":{"type":"integer"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PaginatedRuleRatingStatsList"}}},"description":""}},"security":[{"x-rh-identity":[]}],"tags":["api"]}},"/api/insights/v1/rating/{rule}/":{"get":{"description":"Retrieve the ratings for a single rule, by Insights Rule ID","operationId":"api_insights_v1_rating_retrieve","parameters":[{"in":"path","name":"rule","required":true,"schema":{"description":"Rule ID from Insights","type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RuleRating"}}},"description":""}},"security":[{"x-rh-identity":[]}],"summary":"Retrieve the ratings for a single rule","tags":["api"]}},"/api/insights/v1/rule/":{"get":{"description":"List all active rules for this account.\\n\\nIf \'acked\' is False or not given, then only rules that are not acked\\nwill be shown. If acked is set and \'true\' as a string or evaluates\\nto a true value, then all rules including those that are acked will\\nbe shown.","operationId":"api_insights_v1_rule_list","parameters":[{"description":"Display rules of this category (number)","in":"query","name":"category","schema":{"items":{"enum":[1,2,3,4],"type":"integer"},"type":"array"},"style":"form"},{"description":"Is this an Ansible system?","in":"query","name":"filter[system_profile][ansible]","schema":{"type":"boolean"}},{"description":"Is this a Microsoft SQL system?","in":"query","name":"filter[system_profile][mssql]","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","pattern":"^[A-Z]..$","type":"string"},"type":"array"},"style":"form"},{"description":"Is this a SAP system?","in":"query","name":"filter[system_profile][sap_system]","schema":{"type":"boolean"}},{"description":"List of Inventory host group names","in":"query","name":"groups","schema":{"items":{"type":"string"},"type":"array"},"style":"form"},{"description":"Display rules that have a playbook","in":"query","name":"has_playbook","schema":{"type":"boolean"}},{"description":"Display rules that have (one or more) tags","in":"query","name":"has_tag","schema":{"items":{"pattern":"\\\\w+(?:,\\\\w+)*","type":"string"},"type":"array"},"style":"form"},{"description":"Display rules of this impact level (1..4)","in":"query","name":"impact","schema":{"items":{"enum":[1,2,3,4],"type":"integer"},"type":"array"},"style":"form"},{"description":"Display only rules that are impacting systems currently","in":"query","name":"impacting","schema":{"type":"boolean"}},{"description":"Display only rules that cause an incident","in":"query","name":"incident","schema":{"type":"boolean"}},{"description":"Display only rules of this likelihood level (1..4)","in":"query","name":"likelihood","schema":{"items":{"enum":[1,2,3,4],"type":"integer"},"type":"array"},"style":"form"},{"description":"Number of results to return per page.","in":"query","name":"limit","required":false,"schema":{"type":"integer"}},{"description":"The initial index from which to return the results.","in":"query","name":"offset","required":false,"schema":{"type":"integer"}},{"description":"Display rules of this Pathway","in":"query","name":"pathway","schema":{"type":"string"}},{"description":"Display rules that require a reboot to fix","in":"query","name":"reboot","schema":{"type":"boolean"}},{"description":"Display rules where reports are shown or not","in":"query","name":"reports_shown","schema":{"type":"boolean"}},{"description":"Display rules with this resolution risk level (1..4)","in":"query","name":"res_risk","schema":{"items":{"enum":[1,2,3,4],"type":"integer"},"type":"array"},"style":"form"},{"description":"Display rules which are enabled, disabled (acked) by user, or disabled (acked) by Red Hat","in":"query","name":"rule_status","schema":{"enum":["all","disabled","enabled","rhdisabled"],"type":"string"}},{"description":"Order by this field","in":"query","name":"sort","schema":{"default":["rule_id"],"items":{"enum":["-category","-description","-impact","-impacted_count","-likelihood","-playbook_count","-publish_date","-resolution_risk","-rule_id","-total_risk","category","description","impact","impacted_count","likelihood","playbook_count","publish_date","resolution_risk","rule_id","total_risk"],"type":"string"},"type":"array"},"style":"form"},{"description":"Tags have a namespace, key and value in the form namespace/key=value","in":"query","name":"tags","schema":{"items":{"format":"regex","pattern":"^[^/=]+/[^/=]+=[^/=]+$","type":"string"},"type":"array"},"style":"form"},{"description":"Display rules with this text in their text fields","in":"query","name":"text","schema":{"type":"string"}},{"description":"Display rules in this topic (slug)","in":"query","name":"topic","schema":{"format":"regex","pattern":"[\\\\w-]+","type":"string"}},{"description":"Display rules with this total risk level (1..4)","in":"query","name":"total_risk","schema":{"items":{"enum":[1,2,3,4],"type":"integer"},"type":"array"},"style":"form"},{"description":"Search for systems with this updater type","in":"query","name":"update_method","schema":{"items":{"enum":["dnfyum","ostree"],"type":"string"},"type":"array"},"style":"form"}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PaginatedRuleForAccountList"}}},"description":""}},"security":[{"x-rh-identity":[]}],"tags":["api"]}},"/api/insights/v1/rule/{rule_id}/":{"get":{"description":"Retrieve a single rule and its associated details.\\n\\nThis includes the account-relevant details such as number of\\nimpacted systems and host acknowledgements.","operationId":"api_insights_v1_rule_retrieve","parameters":[{"description":"List of Inventory host group names","in":"query","name":"groups","schema":{"items":{"type":"string"},"type":"array"},"style":"form"},{"in":"path","name":"rule_id","required":true,"schema":{"description":"Rule ID from Insights","type":"string"}},{"description":"Tags have a namespace, key and value in the form namespace/key=value","in":"query","name":"tags","schema":{"items":{"format":"regex","pattern":"^[^/=]+/[^/=]+=[^/=]+$","type":"string"},"type":"array"},"style":"form"}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RuleForAccount"}}},"description":""}},"security":[{"x-rh-identity":[]}],"tags":["api"]}},"/api/insights/v1/rule/{rule_id}/ack_hosts/":{"post":{"description":"Add acknowledgements for one or more hosts to this rule.\\n\\nHost acknowledgements will be added to this rule in this account for\\nthe system UUIDs supplied. The justification supplied will be given\\nfor all host acks created. Any existing host acknowledgements for a\\nhost on this rule will be updated. The count of created hosts\\nacknowledgements, and the list of systems now impacted by this rule,\\nwill be returned. Account-wide acks are unaffected.","operationId":"api_insights_v1_rule_ack_hosts_create","parameters":[{"in":"path","name":"rule_id","required":true,"schema":{"description":"Rule ID from Insights","type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MultiHostAck"}},"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/MultiHostAck"}},"multipart/form-data":{"schema":{"$ref":"#/components/schemas/MultiHostAck"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MultiAckResponse"}}},"description":""}},"security":[{"x-rh-identity":[]}],"tags":["api"]}},"/api/insights/v1/rule/{rule_id}/justifications/":{"get":{"description":"List all justifications given for disabling this rule.\\n\\nThis is an **internal-only** view that allows us to provide feedback\\non why rules are disabled by our customers. It lists the\\njustifications given in both account-wide acks and host-specific acks\\nof a rule.","operationId":"api_insights_v1_rule_justifications_list","parameters":[{"description":"Number of results to return per page.","in":"query","name":"limit","required":false,"schema":{"type":"integer"}},{"description":"The initial index from which to return the results.","in":"query","name":"offset","required":false,"schema":{"type":"integer"}},{"in":"path","name":"rule_id","required":true,"schema":{"description":"Rule ID from Insights","type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PaginatedJustificationCountList"}}},"description":""}},"security":[{"x-rh-identity":[]}],"tags":["api"]}},"/api/insights/v1/rule/{rule_id}/stats/":{"get":{"description":"Display usage and impact statistics for this rule.\\n\\nFor internal use only. This allows rule developers to see the number\\nof systems and accounts impacted by a rule.","operationId":"api_insights_v1_rule_stats_retrieve","parameters":[{"in":"path","name":"rule_id","required":true,"schema":{"description":"Rule ID from Insights","type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RuleUsageStats"}}},"description":""}},"security":[{"x-rh-identity":[]}],"tags":["api"]}},"/api/insights/v1/rule/{rule_id}/systems/":{"get":{"description":"List all systems affected by this rule.\\n\\nAll systems owned by the user\'s account, with a current upload\\nreporting the given rule, are listed. Systems are simply listed by\\nInsights Inventory UUID.","operationId":"api_insights_v1_rule_systems_retrieve","parameters":[{"description":"Is this an Ansible system?","in":"query","name":"filter[system_profile][ansible]","schema":{"type":"boolean"}},{"description":"Is this a Microsoft SQL system?","in":"query","name":"filter[system_profile][mssql]","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","pattern":"^[A-Z]..$","type":"string"},"type":"array"},"style":"form"},{"description":"Is this a SAP system?","in":"query","name":"filter[system_profile][sap_system]","schema":{"type":"boolean"}},{"in":"query","name":"format","schema":{"enum":["csv","json"],"type":"string"}},{"description":"List of Inventory host group names","in":"query","name":"groups","schema":{"items":{"type":"string"},"type":"array"},"style":"form"},{"description":"Search for systems that include this in their display name","in":"query","name":"name","schema":{"type":"string"}},{"description":"Display only systems with these versions of RHEL","in":"query","name":"rhel_version","schema":{"items":{"enum":["6.0","6.1","6.10","6.2","6.3","6.4","6.5","6.6","6.7","6.8","6.9","7.0","7.1","7.10","7.2","7.3","7.4","7.5","7.6","7.7","7.8","7.9","8.0","8.1","8.10","8.2","8.3","8.4","8.5","8.6","8.7","8.8","8.9","9.0","9.1","9.2","9.3","9.4","9.5"],"type":"string"},"type":"array"},"style":"form"},{"in":"path","name":"rule_id","required":true,"schema":{"description":"Rule ID from Insights","type":"string"}},{"description":"Order by this field","in":"query","name":"sort","schema":{"default":["system_uuid"],"items":{"enum":["-display_name","-last_seen","-stale_at","-system_uuid","-updated","display_name","last_seen","stale_at","system_uuid","updated"],"type":"string"},"type":"array"},"style":"form"},{"description":"Tags have a namespace, key and value in the form namespace/key=value","in":"query","name":"tags","schema":{"items":{"format":"regex","pattern":"^[^/=]+/[^/=]+=[^/=]+$","type":"string"},"type":"array"},"style":"form"},{"description":"Search for systems with this updater type","in":"query","name":"update_method","schema":{"items":{"enum":["dnfyum","ostree"],"type":"string"},"type":"array"},"style":"form"}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SystemsForRule"}},"text/csv":{"schema":{"$ref":"#/components/schemas/SystemsForRule"}}},"description":""}},"security":[{"x-rh-identity":[]}],"tags":["api"]}},"/api/insights/v1/rule/{rule_id}/systems_detail/":{"get":{"description":"List systems affected by this rule with additional information about each system\\n\\nAll systems owned by the user\'s account, with a current upload\\nreporting the given rule, are listed in a paginated format.\\n\\nAdditional information includes hit counts and upload/stale timestamps.","operationId":"api_insights_v1_rule_systems_detail_list","parameters":[{"description":"Is this an Ansible system?","in":"query","name":"filter[system_profile][ansible]","schema":{"type":"boolean"}},{"description":"Is this a Microsoft SQL system?","in":"query","name":"filter[system_profile][mssql]","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","pattern":"^[A-Z]..$","type":"string"},"type":"array"},"style":"form"},{"description":"Is this a SAP system?","in":"query","name":"filter[system_profile][sap_system]","schema":{"type":"boolean"}},{"description":"List of Inventory host group names","in":"query","name":"groups","schema":{"items":{"type":"string"},"type":"array"},"style":"form"},{"description":"Number of results to return per page.","in":"query","name":"limit","required":false,"schema":{"type":"integer"}},{"description":"Search for systems that include this in their display name","in":"query","name":"name","schema":{"type":"string"}},{"description":"The initial index from which to return the results.","in":"query","name":"offset","required":false,"schema":{"type":"integer"}},{"description":"Display only systems with these versions of RHEL","in":"query","name":"rhel_version","schema":{"items":{"enum":["6.0","6.1","6.10","6.2","6.3","6.4","6.5","6.6","6.7","6.8","6.9","7.0","7.1","7.10","7.2","7.3","7.4","7.5","7.6","7.7","7.8","7.9","8.0","8.1","8.10","8.2","8.3","8.4","8.5","8.6","8.7","8.8","8.9","9.0","9.1","9.2","9.3","9.4","9.5"],"type":"string"},"type":"array"},"style":"form"},{"in":"path","name":"rule_id","required":true,"schema":{"description":"Rule ID from Insights","type":"string"}},{"description":"Order by this field","in":"query","name":"sort","schema":{"default":"display_name","enum":["-critical_hits","-display_name","-group_name","-hits","-impacted_date","-important_hits","-last_seen","-low_hits","-moderate_hits","-rhel_version","critical_hits","display_name","group_name","hits","impacted_date","important_hits","last_seen","low_hits","moderate_hits","rhel_version"],"type":"string"}},{"description":"Tags have a namespace, key and value in the form namespace/key=value","in":"query","name":"tags","schema":{"items":{"format":"regex","pattern":"^[^/=]+/[^/=]+=[^/=]+$","type":"string"},"type":"array"},"style":"form"}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PaginatedSystemsDetailList"}}},"description":""}},"security":[{"x-rh-identity":[]}],"tags":["api"]}},"/api/insights/v1/rule/{rule_id}/unack_hosts/":{"post":{"description":"Delete acknowledgements for one or more hosts to this rule.\\n\\nAny host acknowledgements for this rule in this account for the given\\nsystem are deleted. Hosts that do not have an acknowledgement for\\nthis rule in this account are ignored. The count of deleted host\\nacknowledgements, and the list of hosts now impacted by this rule,\\nwill be returned. Account-wide acks are unaffected.","operationId":"api_insights_v1_rule_unack_hosts_create","parameters":[{"in":"path","name":"rule_id","required":true,"schema":{"description":"Rule ID from Insights","type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MultiHostUnAck"}},"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/MultiHostUnAck"}},"multipart/form-data":{"schema":{"$ref":"#/components/schemas/MultiHostUnAck"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MultiAckResponse"}}},"description":""}},"security":[{"x-rh-identity":[]}],"tags":["api"]}},"/api/insights/v1/rulecategory/":{"get":{"description":"Rules are divided into categories, the usual being Availability,\\nStability, Security and Performance.\\n\\nCategories are listed in decreasing order of importance.","operationId":"api_insights_v1_rulecategory_list","responses":{"200":{"content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/RuleCategory"},"type":"array"}}},"description":""}},"tags":["api"]}},"/api/insights/v1/rulecategory/{id}/":{"get":{"description":"Rules are divided into categories, the usual being Availability,\\nStability, Security and Performance.\\n\\nCategories are listed in decreasing order of importance.","operationId":"api_insights_v1_rulecategory_retrieve","parameters":[{"description":"A unique integer value identifying this rule category.","in":"path","name":"id","required":true,"schema":{"type":"integer"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RuleCategory"}}},"description":""}},"tags":["api"]}},"/api/insights/v1/settings/":{"get":{"description":"Describe the settings we have in a Data-Driven Forms way.\\n\\nThis simply compiles the \'show_satellite_hosts\' account-wide setting\\ninto a format compatible with Data-Driven Forms.","operationId":"api_insights_v1_settings_list","responses":{"200":{"content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/SettingsDDF"},"type":"array"}}},"description":""}},"security":[{"x-rh-identity":[]}],"tags":["api"]}},"/api/insights/v1/stats/":{"get":{"description":"Provide a simple list of URLs contained here.\\n\\nA list of statistics views.","operationId":"api_insights_v1_stats_list","responses":{"200":{"content":{"application/json":{"schema":{"items":{"items":{"format":"uri","type":"string"},"type":"array"},"type":"array"}}},"description":""}},"security":[{"x-rh-identity":[]}],"tags":["api"]}},"/api/insights/v1/stats/overview/":{"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":"api_insights_v1_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":{"application/json":{"schema":{"$ref":"#/components/schemas/Stats"}}},"description":""}},"security":[{"x-rh-identity":[]}],"tags":["api"]}},"/api/insights/v1/stats/reports/":{"get":{"description":"Show statistics of reports impacting across categories and risks.\\n\\nOnly current reports are considered.","operationId":"api_insights_v1_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":{"application/json":{"schema":{"$ref":"#/components/schemas/Stats"}}},"description":""}},"security":[{"x-rh-identity":[]}],"tags":["api"]}},"/api/insights/v1/stats/rules/":{"get":{"description":"Show statistics of rule usage across categories and risks.\\n\\nOnly current reports are considered.","operationId":"api_insights_v1_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":{"application/json":{"schema":{"$ref":"#/components/schemas/Stats"}}},"description":""}},"security":[{"x-rh-identity":[]}],"tags":["api"]}},"/api/insights/v1/stats/systems/":{"get":{"description":"Show statistics of systems being impacted across categories and risks.\\n\\nOnly current reports are considered.","operationId":"api_insights_v1_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":{"application/json":{"schema":{"$ref":"#/components/schemas/Stats"}}},"description":""}},"security":[{"x-rh-identity":[]}],"tags":["api"]}},"/api/insights/v1/status/":{"get":{"description":"Provide a simple list of URLs contained here.\\n\\nA list of statistics views.","operationId":"api_insights_v1_status_retrieve","responses":{"200":{"description":"No response body"}},"tags":["api"]}},"/api/insights/v1/status/live/":{"get":{"description":"Is the Advisor API live and serving requests?\\n\\nThis returns a dictionary with properties defining the status of the\\ncomponents Advisor relies on.\\n\\nAt the moment this is the same as the Readiness check (see `/ready/`).\\nIn the future it may include other checks if we need to, but the\\nproperties of `/ready/` will always be included.","operationId":"api_insights_v1_status_live_retrieve","responses":{"200":{"description":"No response body"}},"tags":["api"]}},"/api/insights/v1/status/ready/":{"get":{"description":"Is the Advisor API ready to serve requests?\\n\\nThis returns a dictionary with properties defining the status of the\\ncomponents Advisor relies on.\\n\\n* \'django\' should always be True. If Django isn\'t ready, you can\'t\\n get this information :-)\\n* \'database\' is True when a database access returns successfully with\\n valid information.\\n* \'rbac\' is True when we can make a request to the RBAC API and get\\n a valid response.\\n* \'advisor\' is True if all of the above are True.","operationId":"api_insights_v1_status_ready_retrieve","responses":{"200":{"description":"No response body"}},"tags":["api"]}},"/api/insights/v1/system/":{"get":{"description":"Returns systems with their hit count and last upload time.\\n\\nResults can be sorted and systems can be filtered by display name and hits","operationId":"api_insights_v1_system_list","parameters":[{"description":"Display systems with this text in their display_name","in":"query","name":"display_name","schema":{"type":"string"}},{"description":"Is this an Ansible system?","in":"query","name":"filter[system_profile][ansible]","schema":{"type":"boolean"}},{"description":"Is this a Microsoft SQL system?","in":"query","name":"filter[system_profile][mssql]","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","pattern":"^[A-Z]..$","type":"string"},"type":"array"},"style":"form"},{"description":"Is this a SAP system?","in":"query","name":"filter[system_profile][sap_system]","schema":{"type":"boolean"}},{"description":"List of Inventory host group names","in":"query","name":"groups","schema":{"items":{"type":"string"},"type":"array"},"style":"form"},{"description":"Display systems with hits of the given total_risk value (1..4), or 0 to display all systems","in":"query","name":"hits","schema":{"items":{"enum":["1","2","3","4","all","no","yes"],"type":"string"},"type":"array"},"style":"form"},{"description":"Display only systems reporting an incident","in":"query","name":"incident","schema":{"type":"boolean"}},{"description":"Number of results to return per page.","in":"query","name":"limit","required":false,"schema":{"type":"integer"}},{"description":"The initial index from which to return the results.","in":"query","name":"offset","required":false,"schema":{"type":"integer"}},{"description":"Display systems with rule hits for this Pathway","in":"query","name":"pathway","schema":{"type":"string"}},{"description":"Display only systems with these versions of RHEL","in":"query","name":"rhel_version","schema":{"items":{"enum":["6.0","6.1","6.10","6.2","6.3","6.4","6.5","6.6","6.7","6.8","6.9","7.0","7.1","7.10","7.2","7.3","7.4","7.5","7.6","7.7","7.8","7.9","8.0","8.1","8.10","8.2","8.3","8.4","8.5","8.6","8.7","8.8","8.9","9.0","9.1","9.2","9.3","9.4","9.5"],"type":"string"},"type":"array"},"style":"form"},{"description":"Order by this field","in":"query","name":"sort","schema":{"default":"-hits","enum":["-critical_hits","-display_name","-group_name","-hits","-important_hits","-last_seen","-low_hits","-moderate_hits","-rhel_version","critical_hits","display_name","group_name","hits","important_hits","last_seen","low_hits","moderate_hits","rhel_version"],"type":"string"}},{"description":"Tags have a namespace, key and value in the form namespace/key=value","in":"query","name":"tags","schema":{"items":{"format":"regex","pattern":"^[^/=]+/[^/=]+=[^/=]+$","type":"string"},"type":"array"},"style":"form"},{"description":"Search for systems with this updater type","in":"query","name":"update_method","schema":{"items":{"enum":["dnfyum","ostree"],"type":"string"},"type":"array"},"style":"form"}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PaginatedSystemList"}}},"description":""}},"security":[{"x-rh-identity":[]}],"tags":["api"]}},"/api/insights/v1/system/{uuid}/":{"get":{"description":"Retrieve the reports for a single system by Insights Inventory UUID","operationId":"api_insights_v1_system_retrieve","parameters":[{"description":"A UUID string identifying this inventory host.","in":"path","name":"uuid","required":true,"schema":{"format":"uuid","type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/System"}}},"description":""}},"security":[{"x-rh-identity":[]}],"summary":"Retrieve the reports for a single system","tags":["api"]}},"/api/insights/v1/system/{uuid}/rendered_reports/":{"get":{"description":"Returns the list of reports for an Inventory Host ID, with the\\nrule templates filled in thanks to node.js and DoT and Markdown.\\n\\nIf the host ID is not found, return an empty list.","operationId":"api_insights_v1_system_rendered_reports_list","parameters":[{"description":"Is this an Ansible system?","in":"query","name":"filter[system_profile][ansible]","schema":{"type":"boolean"}},{"description":"Is this a Microsoft SQL system?","in":"query","name":"filter[system_profile][mssql]","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","pattern":"^[A-Z]..$","type":"string"},"type":"array"},"style":"form"},{"description":"Is this a SAP system?","in":"query","name":"filter[system_profile][sap_system]","schema":{"type":"boolean"}},{"description":"Tags have a namespace, key and value in the form namespace/key=value","in":"query","name":"tags","schema":{"items":{"format":"regex","pattern":"^[^/=]+/[^/=]+=[^/=]+$","type":"string"},"type":"array"},"style":"form"},{"description":"Search for systems with this updater type","in":"query","name":"update_method","schema":{"items":{"enum":["dnfyum","ostree"],"type":"string"},"type":"array"},"style":"form"},{"description":"A UUID string identifying this inventory host.","in":"path","name":"uuid","required":true,"schema":{"format":"uuid","type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/RenderedReport"},"type":"array"}}},"description":""}},"security":[{"x-rh-identity":[]}],"tags":["api"]}},"/api/insights/v1/system/{uuid}/reports/":{"get":{"description":"Returns the list of latest reports for an Inventory Host ID.\\n\\nReturns reports that:\\n * are in the user\'s account\\n * have an active, not-deleted rule\\n * where the rule has not been acked by this account\\n\\nIf the host ID is not found, return an empty list.","operationId":"api_insights_v1_system_reports_list","parameters":[{"description":"Is this an Ansible system?","in":"query","name":"filter[system_profile][ansible]","schema":{"type":"boolean"}},{"description":"Is this a Microsoft SQL system?","in":"query","name":"filter[system_profile][mssql]","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","pattern":"^[A-Z]..$","type":"string"},"type":"array"},"style":"form"},{"description":"Is this a SAP system?","in":"query","name":"filter[system_profile][sap_system]","schema":{"type":"boolean"}},{"description":"List of Inventory host group names","in":"query","name":"groups","schema":{"items":{"type":"string"},"type":"array"},"style":"form"},{"description":"Tags have a namespace, key and value in the form namespace/key=value","in":"query","name":"tags","schema":{"items":{"format":"regex","pattern":"^[^/=]+/[^/=]+=[^/=]+$","type":"string"},"type":"array"},"style":"form"},{"description":"Search for systems with this updater type","in":"query","name":"update_method","schema":{"items":{"enum":["dnfyum","ostree"],"type":"string"},"type":"array"},"style":"form"},{"description":"A UUID string identifying this inventory host.","in":"path","name":"uuid","required":true,"schema":{"format":"uuid","type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/Report"},"type":"array"}}},"description":""}},"security":[{"x-rh-identity":[]}],"tags":["api"]}},"/api/insights/v1/systemtype/":{"get":{"description":"List all system types by role and product code","operationId":"api_insights_v1_systemtype_list","responses":{"200":{"content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/SystemType"},"type":"array"}}},"description":""}},"summary":"List all system types","tags":["api"]}},"/api/insights/v1/systemtype/{id}/":{"get":{"description":"Retrieve details of a single system type","operationId":"api_insights_v1_systemtype_retrieve","parameters":[{"description":"A unique integer value identifying this system type.","in":"path","name":"id","required":true,"schema":{"type":"integer"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SystemType"}}},"description":""}},"summary":"Retrieve a system type","tags":["api"]}},"/api/insights/v1/topic/":{"get":{"description":"List the rule topics and their impacted systems counts.\\n\\nNormally this only shows enabled topics, but if the \'show_disabled\'\\nparameter is set to True then this will show disabled topics as\\nwell.","operationId":"api_insights_v1_topic_list","parameters":[{"description":"Are there systems which contain these SAP SIDs?","in":"query","name":"filter[system_profile][sap_sids][contains]","schema":{"items":{"format":"regex","pattern":"^[A-Z]..$","type":"string"},"type":"array"},"style":"form"},{"description":"Is this a SAP system?","in":"query","name":"filter[system_profile][sap_system]","schema":{"type":"boolean"}},{"description":"List of Inventory host group names","in":"query","name":"groups","schema":{"items":{"type":"string"},"type":"array"},"style":"form"},{"description":"Display topics that are disabled as well as enabled","in":"query","name":"show_disabled","schema":{"default":false,"type":"boolean"}},{"description":"Tags have a namespace, key and value in the form namespace/key=value","in":"query","name":"tags","schema":{"items":{"format":"regex","pattern":"^[^/=]+/[^/=]+=[^/=]+$","type":"string"},"type":"array"},"style":"form"},{"description":"Search for systems with this updater type","in":"query","name":"update_method","schema":{"items":{"enum":["dnfyum","ostree"],"type":"string"},"type":"array"},"style":"form"}],"responses":{"200":{"content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/Topic"},"type":"array"}}},"description":""}},"security":[{"x-rh-identity":[]}],"tags":["api"]},"post":{"description":"Create a new rule topic, along with its association to a rule tag","operationId":"api_insights_v1_topic_create","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TopicEdit"}},"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/TopicEdit"}},"multipart/form-data":{"schema":{"$ref":"#/components/schemas/TopicEdit"}}},"required":true},"responses":{"201":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TopicEdit"}}},"description":""}},"security":[{"x-rh-identity":[]}],"summary":"Create a new rule topic","tags":["api"]}},"/api/insights/v1/topic/{slug}/":{"delete":{"description":"Delete a rule topic. Rules associated with the tag of this topic will be unaffected","operationId":"api_insights_v1_topic_destroy","parameters":[{"in":"path","name":"slug","required":true,"schema":{"description":"Rule topic slug","type":"string"}}],"responses":{"204":{"description":"No response body"}},"security":[{"x-rh-identity":[]}],"summary":"Delete a rule topic","tags":["api"]},"get":{"description":"Retrieve a single topic by slug.\\n\\nThis also lists the topic\'s impacted systems count.","operationId":"api_insights_v1_topic_retrieve","parameters":[{"in":"path","name":"slug","required":true,"schema":{"description":"Rule topic slug","type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Topic"}}},"description":""}},"security":[{"x-rh-identity":[]}],"tags":["api"]},"patch":{"description":"Update an existing rule topic. Only the fields being changed need to be supplied","operationId":"api_insights_v1_topic_partial_update","parameters":[{"in":"path","name":"slug","required":true,"schema":{"description":"Rule topic slug","type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PatchedTopicEdit"}},"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/PatchedTopicEdit"}},"multipart/form-data":{"schema":{"$ref":"#/components/schemas/PatchedTopicEdit"}}}},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TopicEdit"}}},"description":""}},"security":[{"x-rh-identity":[]}],"summary":"Partially update a rule topic","tags":["api"]},"put":{"description":"Update an existing rule topic. All fields need to be supplied","operationId":"api_insights_v1_topic_update","parameters":[{"in":"path","name":"slug","required":true,"schema":{"description":"Rule topic slug","type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TopicEdit"}},"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/TopicEdit"}},"multipart/form-data":{"schema":{"$ref":"#/components/schemas/TopicEdit"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TopicEdit"}}},"description":""}},"security":[{"x-rh-identity":[]}],"summary":"Update a rule topic","tags":["api"]}},"/api/insights/v1/topic/{slug}/rules_with_tag/":{"get":{"description":"Lists the available rules that have this tag.\\n\\nThis shows the rule information for rules with this tag.","operationId":"api_insights_v1_topic_rules_with_tag_list","parameters":[{"in":"path","name":"slug","required":true,"schema":{"description":"Rule topic slug","type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/Rule"},"type":"array"}}},"description":""}},"security":[{"x-rh-identity":[]}],"tags":["api"]}},"/api/insights/v1/topic/{slug}/systems/":{"get":{"description":"List all systems affected by this rule topic.\\n\\nSystems are just listed by their UUID.","operationId":"api_insights_v1_topic_systems_retrieve","parameters":[{"description":"Are there systems which contain these SAP SIDs?","in":"query","name":"filter[system_profile][sap_sids][contains]","schema":{"items":{"format":"regex","pattern":"^[A-Z]..$","type":"string"},"type":"array"},"style":"form"},{"description":"Is this a SAP system?","in":"query","name":"filter[system_profile][sap_system]","schema":{"type":"boolean"}},{"description":"List of Inventory host group names","in":"query","name":"groups","schema":{"items":{"type":"string"},"type":"array"},"style":"form"},{"in":"path","name":"slug","required":true,"schema":{"description":"Rule topic slug","type":"string"}},{"description":"Order by this field","in":"query","name":"sort","schema":{"default":["system_uuid"],"items":{"enum":["-display_name","-last_seen","-stale_at","-system_uuid","-updated","display_name","last_seen","stale_at","system_uuid","updated"],"type":"string"},"type":"array"},"style":"form"},{"description":"Tags have a namespace, key and value in the form namespace/key=value","in":"query","name":"tags","schema":{"items":{"format":"regex","pattern":"^[^/=]+/[^/=]+=[^/=]+$","type":"string"},"type":"array"},"style":"form"},{"description":"Search for systems with this updater type","in":"query","name":"update_method","schema":{"items":{"enum":["dnfyum","ostree"],"type":"string"},"type":"array"},"style":"form"}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SystemsForRule"}}},"description":""}},"security":[{"x-rh-identity":[]}],"tags":["api"]}},"/api/insights/v1/usage/":{"get":{"description":"List the unique rule hits for this account over the given time range\\n\\nThis uses a HashLogLog structure to record number of hits, and this is\\ntherefore an approximation.","operationId":"api_insights_v1_usage_list","parameters":[{"description":"Allow `hydrauser` to view any account","in":"query","name":"account","schema":{"items":{"type":"string"},"type":"array"},"style":"form"},{"description":"End date for statistics range","in":"query","name":"end","schema":{"format":"date","type":"string"}},{"description":"Allow `hydrauser` to view any org_id","in":"query","name":"org_id","schema":{"type":"string"}},{"description":"Start date for statistics range","in":"query","name":"start","schema":{"format":"date","type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Usage"}}},"description":""}},"security":[{"x-rh-identity":[]}],"tags":["api"]}},"/api/insights/v1/user-preferences/":{"get":{"description":"Describe the settings we have in a Data-Driven Forms way.\\n\\nThis simply compiles the \'show_satellite_hosts\' account-wide setting\\nand the weekly report \'is_subscribed\' user-specific setting into one\\nhandy view, with the description metadata necessary to use Data-Driven\\nForms to display it.","operationId":"api_insights_v1_user_preferences_list","responses":{"200":{"content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/SettingsDDF"},"type":"array"}}},"description":""}},"security":[{"x-rh-identity":[]}],"tags":["api"]},"post":{"description":"Accept the settings as input, and adjust the actual models accordingly.\\n\\nThe current account settings will be updated, or one will be created,\\nwith the","operationId":"api_insights_v1_user_preferences_create","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PreferencesInput"}},"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/PreferencesInput"}},"multipart/form-data":{"schema":{"$ref":"#/components/schemas/PreferencesInput"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PreferencesInput"}}},"description":""}},"security":[{"x-rh-identity":[]}],"tags":["api"]}},"/api/insights/v1/weeklyreportautosubscribe/":{"get":{"description":"Show the user\'s current subscription status.\\n\\nThis shows the presence of a weekly report subscription by the user\\nin this account.","operationId":"api_insights_v1_weeklyreportautosubscribe_list","responses":{"200":{"content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/AutoSubscribe"},"type":"array"}}},"description":""}},"security":[{"x-rh-identity":[]}],"tags":["api"]},"post":{"description":"Set the auto-subscription status of the current user to the supplied\\n`is_auto_subscribed` value.\\n\\nIf \'is_auto_subscribed\' is true, an auto-subscription is added if it doesn\'t\\nalready exist. If it is false, the auto-subscription is removed if it\\nexists.\\n\\nCheck if ENABLE_AUTOSUB enviroment variable is set to allow the method.","operationId":"api_insights_v1_weeklyreportautosubscribe_create","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AutoSubscribeInput"}},"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/AutoSubscribeInput"}},"multipart/form-data":{"schema":{"$ref":"#/components/schemas/AutoSubscribeInput"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AutoSubscribe"}}},"description":""}},"security":[{"x-rh-identity":[]}],"tags":["api"]}},"/api/insights/v1/weeklyreportsubscription/":{"get":{"description":"Show the user\'s current subscription status.\\n\\nThis shows the presence of a weekly report subscription by the user\\nin this account.","operationId":"api_insights_v1_weeklyreportsubscription_list","responses":{"200":{"content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/WeeklyReportSubscription"},"type":"array"}}},"description":""}},"security":[{"x-rh-identity":[]}],"tags":["api"]},"post":{"description":"Set the subscription status of the current user to the supplied\\n`is_subscribed` value.\\n\\nIf \'is_subscribed\' is true, a subscription is added if it doesn\'t\\nalready exist. If it is false, the subscription is removed if it\\nexists.","operationId":"api_insights_v1_weeklyreportsubscription_create","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/WeeklyReportSubscription"}},"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/WeeklyReportSubscription"}},"multipart/form-data":{"schema":{"$ref":"#/components/schemas/WeeklyReportSubscription"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/WeeklyReportSubscription"}}},"description":""}},"security":[{"x-rh-identity":[]}],"tags":["api"]}}},"servers":[{"description":"The API of the Advisor project in Insights","url":"https://console.redhat.com/"}]}}')}}]); \ No newline at end of file diff --git a/static/js/5322.536ca929.chunk.js b/static/js/5322.536ca929.chunk.js deleted file mode 100644 index 9463f328..00000000 --- a/static/js/5322.536ca929.chunk.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkapidocs=self.webpackChunkapidocs||[]).push([[5322],{45322:function(e){e.exports=JSON.parse('{"extras":{},"openapi":{"components":{"schemas":{"Ack":{"properties":{"created_at":{"format":"date-time","readOnly":true,"type":"string"},"created_by":{"description":"The user who created the ack","maxLength":255,"type":"string"},"justification":{"description":"The reason the rule was acked","maxLength":140,"type":"string"},"rule":{"type":"string"},"updated_at":{"format":"date-time","readOnly":true,"type":"string"}},"required":["created_at","rule","updated_at"],"type":"object"},"AckCount":{"description":"A rule_id and the number of acks on it","properties":{"ack_count":{"type":"integer"},"rule_id":{"type":"string"}},"required":["ack_count","rule_id"],"type":"object"},"AckInput":{"properties":{"justification":{"default":"","maxLength":140,"type":"string"},"rule_id":{"maxLength":240,"type":"string"}},"required":["rule_id"],"type":"object"},"AckJustification":{"properties":{"justification":{"description":"The reason the rule was acked","maxLength":140,"type":"string"}},"type":"object"},"AllAck":{"properties":{"account":{"type":"string"},"created_at":{"format":"date-time","readOnly":true,"type":"string"},"created_by":{"description":"The user who created the ack","maxLength":255,"type":"string"},"justification":{"description":"The reason the rule was acked","maxLength":140,"type":"string"},"org_id":{"type":"string"},"rule":{"title":"rule_id","type":"string"},"updated_at":{"format":"date-time","readOnly":true,"type":"string"}},"required":["account","created_at","org_id","rule","updated_at"],"type":"object"},"AllRuleRatings":{"description":"This is only available to internal users and lists ratings from all users.","properties":{"account":{"maxLength":10,"nullable":true,"type":"string"},"created_at":{"format":"date-time","readOnly":true,"type":"string"},"org_id":{"maxLength":50,"type":"string"},"rated_by":{"default":"","description":"The username that rated this rule","maxLength":255,"type":"string"},"rating":{"description":"* `-1` - Dislike\\n* `0` - Neutral\\n* `1` - Like","enum":[-1,0,1],"maximum":32767,"minimum":-32768,"type":"integer","x-spec-enum-id":"77fd471e36283637"},"rule":{"description":"Rule ID from Insights","type":"string"},"updated_at":{"format":"date-time","readOnly":true,"type":"string"}},"required":["created_at","org_id","rating","rule","updated_at"],"type":"object"},"AutoSubscribe":{"description":"Serializer specifically for listing\\nall Pathways currently in the system","properties":{"is_auto_subscribed":{"type":"boolean"},"org_id":{"type":"string"}},"required":["is_auto_subscribed","org_id"],"type":"object"},"AutoSubscribeInput":{"description":"Serializer specifically for handling\\nCREATE and UPDATE views for AutoSubscribe","properties":{"is_auto_subscribed":{"type":"boolean"},"org_id":{"type":"string"}},"required":["is_auto_subscribed","org_id"],"type":"object"},"ExportHits":{"description":"The basic report information for each system affected by a rule. Only\\nlists basic details of the host and rule, and links to more information.","properties":{"hostname":{"type":"string"},"last_seen":{"format":"date-time","type":"string"},"likelihood":{"type":"integer"},"publish_date":{"format":"date-time","type":"string"},"results_url":{"format":"uri","type":"string"},"rhel_version":{"type":"string"},"solution_url":{"format":"uri","type":"string"},"stale_at":{"format":"date-time","type":"string"},"title":{"type":"string"},"total_risk":{"type":"integer"},"uuid":{"format":"uuid","type":"string"}},"required":["hostname","last_seen","likelihood","publish_date","results_url","rhel_version","solution_url","stale_at","title","total_risk","uuid"],"type":"object"},"HostAck":{"description":"Ignore reports of this rule on this system for this account.","properties":{"created_at":{"format":"date-time","readOnly":true,"type":"string"},"created_by":{"description":"The username that created this acknowledgement","readOnly":true,"type":"string"},"display_name":{"readOnly":true,"type":"string"},"id":{"readOnly":true,"type":"integer"},"justification":{"maxLength":140,"type":"string"},"rule":{"description":"Rule ID from Insights","type":"string"},"system_uuid":{"format":"uuid","type":"string"},"updated_at":{"format":"date-time","readOnly":true,"type":"string"}},"required":["created_at","created_by","display_name","id","rule","system_uuid","updated_at"],"type":"object"},"HostAckInput":{"description":"Ignore reports of this rule on this system for this account.\\n\\nUse this when creating a new HostAck.","properties":{"justification":{"maxLength":140,"type":"string"},"rule":{"description":"Rule ID from Insights","type":"string"},"system_uuid":{"format":"uuid","type":"string"}},"required":["rule","system_uuid"],"type":"object"},"HostAckJustification":{"description":"Just modify the justification on a Host Ack.","properties":{"id":{"readOnly":true,"type":"integer"},"justification":{"maxLength":140,"type":"string"}},"required":["id"],"type":"object"},"JustificationCount":{"properties":{"count":{"type":"integer"},"justification":{"type":"string"}},"required":["count","justification"],"type":"object"},"Kcs":{"description":"Pairings of C.R.C rule URL and its KCS solution number (node_id)","properties":{"node_id":{"description":"KCS solution number","type":"string"},"rule_url":{"description":"Rule URL on C.R.C.","format":"uri","type":"string"}},"required":["node_id","rule_url"],"type":"object"},"MultiAckResponse":{"description":"The response from adding or deleting multiple acks on a rule. For backward\\ncompatibility we include the count, and then list the impacted systems.","properties":{"count":{"type":"integer"},"host_ids":{"items":{"format":"uuid","type":"string"},"type":"array"}},"required":["count","host_ids"],"type":"object"},"MultiHostAck":{"description":"Add acks to multiple hosts for a single rule.","properties":{"justification":{"maxLength":140,"type":"string"},"systems":{"items":{"format":"uuid","type":"string"},"type":"array"}},"required":["justification","systems"],"type":"object"},"MultiHostUnAck":{"description":"Delete acks from multiple hosts for a single rule.","properties":{"systems":{"items":{"format":"uuid","type":"string"},"type":"array"}},"required":["systems"],"type":"object"},"OrgId":{"description":"A specific org id for a Red Hat customer.","properties":{"org_id":{"maxLength":10,"minLength":6,"type":"string"}},"required":["org_id"],"type":"object"},"PaginatedAckList":{"properties":{"data":{"items":{"$ref":"#/components/schemas/Ack"},"type":"array"},"links":{"properties":{"first":{"format":"uri","nullable":true,"type":"string"},"last":{"format":"uri","nullable":true,"type":"string"},"next":{"format":"uri","nullable":true,"type":"string"},"previous":{"format":"uri","nullable":true,"type":"string"}},"type":"object"},"meta":{"properties":{"count":{"example":169,"type":"integer"}},"required":["count"],"type":"object"}},"type":"object"},"PaginatedAllRuleRatingsList":{"properties":{"data":{"items":{"$ref":"#/components/schemas/AllRuleRatings"},"type":"array"},"links":{"properties":{"first":{"format":"uri","nullable":true,"type":"string"},"last":{"format":"uri","nullable":true,"type":"string"},"next":{"format":"uri","nullable":true,"type":"string"},"previous":{"format":"uri","nullable":true,"type":"string"}},"type":"object"},"meta":{"properties":{"count":{"example":169,"type":"integer"}},"required":["count"],"type":"object"}},"type":"object"},"PaginatedHostAckList":{"properties":{"data":{"items":{"$ref":"#/components/schemas/HostAck"},"type":"array"},"links":{"properties":{"first":{"format":"uri","nullable":true,"type":"string"},"last":{"format":"uri","nullable":true,"type":"string"},"next":{"format":"uri","nullable":true,"type":"string"},"previous":{"format":"uri","nullable":true,"type":"string"}},"type":"object"},"meta":{"properties":{"count":{"example":169,"type":"integer"}},"required":["count"],"type":"object"}},"type":"object"},"PaginatedJustificationCountList":{"properties":{"data":{"items":{"$ref":"#/components/schemas/JustificationCount"},"type":"array"},"links":{"properties":{"first":{"format":"uri","nullable":true,"type":"string"},"last":{"format":"uri","nullable":true,"type":"string"},"next":{"format":"uri","nullable":true,"type":"string"},"previous":{"format":"uri","nullable":true,"type":"string"}},"type":"object"},"meta":{"properties":{"count":{"example":169,"type":"integer"}},"required":["count"],"type":"object"}},"type":"object"},"PaginatedOrgIdList":{"properties":{"data":{"items":{"$ref":"#/components/schemas/OrgId"},"type":"array"},"links":{"properties":{"first":{"format":"uri","nullable":true,"type":"string"},"last":{"format":"uri","nullable":true,"type":"string"},"next":{"format":"uri","nullable":true,"type":"string"},"previous":{"format":"uri","nullable":true,"type":"string"}},"type":"object"},"meta":{"properties":{"count":{"example":169,"type":"integer"}},"required":["count"],"type":"object"}},"type":"object"},"PaginatedPathwayList":{"properties":{"data":{"items":{"$ref":"#/components/schemas/Pathway"},"type":"array"},"links":{"properties":{"first":{"format":"uri","nullable":true,"type":"string"},"last":{"format":"uri","nullable":true,"type":"string"},"next":{"format":"uri","nullable":true,"type":"string"},"previous":{"format":"uri","nullable":true,"type":"string"}},"type":"object"},"meta":{"properties":{"count":{"example":169,"type":"integer"}},"required":["count"],"type":"object"}},"type":"object"},"PaginatedRuleForAccountList":{"properties":{"data":{"items":{"$ref":"#/components/schemas/RuleForAccount"},"type":"array"},"links":{"properties":{"first":{"format":"uri","nullable":true,"type":"string"},"last":{"format":"uri","nullable":true,"type":"string"},"next":{"format":"uri","nullable":true,"type":"string"},"previous":{"format":"uri","nullable":true,"type":"string"}},"type":"object"},"meta":{"properties":{"count":{"example":169,"type":"integer"}},"required":["count"],"type":"object"}},"type":"object"},"PaginatedRuleRatingList":{"properties":{"data":{"items":{"$ref":"#/components/schemas/RuleRating"},"type":"array"},"links":{"properties":{"first":{"format":"uri","nullable":true,"type":"string"},"last":{"format":"uri","nullable":true,"type":"string"},"next":{"format":"uri","nullable":true,"type":"string"},"previous":{"format":"uri","nullable":true,"type":"string"}},"type":"object"},"meta":{"properties":{"count":{"example":169,"type":"integer"}},"required":["count"],"type":"object"}},"type":"object"},"PaginatedRuleRatingStatsList":{"properties":{"data":{"items":{"$ref":"#/components/schemas/RuleRatingStats"},"type":"array"},"links":{"properties":{"first":{"format":"uri","nullable":true,"type":"string"},"last":{"format":"uri","nullable":true,"type":"string"},"next":{"format":"uri","nullable":true,"type":"string"},"previous":{"format":"uri","nullable":true,"type":"string"}},"type":"object"},"meta":{"properties":{"count":{"example":169,"type":"integer"}},"required":["count"],"type":"object"}},"type":"object"},"PaginatedSubscriptionExcludedAccountList":{"properties":{"data":{"items":{"$ref":"#/components/schemas/SubscriptionExcludedAccount"},"type":"array"},"links":{"properties":{"first":{"format":"uri","nullable":true,"type":"string"},"last":{"format":"uri","nullable":true,"type":"string"},"next":{"format":"uri","nullable":true,"type":"string"},"previous":{"format":"uri","nullable":true,"type":"string"}},"type":"object"},"meta":{"properties":{"count":{"example":169,"type":"integer"}},"required":["count"],"type":"object"}},"type":"object"},"PaginatedSystemList":{"properties":{"data":{"items":{"$ref":"#/components/schemas/System"},"type":"array"},"links":{"properties":{"first":{"format":"uri","nullable":true,"type":"string"},"last":{"format":"uri","nullable":true,"type":"string"},"next":{"format":"uri","nullable":true,"type":"string"},"previous":{"format":"uri","nullable":true,"type":"string"}},"type":"object"},"meta":{"properties":{"count":{"example":169,"type":"integer"}},"required":["count"],"type":"object"}},"type":"object"},"PaginatedSystemsDetailList":{"properties":{"data":{"items":{"$ref":"#/components/schemas/SystemsDetail"},"type":"array"},"links":{"properties":{"first":{"format":"uri","nullable":true,"type":"string"},"last":{"format":"uri","nullable":true,"type":"string"},"next":{"format":"uri","nullable":true,"type":"string"},"previous":{"format":"uri","nullable":true,"type":"string"}},"type":"object"},"meta":{"properties":{"count":{"example":169,"type":"integer"}},"required":["count"],"type":"object"}},"type":"object"},"PatchedTopicEdit":{"description":"Create or edit topics.","properties":{"description":{"type":"string"},"enabled":{"type":"boolean"},"featured":{"type":"boolean"},"name":{"maxLength":80,"type":"string"},"slug":{"description":"Rule topic slug","maxLength":20,"pattern":"^[-a-zA-Z0-9_]+$","type":"string"},"tag":{"type":"string"}},"type":"object"},"Pathway":{"description":"Serializer specifically for listing\\nall Pathways currently in the system","properties":{"categories":{"items":{"$ref":"#/components/schemas/RuleCategory"},"readOnly":true,"type":"array"},"component":{"type":"string"},"critical_risk_count":{"type":"integer"},"description":{"type":"string"},"has_incident":{"type":"boolean"},"has_playbook":{"type":"boolean"},"high_risk_count":{"type":"integer"},"impacted_systems_count":{"type":"integer"},"incident_count":{"type":"integer"},"low_risk_count":{"type":"integer"},"medium_risk_count":{"type":"integer"},"name":{"type":"string"},"publish_date":{"format":"date-time","type":"string"},"reboot_required":{"type":"boolean"},"recommendation_level":{"format":"double","readOnly":true,"type":"number"},"resolution_risk":{"$ref":"#/components/schemas/ResolutionRisk"},"slug":{"type":"string"}},"required":["categories","component","critical_risk_count","description","has_incident","has_playbook","high_risk_count","impacted_systems_count","incident_count","low_risk_count","medium_risk_count","name","publish_date","reboot_required","recommendation_level","resolution_risk","slug"],"type":"object"},"PathwayInput":{"description":"Serializer specifically for handling\\nCREATE and UPDATE views for Pathways","properties":{"component":{"type":"string"},"description":{"type":"string"},"name":{"type":"string"},"publish_date":{"format":"date-time","type":"string"},"resolution_risk":{"type":"string"}},"required":["component","description","name","publish_date","resolution_risk"],"type":"object"},"PreferencesInput":{"description":"User preferences - separated from account settings.","properties":{"is_subscribed":{"type":"boolean"}},"required":["is_subscribed"],"type":"object"},"RenderedReport":{"description":"The actual rule fields with the report data for a particular system\\nrendered into them, in a flat structure that\'s easier to use.","properties":{"description":{"maxLength":240,"type":"string"},"generic":{"type":"string"},"more_info":{"type":"string"},"reason":{"type":"string"},"resolution":{"type":"string"},"summary":{"type":"string"}},"required":["description","generic","reason","resolution","summary"],"type":"object"},"Report":{"properties":{"details":{},"impacted_date":{"format":"date-time","readOnly":true,"type":"string"},"resolution":{"allOf":[{"$ref":"#/components/schemas/Resolution"}],"readOnly":true},"rule":{"allOf":[{"$ref":"#/components/schemas/Rule"}],"readOnly":true}},"required":["details","impacted_date","resolution","rule"],"type":"object"},"ReportExport":{"description":"Report information for export. Based on CurrentReport with fields from\\nRule and Host pulled through for convenience.","properties":{"details":{},"host_id":{"format":"uuid","readOnly":true,"type":"string"},"impacted_date":{"format":"date-time","nullable":true,"readOnly":true,"type":"string"},"report_time":{"format":"date-time","type":"string"},"reports_url":{"type":"string"},"rule_id":{"type":"string"}},"required":["details","host_id","impacted_date","report_time","reports_url","rule_id"],"type":"object"},"Resolution":{"properties":{"has_playbook":{"readOnly":true,"type":"boolean"},"resolution":{"type":"string"},"resolution_risk":{"allOf":[{"$ref":"#/components/schemas/ResolutionRisk"}],"readOnly":true},"system_type":{"type":"integer"}},"required":["has_playbook","resolution","resolution_risk","system_type"],"type":"object"},"ResolutionRisk":{"properties":{"name":{"maxLength":80,"type":"string"},"risk":{"maximum":32767,"minimum":0,"type":"integer"}},"type":"object"},"Rule":{"description":"The standard rule information. Used for models and relations that don\'t\\nknow the account and therefore can\'t know the acks or impacted systems.","properties":{"active":{"type":"boolean"},"category":{"$ref":"#/components/schemas/RuleCategory"},"created_at":{"format":"date-time","readOnly":true,"type":"string"},"deleted_at":{"format":"date-time","type":"string"},"description":{"maxLength":240,"type":"string"},"generic":{"type":"string"},"impact":{"$ref":"#/components/schemas/RuleImpact"},"likelihood":{"maximum":32767,"minimum":0,"type":"integer"},"more_info":{"type":"string"},"node_id":{"description":"KCS solution number","maxLength":10,"type":"string"},"publish_date":{"format":"date-time","nullable":true,"type":"string"},"reason":{"type":"string"},"reboot_required":{"type":"boolean"},"resolution_set":{"items":{"$ref":"#/components/schemas/Resolution"},"type":"array"},"rule_id":{"description":"Rule ID from Insights","maxLength":240,"type":"string"},"summary":{"type":"string"},"tags":{"readOnly":true,"type":"string"},"total_risk":{"maximum":32767,"minimum":0,"type":"integer"},"updated_at":{"format":"date-time","readOnly":true,"type":"string"}},"required":["category","created_at","description","generic","impact","reason","resolution_set","rule_id","summary","tags","updated_at"],"type":"object"},"RuleCategory":{"properties":{"id":{"readOnly":true,"type":"integer"},"name":{"maxLength":20,"type":"string"}},"required":["id","name"],"type":"object"},"RuleExport":{"description":"Rule information for export.","properties":{"active":{"type":"boolean"},"category":{"type":"string"},"created_at":{"format":"date-time","readOnly":true,"type":"string"},"deleted_at":{"format":"date-time","nullable":true,"readOnly":true,"type":"string"},"description":{"maxLength":240,"type":"string"},"generic":{"type":"string"},"hosts_acked_count":{"type":"integer"},"impact":{"type":"string"},"impacted_systems_count":{"type":"integer"},"likelihood":{"maximum":32767,"minimum":0,"type":"integer"},"more_info":{"type":"string"},"node_id":{"description":"KCS solution number","maxLength":10,"type":"string"},"playbook_count":{"type":"integer"},"publish_date":{"format":"date-time","nullable":true,"type":"string"},"rating":{"readOnly":true,"type":"integer"},"reason":{"type":"string"},"reboot_required":{"type":"boolean"},"reports_shown":{"readOnly":true,"type":"boolean"},"resolution_set":{"items":{"$ref":"#/components/schemas/Resolution"},"type":"array"},"rule_id":{"description":"Rule ID from Insights","maxLength":240,"type":"string"},"rule_status":{"readOnly":true,"type":"string"},"summary":{"type":"string"},"tags":{"readOnly":true,"type":"string"},"total_risk":{"maximum":32767,"minimum":0,"type":"integer"},"updated_at":{"format":"date-time","readOnly":true,"type":"string"}},"required":["category","created_at","deleted_at","description","generic","hosts_acked_count","impact","impacted_systems_count","playbook_count","rating","reason","reports_shown","resolution_set","rule_id","rule_status","summary","tags","updated_at"],"type":"object"},"RuleForAccount":{"description":"Rule information when we know the account, and therefore can calculate\\nthe number of impacted systems and the reports_shown/rule_status flags.\\nWe have to declare those explicitly here because they\'re not part of the model.","properties":{"active":{"type":"boolean"},"category":{"$ref":"#/components/schemas/RuleCategory"},"created_at":{"format":"date-time","readOnly":true,"type":"string"},"deleted_at":{"format":"date-time","type":"string"},"description":{"maxLength":240,"type":"string"},"generic":{"type":"string"},"hosts_acked_count":{"readOnly":true,"type":"integer"},"impact":{"$ref":"#/components/schemas/RuleImpact"},"impacted_systems_count":{"readOnly":true,"type":"integer"},"likelihood":{"maximum":32767,"minimum":0,"type":"integer"},"more_info":{"type":"string"},"node_id":{"description":"KCS solution number","maxLength":10,"type":"string"},"pathway":{"$ref":"#/components/schemas/RulePathway"},"playbook_count":{"readOnly":true,"type":"integer"},"publish_date":{"format":"date-time","nullable":true,"type":"string"},"rating":{"readOnly":true,"type":"integer"},"reason":{"type":"string"},"reboot_required":{"type":"boolean"},"reports_shown":{"readOnly":true,"type":"boolean"},"resolution_set":{"items":{"$ref":"#/components/schemas/Resolution"},"type":"array"},"rule_id":{"description":"Rule ID from Insights","maxLength":240,"type":"string"},"rule_status":{"readOnly":true,"type":"string"},"summary":{"type":"string"},"tags":{"readOnly":true,"type":"string"},"total_risk":{"maximum":32767,"minimum":0,"type":"integer"},"updated_at":{"format":"date-time","readOnly":true,"type":"string"}},"required":["category","created_at","description","generic","hosts_acked_count","impact","impacted_systems_count","playbook_count","rating","reason","reports_shown","resolution_set","rule_id","rule_status","summary","tags","updated_at"],"type":"object"},"RuleImpact":{"properties":{"impact":{"maximum":32767,"minimum":0,"type":"integer"},"name":{"maxLength":80,"type":"string"}},"type":"object"},"RulePathway":{"properties":{"component":{"maxLength":80,"type":"string"},"name":{"maxLength":240,"type":"string"},"resolution_risk":{"allOf":[{"$ref":"#/components/schemas/ResolutionRisk"}],"readOnly":true}},"required":["component","name","resolution_risk"],"type":"object"},"RuleRating":{"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":{"description":"* `-1` - Dislike\\n* `0` - Neutral\\n* `1` - Like","enum":[-1,0,1],"maximum":32767,"minimum":-32768,"type":"integer","x-spec-enum-id":"77fd471e36283637"},"rule":{"description":"Rule ID from Insights","type":"string"}},"required":["rating","rule"],"type":"object"},"RuleRatingStats":{"description":"Output of statistics view of rule ratings - rule ID and totals of ratings.","properties":{"rule":{"type":"string"},"total_negative":{"type":"integer"},"total_positive":{"type":"integer"},"total_ratings":{"type":"integer"}},"required":["rule","total_negative","total_positive","total_ratings"],"type":"object"},"RuleSystemsExport":{"description":"List of systems with current reports for each rule.","properties":{"rules":{"additionalProperties":{"items":{"format":"uuid","type":"string"},"type":"array"},"type":"object"}},"required":["rules"],"type":"object"},"RuleUsageStats":{"description":"Rule usage statistics for rule developers.","properties":{"accounts_acked":{"type":"integer"},"accounts_hit":{"type":"integer"},"active":{"type":"boolean"},"description":{"type":"string"},"rule_id":{"maxLength":240,"type":"string"},"systems_hit":{"type":"integer"}},"required":["accounts_acked","accounts_hit","active","description","rule_id","systems_hit"],"type":"object"},"SettingDDF":{"description":"Outputs the description of the settings in a Data-Driven Forms format.","properties":{"component":{"type":"string"},"description":{"type":"string"},"helperText":{"type":"string"},"initialValue":{"type":"boolean"},"isDisabled":{"type":"boolean"},"isRequired":{"type":"boolean"},"label":{"type":"string"},"name":{"type":"string"},"title":{"type":"string"}},"required":["component","initialValue","isDisabled","isRequired","name"],"type":"object"},"SettingsDDF":{"description":"Combining the DDF fields into one \'fields\' object.","properties":{"fields":{"items":{"$ref":"#/components/schemas/SettingDDF"},"type":"array"}},"required":["fields"],"type":"object"},"Stats":{"description":"Advisor rule or report frequency statisics.","properties":{"category":{"additionalProperties":{"type":"integer"},"type":"object"},"total":{"type":"integer"},"total_risk":{"additionalProperties":{"type":"integer"},"type":"object"}},"required":["category","total","total_risk"],"type":"object"},"SubscriptionExcludedAccount":{"properties":{"account":{"type":"string"},"org_id":{"type":"string"}},"required":["org_id"],"type":"object"},"System":{"properties":{"all_pathway_hits":{"readOnly":true,"type":"integer"},"critical_hits":{"readOnly":true,"type":"integer"},"display_name":{"maxLength":200,"type":"string"},"group_name":{"readOnly":true,"type":"string"},"hits":{"readOnly":true,"type":"integer"},"important_hits":{"readOnly":true,"type":"integer"},"incident_hits":{"readOnly":true,"type":"integer"},"last_seen":{"format":"date-time","readOnly":true,"type":"string"},"low_hits":{"readOnly":true,"type":"integer"},"moderate_hits":{"readOnly":true,"type":"integer"},"pathway_filter_hits":{"readOnly":true,"type":"integer"},"rhel_version":{"type":"string"},"stale_at":{"format":"date-time","readOnly":true,"type":"string"},"system_uuid":{"format":"uuid","type":"string"}},"required":["all_pathway_hits","critical_hits","display_name","group_name","hits","important_hits","incident_hits","last_seen","low_hits","moderate_hits","pathway_filter_hits","rhel_version","stale_at","system_uuid"],"type":"object"},"SystemType":{"description":"RHN-based system types classified by role and product code.","properties":{"id":{"readOnly":true,"type":"integer"},"product_code":{"maxLength":10,"type":"string"},"role":{"maxLength":15,"type":"string"}},"required":["id","product_code","role"],"type":"object"},"SystemsDetail":{"properties":{"all_pathway_hits":{"readOnly":true,"type":"integer"},"critical_hits":{"readOnly":true,"type":"integer"},"display_name":{"maxLength":200,"type":"string"},"hits":{"readOnly":true,"type":"integer"},"impacted_date":{"format":"date-time","readOnly":true,"type":"string"},"important_hits":{"readOnly":true,"type":"integer"},"incident_hits":{"readOnly":true,"type":"integer"},"last_seen":{"format":"date-time","readOnly":true,"type":"string"},"low_hits":{"readOnly":true,"type":"integer"},"moderate_hits":{"readOnly":true,"type":"integer"},"pathway_filter_hits":{"readOnly":true,"type":"integer"},"rhel_version":{"type":"string"},"stale_at":{"format":"date-time","readOnly":true,"type":"string"},"system_uuid":{"format":"uuid","type":"string"}},"required":["all_pathway_hits","critical_hits","display_name","hits","impacted_date","important_hits","incident_hits","last_seen","low_hits","moderate_hits","pathway_filter_hits","rhel_version","stale_at","system_uuid"],"type":"object"},"SystemsForRule":{"description":"The list of Inventory Host IDs that are (currently) affected by a given\\nrule.","properties":{"host_ids":{"items":{"format":"uuid","type":"string"},"type":"array"}},"required":["host_ids"],"type":"object"},"Topic":{"description":"Topics group rules by a tag shared by all the rules.","properties":{"description":{"type":"string"},"enabled":{"type":"boolean"},"featured":{"type":"boolean"},"impacted_systems_count":{"readOnly":true,"type":"integer"},"name":{"maxLength":80,"type":"string"},"slug":{"description":"Rule topic slug","maxLength":20,"pattern":"^[-a-zA-Z0-9_]+$","type":"string"},"tag":{"type":"string"}},"required":["description","impacted_systems_count","name","slug","tag"],"type":"object"},"TopicEdit":{"description":"Create or edit topics.","properties":{"description":{"type":"string"},"enabled":{"type":"boolean"},"featured":{"type":"boolean"},"name":{"maxLength":80,"type":"string"},"slug":{"description":"Rule topic slug","maxLength":20,"pattern":"^[-a-zA-Z0-9_]+$","type":"string"},"tag":{"type":"string"}},"required":["description","name","slug","tag"],"type":"object"},"Usage":{"description":"An approximation of the number of unique hits per day.","properties":{"unique_hits":{"type":"integer"}},"required":["unique_hits"],"type":"object"},"WeeklyReportSubscription":{"properties":{"is_subscribed":{"type":"boolean"}},"required":["is_subscribed"],"type":"object"}},"securitySchemes":{"Authorization":{"in":"header","name":"Authorization","type":"apiKey"}}},"info":{"description":"The API of the Advisor project in Insights","title":"Insights Advisor API","version":"1.0.0"},"openapi":"3.0.3","paths":{"/api/insights/v1/account/":{"get":{"description":"List all accounts by org_id we know about (through the host table).\\n\\nNo other information about the accounts is provided in this view.","operationId":"account_list","parameters":[{"description":"Number of results to return per page.","in":"query","name":"limit","required":false,"schema":{"type":"integer"}},{"description":"The initial index from which to return the results.","in":"query","name":"offset","required":false,"schema":{"type":"integer"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PaginatedOrgIdList"}}},"description":""}},"security":[{"x-rh-identity":[]}],"tags":["account"]}},"/api/insights/v1/account/{org_id}/":{"get":{"description":"List information relating to other accounts.\\n\\nThis allows us to collect data that requires the user to specify an\\norg_id number, such as number of systems currently registered to that\\norg.\\n\\nparam: org_id: Org ID number of a Red Hat customer.","operationId":"account_retrieve","parameters":[{"in":"path","name":"org_id","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OrgId"}}},"description":""}},"security":[{"x-rh-identity":[]}],"tags":["account"]}},"/api/insights/v1/account/{org_id}/hosts/":{"get":{"description":"List details about the number of hosts in this account by org_id.\\n\\nAs well as the total number of hosts, we report on the number of hosts\\nin various states of staleness:\\n * fresh: hosts that have updated in the last 26 hours\\n * stale: hosts not updated in the last 26 hours - we display the\\n results for these hosts but a warning is shown to say they are\\n not updating\\n * warn: hosts not updated in the last week - these are not shown\\n in any queries\\n\\nThis may have other aggregate data added in the future.","operationId":"account_hosts_retrieve","parameters":[{"in":"path","name":"org_id","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OrgId"}}},"description":""}},"security":[{"x-rh-identity":[]}],"tags":["account"]}},"/api/insights/v1/ack/":{"get":{"description":"List acks from this account by org_id where the rule is active\\n\\nWill return an empty list if this account has no acks.","operationId":"ack_list","parameters":[{"description":"Number of results to return per page.","in":"query","name":"limit","required":false,"schema":{"type":"integer"}},{"description":"The initial index from which to return the results.","in":"query","name":"offset","required":false,"schema":{"type":"integer"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PaginatedAckList"}}},"description":""}},"security":[{"x-rh-identity":[]}],"tags":["ack"]},"post":{"description":"Add an acknowledgement for a rule, by rule ID.\\n\\nIf there\'s already an acknowledgement of this rule by this\\naccounts org_id, then return that. Otherwise, a new ack is created.","operationId":"ack_create","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AckInput"}},"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/AckInput"}},"multipart/form-data":{"schema":{"$ref":"#/components/schemas/AckInput"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Ack"}}},"description":""}},"security":[{"x-rh-identity":[]}],"tags":["ack"]}},"/api/insights/v1/ack/all/":{"get":{"description":"List acks from all accounts, with org_id.\\n\\nHas no pagination.","operationId":"ack_all_list","responses":{"200":{"content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/AllAck"},"type":"array"}}},"description":""}},"security":[{"x-rh-identity":[]}],"tags":["ack"]}},"/api/insights/v1/ack/{rule_id}/":{"delete":{"description":"Delete an acknowledgement for a rule, by its rule ID.\\n\\nIf the ack existed, it is deleted and a 204 is returned. Otherwise,\\na 404 is returned.","operationId":"ack_destroy","parameters":[{"in":"path","name":"rule_id","required":true,"schema":{"description":"Rule ID from Insights","type":"string"}}],"responses":{"204":{"content":{"application/json":{"schema":{"type":"string"}}},"description":""}},"security":[{"x-rh-identity":[]}],"tags":["ack"]},"get":{"description":"Acks acknowledge (and therefore hide) a rule from view in an account.\\n\\nThis view handles listing, retrieving, creating and deleting acks. Acks\\nare created and deleted by Insights rule ID, not by their own ack ID.\\n\\nparam: rule_id: Rule ID defined by Insights ruleset","operationId":"ack_retrieve","parameters":[{"in":"path","name":"rule_id","required":true,"schema":{"description":"Rule ID from Insights","type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Ack"}}},"description":""}},"security":[{"x-rh-identity":[]}],"tags":["ack"]},"put":{"description":"Update an acknowledgement for a rule, by rule ID.\\n\\nA new justification can be supplied. The username is taken from the\\nauthenticated request. The updated ack is returned.","operationId":"ack_update","parameters":[{"in":"path","name":"rule_id","required":true,"schema":{"description":"Rule ID from Insights","type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AckJustification"}},"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/AckJustification"}},"multipart/form-data":{"schema":{"$ref":"#/components/schemas/AckJustification"}}}},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Ack"}}},"description":""}},"security":[{"x-rh-identity":[]}],"tags":["ack"]}},"/api/insights/v1/ackcount/":{"get":{"description":"Get the ack counts for all active rules\\n\\nReturn a list of rule_ids and their ack counts","operationId":"ackcount_list","responses":{"200":{"content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/AckCount"},"type":"array"}}},"description":""}},"security":[{"x-rh-identity":[]}],"tags":["ackcount"]}},"/api/insights/v1/ackcount/{rule_id}/":{"get":{"description":"Get the ack count for the given rule_id\\n\\nReturns the rule_id and its ack count","operationId":"ackcount_retrieve","parameters":[{"in":"path","name":"rule_id","required":true,"schema":{"description":"Rule ID from Insights","type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AckCount"}}},"description":""}},"security":[{"x-rh-identity":[]}],"tags":["ackcount"]}},"/api/insights/v1/autosubexclusion/":{"get":{"description":"Returns all subscription exclusions for accounts\\n\\nThis returns a list of all subscription exclusions.\\nThis contains exclusions and their account and org_id.\\nThese are all accounts that are excluded from the autosub\\nsubscription path for weekly report subscriptions.","operationId":"autosubexclusion_list","parameters":[{"description":"Number of results to return per page.","in":"query","name":"limit","required":false,"schema":{"type":"integer"}},{"description":"The initial index from which to return the results.","in":"query","name":"offset","required":false,"schema":{"type":"integer"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PaginatedSubscriptionExcludedAccountList"}}},"description":""}},"security":[{"x-rh-identity":[]}],"tags":["autosubexclusion"]},"post":{"description":"Create a new subscription exclusion for an account.\\n\\nThis creates a new subscription exclusion for an account.\\nThis should contain an org_id and account. Only org_id is required.\\nAccount is optional.","operationId":"autosubexclusion_create","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SubscriptionExcludedAccount"}},"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/SubscriptionExcludedAccount"}},"multipart/form-data":{"schema":{"$ref":"#/components/schemas/SubscriptionExcludedAccount"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SubscriptionExcludedAccount"}}},"description":""}},"security":[{"x-rh-identity":[]}],"tags":["autosubexclusion"]}},"/api/insights/v1/autosubexclusion/{org_id}/":{"delete":{"description":"Destroy an existing subscription exclusion in the system.\\n\\nThis will DELETE an existing subscription exclusion\\nin the system. Existing subscription exclusions\\nare identified and deleted by the \\"org_id\\" field.","operationId":"autosubexclusion_destroy","parameters":[{"in":"path","name":"org_id","required":true,"schema":{"type":"string"}}],"responses":{"204":{"content":{"application/json":{"schema":{"type":"string"}}},"description":""}},"security":[{"x-rh-identity":[]}],"tags":["autosubexclusion"]},"get":{"description":"Returns an individual subscription exclusion based on org_id.\\n\\nThis returns an individual subscription exclusion\\nbased on the org_id.","operationId":"autosubexclusion_retrieve","parameters":[{"in":"path","name":"org_id","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SubscriptionExcludedAccount"}}},"description":""}},"security":[{"x-rh-identity":[]}],"tags":["autosubexclusion"]}},"/api/insights/v1/export/hits/":{"get":{"description":"Get each host and all rules currently affecting it.\\n\\nWe also only present active, non-acked (on an account AND host level)\\nrules. Inventory data may be requested if Advisor has not seen all\\nthe hosts. The accepted content type supplied in the request headers\\nis used to determine the supplied content type.","operationId":"export_hits_list","parameters":[{"description":"Display rules of this category (number)","in":"query","name":"category","schema":{"items":{"enum":[1,2,3,4],"type":"integer"},"type":"array"},"style":"form"},{"description":"Display systems with this text in their display_name","in":"query","name":"display_name","schema":{"type":"string"}},{"description":"Are there systems which contain these SAP SIDs?","in":"query","name":"filter[system_profile][sap_sids][contains]","schema":{"items":{"format":"regex","pattern":"^[A-Z]..$","type":"string"},"type":"array"},"style":"form"},{"description":"Is this a SAP system?","in":"query","name":"filter[system_profile][sap_system]","schema":{"type":"boolean"}},{"in":"query","name":"format","schema":{"enum":["csv","json"],"type":"string"}},{"description":"List of Inventory host group names","in":"query","name":"groups","schema":{"items":{"type":"string"},"type":"array"},"style":"form"},{"description":"Display rules that have a playbook","in":"query","name":"has_playbook","schema":{"type":"boolean"}},{"description":"Display rules of this impact level (1..4)","in":"query","name":"impact","schema":{"items":{"enum":[1,2,3,4],"type":"integer"},"type":"array"},"style":"form"},{"description":"Display only rules that cause an incident","in":"query","name":"incident","schema":{"type":"boolean"}},{"description":"Display only rules of this likelihood level (1..4)","in":"query","name":"likelihood","schema":{"items":{"enum":[1,2,3,4],"type":"integer"},"type":"array"},"style":"form"},{"description":"Display rules that require a reboot to fix","in":"query","name":"reboot","schema":{"type":"boolean"}},{"description":"Display rules with this resolution risk level (1..4)","in":"query","name":"res_risk","schema":{"items":{"enum":[1,2,3,4],"type":"integer"},"type":"array"},"style":"form"},{"description":"Tags have a namespace, key and value in the form namespace/key=value","in":"query","name":"tags","schema":{"items":{"format":"regex","pattern":"^[^/=]+/[^/=]+=[^/=]+$","type":"string"},"type":"array"},"style":"form"},{"description":"Display rules with this text in their text fields","in":"query","name":"text","schema":{"type":"string"}},{"description":"Display rules with this total risk level (1..4)","in":"query","name":"total_risk","schema":{"items":{"enum":[1,2,3,4],"type":"integer"},"type":"array"},"style":"form"},{"description":"Search for systems with this updater type","in":"query","name":"update_method","schema":{"items":{"enum":["dnfyum","ostree"],"type":"string"},"type":"array"},"style":"form"},{"description":"Display a system with this uuid","in":"query","name":"uuid","schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/ExportHits"},"type":"array"}},"text/csv":{"schema":{"items":{"$ref":"#/components/schemas/ExportHits"},"type":"array"}}},"description":""}},"security":[{"x-rh-identity":[]}],"tags":["export"]}},"/api/insights/v1/export/reports/":{"get":{"description":"List the report details of each rule affecting each system.\\n\\nSystem and Rule are referred to by ID only, to be correlated with the\\nRule and System export data. It\'s like the hits output but much\\nless repetitive.","operationId":"export_reports_list","parameters":[{"description":"Display rules of this category (number)","in":"query","name":"category","schema":{"items":{"enum":[1,2,3,4],"type":"integer"},"type":"array"},"style":"form"},{"description":"Display systems with this text in their display_name","in":"query","name":"display_name","schema":{"type":"string"}},{"description":"Are there systems which contain these SAP SIDs?","in":"query","name":"filter[system_profile][sap_sids][contains]","schema":{"items":{"format":"regex","pattern":"^[A-Z]..$","type":"string"},"type":"array"},"style":"form"},{"description":"Is this a SAP system?","in":"query","name":"filter[system_profile][sap_system]","schema":{"type":"boolean"}},{"description":"List of Inventory host group names","in":"query","name":"groups","schema":{"items":{"type":"string"},"type":"array"},"style":"form"},{"description":"Display rules that have a playbook","in":"query","name":"has_playbook","schema":{"type":"boolean"}},{"description":"Display rules of this impact level (1..4)","in":"query","name":"impact","schema":{"items":{"enum":[1,2,3,4],"type":"integer"},"type":"array"},"style":"form"},{"description":"Display only rules that cause an incident","in":"query","name":"incident","schema":{"type":"boolean"}},{"description":"Display only rules of this likelihood level (1..4)","in":"query","name":"likelihood","schema":{"items":{"enum":[1,2,3,4],"type":"integer"},"type":"array"},"style":"form"},{"description":"Display rules that require a reboot to fix","in":"query","name":"reboot","schema":{"type":"boolean"}},{"description":"Display rules with this resolution risk level (1..4)","in":"query","name":"res_risk","schema":{"items":{"enum":[1,2,3,4],"type":"integer"},"type":"array"},"style":"form"},{"description":"Tags have a namespace, key and value in the form namespace/key=value","in":"query","name":"tags","schema":{"items":{"format":"regex","pattern":"^[^/=]+/[^/=]+=[^/=]+$","type":"string"},"type":"array"},"style":"form"},{"description":"Display rules with this text in their text fields","in":"query","name":"text","schema":{"type":"string"}},{"description":"Display rules with this total risk level (1..4)","in":"query","name":"total_risk","schema":{"items":{"enum":[1,2,3,4],"type":"integer"},"type":"array"},"style":"form"},{"description":"Search for systems with this updater type","in":"query","name":"update_method","schema":{"items":{"enum":["dnfyum","ostree"],"type":"string"},"type":"array"},"style":"form"},{"description":"Display a system with this uuid","in":"query","name":"uuid","schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/ReportExport"},"type":"array"}}},"description":""}},"security":[{"x-rh-identity":[]}],"tags":["export"]}},"/api/insights/v1/export/rules/":{"get":{"description":"List the report details of each rule affecting each system.\\n\\nSystem and Rule are referred to by ID only, to be correlated with the\\nRule and System export data. It\'s like the hits output but much\\nless repetitive.","operationId":"export_rules_list","parameters":[{"description":"Display rules of this category (number)","in":"query","name":"category","schema":{"items":{"enum":[1,2,3,4],"type":"integer"},"type":"array"},"style":"form"},{"description":"Display systems with this text in their display_name","in":"query","name":"display_name","schema":{"type":"string"}},{"description":"Are there systems which contain these SAP SIDs?","in":"query","name":"filter[system_profile][sap_sids][contains]","schema":{"items":{"format":"regex","pattern":"^[A-Z]..$","type":"string"},"type":"array"},"style":"form"},{"description":"Is this a SAP system?","in":"query","name":"filter[system_profile][sap_system]","schema":{"type":"boolean"}},{"description":"List of Inventory host group names","in":"query","name":"groups","schema":{"items":{"type":"string"},"type":"array"},"style":"form"},{"description":"Display rules that have a playbook","in":"query","name":"has_playbook","schema":{"type":"boolean"}},{"description":"Display rules of this impact level (1..4)","in":"query","name":"impact","schema":{"items":{"enum":[1,2,3,4],"type":"integer"},"type":"array"},"style":"form"},{"description":"Display only rules that cause an incident","in":"query","name":"incident","schema":{"type":"boolean"}},{"description":"Display only rules of this likelihood level (1..4)","in":"query","name":"likelihood","schema":{"items":{"enum":[1,2,3,4],"type":"integer"},"type":"array"},"style":"form"},{"description":"Display rules that require a reboot to fix","in":"query","name":"reboot","schema":{"type":"boolean"}},{"description":"Display rules with this resolution risk level (1..4)","in":"query","name":"res_risk","schema":{"items":{"enum":[1,2,3,4],"type":"integer"},"type":"array"},"style":"form"},{"description":"Tags have a namespace, key and value in the form namespace/key=value","in":"query","name":"tags","schema":{"items":{"format":"regex","pattern":"^[^/=]+/[^/=]+=[^/=]+$","type":"string"},"type":"array"},"style":"form"},{"description":"Display rules with this text in their text fields","in":"query","name":"text","schema":{"type":"string"}},{"description":"Display rules with this total risk level (1..4)","in":"query","name":"total_risk","schema":{"items":{"enum":[1,2,3,4],"type":"integer"},"type":"array"},"style":"form"},{"description":"Search for systems with this updater type","in":"query","name":"update_method","schema":{"items":{"enum":["dnfyum","ostree"],"type":"string"},"type":"array"},"style":"form"},{"description":"Display a system with this uuid","in":"query","name":"uuid","schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/RuleExport"},"type":"array"}}},"description":""}},"security":[{"x-rh-identity":[]}],"tags":["export"]}},"/api/insights/v1/export/systems/":{"get":{"description":"List of systems with details and hit counts.\\n\\nSystems can be sorted and filtered by display name and rule id.","operationId":"export_systems_list","parameters":[{"description":"Display systems with this text in their display_name","in":"query","name":"display_name","schema":{"type":"string"}},{"in":"query","name":"format","schema":{"enum":["csv","json"],"type":"string"}},{"description":"List of Inventory host group names","in":"query","name":"groups","schema":{"items":{"type":"string"},"type":"array"},"style":"form"},{"description":"Display systems with this text in their rule_id","in":"query","name":"rule_id","schema":{"type":"string"}},{"description":"Order by this field","in":"query","name":"sort","schema":{"default":"-hits","enum":["-critical_hits","-display_name","-group_name","-hits","-important_hits","-last_seen","-low_hits","-moderate_hits","-rhel_version","critical_hits","display_name","group_name","hits","important_hits","last_seen","low_hits","moderate_hits","rhel_version"],"type":"string"}},{"description":"Search for systems with this updater type","in":"query","name":"update_method","schema":{"items":{"enum":["dnfyum","ostree"],"type":"string"},"type":"array"},"style":"form"}],"responses":{"200":{"content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/System"},"type":"array"}},"text/csv":{"schema":{"items":{"$ref":"#/components/schemas/System"},"type":"array"}}},"description":""}},"security":[{"x-rh-identity":[]}],"tags":["export"]}},"/api/insights/v1/hostack/":{"get":{"description":"List host acks from this account for a system where the rule is active.\\n\\nHostacks are retrieved, edited and deleted by the \'id\' field.","operationId":"hostack_list","parameters":[{"description":"Are there systems which contain these SAP SIDs?","in":"query","name":"filter[system_profile][sap_sids][contains]","schema":{"items":{"format":"regex","pattern":"^[A-Z]..$","type":"string"},"type":"array"},"style":"form"},{"description":"Is this a SAP system?","in":"query","name":"filter[system_profile][sap_system]","schema":{"type":"boolean"}},{"description":"List of Inventory host group names","in":"query","name":"groups","schema":{"items":{"type":"string"},"type":"array"},"style":"form"},{"description":"Number of results to return per page.","in":"query","name":"limit","required":false,"schema":{"type":"integer"}},{"description":"The initial index from which to return the results.","in":"query","name":"offset","required":false,"schema":{"type":"integer"}},{"description":"Display host acknowledgement of this/these rules","in":"query","name":"rule_id","schema":{"items":{"format":"regex","pattern":"\\\\w+(,\\\\w+)*","type":"string"},"type":"array"},"style":"form"},{"description":"Tags have a namespace, key and value in the form namespace/key=value","in":"query","name":"tags","schema":{"items":{"format":"regex","pattern":"^[^/=]+/[^/=]+=[^/=]+$","type":"string"},"type":"array"},"style":"form"}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PaginatedHostAckList"}}},"description":""}},"security":[{"x-rh-identity":[]}],"tags":["hostack"]},"post":{"description":"Add an acknowledgement for a rule, by rule ID, system, and account.\\n\\nReturn the new hostack. If there\'s already an acknowledgement of\\nthis rule by this account for a system, then return that. This does\\nnot take an \'id\' number.","operationId":"hostack_create","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HostAckInput"}},"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/HostAckInput"}},"multipart/form-data":{"schema":{"$ref":"#/components/schemas/HostAckInput"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HostAck"}}},"description":""}},"security":[{"x-rh-identity":[]}],"tags":["hostack"]}},"/api/insights/v1/hostack/{id}/":{"delete":{"description":"Delete an acknowledgement for a rule, for a system, for an account, by its ID.\\n\\nTakes the hostack ID (given in the hostack list) as an identifier.","operationId":"hostack_destroy","parameters":[{"description":"A unique integer value identifying this host ack.","in":"path","name":"id","required":true,"schema":{"type":"integer"}}],"responses":{"204":{"content":{"application/json":{"schema":{"type":"string"}}},"description":""}},"security":[{"x-rh-identity":[]}],"tags":["hostack"]},"get":{"description":"HostAcks acknowledge (and therefore hide) a rule from view in an account for a specific system.\\n\\nThis view handles listing, retrieving, creating and deleting hostacks.","operationId":"hostack_retrieve","parameters":[{"description":"A unique integer value identifying this host ack.","in":"path","name":"id","required":true,"schema":{"type":"integer"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HostAck"}}},"description":""}},"security":[{"x-rh-identity":[]}],"tags":["hostack"]},"put":{"description":"Update the justification for this host acknowledgement.\\n\\nThe justification is taken from the request body. The created_by\\nfield is taken from the username in the x-rh-identity field, and the\\nupdated_at field is set to the current time.","operationId":"hostack_update","parameters":[{"description":"A unique integer value identifying this host ack.","in":"path","name":"id","required":true,"schema":{"type":"integer"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HostAckJustification"}},"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/HostAckJustification"}},"multipart/form-data":{"schema":{"$ref":"#/components/schemas/HostAckJustification"}}}},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HostAckJustification"}}},"description":""}},"security":[{"x-rh-identity":[]}],"tags":["hostack"]}},"/api/insights/v1/kcs/":{"get":{"description":"Looks for all active rules with KCS solutions\\n\\nReturns a list of dicts of the C.R.C rule URL and its KCS solution number","operationId":"kcs_list","parameters":[{"description":"Display the rule urls for the given list of comma separated KCS solution node_ids","in":"query","name":"node_ids","schema":{"items":{"format":"regex","pattern":"\\\\d+","type":"string"},"type":"array"},"style":"form"}],"responses":{"200":{"content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/Kcs"},"type":"array"}}},"description":""}},"tags":["kcs"]}},"/api/insights/v1/kcs/{node_id}/":{"get":{"description":"Gets active rule(s) for a particular KCS solution (node_id)\\n\\nReturns a list of C.R.C rule url(s) for that KCS solution","operationId":"kcs_retrieve","parameters":[{"in":"path","name":"node_id","required":true,"schema":{"description":"KCS solution number","type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"items":{"description":"Rule URL on C.R.C.","format":"uri","type":"string"},"type":"array"}}},"description":""}},"tags":["kcs"]}},"/api/insights/v1/pathway/":{"get":{"description":"This returns a list of all Pathways. Will display the same\\ninformation as is provided in the retrieve view, but has all Pathways\\nlisted.","operationId":"pathway_list","parameters":[{"description":"Filter rules of this category (number)","in":"query","name":"category","schema":{"items":{"enum":[1,2,3,4],"type":"integer"},"type":"array"},"style":"form"},{"description":"Is this an Ansible system?","in":"query","name":"filter[system_profile][ansible]","schema":{"type":"boolean"}},{"description":"Is this a Microsoft SQL system?","in":"query","name":"filter[system_profile][mssql]","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","pattern":"^[A-Z]..$","type":"string"},"type":"array"},"style":"form"},{"description":"Is this a SAP system?","in":"query","name":"filter[system_profile][sap_system]","schema":{"type":"boolean"}},{"description":"List of Inventory host group names","in":"query","name":"groups","schema":{"items":{"type":"string"},"type":"array"},"style":"form"},{"description":"Display only pathways where there are incidents.","in":"query","name":"has_incident","schema":{"type":"boolean"}},{"description":"Display pathways even if they aren\'t impacting systems currently","in":"query","name":"impacting","schema":{"default":true,"type":"boolean"}},{"description":"Number of results to return per page.","in":"query","name":"limit","required":false,"schema":{"type":"integer"}},{"description":"The initial index from which to return the results.","in":"query","name":"offset","required":false,"schema":{"type":"integer"}},{"description":"Display only pathways where reboot is required.","in":"query","name":"reboot_required","schema":{"type":"boolean"}},{"description":"Order by this field","in":"query","name":"sort","schema":{"default":"name","enum":["-impacted_systems_count","-name","-recommendation_level","impacted_systems_count","name","recommendation_level"],"type":"string"}},{"description":"Tags have a namespace, key and value in the form namespace/key=value","in":"query","name":"tags","schema":{"items":{"format":"regex","pattern":"^[^/=]+/[^/=]+=[^/=]+$","type":"string"},"type":"array"},"style":"form"},{"description":"Filter pathway names with this text. If viewing details for a pathway for rules, reports and systems, additional filter on their text fields","in":"query","name":"text","schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PaginatedPathwayList"}}},"description":""}},"security":[{"x-rh-identity":[]}],"summary":"Return all pathways","tags":["pathway"]},"post":{"description":"This creates a new Pathway in the system.\\nRequired fields are \\"name,\\" \\"description,\\"\\n\\"component,\\" \\"resolution_risk,\\" and \\"publish_date.\\"\\n\\"name\\" is a slug field and used to identify and\\nretrieve Pathways for detailed analysis. The slug\\nfor a Pathway is auto-generated by converting the\\n\\"name\\" to lowercase and replacing all spaces with dashes.\\n\\"resolution_risk\\" should be the \\"name\\" of the\\nResolutionRisk to associate with this Pathway,\\nnot the risk value.","operationId":"pathway_create","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PathwayInput"}},"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/PathwayInput"}},"multipart/form-data":{"schema":{"$ref":"#/components/schemas/PathwayInput"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PathwayInput"}}},"description":""}},"security":[{"x-rh-identity":[]}],"summary":"Create a new Pathway in the system","tags":["pathway"]}},"/api/insights/v1/pathway/{slug}/":{"delete":{"description":"This will DELETE an existing Pathway in the system.\\nExisting pathways are identified and deleted by\\nthe \\"slug\\" field.","operationId":"pathway_destroy","parameters":[{"in":"path","name":"slug","required":true,"schema":{"type":"string"}}],"responses":{"204":{"content":{"application/json":{"schema":{"type":"string"}}},"description":""}},"security":[{"x-rh-identity":[]}],"summary":"Destroy an existing Pathway in the system","tags":["pathway"]},"get":{"description":"This returns an individual pathway based on slug.\\nWill display the same information as is\\nprovided in the list view.","operationId":"pathway_retrieve","parameters":[{"description":"Filter rules of this category (number)","in":"query","name":"category","schema":{"items":{"enum":[1,2,3,4],"type":"integer"},"type":"array"},"style":"form"},{"description":"Is this an Ansible system?","in":"query","name":"filter[system_profile][ansible]","schema":{"type":"boolean"}},{"description":"Is this a Microsoft SQL system?","in":"query","name":"filter[system_profile][mssql]","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","pattern":"^[A-Z]..$","type":"string"},"type":"array"},"style":"form"},{"description":"Is this a SAP system?","in":"query","name":"filter[system_profile][sap_system]","schema":{"type":"boolean"}},{"description":"List of Inventory host group names","in":"query","name":"groups","schema":{"items":{"type":"string"},"type":"array"},"style":"form"},{"in":"path","name":"slug","required":true,"schema":{"type":"string"}},{"description":"Tags have a namespace, key and value in the form namespace/key=value","in":"query","name":"tags","schema":{"items":{"format":"regex","pattern":"^[^/=]+/[^/=]+=[^/=]+$","type":"string"},"type":"array"},"style":"form"},{"description":"Filter pathway names with this text. If viewing details for a pathway for rules, reports and systems, additional filter on their text fields","in":"query","name":"text","schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Pathway"}}},"description":""}},"security":[{"x-rh-identity":[]}],"summary":"Returns an individual Pathway based on slug","tags":["pathway"]},"put":{"description":"This updates an existing Pathway already\\ndefined in the system. All fields that are\\nrequired to define a Pathway initially\\nmay be updated here as well. Pathways are\\nidenfitied and updated by the \\"slug\\" field.","operationId":"pathway_update","parameters":[{"in":"path","name":"slug","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PathwayInput"}},"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/PathwayInput"}},"multipart/form-data":{"schema":{"$ref":"#/components/schemas/PathwayInput"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PathwayInput"}}},"description":""}},"security":[{"x-rh-identity":[]}],"summary":"Update an existing Pathway in the system","tags":["pathway"]}},"/api/insights/v1/pathway/{slug}/reports/":{"get":{"description":"Each rule is listed once, with the systems currently reporting an\\nincidence of that rule in a list.","operationId":"pathway_reports_retrieve","parameters":[{"description":"Filter rules of this category (number)","in":"query","name":"category","schema":{"items":{"enum":[1,2,3,4],"type":"integer"},"type":"array"},"style":"form"},{"description":"List of Inventory host group names","in":"query","name":"groups","schema":{"items":{"type":"string"},"type":"array"},"style":"form"},{"description":"Display Pathway Reports of this/these systems","in":"query","name":"host_id","schema":{"items":{"format":"regex","pattern":"\\\\w+(,\\\\w+)*","type":"string"},"type":"array"},"style":"form"},{"description":"Display Pathway Reports of this/these rules","in":"query","name":"rule_id","schema":{"items":{"format":"regex","pattern":"\\\\w+(,\\\\w+)*","type":"string"},"type":"array"},"style":"form"},{"in":"path","name":"slug","required":true,"schema":{"type":"string"}},{"description":"Filter pathway names with this text. If viewing details for a pathway for rules, reports and systems, additional filter on their text fields","in":"query","name":"text","schema":{"type":"string"}},{"description":"Search for systems with this updater type","in":"query","name":"update_method","schema":{"items":{"enum":["dnfyum","ostree"],"type":"string"},"type":"array"},"style":"form"}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RuleSystemsExport"}}},"description":""}},"security":[{"x-rh-identity":[]}],"summary":"Get the list of systems for each rule in this pathway","tags":["pathway"]}},"/api/insights/v1/pathway/{slug}/rules/":{"get":{"description":"This view will retrieve/list in paginated\\nformat, all rules for a specific Pathway.\\nThis does not take into account acks\\nor host asks. The Specific Pathway\\nis requested by its slug","operationId":"pathway_rules_list","parameters":[{"description":"Filter rules of this category (number)","in":"query","name":"category","schema":{"items":{"enum":[1,2,3,4],"type":"integer"},"type":"array"},"style":"form"},{"description":"Number of results to return per page.","in":"query","name":"limit","required":false,"schema":{"type":"integer"}},{"description":"The initial index from which to return the results.","in":"query","name":"offset","required":false,"schema":{"type":"integer"}},{"in":"path","name":"slug","required":true,"schema":{"type":"string"}},{"description":"Filter pathway names with this text. If viewing details for a pathway for rules, reports and systems, additional filter on their text fields","in":"query","name":"text","schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PaginatedRuleForAccountList"}}},"description":""}},"security":[{"x-rh-identity":[]}],"summary":"Get all rules in a Pathway","tags":["pathway"]}},"/api/insights/v1/pathway/{slug}/systems/":{"get":{"description":"This view will retrieve/list in paginated\\nformat, all impacted systems for an account,\\nfor a specific Pathway. The specific Pathway\\nis requested by its slug.","operationId":"pathway_systems_list","parameters":[{"description":"Filter rules of this category (number)","in":"query","name":"category","schema":{"items":{"enum":[1,2,3,4],"type":"integer"},"type":"array"},"style":"form"},{"description":"Is this an Ansible system?","in":"query","name":"filter[system_profile][ansible]","schema":{"type":"boolean"}},{"description":"Is this a Microsoft SQL system?","in":"query","name":"filter[system_profile][mssql]","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","pattern":"^[A-Z]..$","type":"string"},"type":"array"},"style":"form"},{"description":"Is this a SAP system?","in":"query","name":"filter[system_profile][sap_system]","schema":{"type":"boolean"}},{"description":"List of Inventory host group names","in":"query","name":"groups","schema":{"items":{"type":"string"},"type":"array"},"style":"form"},{"description":"Number of results to return per page.","in":"query","name":"limit","required":false,"schema":{"type":"integer"}},{"description":"The initial index from which to return the results.","in":"query","name":"offset","required":false,"schema":{"type":"integer"}},{"in":"path","name":"slug","required":true,"schema":{"type":"string"}},{"description":"Tags have a namespace, key and value in the form namespace/key=value","in":"query","name":"tags","schema":{"items":{"format":"regex","pattern":"^[^/=]+/[^/=]+=[^/=]+$","type":"string"},"type":"array"},"style":"form"},{"description":"Filter pathway names with this text. If viewing details for a pathway for rules, reports and systems, additional filter on their text fields","in":"query","name":"text","schema":{"type":"string"}},{"description":"Search for systems with this updater type","in":"query","name":"update_method","schema":{"items":{"enum":["dnfyum","ostree"],"type":"string"},"type":"array"},"style":"form"}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PaginatedSystemList"}}},"description":""}},"security":[{"x-rh-identity":[]}],"summary":"Get all impacted systems for an account for a specific Pathway","tags":["pathway"]}},"/api/insights/v1/rating/":{"get":{"description":"List all rules rated by the current user\\n\\nOnly the current user\'s ratings are listed here.","operationId":"rating_list","parameters":[{"description":"Number of results to return per page.","in":"query","name":"limit","required":false,"schema":{"type":"integer"}},{"description":"The initial index from which to return the results.","in":"query","name":"offset","required":false,"schema":{"type":"integer"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PaginatedRuleRatingList"}}},"description":""}},"security":[{"x-rh-identity":[]}],"tags":["rating"]},"post":{"description":"Add or update a rating for a rule, by rule ID.\\n\\nReturn the new rating. Any previous rating for this rule by this\\nuser is amended to the current value. This does not attempt to delete\\na rating by this user of this rule if the rating is zero.","operationId":"rating_create","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RuleRating"}},"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/RuleRating"}},"multipart/form-data":{"schema":{"$ref":"#/components/schemas/RuleRating"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RuleRating"}}},"description":""},"201":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RuleRating"}}},"description":""}},"security":[{"x-rh-identity":[]}],"tags":["rating"]}},"/api/insights/v1/rating/all_ratings/":{"get":{"description":"Show all ratings.\\n\\nAvailable only to internal users.","operationId":"rating_all_ratings_list","parameters":[{"description":"Number of results to return per page.","in":"query","name":"limit","required":false,"schema":{"type":"integer"}},{"description":"The initial index from which to return the results.","in":"query","name":"offset","required":false,"schema":{"type":"integer"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PaginatedAllRuleRatingsList"}}},"description":""}},"security":[{"x-rh-identity":[]}],"tags":["rating"]}},"/api/insights/v1/rating/stats/":{"get":{"description":"Summarise the ratings for a rule.\\n\\nThis summarises the statistics for each rule. Available only to\\ninternal users.","operationId":"rating_stats_list","parameters":[{"description":"Number of results to return per page.","in":"query","name":"limit","required":false,"schema":{"type":"integer"}},{"description":"The initial index from which to return the results.","in":"query","name":"offset","required":false,"schema":{"type":"integer"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PaginatedRuleRatingStatsList"}}},"description":""}},"security":[{"x-rh-identity":[]}],"tags":["rating"]}},"/api/insights/v1/rating/{rule}/":{"get":{"description":"Retrieve the ratings for a single rule, by Insights Rule ID","operationId":"rating_retrieve","parameters":[{"in":"path","name":"rule","required":true,"schema":{"description":"Rule ID from Insights","type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RuleRating"}}},"description":""}},"security":[{"x-rh-identity":[]}],"summary":"Retrieve the ratings for a single rule","tags":["rating"]}},"/api/insights/v1/rule/":{"get":{"description":"List all active rules for this account.\\n\\nIf \'acked\' is False or not given, then only rules that are not acked\\nwill be shown. If acked is set and \'true\' as a string or evaluates\\nto a true value, then all rules including those that are acked will\\nbe shown.","operationId":"rule_list","parameters":[{"description":"Display rules of this category (number)","in":"query","name":"category","schema":{"items":{"enum":[1,2,3,4],"type":"integer"},"type":"array"},"style":"form"},{"description":"Is this an Ansible system?","in":"query","name":"filter[system_profile][ansible]","schema":{"type":"boolean"}},{"description":"Is this a Microsoft SQL system?","in":"query","name":"filter[system_profile][mssql]","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","pattern":"^[A-Z]..$","type":"string"},"type":"array"},"style":"form"},{"description":"Is this a SAP system?","in":"query","name":"filter[system_profile][sap_system]","schema":{"type":"boolean"}},{"description":"List of Inventory host group names","in":"query","name":"groups","schema":{"items":{"type":"string"},"type":"array"},"style":"form"},{"description":"Display rules that have a playbook","in":"query","name":"has_playbook","schema":{"type":"boolean"}},{"description":"Display rules that have (one or more) tags","in":"query","name":"has_tag","schema":{"items":{"pattern":"\\\\w+(?:,\\\\w+)*","type":"string"},"type":"array"},"style":"form"},{"description":"Display rules of this impact level (1..4)","in":"query","name":"impact","schema":{"items":{"enum":[1,2,3,4],"type":"integer"},"type":"array"},"style":"form"},{"description":"Display only rules that are impacting systems currently","in":"query","name":"impacting","schema":{"type":"boolean"}},{"description":"Display only rules that cause an incident","in":"query","name":"incident","schema":{"type":"boolean"}},{"description":"Display only rules of this likelihood level (1..4)","in":"query","name":"likelihood","schema":{"items":{"enum":[1,2,3,4],"type":"integer"},"type":"array"},"style":"form"},{"description":"Number of results to return per page.","in":"query","name":"limit","required":false,"schema":{"type":"integer"}},{"description":"The initial index from which to return the results.","in":"query","name":"offset","required":false,"schema":{"type":"integer"}},{"description":"Display rules of this Pathway","in":"query","name":"pathway","schema":{"type":"string"}},{"description":"Display rules that require a reboot to fix","in":"query","name":"reboot","schema":{"type":"boolean"}},{"description":"Display rules where reports are shown or not","in":"query","name":"reports_shown","schema":{"type":"boolean"}},{"description":"Display rules with this resolution risk level (1..4)","in":"query","name":"res_risk","schema":{"items":{"enum":[1,2,3,4],"type":"integer"},"type":"array"},"style":"form"},{"description":"Display rules which are enabled, disabled (acked) by user, or disabled (acked) by Red Hat","in":"query","name":"rule_status","schema":{"enum":["all","disabled","enabled","rhdisabled"],"type":"string"}},{"description":"Order by this field","in":"query","name":"sort","schema":{"default":["rule_id"],"items":{"enum":["-category","-description","-impact","-impacted_count","-likelihood","-playbook_count","-publish_date","-resolution_risk","-rule_id","-total_risk","category","description","impact","impacted_count","likelihood","playbook_count","publish_date","resolution_risk","rule_id","total_risk"],"type":"string"},"type":"array"},"style":"form"},{"description":"Tags have a namespace, key and value in the form namespace/key=value","in":"query","name":"tags","schema":{"items":{"format":"regex","pattern":"^[^/=]+/[^/=]+=[^/=]+$","type":"string"},"type":"array"},"style":"form"},{"description":"Display rules with this text in their text fields","in":"query","name":"text","schema":{"type":"string"}},{"description":"Display rules in this topic (slug)","in":"query","name":"topic","schema":{"format":"regex","pattern":"[\\\\w-]+","type":"string"}},{"description":"Display rules with this total risk level (1..4)","in":"query","name":"total_risk","schema":{"items":{"enum":[1,2,3,4],"type":"integer"},"type":"array"},"style":"form"},{"description":"Search for systems with this updater type","in":"query","name":"update_method","schema":{"items":{"enum":["dnfyum","ostree"],"type":"string"},"type":"array"},"style":"form"}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PaginatedRuleForAccountList"}}},"description":""}},"security":[{"x-rh-identity":[]}],"tags":["rule"]}},"/api/insights/v1/rule/{rule_id}/":{"get":{"description":"Retrieve a single rule and its associated details.\\n\\nThis includes the account-relevant details such as number of\\nimpacted systems and host acknowledgements.","operationId":"rule_retrieve","parameters":[{"description":"List of Inventory host group names","in":"query","name":"groups","schema":{"items":{"type":"string"},"type":"array"},"style":"form"},{"in":"path","name":"rule_id","required":true,"schema":{"description":"Rule ID from Insights","type":"string"}},{"description":"Tags have a namespace, key and value in the form namespace/key=value","in":"query","name":"tags","schema":{"items":{"format":"regex","pattern":"^[^/=]+/[^/=]+=[^/=]+$","type":"string"},"type":"array"},"style":"form"}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RuleForAccount"}}},"description":""}},"security":[{"x-rh-identity":[]}],"tags":["rule"]}},"/api/insights/v1/rule/{rule_id}/ack_hosts/":{"post":{"description":"Add acknowledgements for one or more hosts to this rule.\\n\\nHost acknowledgements will be added to this rule in this account for\\nthe system UUIDs supplied. The justification supplied will be given\\nfor all host acks created. Any existing host acknowledgements for a\\nhost on this rule will be updated. The count of created hosts\\nacknowledgements, and the list of systems now impacted by this rule,\\nwill be returned. Account-wide acks are unaffected.","operationId":"rule_ack_hosts_create","parameters":[{"in":"path","name":"rule_id","required":true,"schema":{"description":"Rule ID from Insights","type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MultiHostAck"}},"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/MultiHostAck"}},"multipart/form-data":{"schema":{"$ref":"#/components/schemas/MultiHostAck"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MultiAckResponse"}}},"description":""}},"security":[{"x-rh-identity":[]}],"tags":["rule"]}},"/api/insights/v1/rule/{rule_id}/justifications/":{"get":{"description":"List all justifications given for disabling this rule.\\n\\nThis is an **internal-only** view that allows us to provide feedback\\non why rules are disabled by our customers. It lists the\\njustifications given in both account-wide acks and host-specific acks\\nof a rule.","operationId":"rule_justifications_list","parameters":[{"description":"Number of results to return per page.","in":"query","name":"limit","required":false,"schema":{"type":"integer"}},{"description":"The initial index from which to return the results.","in":"query","name":"offset","required":false,"schema":{"type":"integer"}},{"in":"path","name":"rule_id","required":true,"schema":{"description":"Rule ID from Insights","type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PaginatedJustificationCountList"}}},"description":""}},"security":[{"x-rh-identity":[]}],"tags":["rule"]}},"/api/insights/v1/rule/{rule_id}/stats/":{"get":{"description":"Display usage and impact statistics for this rule.\\n\\nFor internal use only. This allows rule developers to see the number\\nof systems and accounts impacted by a rule.","operationId":"rule_stats_retrieve","parameters":[{"in":"path","name":"rule_id","required":true,"schema":{"description":"Rule ID from Insights","type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RuleUsageStats"}}},"description":""}},"security":[{"x-rh-identity":[]}],"tags":["rule"]}},"/api/insights/v1/rule/{rule_id}/systems/":{"get":{"description":"List all systems affected by this rule.\\n\\nAll systems owned by the user\'s account, with a current upload\\nreporting the given rule, are listed. Systems are simply listed by\\nInsights Inventory UUID.","operationId":"rule_systems_retrieve","parameters":[{"description":"Is this an Ansible system?","in":"query","name":"filter[system_profile][ansible]","schema":{"type":"boolean"}},{"description":"Is this a Microsoft SQL system?","in":"query","name":"filter[system_profile][mssql]","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","pattern":"^[A-Z]..$","type":"string"},"type":"array"},"style":"form"},{"description":"Is this a SAP system?","in":"query","name":"filter[system_profile][sap_system]","schema":{"type":"boolean"}},{"in":"query","name":"format","schema":{"enum":["csv","json"],"type":"string"}},{"description":"List of Inventory host group names","in":"query","name":"groups","schema":{"items":{"type":"string"},"type":"array"},"style":"form"},{"description":"Search for systems that include this in their display name","in":"query","name":"name","schema":{"type":"string"}},{"description":"Display only systems with these versions of RHEL","in":"query","name":"rhel_version","schema":{"items":{"enum":["6.0","6.1","6.10","6.2","6.3","6.4","6.5","6.6","6.7","6.8","6.9","7.0","7.1","7.10","7.2","7.3","7.4","7.5","7.6","7.7","7.8","7.9","8.0","8.1","8.10","8.2","8.3","8.4","8.5","8.6","8.7","8.8","8.9","9.0","9.1","9.2","9.3","9.4","9.5"],"type":"string"},"type":"array"},"style":"form"},{"in":"path","name":"rule_id","required":true,"schema":{"description":"Rule ID from Insights","type":"string"}},{"description":"Order by this field","in":"query","name":"sort","schema":{"default":["system_uuid"],"items":{"enum":["-display_name","-last_seen","-stale_at","-system_uuid","-updated","display_name","last_seen","stale_at","system_uuid","updated"],"type":"string"},"type":"array"},"style":"form"},{"description":"Tags have a namespace, key and value in the form namespace/key=value","in":"query","name":"tags","schema":{"items":{"format":"regex","pattern":"^[^/=]+/[^/=]+=[^/=]+$","type":"string"},"type":"array"},"style":"form"},{"description":"Search for systems with this updater type","in":"query","name":"update_method","schema":{"items":{"enum":["dnfyum","ostree"],"type":"string"},"type":"array"},"style":"form"}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SystemsForRule"}},"text/csv":{"schema":{"$ref":"#/components/schemas/SystemsForRule"}}},"description":""}},"security":[{"x-rh-identity":[]}],"tags":["rule"]}},"/api/insights/v1/rule/{rule_id}/systems_detail/":{"get":{"description":"List systems affected by this rule with additional information about each system\\n\\nAll systems owned by the user\'s account, with a current upload\\nreporting the given rule, are listed in a paginated format.\\n\\nAdditional information includes hit counts and upload/stale timestamps.","operationId":"rule_systems_detail_list","parameters":[{"description":"Is this an Ansible system?","in":"query","name":"filter[system_profile][ansible]","schema":{"type":"boolean"}},{"description":"Is this a Microsoft SQL system?","in":"query","name":"filter[system_profile][mssql]","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","pattern":"^[A-Z]..$","type":"string"},"type":"array"},"style":"form"},{"description":"Is this a SAP system?","in":"query","name":"filter[system_profile][sap_system]","schema":{"type":"boolean"}},{"description":"List of Inventory host group names","in":"query","name":"groups","schema":{"items":{"type":"string"},"type":"array"},"style":"form"},{"description":"Number of results to return per page.","in":"query","name":"limit","required":false,"schema":{"type":"integer"}},{"description":"Search for systems that include this in their display name","in":"query","name":"name","schema":{"type":"string"}},{"description":"The initial index from which to return the results.","in":"query","name":"offset","required":false,"schema":{"type":"integer"}},{"description":"Display only systems with these versions of RHEL","in":"query","name":"rhel_version","schema":{"items":{"enum":["6.0","6.1","6.10","6.2","6.3","6.4","6.5","6.6","6.7","6.8","6.9","7.0","7.1","7.10","7.2","7.3","7.4","7.5","7.6","7.7","7.8","7.9","8.0","8.1","8.10","8.2","8.3","8.4","8.5","8.6","8.7","8.8","8.9","9.0","9.1","9.2","9.3","9.4","9.5"],"type":"string"},"type":"array"},"style":"form"},{"in":"path","name":"rule_id","required":true,"schema":{"description":"Rule ID from Insights","type":"string"}},{"description":"Order by this field","in":"query","name":"sort","schema":{"default":"display_name","enum":["-critical_hits","-display_name","-group_name","-hits","-impacted_date","-important_hits","-last_seen","-low_hits","-moderate_hits","-rhel_version","critical_hits","display_name","group_name","hits","impacted_date","important_hits","last_seen","low_hits","moderate_hits","rhel_version"],"type":"string"}},{"description":"Tags have a namespace, key and value in the form namespace/key=value","in":"query","name":"tags","schema":{"items":{"format":"regex","pattern":"^[^/=]+/[^/=]+=[^/=]+$","type":"string"},"type":"array"},"style":"form"}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PaginatedSystemsDetailList"}}},"description":""}},"security":[{"x-rh-identity":[]}],"tags":["rule"]}},"/api/insights/v1/rule/{rule_id}/unack_hosts/":{"post":{"description":"Delete acknowledgements for one or more hosts to this rule.\\n\\nAny host acknowledgements for this rule in this account for the given\\nsystem are deleted. Hosts that do not have an acknowledgement for\\nthis rule in this account are ignored. The count of deleted host\\nacknowledgements, and the list of hosts now impacted by this rule,\\nwill be returned. Account-wide acks are unaffected.","operationId":"rule_unack_hosts_create","parameters":[{"in":"path","name":"rule_id","required":true,"schema":{"description":"Rule ID from Insights","type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MultiHostUnAck"}},"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/MultiHostUnAck"}},"multipart/form-data":{"schema":{"$ref":"#/components/schemas/MultiHostUnAck"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MultiAckResponse"}}},"description":""}},"security":[{"x-rh-identity":[]}],"tags":["rule"]}},"/api/insights/v1/rulecategory/":{"get":{"description":"Rules are divided into categories, the usual being Availability,\\nStability, Security and Performance.\\n\\nCategories are listed in decreasing order of importance.","operationId":"rulecategory_list","responses":{"200":{"content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/RuleCategory"},"type":"array"}}},"description":""}},"tags":["rulecategory"]}},"/api/insights/v1/rulecategory/{id}/":{"get":{"description":"Rules are divided into categories, the usual being Availability,\\nStability, Security and Performance.\\n\\nCategories are listed in decreasing order of importance.","operationId":"rulecategory_retrieve","parameters":[{"description":"A unique integer value identifying this rule category.","in":"path","name":"id","required":true,"schema":{"type":"integer"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RuleCategory"}}},"description":""}},"tags":["rulecategory"]}},"/api/insights/v1/settings/":{"get":{"description":"Describe the settings we have in a Data-Driven Forms way.\\n\\nThis simply compiles the \'show_satellite_hosts\' account-wide setting\\ninto a format compatible with Data-Driven Forms.","operationId":"settings_list","responses":{"200":{"content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/SettingsDDF"},"type":"array"}}},"description":""}},"security":[{"x-rh-identity":[]}],"tags":["settings"]}},"/api/insights/v1/stats/":{"get":{"description":"Provide a simple list of URLs contained here.\\n\\nA list of statistics views.","operationId":"stats_list","responses":{"200":{"content":{"application/json":{"schema":{"items":{"items":{"format":"uri","type":"string"},"type":"array"},"type":"array"}}},"description":""}},"security":[{"x-rh-identity":[]}],"tags":["stats"]}},"/api/insights/v1/stats/overview/":{"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":{"application/json":{"schema":{"$ref":"#/components/schemas/Stats"}}},"description":""}},"security":[{"x-rh-identity":[]}],"tags":["stats"]}},"/api/insights/v1/stats/reports/":{"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":{"application/json":{"schema":{"$ref":"#/components/schemas/Stats"}}},"description":""}},"security":[{"x-rh-identity":[]}],"tags":["stats"]}},"/api/insights/v1/stats/rules/":{"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":{"application/json":{"schema":{"$ref":"#/components/schemas/Stats"}}},"description":""}},"security":[{"x-rh-identity":[]}],"tags":["stats"]}},"/api/insights/v1/stats/systems/":{"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":{"application/json":{"schema":{"$ref":"#/components/schemas/Stats"}}},"description":""}},"security":[{"x-rh-identity":[]}],"tags":["stats"]}},"/api/insights/v1/status/":{"get":{"description":"Provide a simple list of URLs contained here.\\n\\nA list of statistics views.","operationId":"status_retrieve","responses":{"200":{"description":"No response body"}},"tags":["status"]}},"/api/insights/v1/status/live/":{"get":{"description":"Is the Advisor API live and serving requests?\\n\\nThis returns a dictionary with properties defining the status of the\\ncomponents Advisor relies on.\\n\\nAt the moment this is the same as the Readiness check (see `/ready/`).\\nIn the future it may include other checks if we need to, but the\\nproperties of `/ready/` will always be included.","operationId":"status_live_retrieve","responses":{"200":{"description":"No response body"}},"tags":["status"]}},"/api/insights/v1/status/ready/":{"get":{"description":"Is the Advisor API ready to serve requests?\\n\\nThis returns a dictionary with properties defining the status of the\\ncomponents Advisor relies on.\\n\\n* \'django\' should always be True. If Django isn\'t ready, you can\'t\\n get this information :-)\\n* \'database\' is True when a database access returns successfully with\\n valid information.\\n* \'rbac\' is True when we can make a request to the RBAC API and get\\n a valid response.\\n* \'advisor\' is True if all of the above are True.","operationId":"status_ready_retrieve","responses":{"200":{"description":"No response body"}},"tags":["status"]}},"/api/insights/v1/system/":{"get":{"description":"Returns systems with their hit count and last upload time.\\n\\nResults can be sorted and systems can be filtered by display name and hits","operationId":"system_list","parameters":[{"description":"Display systems with this text in their display_name","in":"query","name":"display_name","schema":{"type":"string"}},{"description":"Is this an Ansible system?","in":"query","name":"filter[system_profile][ansible]","schema":{"type":"boolean"}},{"description":"Is this a Microsoft SQL system?","in":"query","name":"filter[system_profile][mssql]","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","pattern":"^[A-Z]..$","type":"string"},"type":"array"},"style":"form"},{"description":"Is this a SAP system?","in":"query","name":"filter[system_profile][sap_system]","schema":{"type":"boolean"}},{"description":"List of Inventory host group names","in":"query","name":"groups","schema":{"items":{"type":"string"},"type":"array"},"style":"form"},{"description":"Display systems with hits of the given total_risk value (1..4), or 0 to display all systems","in":"query","name":"hits","schema":{"items":{"enum":["1","2","3","4","all","no","yes"],"type":"string"},"type":"array"},"style":"form"},{"description":"Display only systems reporting an incident","in":"query","name":"incident","schema":{"type":"boolean"}},{"description":"Number of results to return per page.","in":"query","name":"limit","required":false,"schema":{"type":"integer"}},{"description":"The initial index from which to return the results.","in":"query","name":"offset","required":false,"schema":{"type":"integer"}},{"description":"Display systems with rule hits for this Pathway","in":"query","name":"pathway","schema":{"type":"string"}},{"description":"Display only systems with these versions of RHEL","in":"query","name":"rhel_version","schema":{"items":{"enum":["6.0","6.1","6.10","6.2","6.3","6.4","6.5","6.6","6.7","6.8","6.9","7.0","7.1","7.10","7.2","7.3","7.4","7.5","7.6","7.7","7.8","7.9","8.0","8.1","8.10","8.2","8.3","8.4","8.5","8.6","8.7","8.8","8.9","9.0","9.1","9.2","9.3","9.4","9.5"],"type":"string"},"type":"array"},"style":"form"},{"description":"Order by this field","in":"query","name":"sort","schema":{"default":"-hits","enum":["-critical_hits","-display_name","-group_name","-hits","-important_hits","-last_seen","-low_hits","-moderate_hits","-rhel_version","critical_hits","display_name","group_name","hits","important_hits","last_seen","low_hits","moderate_hits","rhel_version"],"type":"string"}},{"description":"Tags have a namespace, key and value in the form namespace/key=value","in":"query","name":"tags","schema":{"items":{"format":"regex","pattern":"^[^/=]+/[^/=]+=[^/=]+$","type":"string"},"type":"array"},"style":"form"},{"description":"Search for systems with this updater type","in":"query","name":"update_method","schema":{"items":{"enum":["dnfyum","ostree"],"type":"string"},"type":"array"},"style":"form"}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PaginatedSystemList"}}},"description":""}},"security":[{"x-rh-identity":[]}],"tags":["system"]}},"/api/insights/v1/system/{uuid}/":{"get":{"description":"Retrieve the reports for a single system by Insights Inventory UUID","operationId":"system_retrieve","parameters":[{"description":"A UUID string identifying this inventory host.","in":"path","name":"uuid","required":true,"schema":{"format":"uuid","type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/System"}}},"description":""}},"security":[{"x-rh-identity":[]}],"summary":"Retrieve the reports for a single system","tags":["system"]}},"/api/insights/v1/system/{uuid}/rendered_reports/":{"get":{"description":"Returns the list of reports for an Inventory Host ID, with the\\nrule templates filled in thanks to node.js and DoT and Markdown.\\n\\nIf the host ID is not found, return an empty list.","operationId":"system_rendered_reports_list","parameters":[{"description":"Is this an Ansible system?","in":"query","name":"filter[system_profile][ansible]","schema":{"type":"boolean"}},{"description":"Is this a Microsoft SQL system?","in":"query","name":"filter[system_profile][mssql]","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","pattern":"^[A-Z]..$","type":"string"},"type":"array"},"style":"form"},{"description":"Is this a SAP system?","in":"query","name":"filter[system_profile][sap_system]","schema":{"type":"boolean"}},{"description":"Tags have a namespace, key and value in the form namespace/key=value","in":"query","name":"tags","schema":{"items":{"format":"regex","pattern":"^[^/=]+/[^/=]+=[^/=]+$","type":"string"},"type":"array"},"style":"form"},{"description":"Search for systems with this updater type","in":"query","name":"update_method","schema":{"items":{"enum":["dnfyum","ostree"],"type":"string"},"type":"array"},"style":"form"},{"description":"A UUID string identifying this inventory host.","in":"path","name":"uuid","required":true,"schema":{"format":"uuid","type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/RenderedReport"},"type":"array"}}},"description":""}},"security":[{"x-rh-identity":[]}],"tags":["system"]}},"/api/insights/v1/system/{uuid}/reports/":{"get":{"description":"Returns the list of latest reports for an Inventory Host ID.\\n\\nReturns reports that:\\n * are in the user\'s account\\n * have an active, not-deleted rule\\n * where the rule has not been acked by this account\\n\\nIf the host ID is not found, return an empty list.","operationId":"system_reports_list","parameters":[{"description":"Is this an Ansible system?","in":"query","name":"filter[system_profile][ansible]","schema":{"type":"boolean"}},{"description":"Is this a Microsoft SQL system?","in":"query","name":"filter[system_profile][mssql]","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","pattern":"^[A-Z]..$","type":"string"},"type":"array"},"style":"form"},{"description":"Is this a SAP system?","in":"query","name":"filter[system_profile][sap_system]","schema":{"type":"boolean"}},{"description":"List of Inventory host group names","in":"query","name":"groups","schema":{"items":{"type":"string"},"type":"array"},"style":"form"},{"description":"Tags have a namespace, key and value in the form namespace/key=value","in":"query","name":"tags","schema":{"items":{"format":"regex","pattern":"^[^/=]+/[^/=]+=[^/=]+$","type":"string"},"type":"array"},"style":"form"},{"description":"Search for systems with this updater type","in":"query","name":"update_method","schema":{"items":{"enum":["dnfyum","ostree"],"type":"string"},"type":"array"},"style":"form"},{"description":"A UUID string identifying this inventory host.","in":"path","name":"uuid","required":true,"schema":{"format":"uuid","type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/Report"},"type":"array"}}},"description":""}},"security":[{"x-rh-identity":[]}],"tags":["system"]}},"/api/insights/v1/systemtype/":{"get":{"description":"List all system types by role and product code","operationId":"systemtype_list","responses":{"200":{"content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/SystemType"},"type":"array"}}},"description":""}},"summary":"List all system types","tags":["systemtype"]}},"/api/insights/v1/systemtype/{id}/":{"get":{"description":"Retrieve details of a single system type","operationId":"systemtype_retrieve","parameters":[{"description":"A unique integer value identifying this system type.","in":"path","name":"id","required":true,"schema":{"type":"integer"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SystemType"}}},"description":""}},"summary":"Retrieve a system type","tags":["systemtype"]}},"/api/insights/v1/topic/":{"get":{"description":"List the rule topics and their impacted systems counts.\\n\\nNormally this only shows enabled topics, but if the \'show_disabled\'\\nparameter is set to True then this will show disabled topics as\\nwell.","operationId":"topic_list","parameters":[{"description":"Are there systems which contain these SAP SIDs?","in":"query","name":"filter[system_profile][sap_sids][contains]","schema":{"items":{"format":"regex","pattern":"^[A-Z]..$","type":"string"},"type":"array"},"style":"form"},{"description":"Is this a SAP system?","in":"query","name":"filter[system_profile][sap_system]","schema":{"type":"boolean"}},{"description":"List of Inventory host group names","in":"query","name":"groups","schema":{"items":{"type":"string"},"type":"array"},"style":"form"},{"description":"Display topics that are disabled as well as enabled","in":"query","name":"show_disabled","schema":{"default":false,"type":"boolean"}},{"description":"Tags have a namespace, key and value in the form namespace/key=value","in":"query","name":"tags","schema":{"items":{"format":"regex","pattern":"^[^/=]+/[^/=]+=[^/=]+$","type":"string"},"type":"array"},"style":"form"},{"description":"Search for systems with this updater type","in":"query","name":"update_method","schema":{"items":{"enum":["dnfyum","ostree"],"type":"string"},"type":"array"},"style":"form"}],"responses":{"200":{"content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/Topic"},"type":"array"}}},"description":""}},"security":[{"x-rh-identity":[]}],"tags":["topic"]},"post":{"description":"Create a new rule topic, along with its association to a rule tag","operationId":"topic_create","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TopicEdit"}},"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/TopicEdit"}},"multipart/form-data":{"schema":{"$ref":"#/components/schemas/TopicEdit"}}},"required":true},"responses":{"201":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TopicEdit"}}},"description":""}},"security":[{"x-rh-identity":[]}],"summary":"Create a new rule topic","tags":["topic"]}},"/api/insights/v1/topic/{slug}/":{"delete":{"description":"Delete a rule topic. Rules associated with the tag of this topic will be unaffected","operationId":"topic_destroy","parameters":[{"in":"path","name":"slug","required":true,"schema":{"description":"Rule topic slug","type":"string"}}],"responses":{"204":{"description":"No response body"}},"security":[{"x-rh-identity":[]}],"summary":"Delete a rule topic","tags":["topic"]},"get":{"description":"Retrieve a single topic by slug.\\n\\nThis also lists the topic\'s impacted systems count.","operationId":"topic_retrieve","parameters":[{"in":"path","name":"slug","required":true,"schema":{"description":"Rule topic slug","type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Topic"}}},"description":""}},"security":[{"x-rh-identity":[]}],"tags":["topic"]},"patch":{"description":"Update an existing rule topic. Only the fields being changed need to be supplied","operationId":"topic_partial_update","parameters":[{"in":"path","name":"slug","required":true,"schema":{"description":"Rule topic slug","type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PatchedTopicEdit"}},"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/PatchedTopicEdit"}},"multipart/form-data":{"schema":{"$ref":"#/components/schemas/PatchedTopicEdit"}}}},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TopicEdit"}}},"description":""}},"security":[{"x-rh-identity":[]}],"summary":"Partially update a rule topic","tags":["topic"]},"put":{"description":"Update an existing rule topic. All fields need to be supplied","operationId":"topic_update","parameters":[{"in":"path","name":"slug","required":true,"schema":{"description":"Rule topic slug","type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TopicEdit"}},"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/TopicEdit"}},"multipart/form-data":{"schema":{"$ref":"#/components/schemas/TopicEdit"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TopicEdit"}}},"description":""}},"security":[{"x-rh-identity":[]}],"summary":"Update a rule topic","tags":["topic"]}},"/api/insights/v1/topic/{slug}/rules_with_tag/":{"get":{"description":"Lists the available rules that have this tag.\\n\\nThis shows the rule information for rules with this tag.","operationId":"topic_rules_with_tag_list","parameters":[{"in":"path","name":"slug","required":true,"schema":{"description":"Rule topic slug","type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/Rule"},"type":"array"}}},"description":""}},"security":[{"x-rh-identity":[]}],"tags":["topic"]}},"/api/insights/v1/topic/{slug}/systems/":{"get":{"description":"List all systems affected by this rule topic.\\n\\nSystems are just listed by their UUID.","operationId":"topic_systems_retrieve","parameters":[{"description":"Are there systems which contain these SAP SIDs?","in":"query","name":"filter[system_profile][sap_sids][contains]","schema":{"items":{"format":"regex","pattern":"^[A-Z]..$","type":"string"},"type":"array"},"style":"form"},{"description":"Is this a SAP system?","in":"query","name":"filter[system_profile][sap_system]","schema":{"type":"boolean"}},{"description":"List of Inventory host group names","in":"query","name":"groups","schema":{"items":{"type":"string"},"type":"array"},"style":"form"},{"in":"path","name":"slug","required":true,"schema":{"description":"Rule topic slug","type":"string"}},{"description":"Order by this field","in":"query","name":"sort","schema":{"default":["system_uuid"],"items":{"enum":["-display_name","-last_seen","-stale_at","-system_uuid","-updated","display_name","last_seen","stale_at","system_uuid","updated"],"type":"string"},"type":"array"},"style":"form"},{"description":"Tags have a namespace, key and value in the form namespace/key=value","in":"query","name":"tags","schema":{"items":{"format":"regex","pattern":"^[^/=]+/[^/=]+=[^/=]+$","type":"string"},"type":"array"},"style":"form"},{"description":"Search for systems with this updater type","in":"query","name":"update_method","schema":{"items":{"enum":["dnfyum","ostree"],"type":"string"},"type":"array"},"style":"form"}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SystemsForRule"}}},"description":""}},"security":[{"x-rh-identity":[]}],"tags":["topic"]}},"/api/insights/v1/usage/":{"get":{"description":"List the unique rule hits for this account over the given time range\\n\\nThis uses a HashLogLog structure to record number of hits, and this is\\ntherefore an approximation.","operationId":"usage_list","parameters":[{"description":"Allow `hydrauser` to view any account","in":"query","name":"account","schema":{"items":{"type":"string"},"type":"array"},"style":"form"},{"description":"End date for statistics range","in":"query","name":"end","schema":{"format":"date","type":"string"}},{"description":"Allow `hydrauser` to view any org_id","in":"query","name":"org_id","schema":{"type":"string"}},{"description":"Start date for statistics range","in":"query","name":"start","schema":{"format":"date","type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Usage"}}},"description":""}},"security":[{"x-rh-identity":[]}],"tags":["usage"]}},"/api/insights/v1/user-preferences/":{"get":{"description":"Describe the settings we have in a Data-Driven Forms way.\\n\\nThis simply compiles the \'show_satellite_hosts\' account-wide setting\\nand the weekly report \'is_subscribed\' user-specific setting into one\\nhandy view, with the description metadata necessary to use Data-Driven\\nForms to display it.","operationId":"user_preferences_list","responses":{"200":{"content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/SettingsDDF"},"type":"array"}}},"description":""}},"security":[{"x-rh-identity":[]}],"tags":["user-preferences"]},"post":{"description":"Accept the settings as input, and adjust the actual models accordingly.\\n\\nThe current account settings will be updated, or one will be created,\\nwith the","operationId":"user_preferences_create","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PreferencesInput"}},"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/PreferencesInput"}},"multipart/form-data":{"schema":{"$ref":"#/components/schemas/PreferencesInput"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PreferencesInput"}}},"description":""}},"security":[{"x-rh-identity":[]}],"tags":["user-preferences"]}},"/api/insights/v1/weeklyreportautosubscribe/":{"get":{"description":"Show the user\'s current subscription status.\\n\\nThis shows the presence of a weekly report subscription by the user\\nin this account.","operationId":"weeklyreportautosubscribe_list","responses":{"200":{"content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/AutoSubscribe"},"type":"array"}}},"description":""}},"security":[{"x-rh-identity":[]}],"tags":["weeklyreportautosubscribe"]},"post":{"description":"Set the auto-subscription status of the current user to the supplied\\n`is_auto_subscribed` value.\\n\\nIf \'is_auto_subscribed\' is true, an auto-subscription is added if it doesn\'t\\nalready exist. If it is false, the auto-subscription is removed if it\\nexists.\\n\\nCheck if ENABLE_AUTOSUB enviroment variable is set to allow the method.","operationId":"weeklyreportautosubscribe_create","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AutoSubscribeInput"}},"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/AutoSubscribeInput"}},"multipart/form-data":{"schema":{"$ref":"#/components/schemas/AutoSubscribeInput"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AutoSubscribe"}}},"description":""}},"security":[{"x-rh-identity":[]}],"tags":["weeklyreportautosubscribe"]}},"/api/insights/v1/weeklyreportsubscription/":{"get":{"description":"Show the user\'s current subscription status.\\n\\nThis shows the presence of a weekly report subscription by the user\\nin this account.","operationId":"weeklyreportsubscription_list","responses":{"200":{"content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/WeeklyReportSubscription"},"type":"array"}}},"description":""}},"security":[{"x-rh-identity":[]}],"tags":["weeklyreportsubscription"]},"post":{"description":"Set the subscription status of the current user to the supplied\\n`is_subscribed` value.\\n\\nIf \'is_subscribed\' is true, a subscription is added if it doesn\'t\\nalready exist. If it is false, the subscription is removed if it\\nexists.","operationId":"weeklyreportsubscription_create","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/WeeklyReportSubscription"}},"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/WeeklyReportSubscription"}},"multipart/form-data":{"schema":{"$ref":"#/components/schemas/WeeklyReportSubscription"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/WeeklyReportSubscription"}}},"description":""}},"security":[{"x-rh-identity":[]}],"tags":["weeklyreportsubscription"]}}},"servers":[{"description":"The API of the Advisor project in Insights","url":"https://console.redhat.com/"}]}}')}}]); \ No newline at end of file diff --git a/static/js/7832.9d345a5d.chunk.js b/static/js/7832.9d345a5d.chunk.js new file mode 100644 index 00000000..8f526360 --- /dev/null +++ b/static/js/7832.9d345a5d.chunk.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkapidocs=self.webpackChunkapidocs||[]).push([[7832],{97832:function(e){e.exports=JSON.parse('{"extras":{},"openapi":{"components":{"schemas":{"Ack":{"properties":{"created_at":{"format":"date-time","readOnly":true,"type":"string"},"created_by":{"description":"The user who created the ack","maxLength":255,"type":"string"},"justification":{"description":"The reason the rule was acked","maxLength":140,"type":"string"},"rule":{"type":"string"},"updated_at":{"format":"date-time","readOnly":true,"type":"string"}},"required":["created_at","rule","updated_at"],"type":"object"},"AckCount":{"description":"A rule_id and the number of acks on it","properties":{"ack_count":{"type":"integer"},"rule_id":{"type":"string"}},"required":["ack_count","rule_id"],"type":"object"},"AckInput":{"properties":{"justification":{"default":"","maxLength":140,"type":"string"},"rule_id":{"maxLength":240,"type":"string"}},"required":["rule_id"],"type":"object"},"AckJustification":{"properties":{"justification":{"description":"The reason the rule was acked","maxLength":140,"type":"string"}},"type":"object"},"AllAck":{"properties":{"account":{"type":"string"},"created_at":{"format":"date-time","readOnly":true,"type":"string"},"created_by":{"description":"The user who created the ack","maxLength":255,"type":"string"},"justification":{"description":"The reason the rule was acked","maxLength":140,"type":"string"},"org_id":{"type":"string"},"rule":{"title":"rule_id","type":"string"},"updated_at":{"format":"date-time","readOnly":true,"type":"string"}},"required":["account","created_at","org_id","rule","updated_at"],"type":"object"},"AllRuleRatings":{"description":"This is only available to internal users and lists ratings from all users.","properties":{"account":{"maxLength":10,"nullable":true,"type":"string"},"created_at":{"format":"date-time","readOnly":true,"type":"string"},"org_id":{"maxLength":50,"type":"string"},"rated_by":{"default":"","description":"The username that rated this rule","maxLength":255,"type":"string"},"rating":{"description":"* `-1` - Dislike\\n* `0` - Neutral\\n* `1` - Like","enum":[-1,0,1],"maximum":32767,"minimum":-32768,"type":"integer","x-spec-enum-id":"77fd471e36283637"},"rule":{"description":"Rule ID from Insights","type":"string"},"updated_at":{"format":"date-time","readOnly":true,"type":"string"}},"required":["created_at","org_id","rating","rule","updated_at"],"type":"object"},"AutoSubscribe":{"description":"Serializer specifically for listing\\nall Pathways currently in the system","properties":{"is_auto_subscribed":{"type":"boolean"},"org_id":{"type":"string"}},"required":["is_auto_subscribed","org_id"],"type":"object"},"AutoSubscribeInput":{"description":"Serializer specifically for handling\\nCREATE and UPDATE views for AutoSubscribe","properties":{"is_auto_subscribed":{"type":"boolean"},"org_id":{"type":"string"}},"required":["is_auto_subscribed","org_id"],"type":"object"},"ExportHits":{"description":"The basic report information for each system affected by a rule. Only\\nlists basic details of the host and rule, and links to more information.","properties":{"hostname":{"type":"string"},"last_seen":{"format":"date-time","type":"string"},"likelihood":{"type":"integer"},"publish_date":{"format":"date-time","type":"string"},"results_url":{"format":"uri","type":"string"},"rhel_version":{"type":"string"},"solution_url":{"format":"uri","type":"string"},"stale_at":{"format":"date-time","type":"string"},"title":{"type":"string"},"total_risk":{"type":"integer"},"uuid":{"format":"uuid","type":"string"}},"required":["hostname","last_seen","likelihood","publish_date","results_url","rhel_version","solution_url","stale_at","title","total_risk","uuid"],"type":"object"},"HostAck":{"description":"Ignore reports of this rule on this system for this account.","properties":{"created_at":{"format":"date-time","readOnly":true,"type":"string"},"created_by":{"description":"The username that created this acknowledgement","readOnly":true,"type":"string"},"display_name":{"readOnly":true,"type":"string"},"id":{"readOnly":true,"type":"integer"},"justification":{"maxLength":140,"type":"string"},"rule":{"description":"Rule ID from Insights","type":"string"},"system_uuid":{"format":"uuid","type":"string"},"updated_at":{"format":"date-time","readOnly":true,"type":"string"}},"required":["created_at","created_by","display_name","id","rule","system_uuid","updated_at"],"type":"object"},"HostAckInput":{"description":"Ignore reports of this rule on this system for this account.\\n\\nUse this when creating a new HostAck.","properties":{"justification":{"maxLength":140,"type":"string"},"rule":{"description":"Rule ID from Insights","type":"string"},"system_uuid":{"format":"uuid","type":"string"}},"required":["rule","system_uuid"],"type":"object"},"HostAckJustification":{"description":"Just modify the justification on a Host Ack.","properties":{"id":{"readOnly":true,"type":"integer"},"justification":{"maxLength":140,"type":"string"}},"required":["id"],"type":"object"},"JustificationCount":{"properties":{"count":{"type":"integer"},"justification":{"type":"string"}},"required":["count","justification"],"type":"object"},"Kcs":{"description":"Pairings of C.R.C rule URL and its KCS solution number (node_id)","properties":{"node_id":{"description":"KCS solution number","type":"string"},"rule_url":{"description":"Rule URL on C.R.C.","format":"uri","type":"string"}},"required":["node_id","rule_url"],"type":"object"},"MultiAckResponse":{"description":"The response from adding or deleting multiple acks on a rule. For backward\\ncompatibility we include the count, and then list the impacted systems.","properties":{"count":{"type":"integer"},"host_ids":{"items":{"format":"uuid","type":"string"},"type":"array"}},"required":["count","host_ids"],"type":"object"},"MultiHostAck":{"description":"Add acks to multiple hosts for a single rule.","properties":{"justification":{"maxLength":140,"type":"string"},"systems":{"items":{"format":"uuid","type":"string"},"type":"array"}},"required":["justification","systems"],"type":"object"},"MultiHostUnAck":{"description":"Delete acks from multiple hosts for a single rule.","properties":{"systems":{"items":{"format":"uuid","type":"string"},"type":"array"}},"required":["systems"],"type":"object"},"OrgId":{"description":"A specific org id for a Red Hat customer.","properties":{"org_id":{"maxLength":10,"minLength":6,"type":"string"}},"required":["org_id"],"type":"object"},"PaginatedAckList":{"properties":{"data":{"items":{"$ref":"#/components/schemas/Ack"},"type":"array"},"links":{"properties":{"first":{"format":"uri","nullable":true,"type":"string"},"last":{"format":"uri","nullable":true,"type":"string"},"next":{"format":"uri","nullable":true,"type":"string"},"previous":{"format":"uri","nullable":true,"type":"string"}},"type":"object"},"meta":{"properties":{"count":{"example":169,"type":"integer"}},"required":["count"],"type":"object"}},"type":"object"},"PaginatedAllRuleRatingsList":{"properties":{"data":{"items":{"$ref":"#/components/schemas/AllRuleRatings"},"type":"array"},"links":{"properties":{"first":{"format":"uri","nullable":true,"type":"string"},"last":{"format":"uri","nullable":true,"type":"string"},"next":{"format":"uri","nullable":true,"type":"string"},"previous":{"format":"uri","nullable":true,"type":"string"}},"type":"object"},"meta":{"properties":{"count":{"example":169,"type":"integer"}},"required":["count"],"type":"object"}},"type":"object"},"PaginatedHostAckList":{"properties":{"data":{"items":{"$ref":"#/components/schemas/HostAck"},"type":"array"},"links":{"properties":{"first":{"format":"uri","nullable":true,"type":"string"},"last":{"format":"uri","nullable":true,"type":"string"},"next":{"format":"uri","nullable":true,"type":"string"},"previous":{"format":"uri","nullable":true,"type":"string"}},"type":"object"},"meta":{"properties":{"count":{"example":169,"type":"integer"}},"required":["count"],"type":"object"}},"type":"object"},"PaginatedJustificationCountList":{"properties":{"data":{"items":{"$ref":"#/components/schemas/JustificationCount"},"type":"array"},"links":{"properties":{"first":{"format":"uri","nullable":true,"type":"string"},"last":{"format":"uri","nullable":true,"type":"string"},"next":{"format":"uri","nullable":true,"type":"string"},"previous":{"format":"uri","nullable":true,"type":"string"}},"type":"object"},"meta":{"properties":{"count":{"example":169,"type":"integer"}},"required":["count"],"type":"object"}},"type":"object"},"PaginatedOrgIdList":{"properties":{"data":{"items":{"$ref":"#/components/schemas/OrgId"},"type":"array"},"links":{"properties":{"first":{"format":"uri","nullable":true,"type":"string"},"last":{"format":"uri","nullable":true,"type":"string"},"next":{"format":"uri","nullable":true,"type":"string"},"previous":{"format":"uri","nullable":true,"type":"string"}},"type":"object"},"meta":{"properties":{"count":{"example":169,"type":"integer"}},"required":["count"],"type":"object"}},"type":"object"},"PaginatedPathwayList":{"properties":{"data":{"items":{"$ref":"#/components/schemas/Pathway"},"type":"array"},"links":{"properties":{"first":{"format":"uri","nullable":true,"type":"string"},"last":{"format":"uri","nullable":true,"type":"string"},"next":{"format":"uri","nullable":true,"type":"string"},"previous":{"format":"uri","nullable":true,"type":"string"}},"type":"object"},"meta":{"properties":{"count":{"example":169,"type":"integer"}},"required":["count"],"type":"object"}},"type":"object"},"PaginatedRuleForAccountList":{"properties":{"data":{"items":{"$ref":"#/components/schemas/RuleForAccount"},"type":"array"},"links":{"properties":{"first":{"format":"uri","nullable":true,"type":"string"},"last":{"format":"uri","nullable":true,"type":"string"},"next":{"format":"uri","nullable":true,"type":"string"},"previous":{"format":"uri","nullable":true,"type":"string"}},"type":"object"},"meta":{"properties":{"count":{"example":169,"type":"integer"}},"required":["count"],"type":"object"}},"type":"object"},"PaginatedRuleRatingList":{"properties":{"data":{"items":{"$ref":"#/components/schemas/RuleRating"},"type":"array"},"links":{"properties":{"first":{"format":"uri","nullable":true,"type":"string"},"last":{"format":"uri","nullable":true,"type":"string"},"next":{"format":"uri","nullable":true,"type":"string"},"previous":{"format":"uri","nullable":true,"type":"string"}},"type":"object"},"meta":{"properties":{"count":{"example":169,"type":"integer"}},"required":["count"],"type":"object"}},"type":"object"},"PaginatedRuleRatingStatsList":{"properties":{"data":{"items":{"$ref":"#/components/schemas/RuleRatingStats"},"type":"array"},"links":{"properties":{"first":{"format":"uri","nullable":true,"type":"string"},"last":{"format":"uri","nullable":true,"type":"string"},"next":{"format":"uri","nullable":true,"type":"string"},"previous":{"format":"uri","nullable":true,"type":"string"}},"type":"object"},"meta":{"properties":{"count":{"example":169,"type":"integer"}},"required":["count"],"type":"object"}},"type":"object"},"PaginatedSubscriptionExcludedAccountList":{"properties":{"data":{"items":{"$ref":"#/components/schemas/SubscriptionExcludedAccount"},"type":"array"},"links":{"properties":{"first":{"format":"uri","nullable":true,"type":"string"},"last":{"format":"uri","nullable":true,"type":"string"},"next":{"format":"uri","nullable":true,"type":"string"},"previous":{"format":"uri","nullable":true,"type":"string"}},"type":"object"},"meta":{"properties":{"count":{"example":169,"type":"integer"}},"required":["count"],"type":"object"}},"type":"object"},"PaginatedSystemList":{"properties":{"data":{"items":{"$ref":"#/components/schemas/System"},"type":"array"},"links":{"properties":{"first":{"format":"uri","nullable":true,"type":"string"},"last":{"format":"uri","nullable":true,"type":"string"},"next":{"format":"uri","nullable":true,"type":"string"},"previous":{"format":"uri","nullable":true,"type":"string"}},"type":"object"},"meta":{"properties":{"count":{"example":169,"type":"integer"}},"required":["count"],"type":"object"}},"type":"object"},"PaginatedSystemsDetailList":{"properties":{"data":{"items":{"$ref":"#/components/schemas/SystemsDetail"},"type":"array"},"links":{"properties":{"first":{"format":"uri","nullable":true,"type":"string"},"last":{"format":"uri","nullable":true,"type":"string"},"next":{"format":"uri","nullable":true,"type":"string"},"previous":{"format":"uri","nullable":true,"type":"string"}},"type":"object"},"meta":{"properties":{"count":{"example":169,"type":"integer"}},"required":["count"],"type":"object"}},"type":"object"},"PatchedTopicEdit":{"description":"Create or edit topics.","properties":{"description":{"type":"string"},"enabled":{"type":"boolean"},"featured":{"type":"boolean"},"name":{"maxLength":80,"type":"string"},"slug":{"description":"Rule topic slug","maxLength":20,"pattern":"^[-a-zA-Z0-9_]+$","type":"string"},"tag":{"type":"string"}},"type":"object"},"Pathway":{"description":"Serializer specifically for listing\\nall Pathways currently in the system","properties":{"categories":{"items":{"$ref":"#/components/schemas/RuleCategory"},"readOnly":true,"type":"array"},"component":{"type":"string"},"critical_risk_count":{"type":"integer"},"description":{"type":"string"},"has_incident":{"type":"boolean"},"has_playbook":{"type":"boolean"},"high_risk_count":{"type":"integer"},"impacted_systems_count":{"type":"integer"},"incident_count":{"type":"integer"},"low_risk_count":{"type":"integer"},"medium_risk_count":{"type":"integer"},"name":{"type":"string"},"publish_date":{"format":"date-time","type":"string"},"reboot_required":{"type":"boolean"},"recommendation_level":{"format":"double","readOnly":true,"type":"number"},"resolution_risk":{"$ref":"#/components/schemas/ResolutionRisk"},"slug":{"type":"string"}},"required":["categories","component","critical_risk_count","description","has_incident","has_playbook","high_risk_count","impacted_systems_count","incident_count","low_risk_count","medium_risk_count","name","publish_date","reboot_required","recommendation_level","resolution_risk","slug"],"type":"object"},"PathwayInput":{"description":"Serializer specifically for handling\\nCREATE and UPDATE views for Pathways","properties":{"component":{"type":"string"},"description":{"type":"string"},"name":{"type":"string"},"publish_date":{"format":"date-time","type":"string"},"resolution_risk":{"type":"string"}},"required":["component","description","name","publish_date","resolution_risk"],"type":"object"},"PreferencesInput":{"description":"User preferences - separated from account settings.","properties":{"is_subscribed":{"type":"boolean"}},"required":["is_subscribed"],"type":"object"},"RenderedReport":{"description":"The actual rule fields with the report data for a particular system\\nrendered into them, in a flat structure that\'s easier to use.","properties":{"description":{"maxLength":240,"type":"string"},"generic":{"type":"string"},"more_info":{"type":"string"},"reason":{"type":"string"},"resolution":{"type":"string"},"summary":{"type":"string"}},"required":["description","generic","reason","resolution","summary"],"type":"object"},"Report":{"properties":{"details":{},"impacted_date":{"format":"date-time","readOnly":true,"type":"string"},"resolution":{"allOf":[{"$ref":"#/components/schemas/Resolution"}],"readOnly":true},"rule":{"allOf":[{"$ref":"#/components/schemas/Rule"}],"readOnly":true}},"required":["details","impacted_date","resolution","rule"],"type":"object"},"ReportExport":{"description":"Report information for export. Based on CurrentReport with fields from\\nRule and Host pulled through for convenience.","properties":{"details":{},"host_id":{"format":"uuid","readOnly":true,"type":"string"},"impacted_date":{"format":"date-time","nullable":true,"readOnly":true,"type":"string"},"report_time":{"format":"date-time","type":"string"},"reports_url":{"type":"string"},"rule_id":{"type":"string"}},"required":["details","host_id","impacted_date","report_time","reports_url","rule_id"],"type":"object"},"Resolution":{"properties":{"has_playbook":{"readOnly":true,"type":"boolean"},"resolution":{"type":"string"},"resolution_risk":{"allOf":[{"$ref":"#/components/schemas/ResolutionRisk"}],"readOnly":true},"system_type":{"type":"integer"}},"required":["has_playbook","resolution","resolution_risk","system_type"],"type":"object"},"ResolutionRisk":{"properties":{"name":{"maxLength":80,"type":"string"},"risk":{"maximum":32767,"minimum":0,"type":"integer"}},"type":"object"},"Rule":{"description":"The standard rule information. Used for models and relations that don\'t\\nknow the account and therefore can\'t know the acks or impacted systems.","properties":{"active":{"type":"boolean"},"category":{"$ref":"#/components/schemas/RuleCategory"},"created_at":{"format":"date-time","readOnly":true,"type":"string"},"deleted_at":{"format":"date-time","type":"string"},"description":{"maxLength":240,"type":"string"},"generic":{"type":"string"},"impact":{"$ref":"#/components/schemas/RuleImpact"},"likelihood":{"maximum":32767,"minimum":0,"type":"integer"},"more_info":{"type":"string"},"node_id":{"description":"KCS solution number","maxLength":10,"type":"string"},"publish_date":{"format":"date-time","nullable":true,"type":"string"},"reason":{"type":"string"},"reboot_required":{"type":"boolean"},"resolution_set":{"items":{"$ref":"#/components/schemas/Resolution"},"type":"array"},"rule_id":{"description":"Rule ID from Insights","maxLength":240,"type":"string"},"summary":{"type":"string"},"tags":{"readOnly":true,"type":"string"},"total_risk":{"maximum":32767,"minimum":0,"type":"integer"},"updated_at":{"format":"date-time","readOnly":true,"type":"string"}},"required":["category","created_at","description","generic","impact","reason","resolution_set","rule_id","summary","tags","updated_at"],"type":"object"},"RuleCategory":{"properties":{"id":{"readOnly":true,"type":"integer"},"name":{"maxLength":20,"type":"string"}},"required":["id","name"],"type":"object"},"RuleExport":{"description":"Rule information for export.","properties":{"active":{"type":"boolean"},"category":{"type":"string"},"created_at":{"format":"date-time","readOnly":true,"type":"string"},"deleted_at":{"format":"date-time","nullable":true,"readOnly":true,"type":"string"},"description":{"maxLength":240,"type":"string"},"generic":{"type":"string"},"hosts_acked_count":{"type":"integer"},"impact":{"type":"string"},"impacted_systems_count":{"type":"integer"},"likelihood":{"maximum":32767,"minimum":0,"type":"integer"},"more_info":{"type":"string"},"node_id":{"description":"KCS solution number","maxLength":10,"type":"string"},"playbook_count":{"type":"integer"},"publish_date":{"format":"date-time","nullable":true,"type":"string"},"rating":{"readOnly":true,"type":"integer"},"reason":{"type":"string"},"reboot_required":{"type":"boolean"},"reports_shown":{"readOnly":true,"type":"boolean"},"resolution_set":{"items":{"$ref":"#/components/schemas/Resolution"},"type":"array"},"rule_id":{"description":"Rule ID from Insights","maxLength":240,"type":"string"},"rule_status":{"readOnly":true,"type":"string"},"summary":{"type":"string"},"tags":{"readOnly":true,"type":"string"},"total_risk":{"maximum":32767,"minimum":0,"type":"integer"},"updated_at":{"format":"date-time","readOnly":true,"type":"string"}},"required":["category","created_at","deleted_at","description","generic","hosts_acked_count","impact","impacted_systems_count","playbook_count","rating","reason","reports_shown","resolution_set","rule_id","rule_status","summary","tags","updated_at"],"type":"object"},"RuleForAccount":{"description":"Rule information when we know the account, and therefore can calculate\\nthe number of impacted systems and the reports_shown/rule_status flags.\\nWe have to declare those explicitly here because they\'re not part of the model.","properties":{"active":{"type":"boolean"},"category":{"$ref":"#/components/schemas/RuleCategory"},"created_at":{"format":"date-time","readOnly":true,"type":"string"},"deleted_at":{"format":"date-time","type":"string"},"description":{"maxLength":240,"type":"string"},"generic":{"type":"string"},"hosts_acked_count":{"readOnly":true,"type":"integer"},"impact":{"$ref":"#/components/schemas/RuleImpact"},"impacted_systems_count":{"readOnly":true,"type":"integer"},"likelihood":{"maximum":32767,"minimum":0,"type":"integer"},"more_info":{"type":"string"},"node_id":{"description":"KCS solution number","maxLength":10,"type":"string"},"pathway":{"$ref":"#/components/schemas/RulePathway"},"playbook_count":{"readOnly":true,"type":"integer"},"publish_date":{"format":"date-time","nullable":true,"type":"string"},"rating":{"readOnly":true,"type":"integer"},"reason":{"type":"string"},"reboot_required":{"type":"boolean"},"reports_shown":{"readOnly":true,"type":"boolean"},"resolution_set":{"items":{"$ref":"#/components/schemas/Resolution"},"type":"array"},"rule_id":{"description":"Rule ID from Insights","maxLength":240,"type":"string"},"rule_status":{"readOnly":true,"type":"string"},"summary":{"type":"string"},"tags":{"readOnly":true,"type":"string"},"total_risk":{"maximum":32767,"minimum":0,"type":"integer"},"updated_at":{"format":"date-time","readOnly":true,"type":"string"}},"required":["category","created_at","description","generic","hosts_acked_count","impact","impacted_systems_count","playbook_count","rating","reason","reports_shown","resolution_set","rule_id","rule_status","summary","tags","updated_at"],"type":"object"},"RuleImpact":{"properties":{"impact":{"maximum":32767,"minimum":0,"type":"integer"},"name":{"maxLength":80,"type":"string"}},"type":"object"},"RulePathway":{"properties":{"component":{"maxLength":80,"type":"string"},"name":{"maxLength":240,"type":"string"},"resolution_risk":{"allOf":[{"$ref":"#/components/schemas/ResolutionRisk"}],"readOnly":true}},"required":["component","name","resolution_risk"],"type":"object"},"RuleRating":{"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":{"description":"* `-1` - Dislike\\n* `0` - Neutral\\n* `1` - Like","enum":[-1,0,1],"maximum":32767,"minimum":-32768,"type":"integer","x-spec-enum-id":"77fd471e36283637"},"rule":{"description":"Rule ID from Insights","type":"string"}},"required":["rating","rule"],"type":"object"},"RuleRatingStats":{"description":"Output of statistics view of rule ratings - rule ID and totals of ratings.","properties":{"rule":{"type":"string"},"total_negative":{"type":"integer"},"total_positive":{"type":"integer"},"total_ratings":{"type":"integer"}},"required":["rule","total_negative","total_positive","total_ratings"],"type":"object"},"RuleSystemsExport":{"description":"List of systems with current reports for each rule.","properties":{"rules":{"additionalProperties":{"items":{"format":"uuid","type":"string"},"type":"array"},"type":"object"}},"required":["rules"],"type":"object"},"RuleUsageStats":{"description":"Rule usage statistics for rule developers.","properties":{"accounts_acked":{"type":"integer"},"accounts_hit":{"type":"integer"},"active":{"type":"boolean"},"description":{"type":"string"},"rule_id":{"maxLength":240,"type":"string"},"systems_hit":{"type":"integer"}},"required":["accounts_acked","accounts_hit","active","description","rule_id","systems_hit"],"type":"object"},"SettingDDF":{"description":"Outputs the description of the settings in a Data-Driven Forms format.","properties":{"component":{"type":"string"},"description":{"type":"string"},"helperText":{"type":"string"},"initialValue":{"type":"boolean"},"isDisabled":{"type":"boolean"},"isRequired":{"type":"boolean"},"label":{"type":"string"},"name":{"type":"string"},"title":{"type":"string"}},"required":["component","initialValue","isDisabled","isRequired","name"],"type":"object"},"SettingsDDF":{"description":"Combining the DDF fields into one \'fields\' object.","properties":{"fields":{"items":{"$ref":"#/components/schemas/SettingDDF"},"type":"array"}},"required":["fields"],"type":"object"},"Stats":{"description":"Advisor rule or report frequency statisics.","properties":{"category":{"additionalProperties":{"type":"integer"},"type":"object"},"total":{"type":"integer"},"total_risk":{"additionalProperties":{"type":"integer"},"type":"object"}},"required":["category","total","total_risk"],"type":"object"},"SubscriptionExcludedAccount":{"properties":{"account":{"type":"string"},"org_id":{"type":"string"}},"required":["org_id"],"type":"object"},"System":{"properties":{"all_pathway_hits":{"readOnly":true,"type":"integer"},"critical_hits":{"readOnly":true,"type":"integer"},"display_name":{"maxLength":200,"type":"string"},"group_name":{"readOnly":true,"type":"string"},"hits":{"readOnly":true,"type":"integer"},"important_hits":{"readOnly":true,"type":"integer"},"incident_hits":{"readOnly":true,"type":"integer"},"last_seen":{"format":"date-time","readOnly":true,"type":"string"},"low_hits":{"readOnly":true,"type":"integer"},"moderate_hits":{"readOnly":true,"type":"integer"},"pathway_filter_hits":{"readOnly":true,"type":"integer"},"rhel_version":{"type":"string"},"stale_at":{"format":"date-time","readOnly":true,"type":"string"},"system_uuid":{"format":"uuid","type":"string"}},"required":["all_pathway_hits","critical_hits","display_name","group_name","hits","important_hits","incident_hits","last_seen","low_hits","moderate_hits","pathway_filter_hits","rhel_version","stale_at","system_uuid"],"type":"object"},"SystemType":{"description":"RHN-based system types classified by role and product code.","properties":{"id":{"readOnly":true,"type":"integer"},"product_code":{"maxLength":10,"type":"string"},"role":{"maxLength":15,"type":"string"}},"required":["id","product_code","role"],"type":"object"},"SystemsDetail":{"properties":{"all_pathway_hits":{"readOnly":true,"type":"integer"},"critical_hits":{"readOnly":true,"type":"integer"},"display_name":{"maxLength":200,"type":"string"},"hits":{"readOnly":true,"type":"integer"},"impacted_date":{"format":"date-time","readOnly":true,"type":"string"},"important_hits":{"readOnly":true,"type":"integer"},"incident_hits":{"readOnly":true,"type":"integer"},"last_seen":{"format":"date-time","readOnly":true,"type":"string"},"low_hits":{"readOnly":true,"type":"integer"},"moderate_hits":{"readOnly":true,"type":"integer"},"pathway_filter_hits":{"readOnly":true,"type":"integer"},"rhel_version":{"type":"string"},"stale_at":{"format":"date-time","readOnly":true,"type":"string"},"system_uuid":{"format":"uuid","type":"string"}},"required":["all_pathway_hits","critical_hits","display_name","hits","impacted_date","important_hits","incident_hits","last_seen","low_hits","moderate_hits","pathway_filter_hits","rhel_version","stale_at","system_uuid"],"type":"object"},"SystemsForRule":{"description":"The list of Inventory Host IDs that are (currently) affected by a given\\nrule.","properties":{"host_ids":{"items":{"format":"uuid","type":"string"},"type":"array"}},"required":["host_ids"],"type":"object"},"Topic":{"description":"Topics group rules by a tag shared by all the rules.","properties":{"description":{"type":"string"},"enabled":{"type":"boolean"},"featured":{"type":"boolean"},"impacted_systems_count":{"readOnly":true,"type":"integer"},"name":{"maxLength":80,"type":"string"},"slug":{"description":"Rule topic slug","maxLength":20,"pattern":"^[-a-zA-Z0-9_]+$","type":"string"},"tag":{"type":"string"}},"required":["description","impacted_systems_count","name","slug","tag"],"type":"object"},"TopicEdit":{"description":"Create or edit topics.","properties":{"description":{"type":"string"},"enabled":{"type":"boolean"},"featured":{"type":"boolean"},"name":{"maxLength":80,"type":"string"},"slug":{"description":"Rule topic slug","maxLength":20,"pattern":"^[-a-zA-Z0-9_]+$","type":"string"},"tag":{"type":"string"}},"required":["description","name","slug","tag"],"type":"object"},"Usage":{"description":"An approximation of the number of unique hits per day.","properties":{"unique_hits":{"type":"integer"}},"required":["unique_hits"],"type":"object"},"WeeklyReportSubscription":{"properties":{"is_subscribed":{"type":"boolean"}},"required":["is_subscribed"],"type":"object"}},"securitySchemes":{"Authorization":{"in":"header","name":"Authorization","type":"apiKey"}}},"info":{"description":"The API for managing and issuing Red Hat generated tasks on your infrastructure","title":"Insights Tasks API","version":"1.0.0"},"openapi":"3.0.3","paths":{"/api/insights/v1/account/":{"get":{"description":"List all accounts by org_id we know about (through the host table).\\n\\nNo other information about the accounts is provided in this view.","operationId":"api_insights_v1_account_list","parameters":[{"description":"Number of results to return per page.","in":"query","name":"limit","required":false,"schema":{"type":"integer"}},{"description":"The initial index from which to return the results.","in":"query","name":"offset","required":false,"schema":{"type":"integer"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PaginatedOrgIdList"}}},"description":""}},"security":[{"x-rh-identity":[]}],"tags":["api"]}},"/api/insights/v1/account/{org_id}/":{"get":{"description":"List information relating to other accounts.\\n\\nThis allows us to collect data that requires the user to specify an\\norg_id number, such as number of systems currently registered to that\\norg.\\n\\nparam: org_id: Org ID number of a Red Hat customer.","operationId":"api_insights_v1_account_retrieve","parameters":[{"in":"path","name":"org_id","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OrgId"}}},"description":""}},"security":[{"x-rh-identity":[]}],"tags":["api"]}},"/api/insights/v1/account/{org_id}/hosts/":{"get":{"description":"List details about the number of hosts in this account by org_id.\\n\\nAs well as the total number of hosts, we report on the number of hosts\\nin various states of staleness:\\n * fresh: hosts that have updated in the last 26 hours\\n * stale: hosts not updated in the last 26 hours - we display the\\n results for these hosts but a warning is shown to say they are\\n not updating\\n * warn: hosts not updated in the last week - these are not shown\\n in any queries\\n\\nThis may have other aggregate data added in the future.","operationId":"api_insights_v1_account_hosts_retrieve","parameters":[{"in":"path","name":"org_id","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OrgId"}}},"description":""}},"security":[{"x-rh-identity":[]}],"tags":["api"]}},"/api/insights/v1/ack/":{"get":{"description":"List acks from this account by org_id where the rule is active\\n\\nWill return an empty list if this account has no acks.","operationId":"api_insights_v1_ack_list","parameters":[{"description":"Number of results to return per page.","in":"query","name":"limit","required":false,"schema":{"type":"integer"}},{"description":"The initial index from which to return the results.","in":"query","name":"offset","required":false,"schema":{"type":"integer"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PaginatedAckList"}}},"description":""}},"security":[{"x-rh-identity":[]}],"tags":["api"]},"post":{"description":"Add an acknowledgement for a rule, by rule ID.\\n\\nIf there\'s already an acknowledgement of this rule by this\\naccounts org_id, then return that. Otherwise, a new ack is created.","operationId":"api_insights_v1_ack_create","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AckInput"}},"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/AckInput"}},"multipart/form-data":{"schema":{"$ref":"#/components/schemas/AckInput"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Ack"}}},"description":""}},"security":[{"x-rh-identity":[]}],"tags":["api"]}},"/api/insights/v1/ack/all/":{"get":{"description":"List acks from all accounts, with org_id.\\n\\nHas no pagination.","operationId":"api_insights_v1_ack_all_list","responses":{"200":{"content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/AllAck"},"type":"array"}}},"description":""}},"security":[{"x-rh-identity":[]}],"tags":["api"]}},"/api/insights/v1/ack/{rule_id}/":{"delete":{"description":"Delete an acknowledgement for a rule, by its rule ID.\\n\\nIf the ack existed, it is deleted and a 204 is returned. Otherwise,\\na 404 is returned.","operationId":"api_insights_v1_ack_destroy","parameters":[{"in":"path","name":"rule_id","required":true,"schema":{"description":"Rule ID from Insights","type":"string"}}],"responses":{"204":{"content":{"application/json":{"schema":{"type":"string"}}},"description":""}},"security":[{"x-rh-identity":[]}],"tags":["api"]},"get":{"description":"Acks acknowledge (and therefore hide) a rule from view in an account.\\n\\nThis view handles listing, retrieving, creating and deleting acks. Acks\\nare created and deleted by Insights rule ID, not by their own ack ID.\\n\\nparam: rule_id: Rule ID defined by Insights ruleset","operationId":"api_insights_v1_ack_retrieve","parameters":[{"in":"path","name":"rule_id","required":true,"schema":{"description":"Rule ID from Insights","type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Ack"}}},"description":""}},"security":[{"x-rh-identity":[]}],"tags":["api"]},"put":{"description":"Update an acknowledgement for a rule, by rule ID.\\n\\nA new justification can be supplied. The username is taken from the\\nauthenticated request. The updated ack is returned.","operationId":"api_insights_v1_ack_update","parameters":[{"in":"path","name":"rule_id","required":true,"schema":{"description":"Rule ID from Insights","type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AckJustification"}},"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/AckJustification"}},"multipart/form-data":{"schema":{"$ref":"#/components/schemas/AckJustification"}}}},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Ack"}}},"description":""}},"security":[{"x-rh-identity":[]}],"tags":["api"]}},"/api/insights/v1/ackcount/":{"get":{"description":"Get the ack counts for all active rules\\n\\nReturn a list of rule_ids and their ack counts","operationId":"api_insights_v1_ackcount_list","responses":{"200":{"content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/AckCount"},"type":"array"}}},"description":""}},"security":[{"x-rh-identity":[]}],"tags":["api"]}},"/api/insights/v1/ackcount/{rule_id}/":{"get":{"description":"Get the ack count for the given rule_id\\n\\nReturns the rule_id and its ack count","operationId":"api_insights_v1_ackcount_retrieve","parameters":[{"in":"path","name":"rule_id","required":true,"schema":{"description":"Rule ID from Insights","type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AckCount"}}},"description":""}},"security":[{"x-rh-identity":[]}],"tags":["api"]}},"/api/insights/v1/autosubexclusion/":{"get":{"description":"Returns all subscription exclusions for accounts\\n\\nThis returns a list of all subscription exclusions.\\nThis contains exclusions and their account and org_id.\\nThese are all accounts that are excluded from the autosub\\nsubscription path for weekly report subscriptions.","operationId":"api_insights_v1_autosubexclusion_list","parameters":[{"description":"Number of results to return per page.","in":"query","name":"limit","required":false,"schema":{"type":"integer"}},{"description":"The initial index from which to return the results.","in":"query","name":"offset","required":false,"schema":{"type":"integer"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PaginatedSubscriptionExcludedAccountList"}}},"description":""}},"security":[{"x-rh-identity":[]}],"tags":["api"]},"post":{"description":"Create a new subscription exclusion for an account.\\n\\nThis creates a new subscription exclusion for an account.\\nThis should contain an org_id and account. Only org_id is required.\\nAccount is optional.","operationId":"api_insights_v1_autosubexclusion_create","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SubscriptionExcludedAccount"}},"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/SubscriptionExcludedAccount"}},"multipart/form-data":{"schema":{"$ref":"#/components/schemas/SubscriptionExcludedAccount"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SubscriptionExcludedAccount"}}},"description":""}},"security":[{"x-rh-identity":[]}],"tags":["api"]}},"/api/insights/v1/autosubexclusion/{org_id}/":{"delete":{"description":"Destroy an existing subscription exclusion in the system.\\n\\nThis will DELETE an existing subscription exclusion\\nin the system. Existing subscription exclusions\\nare identified and deleted by the \\"org_id\\" field.","operationId":"api_insights_v1_autosubexclusion_destroy","parameters":[{"in":"path","name":"org_id","required":true,"schema":{"type":"string"}}],"responses":{"204":{"content":{"application/json":{"schema":{"type":"string"}}},"description":""}},"security":[{"x-rh-identity":[]}],"tags":["api"]},"get":{"description":"Returns an individual subscription exclusion based on org_id.\\n\\nThis returns an individual subscription exclusion\\nbased on the org_id.","operationId":"api_insights_v1_autosubexclusion_retrieve","parameters":[{"in":"path","name":"org_id","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SubscriptionExcludedAccount"}}},"description":""}},"security":[{"x-rh-identity":[]}],"tags":["api"]}},"/api/insights/v1/export/hits/":{"get":{"description":"Get each host and all rules currently affecting it.\\n\\nWe also only present active, non-acked (on an account AND host level)\\nrules. Inventory data may be requested if Advisor has not seen all\\nthe hosts. The accepted content type supplied in the request headers\\nis used to determine the supplied content type.","operationId":"api_insights_v1_export_hits_list","parameters":[{"description":"Display rules of this category (number)","in":"query","name":"category","schema":{"items":{"enum":[1,2,3,4],"type":"integer"},"type":"array"},"style":"form"},{"description":"Display systems with this text in their display_name","in":"query","name":"display_name","schema":{"type":"string"}},{"description":"Are there systems which contain these SAP SIDs?","in":"query","name":"filter[system_profile][sap_sids][contains]","schema":{"items":{"format":"regex","pattern":"^[A-Z]..$","type":"string"},"type":"array"},"style":"form"},{"description":"Is this a SAP system?","in":"query","name":"filter[system_profile][sap_system]","schema":{"type":"boolean"}},{"in":"query","name":"format","schema":{"enum":["csv","json"],"type":"string"}},{"description":"List of Inventory host group names","in":"query","name":"groups","schema":{"items":{"type":"string"},"type":"array"},"style":"form"},{"description":"Display rules that have a playbook","in":"query","name":"has_playbook","schema":{"type":"boolean"}},{"description":"Display rules of this impact level (1..4)","in":"query","name":"impact","schema":{"items":{"enum":[1,2,3,4],"type":"integer"},"type":"array"},"style":"form"},{"description":"Display only rules that cause an incident","in":"query","name":"incident","schema":{"type":"boolean"}},{"description":"Display only rules of this likelihood level (1..4)","in":"query","name":"likelihood","schema":{"items":{"enum":[1,2,3,4],"type":"integer"},"type":"array"},"style":"form"},{"description":"Display rules that require a reboot to fix","in":"query","name":"reboot","schema":{"type":"boolean"}},{"description":"Display rules with this resolution risk level (1..4)","in":"query","name":"res_risk","schema":{"items":{"enum":[1,2,3,4],"type":"integer"},"type":"array"},"style":"form"},{"description":"Tags have a namespace, key and value in the form namespace/key=value","in":"query","name":"tags","schema":{"items":{"format":"regex","pattern":"^[^/=]+/[^/=]+=[^/=]+$","type":"string"},"type":"array"},"style":"form"},{"description":"Display rules with this text in their text fields","in":"query","name":"text","schema":{"type":"string"}},{"description":"Display rules with this total risk level (1..4)","in":"query","name":"total_risk","schema":{"items":{"enum":[1,2,3,4],"type":"integer"},"type":"array"},"style":"form"},{"description":"Search for systems with this updater type","in":"query","name":"update_method","schema":{"items":{"enum":["dnfyum","ostree"],"type":"string"},"type":"array"},"style":"form"},{"description":"Display a system with this uuid","in":"query","name":"uuid","schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/ExportHits"},"type":"array"}},"text/csv":{"schema":{"items":{"$ref":"#/components/schemas/ExportHits"},"type":"array"}}},"description":""}},"security":[{"x-rh-identity":[]}],"tags":["api"]}},"/api/insights/v1/export/reports/":{"get":{"description":"List the report details of each rule affecting each system.\\n\\nSystem and Rule are referred to by ID only, to be correlated with the\\nRule and System export data. It\'s like the hits output but much\\nless repetitive.","operationId":"api_insights_v1_export_reports_list","parameters":[{"description":"Display rules of this category (number)","in":"query","name":"category","schema":{"items":{"enum":[1,2,3,4],"type":"integer"},"type":"array"},"style":"form"},{"description":"Display systems with this text in their display_name","in":"query","name":"display_name","schema":{"type":"string"}},{"description":"Are there systems which contain these SAP SIDs?","in":"query","name":"filter[system_profile][sap_sids][contains]","schema":{"items":{"format":"regex","pattern":"^[A-Z]..$","type":"string"},"type":"array"},"style":"form"},{"description":"Is this a SAP system?","in":"query","name":"filter[system_profile][sap_system]","schema":{"type":"boolean"}},{"description":"List of Inventory host group names","in":"query","name":"groups","schema":{"items":{"type":"string"},"type":"array"},"style":"form"},{"description":"Display rules that have a playbook","in":"query","name":"has_playbook","schema":{"type":"boolean"}},{"description":"Display rules of this impact level (1..4)","in":"query","name":"impact","schema":{"items":{"enum":[1,2,3,4],"type":"integer"},"type":"array"},"style":"form"},{"description":"Display only rules that cause an incident","in":"query","name":"incident","schema":{"type":"boolean"}},{"description":"Display only rules of this likelihood level (1..4)","in":"query","name":"likelihood","schema":{"items":{"enum":[1,2,3,4],"type":"integer"},"type":"array"},"style":"form"},{"description":"Display rules that require a reboot to fix","in":"query","name":"reboot","schema":{"type":"boolean"}},{"description":"Display rules with this resolution risk level (1..4)","in":"query","name":"res_risk","schema":{"items":{"enum":[1,2,3,4],"type":"integer"},"type":"array"},"style":"form"},{"description":"Tags have a namespace, key and value in the form namespace/key=value","in":"query","name":"tags","schema":{"items":{"format":"regex","pattern":"^[^/=]+/[^/=]+=[^/=]+$","type":"string"},"type":"array"},"style":"form"},{"description":"Display rules with this text in their text fields","in":"query","name":"text","schema":{"type":"string"}},{"description":"Display rules with this total risk level (1..4)","in":"query","name":"total_risk","schema":{"items":{"enum":[1,2,3,4],"type":"integer"},"type":"array"},"style":"form"},{"description":"Search for systems with this updater type","in":"query","name":"update_method","schema":{"items":{"enum":["dnfyum","ostree"],"type":"string"},"type":"array"},"style":"form"},{"description":"Display a system with this uuid","in":"query","name":"uuid","schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/ReportExport"},"type":"array"}}},"description":""}},"security":[{"x-rh-identity":[]}],"tags":["api"]}},"/api/insights/v1/export/rules/":{"get":{"description":"List the report details of each rule affecting each system.\\n\\nSystem and Rule are referred to by ID only, to be correlated with the\\nRule and System export data. It\'s like the hits output but much\\nless repetitive.","operationId":"api_insights_v1_export_rules_list","parameters":[{"description":"Display rules of this category (number)","in":"query","name":"category","schema":{"items":{"enum":[1,2,3,4],"type":"integer"},"type":"array"},"style":"form"},{"description":"Display systems with this text in their display_name","in":"query","name":"display_name","schema":{"type":"string"}},{"description":"Are there systems which contain these SAP SIDs?","in":"query","name":"filter[system_profile][sap_sids][contains]","schema":{"items":{"format":"regex","pattern":"^[A-Z]..$","type":"string"},"type":"array"},"style":"form"},{"description":"Is this a SAP system?","in":"query","name":"filter[system_profile][sap_system]","schema":{"type":"boolean"}},{"description":"List of Inventory host group names","in":"query","name":"groups","schema":{"items":{"type":"string"},"type":"array"},"style":"form"},{"description":"Display rules that have a playbook","in":"query","name":"has_playbook","schema":{"type":"boolean"}},{"description":"Display rules of this impact level (1..4)","in":"query","name":"impact","schema":{"items":{"enum":[1,2,3,4],"type":"integer"},"type":"array"},"style":"form"},{"description":"Display only rules that cause an incident","in":"query","name":"incident","schema":{"type":"boolean"}},{"description":"Display only rules of this likelihood level (1..4)","in":"query","name":"likelihood","schema":{"items":{"enum":[1,2,3,4],"type":"integer"},"type":"array"},"style":"form"},{"description":"Display rules that require a reboot to fix","in":"query","name":"reboot","schema":{"type":"boolean"}},{"description":"Display rules with this resolution risk level (1..4)","in":"query","name":"res_risk","schema":{"items":{"enum":[1,2,3,4],"type":"integer"},"type":"array"},"style":"form"},{"description":"Tags have a namespace, key and value in the form namespace/key=value","in":"query","name":"tags","schema":{"items":{"format":"regex","pattern":"^[^/=]+/[^/=]+=[^/=]+$","type":"string"},"type":"array"},"style":"form"},{"description":"Display rules with this text in their text fields","in":"query","name":"text","schema":{"type":"string"}},{"description":"Display rules with this total risk level (1..4)","in":"query","name":"total_risk","schema":{"items":{"enum":[1,2,3,4],"type":"integer"},"type":"array"},"style":"form"},{"description":"Search for systems with this updater type","in":"query","name":"update_method","schema":{"items":{"enum":["dnfyum","ostree"],"type":"string"},"type":"array"},"style":"form"},{"description":"Display a system with this uuid","in":"query","name":"uuid","schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/RuleExport"},"type":"array"}}},"description":""}},"security":[{"x-rh-identity":[]}],"tags":["api"]}},"/api/insights/v1/export/systems/":{"get":{"description":"List of systems with details and hit counts.\\n\\nSystems can be sorted and filtered by display name and rule id.","operationId":"api_insights_v1_export_systems_list","parameters":[{"description":"Display systems with this text in their display_name","in":"query","name":"display_name","schema":{"type":"string"}},{"in":"query","name":"format","schema":{"enum":["csv","json"],"type":"string"}},{"description":"List of Inventory host group names","in":"query","name":"groups","schema":{"items":{"type":"string"},"type":"array"},"style":"form"},{"description":"Display systems with this text in their rule_id","in":"query","name":"rule_id","schema":{"type":"string"}},{"description":"Order by this field","in":"query","name":"sort","schema":{"default":"-hits","enum":["-critical_hits","-display_name","-group_name","-hits","-important_hits","-last_seen","-low_hits","-moderate_hits","-rhel_version","critical_hits","display_name","group_name","hits","important_hits","last_seen","low_hits","moderate_hits","rhel_version"],"type":"string"}},{"description":"Search for systems with this updater type","in":"query","name":"update_method","schema":{"items":{"enum":["dnfyum","ostree"],"type":"string"},"type":"array"},"style":"form"}],"responses":{"200":{"content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/System"},"type":"array"}},"text/csv":{"schema":{"items":{"$ref":"#/components/schemas/System"},"type":"array"}}},"description":""}},"security":[{"x-rh-identity":[]}],"tags":["api"]}},"/api/insights/v1/hostack/":{"get":{"description":"List host acks from this account for a system where the rule is active.\\n\\nHostacks are retrieved, edited and deleted by the \'id\' field.","operationId":"api_insights_v1_hostack_list","parameters":[{"description":"Are there systems which contain these SAP SIDs?","in":"query","name":"filter[system_profile][sap_sids][contains]","schema":{"items":{"format":"regex","pattern":"^[A-Z]..$","type":"string"},"type":"array"},"style":"form"},{"description":"Is this a SAP system?","in":"query","name":"filter[system_profile][sap_system]","schema":{"type":"boolean"}},{"description":"List of Inventory host group names","in":"query","name":"groups","schema":{"items":{"type":"string"},"type":"array"},"style":"form"},{"description":"Number of results to return per page.","in":"query","name":"limit","required":false,"schema":{"type":"integer"}},{"description":"The initial index from which to return the results.","in":"query","name":"offset","required":false,"schema":{"type":"integer"}},{"description":"Display host acknowledgement of this/these rules","in":"query","name":"rule_id","schema":{"items":{"format":"regex","pattern":"\\\\w+(,\\\\w+)*","type":"string"},"type":"array"},"style":"form"},{"description":"Tags have a namespace, key and value in the form namespace/key=value","in":"query","name":"tags","schema":{"items":{"format":"regex","pattern":"^[^/=]+/[^/=]+=[^/=]+$","type":"string"},"type":"array"},"style":"form"}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PaginatedHostAckList"}}},"description":""}},"security":[{"x-rh-identity":[]}],"tags":["api"]},"post":{"description":"Add an acknowledgement for a rule, by rule ID, system, and account.\\n\\nReturn the new hostack. If there\'s already an acknowledgement of\\nthis rule by this account for a system, then return that. This does\\nnot take an \'id\' number.","operationId":"api_insights_v1_hostack_create","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HostAckInput"}},"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/HostAckInput"}},"multipart/form-data":{"schema":{"$ref":"#/components/schemas/HostAckInput"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HostAck"}}},"description":""}},"security":[{"x-rh-identity":[]}],"tags":["api"]}},"/api/insights/v1/hostack/{id}/":{"delete":{"description":"Delete an acknowledgement for a rule, for a system, for an account, by its ID.\\n\\nTakes the hostack ID (given in the hostack list) as an identifier.","operationId":"api_insights_v1_hostack_destroy","parameters":[{"description":"A unique integer value identifying this host ack.","in":"path","name":"id","required":true,"schema":{"type":"integer"}}],"responses":{"204":{"content":{"application/json":{"schema":{"type":"string"}}},"description":""}},"security":[{"x-rh-identity":[]}],"tags":["api"]},"get":{"description":"HostAcks acknowledge (and therefore hide) a rule from view in an account for a specific system.\\n\\nThis view handles listing, retrieving, creating and deleting hostacks.","operationId":"api_insights_v1_hostack_retrieve","parameters":[{"description":"A unique integer value identifying this host ack.","in":"path","name":"id","required":true,"schema":{"type":"integer"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HostAck"}}},"description":""}},"security":[{"x-rh-identity":[]}],"tags":["api"]},"put":{"description":"Update the justification for this host acknowledgement.\\n\\nThe justification is taken from the request body. The created_by\\nfield is taken from the username in the x-rh-identity field, and the\\nupdated_at field is set to the current time.","operationId":"api_insights_v1_hostack_update","parameters":[{"description":"A unique integer value identifying this host ack.","in":"path","name":"id","required":true,"schema":{"type":"integer"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HostAckJustification"}},"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/HostAckJustification"}},"multipart/form-data":{"schema":{"$ref":"#/components/schemas/HostAckJustification"}}}},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HostAckJustification"}}},"description":""}},"security":[{"x-rh-identity":[]}],"tags":["api"]}},"/api/insights/v1/kcs/":{"get":{"description":"Looks for all active rules with KCS solutions\\n\\nReturns a list of dicts of the C.R.C rule URL and its KCS solution number","operationId":"api_insights_v1_kcs_list","parameters":[{"description":"Display the rule urls for the given list of comma separated KCS solution node_ids","in":"query","name":"node_ids","schema":{"items":{"format":"regex","pattern":"\\\\d+","type":"string"},"type":"array"},"style":"form"}],"responses":{"200":{"content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/Kcs"},"type":"array"}}},"description":""}},"tags":["api"]}},"/api/insights/v1/kcs/{node_id}/":{"get":{"description":"Gets active rule(s) for a particular KCS solution (node_id)\\n\\nReturns a list of C.R.C rule url(s) for that KCS solution","operationId":"kcs_retrieve","parameters":[{"in":"path","name":"node_id","required":true,"schema":{"description":"KCS solution number","type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"items":{"description":"Rule URL on C.R.C.","format":"uri","type":"string"},"type":"array"}}},"description":""}},"tags":["api"]}},"/api/insights/v1/pathway/":{"get":{"description":"This returns a list of all Pathways. Will display the same\\ninformation as is provided in the retrieve view, but has all Pathways\\nlisted.","operationId":"api_insights_v1_pathway_list","parameters":[{"description":"Filter rules of this category (number)","in":"query","name":"category","schema":{"items":{"enum":[1,2,3,4],"type":"integer"},"type":"array"},"style":"form"},{"description":"Is this an Ansible system?","in":"query","name":"filter[system_profile][ansible]","schema":{"type":"boolean"}},{"description":"Is this a Microsoft SQL system?","in":"query","name":"filter[system_profile][mssql]","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","pattern":"^[A-Z]..$","type":"string"},"type":"array"},"style":"form"},{"description":"Is this a SAP system?","in":"query","name":"filter[system_profile][sap_system]","schema":{"type":"boolean"}},{"description":"List of Inventory host group names","in":"query","name":"groups","schema":{"items":{"type":"string"},"type":"array"},"style":"form"},{"description":"Display only pathways where there are incidents.","in":"query","name":"has_incident","schema":{"type":"boolean"}},{"description":"Display pathways even if they aren\'t impacting systems currently","in":"query","name":"impacting","schema":{"default":true,"type":"boolean"}},{"description":"Number of results to return per page.","in":"query","name":"limit","required":false,"schema":{"type":"integer"}},{"description":"The initial index from which to return the results.","in":"query","name":"offset","required":false,"schema":{"type":"integer"}},{"description":"Display only pathways where reboot is required.","in":"query","name":"reboot_required","schema":{"type":"boolean"}},{"description":"Order by this field","in":"query","name":"sort","schema":{"default":"name","enum":["-impacted_systems_count","-name","-recommendation_level","impacted_systems_count","name","recommendation_level"],"type":"string"}},{"description":"Tags have a namespace, key and value in the form namespace/key=value","in":"query","name":"tags","schema":{"items":{"format":"regex","pattern":"^[^/=]+/[^/=]+=[^/=]+$","type":"string"},"type":"array"},"style":"form"},{"description":"Filter pathway names with this text. If viewing details for a pathway for rules, reports and systems, additional filter on their text fields","in":"query","name":"text","schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PaginatedPathwayList"}}},"description":""}},"security":[{"x-rh-identity":[]}],"summary":"Return all pathways","tags":["api"]},"post":{"description":"This creates a new Pathway in the system.\\nRequired fields are \\"name,\\" \\"description,\\"\\n\\"component,\\" \\"resolution_risk,\\" and \\"publish_date.\\"\\n\\"name\\" is a slug field and used to identify and\\nretrieve Pathways for detailed analysis. The slug\\nfor a Pathway is auto-generated by converting the\\n\\"name\\" to lowercase and replacing all spaces with dashes.\\n\\"resolution_risk\\" should be the \\"name\\" of the\\nResolutionRisk to associate with this Pathway,\\nnot the risk value.","operationId":"api_insights_v1_pathway_create","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PathwayInput"}},"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/PathwayInput"}},"multipart/form-data":{"schema":{"$ref":"#/components/schemas/PathwayInput"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PathwayInput"}}},"description":""}},"security":[{"x-rh-identity":[]}],"summary":"Create a new Pathway in the system","tags":["api"]}},"/api/insights/v1/pathway/{slug}/":{"delete":{"description":"This will DELETE an existing Pathway in the system.\\nExisting pathways are identified and deleted by\\nthe \\"slug\\" field.","operationId":"api_insights_v1_pathway_destroy","parameters":[{"in":"path","name":"slug","required":true,"schema":{"type":"string"}}],"responses":{"204":{"content":{"application/json":{"schema":{"type":"string"}}},"description":""}},"security":[{"x-rh-identity":[]}],"summary":"Destroy an existing Pathway in the system","tags":["api"]},"get":{"description":"This returns an individual pathway based on slug.\\nWill display the same information as is\\nprovided in the list view.","operationId":"api_insights_v1_pathway_retrieve","parameters":[{"description":"Filter rules of this category (number)","in":"query","name":"category","schema":{"items":{"enum":[1,2,3,4],"type":"integer"},"type":"array"},"style":"form"},{"description":"Is this an Ansible system?","in":"query","name":"filter[system_profile][ansible]","schema":{"type":"boolean"}},{"description":"Is this a Microsoft SQL system?","in":"query","name":"filter[system_profile][mssql]","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","pattern":"^[A-Z]..$","type":"string"},"type":"array"},"style":"form"},{"description":"Is this a SAP system?","in":"query","name":"filter[system_profile][sap_system]","schema":{"type":"boolean"}},{"description":"List of Inventory host group names","in":"query","name":"groups","schema":{"items":{"type":"string"},"type":"array"},"style":"form"},{"in":"path","name":"slug","required":true,"schema":{"type":"string"}},{"description":"Tags have a namespace, key and value in the form namespace/key=value","in":"query","name":"tags","schema":{"items":{"format":"regex","pattern":"^[^/=]+/[^/=]+=[^/=]+$","type":"string"},"type":"array"},"style":"form"},{"description":"Filter pathway names with this text. If viewing details for a pathway for rules, reports and systems, additional filter on their text fields","in":"query","name":"text","schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Pathway"}}},"description":""}},"security":[{"x-rh-identity":[]}],"summary":"Returns an individual Pathway based on slug","tags":["api"]},"put":{"description":"This updates an existing Pathway already\\ndefined in the system. All fields that are\\nrequired to define a Pathway initially\\nmay be updated here as well. Pathways are\\nidenfitied and updated by the \\"slug\\" field.","operationId":"api_insights_v1_pathway_update","parameters":[{"in":"path","name":"slug","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PathwayInput"}},"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/PathwayInput"}},"multipart/form-data":{"schema":{"$ref":"#/components/schemas/PathwayInput"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PathwayInput"}}},"description":""}},"security":[{"x-rh-identity":[]}],"summary":"Update an existing Pathway in the system","tags":["api"]}},"/api/insights/v1/pathway/{slug}/reports/":{"get":{"description":"Each rule is listed once, with the systems currently reporting an\\nincidence of that rule in a list.","operationId":"api_insights_v1_pathway_reports_retrieve","parameters":[{"description":"Filter rules of this category (number)","in":"query","name":"category","schema":{"items":{"enum":[1,2,3,4],"type":"integer"},"type":"array"},"style":"form"},{"description":"List of Inventory host group names","in":"query","name":"groups","schema":{"items":{"type":"string"},"type":"array"},"style":"form"},{"description":"Display Pathway Reports of this/these systems","in":"query","name":"host_id","schema":{"items":{"format":"regex","pattern":"\\\\w+(,\\\\w+)*","type":"string"},"type":"array"},"style":"form"},{"description":"Display Pathway Reports of this/these rules","in":"query","name":"rule_id","schema":{"items":{"format":"regex","pattern":"\\\\w+(,\\\\w+)*","type":"string"},"type":"array"},"style":"form"},{"in":"path","name":"slug","required":true,"schema":{"type":"string"}},{"description":"Filter pathway names with this text. If viewing details for a pathway for rules, reports and systems, additional filter on their text fields","in":"query","name":"text","schema":{"type":"string"}},{"description":"Search for systems with this updater type","in":"query","name":"update_method","schema":{"items":{"enum":["dnfyum","ostree"],"type":"string"},"type":"array"},"style":"form"}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RuleSystemsExport"}}},"description":""}},"security":[{"x-rh-identity":[]}],"summary":"Get the list of systems for each rule in this pathway","tags":["api"]}},"/api/insights/v1/pathway/{slug}/rules/":{"get":{"description":"This view will retrieve/list in paginated\\nformat, all rules for a specific Pathway.\\nThis does not take into account acks\\nor host asks. The Specific Pathway\\nis requested by its slug","operationId":"api_insights_v1_pathway_rules_list","parameters":[{"description":"Filter rules of this category (number)","in":"query","name":"category","schema":{"items":{"enum":[1,2,3,4],"type":"integer"},"type":"array"},"style":"form"},{"description":"Number of results to return per page.","in":"query","name":"limit","required":false,"schema":{"type":"integer"}},{"description":"The initial index from which to return the results.","in":"query","name":"offset","required":false,"schema":{"type":"integer"}},{"in":"path","name":"slug","required":true,"schema":{"type":"string"}},{"description":"Filter pathway names with this text. If viewing details for a pathway for rules, reports and systems, additional filter on their text fields","in":"query","name":"text","schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PaginatedRuleForAccountList"}}},"description":""}},"security":[{"x-rh-identity":[]}],"summary":"Get all rules in a Pathway","tags":["api"]}},"/api/insights/v1/pathway/{slug}/systems/":{"get":{"description":"This view will retrieve/list in paginated\\nformat, all impacted systems for an account,\\nfor a specific Pathway. The specific Pathway\\nis requested by its slug.","operationId":"api_insights_v1_pathway_systems_list","parameters":[{"description":"Filter rules of this category (number)","in":"query","name":"category","schema":{"items":{"enum":[1,2,3,4],"type":"integer"},"type":"array"},"style":"form"},{"description":"Is this an Ansible system?","in":"query","name":"filter[system_profile][ansible]","schema":{"type":"boolean"}},{"description":"Is this a Microsoft SQL system?","in":"query","name":"filter[system_profile][mssql]","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","pattern":"^[A-Z]..$","type":"string"},"type":"array"},"style":"form"},{"description":"Is this a SAP system?","in":"query","name":"filter[system_profile][sap_system]","schema":{"type":"boolean"}},{"description":"List of Inventory host group names","in":"query","name":"groups","schema":{"items":{"type":"string"},"type":"array"},"style":"form"},{"description":"Number of results to return per page.","in":"query","name":"limit","required":false,"schema":{"type":"integer"}},{"description":"The initial index from which to return the results.","in":"query","name":"offset","required":false,"schema":{"type":"integer"}},{"in":"path","name":"slug","required":true,"schema":{"type":"string"}},{"description":"Tags have a namespace, key and value in the form namespace/key=value","in":"query","name":"tags","schema":{"items":{"format":"regex","pattern":"^[^/=]+/[^/=]+=[^/=]+$","type":"string"},"type":"array"},"style":"form"},{"description":"Filter pathway names with this text. If viewing details for a pathway for rules, reports and systems, additional filter on their text fields","in":"query","name":"text","schema":{"type":"string"}},{"description":"Search for systems with this updater type","in":"query","name":"update_method","schema":{"items":{"enum":["dnfyum","ostree"],"type":"string"},"type":"array"},"style":"form"}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PaginatedSystemList"}}},"description":""}},"security":[{"x-rh-identity":[]}],"summary":"Get all impacted systems for an account for a specific Pathway","tags":["api"]}},"/api/insights/v1/rating/":{"get":{"description":"List all rules rated by the current user\\n\\nOnly the current user\'s ratings are listed here.","operationId":"api_insights_v1_rating_list","parameters":[{"description":"Number of results to return per page.","in":"query","name":"limit","required":false,"schema":{"type":"integer"}},{"description":"The initial index from which to return the results.","in":"query","name":"offset","required":false,"schema":{"type":"integer"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PaginatedRuleRatingList"}}},"description":""}},"security":[{"x-rh-identity":[]}],"tags":["api"]},"post":{"description":"Add or update a rating for a rule, by rule ID.\\n\\nReturn the new rating. Any previous rating for this rule by this\\nuser is amended to the current value. This does not attempt to delete\\na rating by this user of this rule if the rating is zero.","operationId":"api_insights_v1_rating_create","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RuleRating"}},"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/RuleRating"}},"multipart/form-data":{"schema":{"$ref":"#/components/schemas/RuleRating"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RuleRating"}}},"description":""},"201":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RuleRating"}}},"description":""}},"security":[{"x-rh-identity":[]}],"tags":["api"]}},"/api/insights/v1/rating/all_ratings/":{"get":{"description":"Show all ratings.\\n\\nAvailable only to internal users.","operationId":"api_insights_v1_rating_all_ratings_list","parameters":[{"description":"Number of results to return per page.","in":"query","name":"limit","required":false,"schema":{"type":"integer"}},{"description":"The initial index from which to return the results.","in":"query","name":"offset","required":false,"schema":{"type":"integer"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PaginatedAllRuleRatingsList"}}},"description":""}},"security":[{"x-rh-identity":[]}],"tags":["api"]}},"/api/insights/v1/rating/stats/":{"get":{"description":"Summarise the ratings for a rule.\\n\\nThis summarises the statistics for each rule. Available only to\\ninternal users.","operationId":"api_insights_v1_rating_stats_list","parameters":[{"description":"Number of results to return per page.","in":"query","name":"limit","required":false,"schema":{"type":"integer"}},{"description":"The initial index from which to return the results.","in":"query","name":"offset","required":false,"schema":{"type":"integer"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PaginatedRuleRatingStatsList"}}},"description":""}},"security":[{"x-rh-identity":[]}],"tags":["api"]}},"/api/insights/v1/rating/{rule}/":{"get":{"description":"Retrieve the ratings for a single rule, by Insights Rule ID","operationId":"api_insights_v1_rating_retrieve","parameters":[{"in":"path","name":"rule","required":true,"schema":{"description":"Rule ID from Insights","type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RuleRating"}}},"description":""}},"security":[{"x-rh-identity":[]}],"summary":"Retrieve the ratings for a single rule","tags":["api"]}},"/api/insights/v1/rule/":{"get":{"description":"List all active rules for this account.\\n\\nIf \'acked\' is False or not given, then only rules that are not acked\\nwill be shown. If acked is set and \'true\' as a string or evaluates\\nto a true value, then all rules including those that are acked will\\nbe shown.","operationId":"api_insights_v1_rule_list","parameters":[{"description":"Display rules of this category (number)","in":"query","name":"category","schema":{"items":{"enum":[1,2,3,4],"type":"integer"},"type":"array"},"style":"form"},{"description":"Is this an Ansible system?","in":"query","name":"filter[system_profile][ansible]","schema":{"type":"boolean"}},{"description":"Is this a Microsoft SQL system?","in":"query","name":"filter[system_profile][mssql]","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","pattern":"^[A-Z]..$","type":"string"},"type":"array"},"style":"form"},{"description":"Is this a SAP system?","in":"query","name":"filter[system_profile][sap_system]","schema":{"type":"boolean"}},{"description":"List of Inventory host group names","in":"query","name":"groups","schema":{"items":{"type":"string"},"type":"array"},"style":"form"},{"description":"Display rules that have a playbook","in":"query","name":"has_playbook","schema":{"type":"boolean"}},{"description":"Display rules that have (one or more) tags","in":"query","name":"has_tag","schema":{"items":{"pattern":"\\\\w+(?:,\\\\w+)*","type":"string"},"type":"array"},"style":"form"},{"description":"Display rules of this impact level (1..4)","in":"query","name":"impact","schema":{"items":{"enum":[1,2,3,4],"type":"integer"},"type":"array"},"style":"form"},{"description":"Display only rules that are impacting systems currently","in":"query","name":"impacting","schema":{"type":"boolean"}},{"description":"Display only rules that cause an incident","in":"query","name":"incident","schema":{"type":"boolean"}},{"description":"Display only rules of this likelihood level (1..4)","in":"query","name":"likelihood","schema":{"items":{"enum":[1,2,3,4],"type":"integer"},"type":"array"},"style":"form"},{"description":"Number of results to return per page.","in":"query","name":"limit","required":false,"schema":{"type":"integer"}},{"description":"The initial index from which to return the results.","in":"query","name":"offset","required":false,"schema":{"type":"integer"}},{"description":"Display rules of this Pathway","in":"query","name":"pathway","schema":{"type":"string"}},{"description":"Display rules that require a reboot to fix","in":"query","name":"reboot","schema":{"type":"boolean"}},{"description":"Display rules where reports are shown or not","in":"query","name":"reports_shown","schema":{"type":"boolean"}},{"description":"Display rules with this resolution risk level (1..4)","in":"query","name":"res_risk","schema":{"items":{"enum":[1,2,3,4],"type":"integer"},"type":"array"},"style":"form"},{"description":"Display rules which are enabled, disabled (acked) by user, or disabled (acked) by Red Hat","in":"query","name":"rule_status","schema":{"enum":["all","disabled","enabled","rhdisabled"],"type":"string"}},{"description":"Order by this field","in":"query","name":"sort","schema":{"default":["rule_id"],"items":{"enum":["-category","-description","-impact","-impacted_count","-likelihood","-playbook_count","-publish_date","-resolution_risk","-rule_id","-total_risk","category","description","impact","impacted_count","likelihood","playbook_count","publish_date","resolution_risk","rule_id","total_risk"],"type":"string"},"type":"array"},"style":"form"},{"description":"Tags have a namespace, key and value in the form namespace/key=value","in":"query","name":"tags","schema":{"items":{"format":"regex","pattern":"^[^/=]+/[^/=]+=[^/=]+$","type":"string"},"type":"array"},"style":"form"},{"description":"Display rules with this text in their text fields","in":"query","name":"text","schema":{"type":"string"}},{"description":"Display rules in this topic (slug)","in":"query","name":"topic","schema":{"format":"regex","pattern":"[\\\\w-]+","type":"string"}},{"description":"Display rules with this total risk level (1..4)","in":"query","name":"total_risk","schema":{"items":{"enum":[1,2,3,4],"type":"integer"},"type":"array"},"style":"form"},{"description":"Search for systems with this updater type","in":"query","name":"update_method","schema":{"items":{"enum":["dnfyum","ostree"],"type":"string"},"type":"array"},"style":"form"}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PaginatedRuleForAccountList"}}},"description":""}},"security":[{"x-rh-identity":[]}],"tags":["api"]}},"/api/insights/v1/rule/{rule_id}/":{"get":{"description":"Retrieve a single rule and its associated details.\\n\\nThis includes the account-relevant details such as number of\\nimpacted systems and host acknowledgements.","operationId":"api_insights_v1_rule_retrieve","parameters":[{"description":"List of Inventory host group names","in":"query","name":"groups","schema":{"items":{"type":"string"},"type":"array"},"style":"form"},{"in":"path","name":"rule_id","required":true,"schema":{"description":"Rule ID from Insights","type":"string"}},{"description":"Tags have a namespace, key and value in the form namespace/key=value","in":"query","name":"tags","schema":{"items":{"format":"regex","pattern":"^[^/=]+/[^/=]+=[^/=]+$","type":"string"},"type":"array"},"style":"form"}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RuleForAccount"}}},"description":""}},"security":[{"x-rh-identity":[]}],"tags":["api"]}},"/api/insights/v1/rule/{rule_id}/ack_hosts/":{"post":{"description":"Add acknowledgements for one or more hosts to this rule.\\n\\nHost acknowledgements will be added to this rule in this account for\\nthe system UUIDs supplied. The justification supplied will be given\\nfor all host acks created. Any existing host acknowledgements for a\\nhost on this rule will be updated. The count of created hosts\\nacknowledgements, and the list of systems now impacted by this rule,\\nwill be returned. Account-wide acks are unaffected.","operationId":"api_insights_v1_rule_ack_hosts_create","parameters":[{"in":"path","name":"rule_id","required":true,"schema":{"description":"Rule ID from Insights","type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MultiHostAck"}},"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/MultiHostAck"}},"multipart/form-data":{"schema":{"$ref":"#/components/schemas/MultiHostAck"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MultiAckResponse"}}},"description":""}},"security":[{"x-rh-identity":[]}],"tags":["api"]}},"/api/insights/v1/rule/{rule_id}/justifications/":{"get":{"description":"List all justifications given for disabling this rule.\\n\\nThis is an **internal-only** view that allows us to provide feedback\\non why rules are disabled by our customers. It lists the\\njustifications given in both account-wide acks and host-specific acks\\nof a rule.","operationId":"api_insights_v1_rule_justifications_list","parameters":[{"description":"Number of results to return per page.","in":"query","name":"limit","required":false,"schema":{"type":"integer"}},{"description":"The initial index from which to return the results.","in":"query","name":"offset","required":false,"schema":{"type":"integer"}},{"in":"path","name":"rule_id","required":true,"schema":{"description":"Rule ID from Insights","type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PaginatedJustificationCountList"}}},"description":""}},"security":[{"x-rh-identity":[]}],"tags":["api"]}},"/api/insights/v1/rule/{rule_id}/stats/":{"get":{"description":"Display usage and impact statistics for this rule.\\n\\nFor internal use only. This allows rule developers to see the number\\nof systems and accounts impacted by a rule.","operationId":"api_insights_v1_rule_stats_retrieve","parameters":[{"in":"path","name":"rule_id","required":true,"schema":{"description":"Rule ID from Insights","type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RuleUsageStats"}}},"description":""}},"security":[{"x-rh-identity":[]}],"tags":["api"]}},"/api/insights/v1/rule/{rule_id}/systems/":{"get":{"description":"List all systems affected by this rule.\\n\\nAll systems owned by the user\'s account, with a current upload\\nreporting the given rule, are listed. Systems are simply listed by\\nInsights Inventory UUID.","operationId":"api_insights_v1_rule_systems_retrieve","parameters":[{"description":"Is this an Ansible system?","in":"query","name":"filter[system_profile][ansible]","schema":{"type":"boolean"}},{"description":"Is this a Microsoft SQL system?","in":"query","name":"filter[system_profile][mssql]","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","pattern":"^[A-Z]..$","type":"string"},"type":"array"},"style":"form"},{"description":"Is this a SAP system?","in":"query","name":"filter[system_profile][sap_system]","schema":{"type":"boolean"}},{"in":"query","name":"format","schema":{"enum":["csv","json"],"type":"string"}},{"description":"List of Inventory host group names","in":"query","name":"groups","schema":{"items":{"type":"string"},"type":"array"},"style":"form"},{"description":"Search for systems that include this in their display name","in":"query","name":"name","schema":{"type":"string"}},{"description":"Display only systems with these versions of RHEL","in":"query","name":"rhel_version","schema":{"items":{"enum":["6.0","6.1","6.10","6.2","6.3","6.4","6.5","6.6","6.7","6.8","6.9","7.0","7.1","7.10","7.2","7.3","7.4","7.5","7.6","7.7","7.8","7.9","8.0","8.1","8.10","8.2","8.3","8.4","8.5","8.6","8.7","8.8","8.9","9.0","9.1","9.2","9.3","9.4","9.5"],"type":"string"},"type":"array"},"style":"form"},{"in":"path","name":"rule_id","required":true,"schema":{"description":"Rule ID from Insights","type":"string"}},{"description":"Order by this field","in":"query","name":"sort","schema":{"default":["system_uuid"],"items":{"enum":["-display_name","-last_seen","-stale_at","-system_uuid","-updated","display_name","last_seen","stale_at","system_uuid","updated"],"type":"string"},"type":"array"},"style":"form"},{"description":"Tags have a namespace, key and value in the form namespace/key=value","in":"query","name":"tags","schema":{"items":{"format":"regex","pattern":"^[^/=]+/[^/=]+=[^/=]+$","type":"string"},"type":"array"},"style":"form"},{"description":"Search for systems with this updater type","in":"query","name":"update_method","schema":{"items":{"enum":["dnfyum","ostree"],"type":"string"},"type":"array"},"style":"form"}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SystemsForRule"}},"text/csv":{"schema":{"$ref":"#/components/schemas/SystemsForRule"}}},"description":""}},"security":[{"x-rh-identity":[]}],"tags":["api"]}},"/api/insights/v1/rule/{rule_id}/systems_detail/":{"get":{"description":"List systems affected by this rule with additional information about each system\\n\\nAll systems owned by the user\'s account, with a current upload\\nreporting the given rule, are listed in a paginated format.\\n\\nAdditional information includes hit counts and upload/stale timestamps.","operationId":"api_insights_v1_rule_systems_detail_list","parameters":[{"description":"Is this an Ansible system?","in":"query","name":"filter[system_profile][ansible]","schema":{"type":"boolean"}},{"description":"Is this a Microsoft SQL system?","in":"query","name":"filter[system_profile][mssql]","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","pattern":"^[A-Z]..$","type":"string"},"type":"array"},"style":"form"},{"description":"Is this a SAP system?","in":"query","name":"filter[system_profile][sap_system]","schema":{"type":"boolean"}},{"description":"List of Inventory host group names","in":"query","name":"groups","schema":{"items":{"type":"string"},"type":"array"},"style":"form"},{"description":"Number of results to return per page.","in":"query","name":"limit","required":false,"schema":{"type":"integer"}},{"description":"Search for systems that include this in their display name","in":"query","name":"name","schema":{"type":"string"}},{"description":"The initial index from which to return the results.","in":"query","name":"offset","required":false,"schema":{"type":"integer"}},{"description":"Display only systems with these versions of RHEL","in":"query","name":"rhel_version","schema":{"items":{"enum":["6.0","6.1","6.10","6.2","6.3","6.4","6.5","6.6","6.7","6.8","6.9","7.0","7.1","7.10","7.2","7.3","7.4","7.5","7.6","7.7","7.8","7.9","8.0","8.1","8.10","8.2","8.3","8.4","8.5","8.6","8.7","8.8","8.9","9.0","9.1","9.2","9.3","9.4","9.5"],"type":"string"},"type":"array"},"style":"form"},{"in":"path","name":"rule_id","required":true,"schema":{"description":"Rule ID from Insights","type":"string"}},{"description":"Order by this field","in":"query","name":"sort","schema":{"default":"display_name","enum":["-critical_hits","-display_name","-group_name","-hits","-impacted_date","-important_hits","-last_seen","-low_hits","-moderate_hits","-rhel_version","critical_hits","display_name","group_name","hits","impacted_date","important_hits","last_seen","low_hits","moderate_hits","rhel_version"],"type":"string"}},{"description":"Tags have a namespace, key and value in the form namespace/key=value","in":"query","name":"tags","schema":{"items":{"format":"regex","pattern":"^[^/=]+/[^/=]+=[^/=]+$","type":"string"},"type":"array"},"style":"form"}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PaginatedSystemsDetailList"}}},"description":""}},"security":[{"x-rh-identity":[]}],"tags":["api"]}},"/api/insights/v1/rule/{rule_id}/unack_hosts/":{"post":{"description":"Delete acknowledgements for one or more hosts to this rule.\\n\\nAny host acknowledgements for this rule in this account for the given\\nsystem are deleted. Hosts that do not have an acknowledgement for\\nthis rule in this account are ignored. The count of deleted host\\nacknowledgements, and the list of hosts now impacted by this rule,\\nwill be returned. Account-wide acks are unaffected.","operationId":"api_insights_v1_rule_unack_hosts_create","parameters":[{"in":"path","name":"rule_id","required":true,"schema":{"description":"Rule ID from Insights","type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MultiHostUnAck"}},"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/MultiHostUnAck"}},"multipart/form-data":{"schema":{"$ref":"#/components/schemas/MultiHostUnAck"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MultiAckResponse"}}},"description":""}},"security":[{"x-rh-identity":[]}],"tags":["api"]}},"/api/insights/v1/rulecategory/":{"get":{"description":"Rules are divided into categories, the usual being Availability,\\nStability, Security and Performance.\\n\\nCategories are listed in decreasing order of importance.","operationId":"api_insights_v1_rulecategory_list","responses":{"200":{"content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/RuleCategory"},"type":"array"}}},"description":""}},"tags":["api"]}},"/api/insights/v1/rulecategory/{id}/":{"get":{"description":"Rules are divided into categories, the usual being Availability,\\nStability, Security and Performance.\\n\\nCategories are listed in decreasing order of importance.","operationId":"api_insights_v1_rulecategory_retrieve","parameters":[{"description":"A unique integer value identifying this rule category.","in":"path","name":"id","required":true,"schema":{"type":"integer"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RuleCategory"}}},"description":""}},"tags":["api"]}},"/api/insights/v1/settings/":{"get":{"description":"Describe the settings we have in a Data-Driven Forms way.\\n\\nThis simply compiles the \'show_satellite_hosts\' account-wide setting\\ninto a format compatible with Data-Driven Forms.","operationId":"api_insights_v1_settings_list","responses":{"200":{"content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/SettingsDDF"},"type":"array"}}},"description":""}},"security":[{"x-rh-identity":[]}],"tags":["api"]}},"/api/insights/v1/stats/":{"get":{"description":"Provide a simple list of URLs contained here.\\n\\nA list of statistics views.","operationId":"api_insights_v1_stats_list","responses":{"200":{"content":{"application/json":{"schema":{"items":{"items":{"format":"uri","type":"string"},"type":"array"},"type":"array"}}},"description":""}},"security":[{"x-rh-identity":[]}],"tags":["api"]}},"/api/insights/v1/stats/overview/":{"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":"api_insights_v1_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":{"application/json":{"schema":{"$ref":"#/components/schemas/Stats"}}},"description":""}},"security":[{"x-rh-identity":[]}],"tags":["api"]}},"/api/insights/v1/stats/reports/":{"get":{"description":"Show statistics of reports impacting across categories and risks.\\n\\nOnly current reports are considered.","operationId":"api_insights_v1_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":{"application/json":{"schema":{"$ref":"#/components/schemas/Stats"}}},"description":""}},"security":[{"x-rh-identity":[]}],"tags":["api"]}},"/api/insights/v1/stats/rules/":{"get":{"description":"Show statistics of rule usage across categories and risks.\\n\\nOnly current reports are considered.","operationId":"api_insights_v1_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":{"application/json":{"schema":{"$ref":"#/components/schemas/Stats"}}},"description":""}},"security":[{"x-rh-identity":[]}],"tags":["api"]}},"/api/insights/v1/stats/systems/":{"get":{"description":"Show statistics of systems being impacted across categories and risks.\\n\\nOnly current reports are considered.","operationId":"api_insights_v1_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":{"application/json":{"schema":{"$ref":"#/components/schemas/Stats"}}},"description":""}},"security":[{"x-rh-identity":[]}],"tags":["api"]}},"/api/insights/v1/status/":{"get":{"description":"Provide a simple list of URLs contained here.\\n\\nA list of statistics views.","operationId":"api_insights_v1_status_retrieve","responses":{"200":{"description":"No response body"}},"tags":["api"]}},"/api/insights/v1/status/live/":{"get":{"description":"Is the Advisor API live and serving requests?\\n\\nThis returns a dictionary with properties defining the status of the\\ncomponents Advisor relies on.\\n\\nAt the moment this is the same as the Readiness check (see `/ready/`).\\nIn the future it may include other checks if we need to, but the\\nproperties of `/ready/` will always be included.","operationId":"api_insights_v1_status_live_retrieve","responses":{"200":{"description":"No response body"}},"tags":["api"]}},"/api/insights/v1/status/ready/":{"get":{"description":"Is the Advisor API ready to serve requests?\\n\\nThis returns a dictionary with properties defining the status of the\\ncomponents Advisor relies on.\\n\\n* \'django\' should always be True. If Django isn\'t ready, you can\'t\\n get this information :-)\\n* \'database\' is True when a database access returns successfully with\\n valid information.\\n* \'rbac\' is True when we can make a request to the RBAC API and get\\n a valid response.\\n* \'advisor\' is True if all of the above are True.","operationId":"api_insights_v1_status_ready_retrieve","responses":{"200":{"description":"No response body"}},"tags":["api"]}},"/api/insights/v1/system/":{"get":{"description":"Returns systems with their hit count and last upload time.\\n\\nResults can be sorted and systems can be filtered by display name and hits","operationId":"api_insights_v1_system_list","parameters":[{"description":"Display systems with this text in their display_name","in":"query","name":"display_name","schema":{"type":"string"}},{"description":"Is this an Ansible system?","in":"query","name":"filter[system_profile][ansible]","schema":{"type":"boolean"}},{"description":"Is this a Microsoft SQL system?","in":"query","name":"filter[system_profile][mssql]","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","pattern":"^[A-Z]..$","type":"string"},"type":"array"},"style":"form"},{"description":"Is this a SAP system?","in":"query","name":"filter[system_profile][sap_system]","schema":{"type":"boolean"}},{"description":"List of Inventory host group names","in":"query","name":"groups","schema":{"items":{"type":"string"},"type":"array"},"style":"form"},{"description":"Display systems with hits of the given total_risk value (1..4), or 0 to display all systems","in":"query","name":"hits","schema":{"items":{"enum":["1","2","3","4","all","no","yes"],"type":"string"},"type":"array"},"style":"form"},{"description":"Display only systems reporting an incident","in":"query","name":"incident","schema":{"type":"boolean"}},{"description":"Number of results to return per page.","in":"query","name":"limit","required":false,"schema":{"type":"integer"}},{"description":"The initial index from which to return the results.","in":"query","name":"offset","required":false,"schema":{"type":"integer"}},{"description":"Display systems with rule hits for this Pathway","in":"query","name":"pathway","schema":{"type":"string"}},{"description":"Display only systems with these versions of RHEL","in":"query","name":"rhel_version","schema":{"items":{"enum":["6.0","6.1","6.10","6.2","6.3","6.4","6.5","6.6","6.7","6.8","6.9","7.0","7.1","7.10","7.2","7.3","7.4","7.5","7.6","7.7","7.8","7.9","8.0","8.1","8.10","8.2","8.3","8.4","8.5","8.6","8.7","8.8","8.9","9.0","9.1","9.2","9.3","9.4","9.5"],"type":"string"},"type":"array"},"style":"form"},{"description":"Order by this field","in":"query","name":"sort","schema":{"default":"-hits","enum":["-critical_hits","-display_name","-group_name","-hits","-important_hits","-last_seen","-low_hits","-moderate_hits","-rhel_version","critical_hits","display_name","group_name","hits","important_hits","last_seen","low_hits","moderate_hits","rhel_version"],"type":"string"}},{"description":"Tags have a namespace, key and value in the form namespace/key=value","in":"query","name":"tags","schema":{"items":{"format":"regex","pattern":"^[^/=]+/[^/=]+=[^/=]+$","type":"string"},"type":"array"},"style":"form"},{"description":"Search for systems with this updater type","in":"query","name":"update_method","schema":{"items":{"enum":["dnfyum","ostree"],"type":"string"},"type":"array"},"style":"form"}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PaginatedSystemList"}}},"description":""}},"security":[{"x-rh-identity":[]}],"tags":["api"]}},"/api/insights/v1/system/{uuid}/":{"get":{"description":"Retrieve the reports for a single system by Insights Inventory UUID","operationId":"api_insights_v1_system_retrieve","parameters":[{"description":"A UUID string identifying this inventory host.","in":"path","name":"uuid","required":true,"schema":{"format":"uuid","type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/System"}}},"description":""}},"security":[{"x-rh-identity":[]}],"summary":"Retrieve the reports for a single system","tags":["api"]}},"/api/insights/v1/system/{uuid}/rendered_reports/":{"get":{"description":"Returns the list of reports for an Inventory Host ID, with the\\nrule templates filled in thanks to node.js and DoT and Markdown.\\n\\nIf the host ID is not found, return an empty list.","operationId":"api_insights_v1_system_rendered_reports_list","parameters":[{"description":"Is this an Ansible system?","in":"query","name":"filter[system_profile][ansible]","schema":{"type":"boolean"}},{"description":"Is this a Microsoft SQL system?","in":"query","name":"filter[system_profile][mssql]","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","pattern":"^[A-Z]..$","type":"string"},"type":"array"},"style":"form"},{"description":"Is this a SAP system?","in":"query","name":"filter[system_profile][sap_system]","schema":{"type":"boolean"}},{"description":"Tags have a namespace, key and value in the form namespace/key=value","in":"query","name":"tags","schema":{"items":{"format":"regex","pattern":"^[^/=]+/[^/=]+=[^/=]+$","type":"string"},"type":"array"},"style":"form"},{"description":"Search for systems with this updater type","in":"query","name":"update_method","schema":{"items":{"enum":["dnfyum","ostree"],"type":"string"},"type":"array"},"style":"form"},{"description":"A UUID string identifying this inventory host.","in":"path","name":"uuid","required":true,"schema":{"format":"uuid","type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/RenderedReport"},"type":"array"}}},"description":""}},"security":[{"x-rh-identity":[]}],"tags":["api"]}},"/api/insights/v1/system/{uuid}/reports/":{"get":{"description":"Returns the list of latest reports for an Inventory Host ID.\\n\\nReturns reports that:\\n * are in the user\'s account\\n * have an active, not-deleted rule\\n * where the rule has not been acked by this account\\n\\nIf the host ID is not found, return an empty list.","operationId":"api_insights_v1_system_reports_list","parameters":[{"description":"Is this an Ansible system?","in":"query","name":"filter[system_profile][ansible]","schema":{"type":"boolean"}},{"description":"Is this a Microsoft SQL system?","in":"query","name":"filter[system_profile][mssql]","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","pattern":"^[A-Z]..$","type":"string"},"type":"array"},"style":"form"},{"description":"Is this a SAP system?","in":"query","name":"filter[system_profile][sap_system]","schema":{"type":"boolean"}},{"description":"List of Inventory host group names","in":"query","name":"groups","schema":{"items":{"type":"string"},"type":"array"},"style":"form"},{"description":"Tags have a namespace, key and value in the form namespace/key=value","in":"query","name":"tags","schema":{"items":{"format":"regex","pattern":"^[^/=]+/[^/=]+=[^/=]+$","type":"string"},"type":"array"},"style":"form"},{"description":"Search for systems with this updater type","in":"query","name":"update_method","schema":{"items":{"enum":["dnfyum","ostree"],"type":"string"},"type":"array"},"style":"form"},{"description":"A UUID string identifying this inventory host.","in":"path","name":"uuid","required":true,"schema":{"format":"uuid","type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/Report"},"type":"array"}}},"description":""}},"security":[{"x-rh-identity":[]}],"tags":["api"]}},"/api/insights/v1/systemtype/":{"get":{"description":"List all system types by role and product code","operationId":"api_insights_v1_systemtype_list","responses":{"200":{"content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/SystemType"},"type":"array"}}},"description":""}},"summary":"List all system types","tags":["api"]}},"/api/insights/v1/systemtype/{id}/":{"get":{"description":"Retrieve details of a single system type","operationId":"api_insights_v1_systemtype_retrieve","parameters":[{"description":"A unique integer value identifying this system type.","in":"path","name":"id","required":true,"schema":{"type":"integer"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SystemType"}}},"description":""}},"summary":"Retrieve a system type","tags":["api"]}},"/api/insights/v1/topic/":{"get":{"description":"List the rule topics and their impacted systems counts.\\n\\nNormally this only shows enabled topics, but if the \'show_disabled\'\\nparameter is set to True then this will show disabled topics as\\nwell.","operationId":"api_insights_v1_topic_list","parameters":[{"description":"Are there systems which contain these SAP SIDs?","in":"query","name":"filter[system_profile][sap_sids][contains]","schema":{"items":{"format":"regex","pattern":"^[A-Z]..$","type":"string"},"type":"array"},"style":"form"},{"description":"Is this a SAP system?","in":"query","name":"filter[system_profile][sap_system]","schema":{"type":"boolean"}},{"description":"List of Inventory host group names","in":"query","name":"groups","schema":{"items":{"type":"string"},"type":"array"},"style":"form"},{"description":"Display topics that are disabled as well as enabled","in":"query","name":"show_disabled","schema":{"default":false,"type":"boolean"}},{"description":"Tags have a namespace, key and value in the form namespace/key=value","in":"query","name":"tags","schema":{"items":{"format":"regex","pattern":"^[^/=]+/[^/=]+=[^/=]+$","type":"string"},"type":"array"},"style":"form"},{"description":"Search for systems with this updater type","in":"query","name":"update_method","schema":{"items":{"enum":["dnfyum","ostree"],"type":"string"},"type":"array"},"style":"form"}],"responses":{"200":{"content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/Topic"},"type":"array"}}},"description":""}},"security":[{"x-rh-identity":[]}],"tags":["api"]},"post":{"description":"Create a new rule topic, along with its association to a rule tag","operationId":"api_insights_v1_topic_create","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TopicEdit"}},"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/TopicEdit"}},"multipart/form-data":{"schema":{"$ref":"#/components/schemas/TopicEdit"}}},"required":true},"responses":{"201":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TopicEdit"}}},"description":""}},"security":[{"x-rh-identity":[]}],"summary":"Create a new rule topic","tags":["api"]}},"/api/insights/v1/topic/{slug}/":{"delete":{"description":"Delete a rule topic. Rules associated with the tag of this topic will be unaffected","operationId":"api_insights_v1_topic_destroy","parameters":[{"in":"path","name":"slug","required":true,"schema":{"description":"Rule topic slug","type":"string"}}],"responses":{"204":{"description":"No response body"}},"security":[{"x-rh-identity":[]}],"summary":"Delete a rule topic","tags":["api"]},"get":{"description":"Retrieve a single topic by slug.\\n\\nThis also lists the topic\'s impacted systems count.","operationId":"api_insights_v1_topic_retrieve","parameters":[{"in":"path","name":"slug","required":true,"schema":{"description":"Rule topic slug","type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Topic"}}},"description":""}},"security":[{"x-rh-identity":[]}],"tags":["api"]},"patch":{"description":"Update an existing rule topic. Only the fields being changed need to be supplied","operationId":"api_insights_v1_topic_partial_update","parameters":[{"in":"path","name":"slug","required":true,"schema":{"description":"Rule topic slug","type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PatchedTopicEdit"}},"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/PatchedTopicEdit"}},"multipart/form-data":{"schema":{"$ref":"#/components/schemas/PatchedTopicEdit"}}}},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TopicEdit"}}},"description":""}},"security":[{"x-rh-identity":[]}],"summary":"Partially update a rule topic","tags":["api"]},"put":{"description":"Update an existing rule topic. All fields need to be supplied","operationId":"api_insights_v1_topic_update","parameters":[{"in":"path","name":"slug","required":true,"schema":{"description":"Rule topic slug","type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TopicEdit"}},"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/TopicEdit"}},"multipart/form-data":{"schema":{"$ref":"#/components/schemas/TopicEdit"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TopicEdit"}}},"description":""}},"security":[{"x-rh-identity":[]}],"summary":"Update a rule topic","tags":["api"]}},"/api/insights/v1/topic/{slug}/rules_with_tag/":{"get":{"description":"Lists the available rules that have this tag.\\n\\nThis shows the rule information for rules with this tag.","operationId":"api_insights_v1_topic_rules_with_tag_list","parameters":[{"in":"path","name":"slug","required":true,"schema":{"description":"Rule topic slug","type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/Rule"},"type":"array"}}},"description":""}},"security":[{"x-rh-identity":[]}],"tags":["api"]}},"/api/insights/v1/topic/{slug}/systems/":{"get":{"description":"List all systems affected by this rule topic.\\n\\nSystems are just listed by their UUID.","operationId":"api_insights_v1_topic_systems_retrieve","parameters":[{"description":"Are there systems which contain these SAP SIDs?","in":"query","name":"filter[system_profile][sap_sids][contains]","schema":{"items":{"format":"regex","pattern":"^[A-Z]..$","type":"string"},"type":"array"},"style":"form"},{"description":"Is this a SAP system?","in":"query","name":"filter[system_profile][sap_system]","schema":{"type":"boolean"}},{"description":"List of Inventory host group names","in":"query","name":"groups","schema":{"items":{"type":"string"},"type":"array"},"style":"form"},{"in":"path","name":"slug","required":true,"schema":{"description":"Rule topic slug","type":"string"}},{"description":"Order by this field","in":"query","name":"sort","schema":{"default":["system_uuid"],"items":{"enum":["-display_name","-last_seen","-stale_at","-system_uuid","-updated","display_name","last_seen","stale_at","system_uuid","updated"],"type":"string"},"type":"array"},"style":"form"},{"description":"Tags have a namespace, key and value in the form namespace/key=value","in":"query","name":"tags","schema":{"items":{"format":"regex","pattern":"^[^/=]+/[^/=]+=[^/=]+$","type":"string"},"type":"array"},"style":"form"},{"description":"Search for systems with this updater type","in":"query","name":"update_method","schema":{"items":{"enum":["dnfyum","ostree"],"type":"string"},"type":"array"},"style":"form"}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SystemsForRule"}}},"description":""}},"security":[{"x-rh-identity":[]}],"tags":["api"]}},"/api/insights/v1/usage/":{"get":{"description":"List the unique rule hits for this account over the given time range\\n\\nThis uses a HashLogLog structure to record number of hits, and this is\\ntherefore an approximation.","operationId":"api_insights_v1_usage_list","parameters":[{"description":"Allow `hydrauser` to view any account","in":"query","name":"account","schema":{"items":{"type":"string"},"type":"array"},"style":"form"},{"description":"End date for statistics range","in":"query","name":"end","schema":{"format":"date","type":"string"}},{"description":"Allow `hydrauser` to view any org_id","in":"query","name":"org_id","schema":{"type":"string"}},{"description":"Start date for statistics range","in":"query","name":"start","schema":{"format":"date","type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Usage"}}},"description":""}},"security":[{"x-rh-identity":[]}],"tags":["api"]}},"/api/insights/v1/user-preferences/":{"get":{"description":"Describe the settings we have in a Data-Driven Forms way.\\n\\nThis simply compiles the \'show_satellite_hosts\' account-wide setting\\nand the weekly report \'is_subscribed\' user-specific setting into one\\nhandy view, with the description metadata necessary to use Data-Driven\\nForms to display it.","operationId":"api_insights_v1_user_preferences_list","responses":{"200":{"content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/SettingsDDF"},"type":"array"}}},"description":""}},"security":[{"x-rh-identity":[]}],"tags":["api"]},"post":{"description":"Accept the settings as input, and adjust the actual models accordingly.\\n\\nThe current account settings will be updated, or one will be created,\\nwith the","operationId":"api_insights_v1_user_preferences_create","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PreferencesInput"}},"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/PreferencesInput"}},"multipart/form-data":{"schema":{"$ref":"#/components/schemas/PreferencesInput"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PreferencesInput"}}},"description":""}},"security":[{"x-rh-identity":[]}],"tags":["api"]}},"/api/insights/v1/weeklyreportautosubscribe/":{"get":{"description":"Show the user\'s current subscription status.\\n\\nThis shows the presence of a weekly report subscription by the user\\nin this account.","operationId":"api_insights_v1_weeklyreportautosubscribe_list","responses":{"200":{"content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/AutoSubscribe"},"type":"array"}}},"description":""}},"security":[{"x-rh-identity":[]}],"tags":["api"]},"post":{"description":"Set the auto-subscription status of the current user to the supplied\\n`is_auto_subscribed` value.\\n\\nIf \'is_auto_subscribed\' is true, an auto-subscription is added if it doesn\'t\\nalready exist. If it is false, the auto-subscription is removed if it\\nexists.\\n\\nCheck if ENABLE_AUTOSUB enviroment variable is set to allow the method.","operationId":"api_insights_v1_weeklyreportautosubscribe_create","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AutoSubscribeInput"}},"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/AutoSubscribeInput"}},"multipart/form-data":{"schema":{"$ref":"#/components/schemas/AutoSubscribeInput"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AutoSubscribe"}}},"description":""}},"security":[{"x-rh-identity":[]}],"tags":["api"]}},"/api/insights/v1/weeklyreportsubscription/":{"get":{"description":"Show the user\'s current subscription status.\\n\\nThis shows the presence of a weekly report subscription by the user\\nin this account.","operationId":"api_insights_v1_weeklyreportsubscription_list","responses":{"200":{"content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/WeeklyReportSubscription"},"type":"array"}}},"description":""}},"security":[{"x-rh-identity":[]}],"tags":["api"]},"post":{"description":"Set the subscription status of the current user to the supplied\\n`is_subscribed` value.\\n\\nIf \'is_subscribed\' is true, a subscription is added if it doesn\'t\\nalready exist. If it is false, the subscription is removed if it\\nexists.","operationId":"api_insights_v1_weeklyreportsubscription_create","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/WeeklyReportSubscription"}},"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/WeeklyReportSubscription"}},"multipart/form-data":{"schema":{"$ref":"#/components/schemas/WeeklyReportSubscription"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/WeeklyReportSubscription"}}},"description":""}},"security":[{"x-rh-identity":[]}],"tags":["api"]}}},"servers":[{"description":"The API of the Advisor project in Insights","url":"https://console.redhat.com/"}]}}')}}]); \ No newline at end of file diff --git a/static/js/7832.d06d986b.chunk.js b/static/js/7832.d06d986b.chunk.js deleted file mode 100644 index 24668682..00000000 --- a/static/js/7832.d06d986b.chunk.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkapidocs=self.webpackChunkapidocs||[]).push([[7832],{97832:function(e){e.exports=JSON.parse('{"extras":{},"openapi":{"components":{"schemas":{"ExecuteTask":{"description":"Execute a task on a given set of hosts.\\n\\nCreates an ExecutedTask object and one or more Job objects, one for each\\nrecognised host.","properties":{"hosts":{"items":{"format":"uuid","type":"string"},"type":"array"},"name":{"type":"string"},"parameters":{"items":{"$ref":"#/components/schemas/ExecutedTaskParameter"},"type":"array"},"task":{"pattern":"^[-a-zA-Z0-9_]+$","type":"string"}},"required":["hosts","task"],"type":"object"},"ExecutedTask":{"properties":{"alerts_count":{"type":"integer"},"completed_jobs_count":{"type":"integer"},"end_time":{"format":"date-time","nullable":true,"type":"string"},"failure_jobs_count":{"type":"integer"},"id":{"readOnly":true,"type":"integer"},"initiated_by":{"description":"username","maxLength":80,"type":"string"},"name":{"maxLength":200,"type":"string"},"running_jobs_count":{"type":"integer"},"start_time":{"format":"date-time","type":"string"},"status":{"type":"string"},"systems_count":{"type":"integer"},"task_description":{"type":"string"},"task_filter_message":{"type":"string"},"task_slug":{"pattern":"^[-a-zA-Z0-9_]+$","type":"string"},"task_title":{"type":"string"},"task_url":{"format":"uri","readOnly":true,"type":"string"},"this_url":{"format":"uri","readOnly":true,"type":"string"},"timeout_jobs_count":{"type":"integer"}},"required":["alerts_count","completed_jobs_count","failure_jobs_count","id","initiated_by","name","running_jobs_count","start_time","status","systems_count","task_description","task_filter_message","task_slug","task_title","task_url","this_url","timeout_jobs_count"],"type":"object"},"ExecutedTaskOne":{"properties":{"end_time":{"format":"date-time","nullable":true,"type":"string"},"id":{"readOnly":true,"type":"integer"},"initiated_by":{"description":"username","maxLength":80,"type":"string"},"jobs":{"items":{"$ref":"#/components/schemas/JobTask"},"type":"array"},"name":{"maxLength":200,"type":"string"},"parameters":{"items":{"$ref":"#/components/schemas/ExecutedTaskParameter"},"type":"array"},"start_time":{"format":"date-time","type":"string"},"status":{"type":"string"},"systems_count":{"type":"integer"},"task_description":{"type":"string"},"task_filter_message":{"type":"string"},"task_slug":{"pattern":"^[-a-zA-Z0-9_]+$","type":"string"},"task_title":{"type":"string"},"task_url":{"format":"uri","readOnly":true,"type":"string"}},"required":["id","initiated_by","jobs","name","parameters","start_time","status","systems_count","task_description","task_filter_message","task_slug","task_title","task_url"],"type":"object"},"ExecutedTaskParameter":{"properties":{"default":{"readOnly":true,"type":"string"},"description":{"readOnly":true,"type":"string"},"id":{"readOnly":true,"type":"integer"},"key":{"type":"string"},"required":{"readOnly":true,"type":"boolean"},"value":{"type":"string"}},"required":["default","description","id","key","required","value"],"type":"object"},"Host":{"properties":{"connection_type":{"type":"string"},"culled_timestamp":{"format":"date-time","type":"string"},"display_name":{"maxLength":200,"type":"string"},"groups":{},"id":{"format":"uuid","type":"string"},"os_version":{"type":"string"},"stale_timestamp":{"format":"date-time","type":"string"},"stale_warning_timestamp":{"format":"date-time","type":"string"},"tags":{"items":{"additionalProperties":{},"type":"object"},"type":"array"},"updated":{"format":"date-time","type":"string"}},"required":["connection_type","culled_timestamp","display_name","groups","id","os_version","stale_timestamp","stale_warning_timestamp","tags","updated"],"type":"object"},"Job":{"properties":{"connection_type":{"type":"string"},"display_name":{"type":"string"},"executed_task":{"type":"integer"},"executed_task_link":{"format":"uri","readOnly":true,"type":"string"},"has_stdout":{"type":"boolean"},"id":{"readOnly":true,"type":"integer"},"log_link":{"format":"uri","readOnly":true,"type":"string"},"results":{},"rhc_client_id":{"format":"uuid","nullable":true,"type":"string"},"run_id":{"format":"uuid","type":"string"},"status":{"type":"string"},"stdout_link":{"format":"uri","readOnly":true,"type":"string"},"system":{"format":"uuid","type":"string"},"updated_on":{"format":"date-time","type":"string"}},"required":["connection_type","display_name","executed_task","executed_task_link","has_stdout","id","log_link","results","run_id","status","stdout_link","system","updated_on"],"type":"object"},"JobLog":{"description":"A line of information relating to the progress of a job.","properties":{"created_at":{"format":"date-time","readOnly":true,"type":"string"},"is_ok":{"type":"boolean"},"line":{"maxLength":255,"type":"string"},"run_id":{"format":"uuid","type":"string"}},"required":["created_at","line","run_id"],"type":"object"},"JobLogTask":{"description":"The log of all jobs for a particular executed task","properties":{"created_at":{"format":"date-time","readOnly":true,"type":"string"},"display_name":{"type":"string"},"is_ok":{"type":"boolean"},"line":{"maxLength":255,"type":"string"},"run_id":{"format":"uuid","type":"string"},"system_id":{"format":"uuid","type":"string"}},"required":["created_at","display_name","line","run_id","system_id"],"type":"object"},"JobTask":{"description":"The jobs for a particular executed task","properties":{"display_name":{"type":"string"},"has_stdout":{"type":"boolean"},"id":{"readOnly":true,"type":"integer"},"log_link":{"format":"uri","readOnly":true,"type":"string"},"results":{},"run_id":{"format":"uuid","type":"string"},"status":{"type":"string"},"stdout_link":{"format":"uri","readOnly":true,"type":"string"},"system_id":{"format":"uuid","type":"string"},"updated_on":{"format":"date-time","type":"string"}},"required":["display_name","has_stdout","id","log_link","results","run_id","status","stdout_link","system_id","updated_on"],"type":"object"},"PaginatedExecutedTaskList":{"properties":{"data":{"items":{"$ref":"#/components/schemas/ExecutedTask"},"type":"array"},"links":{"properties":{"first":{"format":"uri","nullable":true,"type":"string"},"last":{"format":"uri","nullable":true,"type":"string"},"next":{"format":"uri","nullable":true,"type":"string"},"previous":{"format":"uri","nullable":true,"type":"string"}},"type":"object"},"meta":{"properties":{"count":{"example":169,"type":"integer"}},"required":["count"],"type":"object"}},"type":"object"},"PaginatedHostList":{"properties":{"data":{"items":{"$ref":"#/components/schemas/Host"},"type":"array"},"links":{"properties":{"first":{"format":"uri","nullable":true,"type":"string"},"last":{"format":"uri","nullable":true,"type":"string"},"next":{"format":"uri","nullable":true,"type":"string"},"previous":{"format":"uri","nullable":true,"type":"string"}},"type":"object"},"meta":{"properties":{"count":{"example":169,"type":"integer"}},"required":["count"],"type":"object"}},"type":"object"},"PaginatedJobList":{"properties":{"data":{"items":{"$ref":"#/components/schemas/Job"},"type":"array"},"links":{"properties":{"first":{"format":"uri","nullable":true,"type":"string"},"last":{"format":"uri","nullable":true,"type":"string"},"next":{"format":"uri","nullable":true,"type":"string"},"previous":{"format":"uri","nullable":true,"type":"string"}},"type":"object"},"meta":{"properties":{"count":{"example":169,"type":"integer"}},"required":["count"],"type":"object"}},"type":"object"},"PaginatedJobLogList":{"properties":{"data":{"items":{"$ref":"#/components/schemas/JobLog"},"type":"array"},"links":{"properties":{"first":{"format":"uri","nullable":true,"type":"string"},"last":{"format":"uri","nullable":true,"type":"string"},"next":{"format":"uri","nullable":true,"type":"string"},"previous":{"format":"uri","nullable":true,"type":"string"}},"type":"object"},"meta":{"properties":{"count":{"example":169,"type":"integer"}},"required":["count"],"type":"object"}},"type":"object"},"PaginatedJobLogTaskList":{"properties":{"data":{"items":{"$ref":"#/components/schemas/JobLogTask"},"type":"array"},"links":{"properties":{"first":{"format":"uri","nullable":true,"type":"string"},"last":{"format":"uri","nullable":true,"type":"string"},"next":{"format":"uri","nullable":true,"type":"string"},"previous":{"format":"uri","nullable":true,"type":"string"}},"type":"object"},"meta":{"properties":{"count":{"example":169,"type":"integer"}},"required":["count"],"type":"object"}},"type":"object"},"PaginatedTaskHostList":{"properties":{"data":{"items":{"$ref":"#/components/schemas/TaskHost"},"type":"array"},"links":{"properties":{"first":{"format":"uri","nullable":true,"type":"string"},"last":{"format":"uri","nullable":true,"type":"string"},"next":{"format":"uri","nullable":true,"type":"string"},"previous":{"format":"uri","nullable":true,"type":"string"}},"type":"object"},"meta":{"properties":{"count":{"example":169,"type":"integer"}},"required":["count"],"type":"object"}},"type":"object"},"PaginatedTaskList":{"properties":{"data":{"items":{"$ref":"#/components/schemas/Task"},"type":"array"},"links":{"properties":{"first":{"format":"uri","nullable":true,"type":"string"},"last":{"format":"uri","nullable":true,"type":"string"},"next":{"format":"uri","nullable":true,"type":"string"},"previous":{"format":"uri","nullable":true,"type":"string"}},"type":"object"},"meta":{"properties":{"count":{"example":169,"type":"integer"}},"required":["count"],"type":"object"}},"type":"object"},"Task":{"properties":{"description":{"type":"string"},"filter_message":{"maxLength":200,"nullable":true,"type":"string"},"parameters":{"items":{"$ref":"#/components/schemas/TaskParameter"},"type":"array"},"publish_date":{"format":"date-time","type":"string"},"slug":{"maxLength":50,"pattern":"^[-a-zA-Z0-9_]+$","type":"string"},"systems_url":{"format":"uri","readOnly":true,"type":"string"},"title":{"maxLength":200,"type":"string"},"type":{"type":"string"}},"required":["description","parameters","publish_date","slug","systems_url","title","type"],"type":"object"},"TaskHost":{"properties":{"connection_type":{"type":"string"},"culled_timestamp":{"format":"date-time","type":"string"},"display_name":{"maxLength":200,"type":"string"},"groups":{},"id":{"format":"uuid","type":"string"},"os_version":{"type":"string"},"requirements":{"items":{"type":"string"},"type":"array"},"stale_timestamp":{"format":"date-time","type":"string"},"stale_warning_timestamp":{"format":"date-time","type":"string"},"tags":{"items":{"additionalProperties":{},"type":"object"},"type":"array"},"updated":{"format":"date-time","type":"string"}},"required":["connection_type","culled_timestamp","display_name","groups","id","os_version","requirements","stale_timestamp","stale_warning_timestamp","tags","updated"],"type":"object"},"TaskParameter":{"properties":{"default":{"maxLength":250,"nullable":true,"type":"string"},"description":{"type":"string"},"key":{"maxLength":40,"type":"string"},"required":{"type":"boolean"},"values":{"items":{"maxLength":250,"type":"string"},"type":"array"}},"required":["description","key","values"],"type":"object"}},"securitySchemes":{"Authorization":{"in":"header","name":"Authorization","type":"apiKey"}}},"info":{"description":"The API for managing and issuing Red Hat generated tasks on your infrastructure","title":"Insights Tasks API","version":"1.0.0"},"openapi":"3.0.3","paths":{"/api/tasks/v1/executed_task":{"get":{"description":"View a list of executed tasks, or a single executed task","operationId":"executed_task_list","parameters":[{"description":"Number of results to return per page.","in":"query","name":"limit","required":false,"schema":{"type":"integer"}},{"description":"The initial index from which to return the results.","in":"query","name":"offset","required":false,"schema":{"type":"integer"}},{"in":"query","name":"sort","schema":{"default":"start_time","enum":["-end_time","-name","-start_time","-status","-systems_count","-title","end_time","name","start_time","status","systems_count","title"],"type":"string"}},{"in":"query","name":"status","schema":{"items":{"enum":["Cancelled","Completed","Completed With Errors","Failure","Running"],"type":"string"},"type":"array"},"style":"form"},{"in":"query","name":"text","schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PaginatedExecutedTaskList"}}},"description":""}},"security":[{"x-rh-identity":[]}],"tags":["executed_task"]},"post":{"description":"Execute a task on one or more hosts.\\n\\nThis takes a task, a list of one or more hosts, and any parameters\\nthe task may define, and creates a new executed task linked to a job\\nfor each host. The jobs are then scheduled on those hosts by the\\ndispatch mechanism defined by the task.","operationId":"executed_task_create","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ExecuteTask"}},"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/ExecuteTask"}},"multipart/form-data":{"schema":{"$ref":"#/components/schemas/ExecuteTask"}}},"required":true},"responses":{"201":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ExecutedTaskOne"}}},"description":""}},"security":[{"x-rh-identity":[]}],"tags":["executed_task"]}},"/api/tasks/v1/executed_task/{id}":{"delete":{"description":"Delete an existing execut(ing,ed) task. If the task is still\\nexecuting (i.e. it is not yet cancelled or completed) then also\\ncancel all running jobs. This also deletes the data for all of the\\nexecuted task\'s jobs.","operationId":"executed_task_destroy","parameters":[{"description":"A unique integer value identifying this executed task.","in":"path","name":"id","required":true,"schema":{"type":"integer"}}],"responses":{"204":{"description":"No response body"}},"security":[{"x-rh-identity":[]}],"tags":["executed_task"]},"get":{"description":"Retrieve a single executed task, along with its list of jobs and the\\nsystems they represent.","operationId":"executed_task_retrieve","parameters":[{"description":"A unique integer value identifying this executed task.","in":"path","name":"id","required":true,"schema":{"type":"integer"}},{"description":"Sort systems by this field","in":"query","name":"sort","schema":{"default":"display_name","enum":["-display_name","-last_seen","-os_version","-status","display_name","last_seen","os_version","status"],"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ExecutedTaskOne"}}},"description":""}},"security":[{"x-rh-identity":[]}],"tags":["executed_task"]}},"/api/tasks/v1/executed_task/{id}/cancel":{"post":{"description":"Cancel an existing executed task, by ID.\\n\\nThis sends a signal to the Playbook Dispatcher to cancel all the jobs\\nin this executed task. It updates the state of the executed task to\\nbe CANCELLED. Jobs in this task will be updated as we receive\\nmessages back from the Playbook Dispatcher.","operationId":"executed_task_cancel_create","parameters":[{"description":"A unique integer value identifying this executed task.","in":"path","name":"id","required":true,"schema":{"type":"integer"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ExecutedTask"}},"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/ExecutedTask"}},"multipart/form-data":{"schema":{"$ref":"#/components/schemas/ExecutedTask"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ExecutedTask"}}},"description":""}},"security":[{"x-rh-identity":[]}],"tags":["executed_task"]}},"/api/tasks/v1/executed_task/{id}/job_logs":{"get":{"description":"View a list of executed tasks, or a single executed task","operationId":"executed_task_job_logs_list","parameters":[{"description":"A unique integer value identifying this executed task.","in":"path","name":"id","required":true,"schema":{"type":"integer"}},{"description":"Number of results to return per page.","in":"query","name":"limit","required":false,"schema":{"type":"integer"}},{"description":"The initial index from which to return the results.","in":"query","name":"offset","required":false,"schema":{"type":"integer"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PaginatedJobLogTaskList"}}},"description":""}},"security":[{"x-rh-identity":[]}],"tags":["executed_task"]}},"/api/tasks/v1/executed_task/{id}/jobs":{"get":{"description":"List the jobs associated with the given executed task.","operationId":"executed_task_jobs_list","parameters":[{"description":"Display systems with this text in their display_name","in":"query","name":"display_name","schema":{"type":"string"}},{"description":"List of Inventory host group names","in":"query","name":"groups","schema":{"items":{"type":"string"},"type":"array"},"style":"form"},{"description":"A unique integer value identifying this executed task.","in":"path","name":"id","required":true,"schema":{"type":"integer"}},{"description":"Number of results to return per page.","in":"query","name":"limit","required":false,"schema":{"type":"integer"}},{"description":"The initial index from which to return the results.","in":"query","name":"offset","required":false,"schema":{"type":"integer"}},{"description":"Display only systems with these OS versions","in":"query","name":"os_version","schema":{"items":{"enum":["6.0","6.1","6.10","6.2","6.3","6.4","6.5","6.6","6.7","6.8","6.9","7.0","7.1","7.10","7.2","7.3","7.4","7.5","7.6","7.7","7.8","7.9","8.0","8.1","8.10","8.2","8.3","8.4","8.5","8.6","8.7","8.8","8.9","9.0","9.1","9.2","9.3","9.4","9.5"],"type":"string"},"type":"array"},"style":"form"},{"description":"Sort systems by this field","in":"query","name":"sort","schema":{"default":"display_name","enum":["-display_name","-last_seen","-os_version","-status","display_name","last_seen","os_version","status"],"type":"string"}},{"in":"query","name":"status","schema":{"items":{"enum":["Cancelled","Failure","Running","Success","Timeout"],"type":"string"},"type":"array"},"style":"form"},{"description":"Tags have a namespace, key and value in the form namespace/key=value","in":"query","name":"tags","schema":{"items":{"format":"regex","pattern":"^[^/=]+/[^/=]+=[^/=]+$","type":"string"},"type":"array"},"style":"form"}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PaginatedJobList"}}},"description":""}},"security":[{"x-rh-identity":[]}],"tags":["executed_task"]}},"/api/tasks/v1/job":{"get":{"description":"View the jobs of running executed tasks.","operationId":"job_list","parameters":[{"description":"Display systems with this text in their display_name","in":"query","name":"display_name","schema":{"type":"string"}},{"in":"query","name":"executed_task","schema":{"type":"integer"}},{"in":"query","name":"has_stdout","schema":{"type":"boolean"}},{"description":"Number of results to return per page.","in":"query","name":"limit","required":false,"schema":{"type":"integer"}},{"description":"The initial index from which to return the results.","in":"query","name":"offset","required":false,"schema":{"type":"integer"}},{"description":"Sort jobs by this field","in":"query","name":"sort","schema":{"default":"-updated_on","enum":["-display_name","-executed_task","-status","-system","-updated_on","display_name","executed_task","status","system","updated_on"],"type":"string"}},{"in":"query","name":"status","schema":{"items":{"enum":["Cancelled","Failure","Running","Success","Timeout"],"type":"string"},"type":"array"},"style":"form"}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PaginatedJobList"}}},"description":""}},"security":[{"x-rh-identity":[]}],"tags":["job"]}},"/api/tasks/v1/job/{id}":{"get":{"description":"View the jobs of running executed tasks.","operationId":"job_retrieve","parameters":[{"description":"A unique integer value identifying this job.","in":"path","name":"id","required":true,"schema":{"type":"integer"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Job"}}},"description":""}},"security":[{"x-rh-identity":[]}],"tags":["job"]}},"/api/tasks/v1/job/{id}/log":{"get":{"description":"Show the log lines for this job.","operationId":"job_log_list","parameters":[{"description":"A unique integer value identifying this job.","in":"path","name":"id","required":true,"schema":{"type":"integer"}},{"description":"Number of results to return per page.","in":"query","name":"limit","required":false,"schema":{"type":"integer"}},{"description":"The initial index from which to return the results.","in":"query","name":"offset","required":false,"schema":{"type":"integer"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PaginatedJobLogList"}}},"description":""}},"security":[{"x-rh-identity":[]}],"tags":["job"]}},"/api/tasks/v1/job/{id}/stdout":{"get":{"description":"Show the stdout for this job","operationId":"job_stdout_retrieve","parameters":[{"description":"A unique integer value identifying this job.","in":"path","name":"id","required":true,"schema":{"type":"integer"}}],"responses":{"200":{"content":{"text/plain":{"schema":{"$ref":"#/components/schemas/Job"}}},"description":""}},"security":[{"x-rh-identity":[]}],"tags":["job"]}},"/api/tasks/v1/system":{"get":{"description":"List the systems that can execute tasks, or the task-related details for\\na single system.","operationId":"system_list","parameters":[{"in":"query","name":"all_systems","schema":{"default":false,"type":"boolean"}},{"description":"Display systems with this text in their display_name","in":"query","name":"display_name","schema":{"type":"string"}},{"description":"Are there systems which contain these SAP SIDs?","in":"query","name":"filter[system_profile][sap_sids][contains]","schema":{"items":{"format":"regex","pattern":"^[A-Z]..$","type":"string"},"type":"array"},"style":"form"},{"description":"Is this a SAP system?","in":"query","name":"filter[system_profile][sap_system]","schema":{"type":"boolean"}},{"description":"List of Inventory host group names","in":"query","name":"groups","schema":{"items":{"type":"string"},"type":"array"},"style":"form"},{"description":"Number of results to return per page.","in":"query","name":"limit","required":false,"schema":{"type":"integer"}},{"description":"The initial index from which to return the results.","in":"query","name":"offset","required":false,"schema":{"type":"integer"}},{"description":"Filter on both operating system name and version. A pipe separates the values. For Example: RHEL|7.9","in":"query","name":"operating_system","schema":{"items":{"type":"string"},"type":"array"},"style":"form"},{"description":"Filter on these (short) operating system names","in":"query","name":"os_name","schema":{"items":{"type":"string"},"type":"array"},"style":"form"},{"description":"Display only systems with these OS versions","in":"query","name":"os_version","schema":{"items":{"enum":["6.0","6.1","6.10","6.2","6.3","6.4","6.5","6.6","6.7","6.8","6.9","7.0","7.1","7.10","7.2","7.3","7.4","7.5","7.6","7.7","7.8","7.9","8.0","8.1","8.10","8.2","8.3","8.4","8.5","8.6","8.7","8.8","8.9","9.0","9.1","9.2","9.3","9.4","9.5"],"type":"string"},"type":"array"},"style":"form"},{"description":"Sort systems by this field","in":"query","name":"sort","schema":{"default":"display_name","enum":["-display_name","-group_name","-last_seen","-os","-os_name","-os_version","display_name","group_name","last_seen","os","os_name","os_version"],"type":"string"}},{"description":"Tags have a namespace, key and value in the form namespace/key=value","in":"query","name":"tags","schema":{"items":{"format":"regex","pattern":"^[^/=]+/[^/=]+=[^/=]+$","type":"string"},"type":"array"},"style":"form"}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PaginatedHostList"}}},"description":""}},"security":[{"x-rh-identity":[]}],"tags":["system"]}},"/api/tasks/v1/system/{id}":{"get":{"description":"List the systems that can execute tasks, or the task-related details for\\na single system.","operationId":"system_retrieve","parameters":[{"description":"A UUID string identifying this host.","in":"path","name":"id","required":true,"schema":{"format":"uuid","type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Host"}}},"description":""}},"security":[{"x-rh-identity":[]}],"tags":["system"]}},"/api/tasks/v1/task":{"get":{"description":"View a list of tasks, or a single task","operationId":"task_list","parameters":[{"description":"Number of results to return per page.","in":"query","name":"limit","required":false,"schema":{"type":"integer"}},{"description":"The initial index from which to return the results.","in":"query","name":"offset","required":false,"schema":{"type":"integer"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PaginatedTaskList"}}},"description":""}},"security":[{"x-rh-identity":[]}],"tags":["task"]}},"/api/tasks/v1/task/{slug}":{"get":{"description":"View a list of tasks, or a single task","operationId":"task_retrieve","parameters":[{"in":"path","name":"slug","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Task"}}},"description":""}},"security":[{"x-rh-identity":[]}],"tags":["task"]}},"/api/tasks/v1/task/{slug}/playbook":{"get":{"description":"Return the playbook for this task.\\n\\nPlaybook generally do not change per task.","operationId":"task_playbook_retrieve","parameters":[{"in":"query","name":"format","schema":{"enum":["json","yaml"],"type":"string"}},{"in":"path","name":"slug","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Task"}},"application/yaml":{"schema":{"$ref":"#/components/schemas/Task"}}},"description":""}},"security":[{"x-rh-identity":[]}],"tags":["task"]}},"/api/tasks/v1/task/{slug}/systems":{"get":{"description":"List all systems, with an extra \'requirements\' field that is a list\\nof reasons why the system cannot run this task. If that list is\\nempty, the system can run this task; otherwise the reasons should be\\ndisplayed.","operationId":"task_systems_list","parameters":[{"in":"query","name":"all_systems","schema":{"default":false,"type":"boolean"}},{"description":"Display systems with this text in their display_name","in":"query","name":"display_name","schema":{"type":"string"}},{"description":"Are there systems which contain these SAP SIDs?","in":"query","name":"filter[system_profile][sap_sids][contains]","schema":{"items":{"format":"regex","pattern":"^[A-Z]..$","type":"string"},"type":"array"},"style":"form"},{"description":"Is this a SAP system?","in":"query","name":"filter[system_profile][sap_system]","schema":{"type":"boolean"}},{"description":"List of Inventory host group names","in":"query","name":"groups","schema":{"items":{"type":"string"},"type":"array"},"style":"form"},{"description":"Number of results to return per page.","in":"query","name":"limit","required":false,"schema":{"type":"integer"}},{"description":"The initial index from which to return the results.","in":"query","name":"offset","required":false,"schema":{"type":"integer"}},{"description":"Filter on both operating system name and version. A pipe separates the values. For Example: RHEL|7.9","in":"query","name":"operating_system","schema":{"items":{"type":"string"},"type":"array"},"style":"form"},{"description":"Filter on these (short) operating system names","in":"query","name":"os_name","schema":{"items":{"type":"string"},"type":"array"},"style":"form"},{"description":"Display only systems with these OS versions","in":"query","name":"os_version","schema":{"items":{"enum":["6.0","6.1","6.10","6.2","6.3","6.4","6.5","6.6","6.7","6.8","6.9","7.0","7.1","7.10","7.2","7.3","7.4","7.5","7.6","7.7","7.8","7.9","8.0","8.1","8.10","8.2","8.3","8.4","8.5","8.6","8.7","8.8","8.9","9.0","9.1","9.2","9.3","9.4","9.5"],"type":"string"},"type":"array"},"style":"form"},{"in":"path","name":"slug","required":true,"schema":{"type":"string"}},{"description":"Sort systems by this field","in":"query","name":"sort","schema":{"default":"display_name","enum":["-display_name","-group_name","-last_seen","-os","-os_name","-os_version","display_name","group_name","last_seen","os","os_name","os_version"],"type":"string"}},{"description":"Tags have a namespace, key and value in the form namespace/key=value","in":"query","name":"tags","schema":{"items":{"format":"regex","pattern":"^[^/=]+/[^/=]+=[^/=]+$","type":"string"},"type":"array"},"style":"form"}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PaginatedTaskHostList"}}},"description":""}},"security":[{"x-rh-identity":[]}],"tags":["task"]}}},"servers":[{"description":"The API of the Advisor project in Insights","url":"https://console.redhat.com/"}]}}')}}]); \ No newline at end of file diff --git a/static/js/main.26f7f3cf.js b/static/js/main.c66a93be.js similarity index 99% rename from static/js/main.26f7f3cf.js rename to static/js/main.c66a93be.js index dd085383..fe1884d6 100644 --- a/static/js/main.26f7f3cf.js +++ b/static/js/main.c66a93be.js @@ -1,3 +1,3 @@ -/*! For license information please see main.26f7f3cf.js.LICENSE.txt */ -!function(){var e={16599:function(e,t,n){var i;self.MonacoEnvironment=(i={editorWorkerService:"editor.worker.js",json:"json.worker.js"},{globalAPI:!1,getWorkerUrl:function(e,t){var r=n.p,o=(r?r.replace(/\/$/,"")+"/":"")+i[t];if(/^((http:)|(https:)|(file:)|(\/\/))/.test(o)){var a=String(window.location),s=a.substr(0,a.length-window.location.hash.length-window.location.search.length-window.location.pathname.length);if(o.substring(0,s.length)!==s){/^(\/\/)/.test(o)&&(o=window.location.protocol+o);var l=new Blob(["/*"+t+'*/importScripts("'+o+'");'],{type:"application/javascript"});return URL.createObjectURL(l)}}return o}}),n(54962),n(1791),n(56816),n(79240),n(45716),n(17094),n(28485),n(89977),n(75580),n(970),n(6893),n(55693),n(15389),n(45627),n(74361),n(52330),n(34464),n(22155),n(74166),n(42259),n(43869),n(52348),n(34403),n(49474),n(34775),n(80613),n(11366),n(36262),n(52791),n(51088),n(22939),n(47372),n(98361),n(56653),n(47226),n(93161),n(15157),n(94355),n(86854),n(46948),n(44356),n(26034),n(55553),n(3565),n(10102),n(44152),n(4327),n(99249),n(87629),n(16420),n(36373),n(6981),n(23957),n(94075),n(12548),n(54796),n(69321),n(95483),e.exports=n(6014),n(1153),n(32472),n(30790),n(9435),n(40987),n(93841),n(55738),n(88082)},60322:function(e,t,n){"use strict";var i=n(56690).default,r=n(89728).default,o=n(61655).default,a=n(26389).default;t.IU=t.ap=t.Jh=void 0;var s,l=n(29388),u=l.__importStar(n(72791));!function(e){e.sm="sm",e.md="md",e.lg="lg",e.xl="xl"}(s=t.Jh||(t.Jh={}));t.ap=function(e){switch(e){case s.sm:return"1em";case s.md:return"1.5em";case s.lg:return"2em";case s.xl:return"3em";default:return"1em"}};var c=0;t.IU=function(e){var n,d=e.name,h=e.xOffset,f=void 0===h?0:h,p=e.yOffset,g=void 0===p?0:p,v=e.width,m=e.height,y=e.svgPath;return n=function(e){o(s,e);var n=a(s);function s(){var e;return i(this,s),(e=n.apply(this,arguments)).id="icon-title-".concat(c++),e}return r(s,[{key:"render",value:function(){var e=this.props,n=e.size,i=e.color,r=e.title,o=e.noVerticalAlign,a=l.__rest(e,["size","color","title","noVerticalAlign"]),s=Boolean(r),c=(0,t.ap)(n),d=-.125*Number.parseFloat(c),h=o?null:{verticalAlign:"".concat(d,"em")},p=[f,g,v,m].join(" ");return u.createElement("svg",Object.assign({style:h,fill:i,height:c,width:c,viewBox:p,"aria-labelledby":s?this.id:null,"aria-hidden":!s||null,role:"img"},a),s&&u.createElement("title",{id:this.id},r),u.createElement("path",{d:y}))}}]),s}(u.Component),n.displayName=d,n.defaultProps={color:"currentColor",size:s.sm,noVerticalAlign:!1},n}},96659:function(e,t,n){"use strict";t.Lb={name:"ThIcon",height:512,width:512,svgPath:"M149.333 56v80c0 13.255-10.745 24-24 24H24c-13.255 0-24-10.745-24-24V56c0-13.255 10.745-24 24-24h101.333c13.255 0 24 10.745 24 24zm181.334 240v-80c0-13.255-10.745-24-24-24H205.333c-13.255 0-24 10.745-24 24v80c0 13.255 10.745 24 24 24h101.333c13.256 0 24.001-10.745 24.001-24zm32-240v80c0 13.255 10.745 24 24 24H488c13.255 0 24-10.745 24-24V56c0-13.255-10.745-24-24-24H386.667c-13.255 0-24 10.745-24 24zm-32 80V56c0-13.255-10.745-24-24-24H205.333c-13.255 0-24 10.745-24 24v80c0 13.255 10.745 24 24 24h101.333c13.256 0 24.001-10.745 24.001-24zm-205.334 56H24c-13.255 0-24 10.745-24 24v80c0 13.255 10.745 24 24 24h101.333c13.255 0 24-10.745 24-24v-80c0-13.255-10.745-24-24-24zM0 376v80c0 13.255 10.745 24 24 24h101.333c13.255 0 24-10.745 24-24v-80c0-13.255-10.745-24-24-24H24c-13.255 0-24 10.745-24 24zm386.667-56H488c13.255 0 24-10.745 24-24v-80c0-13.255-10.745-24-24-24H386.667c-13.255 0-24 10.745-24 24v80c0 13.255 10.745 24 24 24zm0 160H488c13.255 0 24-10.745 24-24v-80c0-13.255-10.745-24-24-24H386.667c-13.255 0-24 10.745-24 24v80c0 13.255 10.745 24 24 24zM181.333 376v80c0 13.255 10.745 24 24 24h101.333c13.255 0 24-10.745 24-24v-80c0-13.255-10.745-24-24-24H205.333c-13.255 0-24 10.745-24 24z",yOffset:0,xOffset:0},t.X_=n(60322).IU(t.Lb),t.ZP=t.X_},9605:function(e,t,n){"use strict";t.AR={name:"ThListIcon",height:512,width:512,svgPath:"M149.333 216v80c0 13.255-10.745 24-24 24H24c-13.255 0-24-10.745-24-24v-80c0-13.255 10.745-24 24-24h101.333c13.255 0 24 10.745 24 24zM0 376v80c0 13.255 10.745 24 24 24h101.333c13.255 0 24-10.745 24-24v-80c0-13.255-10.745-24-24-24H24c-13.255 0-24 10.745-24 24zM125.333 32H24C10.745 32 0 42.745 0 56v80c0 13.255 10.745 24 24 24h101.333c13.255 0 24-10.745 24-24V56c0-13.255-10.745-24-24-24zm80 448H488c13.255 0 24-10.745 24-24v-80c0-13.255-10.745-24-24-24H205.333c-13.255 0-24 10.745-24 24v80c0 13.255 10.745 24 24 24zm-24-424v80c0 13.255 10.745 24 24 24H488c13.255 0 24-10.745 24-24V56c0-13.255-10.745-24-24-24H205.333c-13.255 0-24 10.745-24 24zm24 264H488c13.255 0 24-10.745 24-24v-80c0-13.255-10.745-24-24-24H205.333c-13.255 0-24 10.745-24 24v80c0 13.255 10.745 24 24 24z",yOffset:0,xOffset:0},t.DZ=n(60322).IU(t.AR),t.ZP=t.DZ},41596:function(e,t){"use strict";function n(e,t){if(t)return e;throw new Error("Unhandled discriminated union member: "+JSON.stringify(e))}t.ZP=n},9940:function(e){e.exports=function(e){function t(i){if(n[i])return n[i].exports;var r=n[i]={i:i,l:!1,exports:{}};return e[i].call(r.exports,r,r.exports,t),r.l=!0,r.exports}var n={};return t.m=e,t.c=n,t.d=function(e,n,i){t.o(e,n)||Object.defineProperty(e,n,{configurable:!1,enumerable:!0,get:i})},t.n=function(e){var n=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(n,"a",n),n},t.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},t.p="",t(t.s=13)}([function(e,t){var n=e.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=n)},function(e,t){e.exports=function(e){return"object"==typeof e?null!==e:"function"==typeof e}},function(e,t){var n=e.exports={version:"2.5.0"};"number"==typeof __e&&(__e=n)},function(e,t,n){e.exports=!n(4)((function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a}))},function(e,t){e.exports=function(e){try{return!!e()}catch(e){return!0}}},function(e,t){var n={}.toString;e.exports=function(e){return n.call(e).slice(8,-1)}},function(e,t,n){var i=n(32)("wks"),r=n(9),o=n(0).Symbol,a="function"==typeof o;(e.exports=function(e){return i[e]||(i[e]=a&&o[e]||(a?o:r)("Symbol."+e))}).store=i},function(e,t,n){var i=n(0),r=n(2),o=n(8),a=n(22),s=n(10),l=function e(t,n,l){var u,c,d,h,f=t&e.F,p=t&e.G,g=t&e.P,v=t&e.B,m=p?i:t&e.S?i[n]||(i[n]={}):(i[n]||{}).prototype,y=p?r:r[n]||(r[n]={}),_=y.prototype||(y.prototype={});for(u in p&&(l=n),l)d=((c=!f&&m&&void 0!==m[u])?m:l)[u],h=v&&c?s(d,i):g&&"function"==typeof d?s(Function.call,d):d,m&&a(m,u,d,t&e.U),y[u]!=d&&o(y,u,h),g&&_[u]!=d&&(_[u]=d)};i.core=r,l.F=1,l.G=2,l.S=4,l.P=8,l.B=16,l.W=32,l.U=64,l.R=128,e.exports=l},function(e,t,n){var i=n(16),r=n(21);e.exports=n(3)?function(e,t,n){return i.f(e,t,r(1,n))}:function(e,t,n){return e[t]=n,e}},function(e,t){var n=0,i=Math.random();e.exports=function(e){return"Symbol(".concat(void 0===e?"":e,")_",(++n+i).toString(36))}},function(e,t,n){var i=n(24);e.exports=function(e,t,n){if(i(e),void 0===t)return e;switch(n){case 1:return function(n){return e.call(t,n)};case 2:return function(n,i){return e.call(t,n,i)};case 3:return function(n,i,r){return e.call(t,n,i,r)}}return function(){return e.apply(t,arguments)}}},function(e,t){e.exports=function(e){if(void 0==e)throw TypeError("Can't call method on "+e);return e}},function(e,t,n){var i=n(28),r=Math.min;e.exports=function(e){return e>0?r(i(e),9007199254740991):0}},function(e,t,n){"use strict";t.__esModule=!0,t.default=function(e,t){if(e&&t){var n=Array.isArray(t)?t:t.split(","),i=e.name||"",r=e.type||"",o=r.replace(/\/.*$/,"");return n.some((function(e){var t=e.trim();return"."===t.charAt(0)?i.toLowerCase().endsWith(t.toLowerCase()):t.endsWith("/*")?o===t.replace(/\/.*$/,""):r===t}))}return!0},n(14),n(34)},function(e,t,n){n(15),e.exports=n(2).Array.some},function(e,t,n){"use strict";var i=n(7),r=n(25)(3);i(i.P+i.F*!n(33)([].some,!0),"Array",{some:function(e){return r(this,e,arguments[1])}})},function(e,t,n){var i=n(17),r=n(18),o=n(20),a=Object.defineProperty;t.f=n(3)?Object.defineProperty:function(e,t,n){if(i(e),t=o(t,!0),i(n),r)try{return a(e,t,n)}catch(e){}if("get"in n||"set"in n)throw TypeError("Accessors not supported!");return"value"in n&&(e[t]=n.value),e}},function(e,t,n){var i=n(1);e.exports=function(e){if(!i(e))throw TypeError(e+" is not an object!");return e}},function(e,t,n){e.exports=!n(3)&&!n(4)((function(){return 7!=Object.defineProperty(n(19)("div"),"a",{get:function(){return 7}}).a}))},function(e,t,n){var i=n(1),r=n(0).document,o=i(r)&&i(r.createElement);e.exports=function(e){return o?r.createElement(e):{}}},function(e,t,n){var i=n(1);e.exports=function(e,t){if(!i(e))return e;var n,r;if(t&&"function"==typeof(n=e.toString)&&!i(r=n.call(e)))return r;if("function"==typeof(n=e.valueOf)&&!i(r=n.call(e)))return r;if(!t&&"function"==typeof(n=e.toString)&&!i(r=n.call(e)))return r;throw TypeError("Can't convert object to primitive value")}},function(e,t){e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},function(e,t,n){var i=n(0),r=n(8),o=n(23),a=n(9)("src"),s=Function.toString,l=(""+s).split("toString");n(2).inspectSource=function(e){return s.call(e)},(e.exports=function(e,t,n,s){var u="function"==typeof n;u&&(o(n,"name")||r(n,"name",t)),e[t]!==n&&(u&&(o(n,a)||r(n,a,e[t]?""+e[t]:l.join(String(t)))),e===i?e[t]=n:s?e[t]?e[t]=n:r(e,t,n):(delete e[t],r(e,t,n)))})(Function.prototype,"toString",(function(){return"function"==typeof this&&this[a]||s.call(this)}))},function(e,t){var n={}.hasOwnProperty;e.exports=function(e,t){return n.call(e,t)}},function(e,t){e.exports=function(e){if("function"!=typeof e)throw TypeError(e+" is not a function!");return e}},function(e,t,n){var i=n(10),r=n(26),o=n(27),a=n(12),s=n(29);e.exports=function(e,t){var n=1==e,l=2==e,u=3==e,c=4==e,d=6==e,h=5==e||d,f=t||s;return function(t,s,p){for(var g,v,m=o(t),y=r(m),_=i(s,p,3),b=a(y.length),k=0,C=n?f(t,b):l?f(t,0):void 0;b>k;k++)if((h||k in y)&&(v=_(g=y[k],k,m),e))if(n)C[k]=v;else if(v)switch(e){case 3:return!0;case 5:return g;case 6:return k;case 2:C.push(g)}else if(c)return!1;return d?-1:u||c?c:C}}},function(e,t,n){var i=n(5);e.exports=Object("z").propertyIsEnumerable(0)?Object:function(e){return"String"==i(e)?e.split(""):Object(e)}},function(e,t,n){var i=n(11);e.exports=function(e){return Object(i(e))}},function(e,t){var n=Math.ceil,i=Math.floor;e.exports=function(e){return isNaN(e=+e)?0:(e>0?i:n)(e)}},function(e,t,n){var i=n(30);e.exports=function(e,t){return new(i(e))(t)}},function(e,t,n){var i=n(1),r=n(31),o=n(6)("species");e.exports=function(e){var t;return r(e)&&("function"!=typeof(t=e.constructor)||t!==Array&&!r(t.prototype)||(t=void 0),i(t)&&null===(t=t[o])&&(t=void 0)),void 0===t?Array:t}},function(e,t,n){var i=n(5);e.exports=Array.isArray||function(e){return"Array"==i(e)}},function(e,t,n){var i=n(0),r=i["__core-js_shared__"]||(i["__core-js_shared__"]={});e.exports=function(e){return r[e]||(r[e]={})}},function(e,t,n){"use strict";var i=n(4);e.exports=function(e,t){return!!e&&i((function(){t?e.call(null,(function(){}),1):e.call(null)}))}},function(e,t,n){n(35),e.exports=n(2).String.endsWith},function(e,t,n){"use strict";var i=n(7),r=n(12),o=n(36),a="".endsWith;i(i.P+i.F*n(38)("endsWith"),"String",{endsWith:function(e){var t=o(this,e,"endsWith"),n=arguments.length>1?arguments[1]:void 0,i=r(t.length),s=void 0===n?i:Math.min(r(n),i),l=String(e);return a?a.call(t,l,s):t.slice(s-l.length,s)===l}})},function(e,t,n){var i=n(37),r=n(11);e.exports=function(e,t,n){if(i(t))throw TypeError("String#"+n+" doesn't accept regex!");return String(r(e))}},function(e,t,n){var i=n(1),r=n(5),o=n(6)("match");e.exports=function(e){var t;return i(e)&&(void 0!==(t=e[o])?!!t:"RegExp"==r(e))}},function(e,t,n){var i=n(6)("match");e.exports=function(e){var t=/./;try{"/./"[e](t)}catch(n){try{return t[i]=!1,!"/./"[e](t)}catch(e){}}return!0}}])},11132:function(e){"use strict";var t=Object.prototype.hasOwnProperty,n=Object.prototype.toString,i=Object.defineProperty,r=Object.getOwnPropertyDescriptor,o=function(e){return"function"===typeof Array.isArray?Array.isArray(e):"[object Array]"===n.call(e)},a=function(e){if(!e||"[object Object]"!==n.call(e))return!1;var i,r=t.call(e,"constructor"),o=e.constructor&&e.constructor.prototype&&t.call(e.constructor.prototype,"isPrototypeOf");if(e.constructor&&!r&&!o)return!1;for(i in e);return"undefined"===typeof i||t.call(e,i)},s=function(e,t){i&&"__proto__"===t.name?i(e,t.name,{enumerable:!0,configurable:!0,value:t.newValue,writable:!0}):e[t.name]=t.newValue},l=function(e,n){if("__proto__"===n){if(!t.call(e,n))return;if(r)return r(e,n).value}return e[n]};e.exports=function e(){var t,n,i,r,u,c,d=arguments[0],h=1,f=arguments.length,p=!1;for("boolean"===typeof d&&(p=d,d=arguments[1]||{},h=2),(null==d||"object"!==typeof d&&"function"!==typeof d)&&(d={});h=i?e:function(e,t,n){var i=-1,r=e.length;t<0&&(t=-t>r?0:r+t),(n=n>r?r:n)<0&&(n+=r),r=t>n?0:n-t>>>0,t>>>=0;for(var o=Array(r);++i1?n[o-1]:void 0,s=o>2?n[2]:void 0;for(a=e.length>3&&"function"==typeof a?(o--,a):void 0,s&&r(n[0],n[1],s)&&(a=o<3?void 0:a,o=1),t=Object(t);++i-1&&e%1==0&&e-1}},87109:function(e,t,n){var i=n(27112);e.exports=function(e,t){var n=this.__data__,r=i(n,e);return r<0?(++this.size,n.push([e,t])):n[r][1]=t,this}},34086:function(e,t,n){var i=n(29676),r=n(38384),o=n(95797);e.exports=function(){this.size=0,this.__data__={hash:new i,map:new(o||r),string:new i}}},9255:function(e,t,n){var i=n(32799);e.exports=function(e){var t=i(this,e).delete(e);return this.size-=t?1:0,t}},29186:function(e,t,n){var i=n(32799);e.exports=function(e){return i(this,e).get(e)}},13423:function(e,t,n){var i=n(32799);e.exports=function(e){return i(this,e).has(e)}},73739:function(e,t,n){var i=n(32799);e.exports=function(e,t){var n=i(this,e),r=n.size;return n.set(e,t),this.size+=n.size==r?0:1,this}},49620:function(e,t,n){var i=n(68136)(Object,"create");e.exports=i},4221:function(e){e.exports=function(e){var t=[];if(null!=e)for(var n in Object(e))t.push(n);return t}},49494:function(e,t,n){e=n.nmd(e);var i=n(31032),r=t&&!t.nodeType&&t,o=r&&e&&!e.nodeType&&e,a=o&&o.exports===r&&i.process,s=function(){try{var e=o&&o.require&&o.require("util").types;return e||a&&a.binding&&a.binding("util")}catch(t){}}();e.exports=s},43581:function(e){var t=Object.prototype.toString;e.exports=function(e){return t.call(e)}},12709:function(e){e.exports=function(e,t){return function(n){return e(t(n))}}},64262:function(e,t,n){var i=n(13665),r=Math.max;e.exports=function(e,t,n){return t=r(void 0===t?e.length-1:t,0),function(){for(var o=arguments,a=-1,s=r(o.length-t,0),l=Array(s);++a0){if(++n>=800)return arguments[0]}else n=0;return e.apply(void 0,arguments)}}},20511:function(e,t,n){var i=n(38384);e.exports=function(){this.__data__=new i,this.size=0}},50835:function(e){e.exports=function(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n}},90707:function(e){e.exports=function(e){return this.__data__.get(e)}},18832:function(e){e.exports=function(e){return this.__data__.has(e)}},35077:function(e,t,n){var i=n(38384),r=n(95797),o=n(78059);e.exports=function(e,t){var n=this.__data__;if(n instanceof i){var a=n.__data__;if(!r||a.length<199)return a.push([e,t]),this.size=++n.size,this;n=this.__data__=new o(a)}return n.set(e,t),this.size=n.size,this}},27907:function(e){var t=Function.prototype.toString;e.exports=function(e){if(null!=e){try{return t.call(e)}catch(n){}try{return e+""}catch(n){}}return""}},71547:function(e){e.exports=function(e){return function(){return e}}},29231:function(e){e.exports=function(e,t){return e===t||e!==e&&t!==t}},2100:function(e){e.exports=function(e){return e}},34963:function(e,t,n){var i=n(4906),r=n(43141),o=Object.prototype,a=o.hasOwnProperty,s=o.propertyIsEnumerable,l=i(function(){return arguments}())?i:function(e){return r(e)&&a.call(e,"callee")&&!s.call(e,"callee")};e.exports=l},93629:function(e){var t=Array.isArray;e.exports=t},21473:function(e,t,n){var i=n(74786),r=n(24635);e.exports=function(e){return null!=e&&r(e.length)&&!i(e)}},56279:function(e,t,n){var i=n(21473),r=n(43141);e.exports=function(e){return r(e)&&i(e)}},5174:function(e,t,n){e=n.nmd(e);var i=n(97009),r=n(49488),o=t&&!t.nodeType&&t,a=o&&e&&!e.nodeType&&e,s=a&&a.exports===o?i.Buffer:void 0,l=(s?s.isBuffer:void 0)||r;e.exports=l},74786:function(e,t,n){var i=n(39066),r=n(8092);e.exports=function(e){if(!r(e))return!1;var t=i(e);return"[object Function]"==t||"[object GeneratorFunction]"==t||"[object AsyncFunction]"==t||"[object Proxy]"==t}},24635:function(e){e.exports=function(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=9007199254740991}},8092:function(e){e.exports=function(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}},43141:function(e){e.exports=function(e){return null!=e&&"object"==typeof e}},93977:function(e,t,n){var i=n(39066),r=n(31137),o=n(43141),a=Function.prototype,s=Object.prototype,l=a.toString,u=s.hasOwnProperty,c=l.call(Object);e.exports=function(e){if(!o(e)||"[object Object]"!=i(e))return!1;var t=r(e);if(null===t)return!0;var n=u.call(t,"constructor")&&t.constructor;return"function"==typeof n&&n instanceof n&&l.call(n)==c}},19102:function(e,t,n){var i=n(68150),r=n(16194),o=n(49494),a=o&&o.isTypedArray,s=a?r(a):i;e.exports=s},73961:function(e,t,n){var i=n(47538),r=n(8664),o=n(21473);e.exports=function(e){return o(e)?i(e,!0):r(e)}},763:function(e,t,n){var i;e=n.nmd(e),function(){var r,o="Expected a function",a="__lodash_hash_undefined__",s="__lodash_placeholder__",l=16,u=32,c=64,d=128,h=256,f=1/0,p=9007199254740991,g=NaN,v=4294967295,m=[["ary",d],["bind",1],["bindKey",2],["curry",8],["curryRight",l],["flip",512],["partial",u],["partialRight",c],["rearg",h]],y="[object Arguments]",_="[object Array]",b="[object Boolean]",k="[object Date]",C="[object Error]",w="[object Function]",S="[object GeneratorFunction]",x="[object Map]",L="[object Number]",N="[object Object]",D="[object Promise]",E="[object RegExp]",I="[object Set]",T="[object String]",O="[object Symbol]",A="[object WeakMap]",P="[object ArrayBuffer]",M="[object DataView]",R="[object Float32Array]",Z="[object Float64Array]",F="[object Int8Array]",B="[object Int16Array]",W="[object Int32Array]",V="[object Uint8Array]",H="[object Uint8ClampedArray]",j="[object Uint16Array]",z="[object Uint32Array]",U=/\b__p \+= '';/g,K=/\b(__p \+=) '' \+/g,q=/(__e\(.*?\)|\b__t\)) \+\n'';/g,G=/&(?:amp|lt|gt|quot|#39);/g,Q=/[&<>"']/g,$=RegExp(G.source),Y=RegExp(Q.source),X=/<%-([\s\S]+?)%>/g,J=/<%([\s\S]+?)%>/g,ee=/<%=([\s\S]+?)%>/g,te=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,ne=/^\w*$/,ie=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,re=/[\\^$.*+?()[\]{}|]/g,oe=RegExp(re.source),ae=/^\s+/,se=/\s/,le=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,ue=/\{\n\/\* \[wrapped with (.+)\] \*/,ce=/,? & /,de=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,he=/[()=,{}\[\]\/\s]/,fe=/\\(\\)?/g,pe=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,ge=/\w*$/,ve=/^[-+]0x[0-9a-f]+$/i,me=/^0b[01]+$/i,ye=/^\[object .+?Constructor\]$/,_e=/^0o[0-7]+$/i,be=/^(?:0|[1-9]\d*)$/,ke=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,Ce=/($^)/,we=/['\n\r\u2028\u2029\\]/g,Se="\\ud800-\\udfff",xe="\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff",Le="\\u2700-\\u27bf",Ne="a-z\\xdf-\\xf6\\xf8-\\xff",De="A-Z\\xc0-\\xd6\\xd8-\\xde",Ee="\\ufe0e\\ufe0f",Ie="\\xac\\xb1\\xd7\\xf7\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf\\u2000-\\u206f \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",Te="['\u2019]",Oe="["+Se+"]",Ae="["+Ie+"]",Pe="["+xe+"]",Me="\\d+",Re="["+Le+"]",Ze="["+Ne+"]",Fe="[^"+Se+Ie+Me+Le+Ne+De+"]",Be="\\ud83c[\\udffb-\\udfff]",We="[^"+Se+"]",Ve="(?:\\ud83c[\\udde6-\\uddff]){2}",He="[\\ud800-\\udbff][\\udc00-\\udfff]",je="["+De+"]",ze="\\u200d",Ue="(?:"+Ze+"|"+Fe+")",Ke="(?:"+je+"|"+Fe+")",qe="(?:['\u2019](?:d|ll|m|re|s|t|ve))?",Ge="(?:['\u2019](?:D|LL|M|RE|S|T|VE))?",Qe="(?:"+Pe+"|"+Be+")"+"?",$e="["+Ee+"]?",Ye=$e+Qe+("(?:"+ze+"(?:"+[We,Ve,He].join("|")+")"+$e+Qe+")*"),Xe="(?:"+[Re,Ve,He].join("|")+")"+Ye,Je="(?:"+[We+Pe+"?",Pe,Ve,He,Oe].join("|")+")",et=RegExp(Te,"g"),tt=RegExp(Pe,"g"),nt=RegExp(Be+"(?="+Be+")|"+Je+Ye,"g"),it=RegExp([je+"?"+Ze+"+"+qe+"(?="+[Ae,je,"$"].join("|")+")",Ke+"+"+Ge+"(?="+[Ae,je+Ue,"$"].join("|")+")",je+"?"+Ue+"+"+qe,je+"+"+Ge,"\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])","\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",Me,Xe].join("|"),"g"),rt=RegExp("["+ze+Se+xe+Ee+"]"),ot=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,at=["Array","Buffer","DataView","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Map","Math","Object","Promise","RegExp","Set","String","Symbol","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap","_","clearTimeout","isFinite","parseInt","setTimeout"],st=-1,lt={};lt[R]=lt[Z]=lt[F]=lt[B]=lt[W]=lt[V]=lt[H]=lt[j]=lt[z]=!0,lt[y]=lt[_]=lt[P]=lt[b]=lt[M]=lt[k]=lt[C]=lt[w]=lt[x]=lt[L]=lt[N]=lt[E]=lt[I]=lt[T]=lt[A]=!1;var ut={};ut[y]=ut[_]=ut[P]=ut[M]=ut[b]=ut[k]=ut[R]=ut[Z]=ut[F]=ut[B]=ut[W]=ut[x]=ut[L]=ut[N]=ut[E]=ut[I]=ut[T]=ut[O]=ut[V]=ut[H]=ut[j]=ut[z]=!0,ut[C]=ut[w]=ut[A]=!1;var ct={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},dt=parseFloat,ht=parseInt,ft="object"==typeof n.g&&n.g&&n.g.Object===Object&&n.g,pt="object"==typeof self&&self&&self.Object===Object&&self,gt=ft||pt||Function("return this")(),vt=t&&!t.nodeType&&t,mt=vt&&e&&!e.nodeType&&e,yt=mt&&mt.exports===vt,_t=yt&&ft.process,bt=function(){try{var e=mt&&mt.require&&mt.require("util").types;return e||_t&&_t.binding&&_t.binding("util")}catch(t){}}(),kt=bt&&bt.isArrayBuffer,Ct=bt&&bt.isDate,wt=bt&&bt.isMap,St=bt&&bt.isRegExp,xt=bt&&bt.isSet,Lt=bt&&bt.isTypedArray;function Nt(e,t,n){switch(n.length){case 0:return e.call(t);case 1:return e.call(t,n[0]);case 2:return e.call(t,n[0],n[1]);case 3:return e.call(t,n[0],n[1],n[2])}return e.apply(t,n)}function Dt(e,t,n,i){for(var r=-1,o=null==e?0:e.length;++r-1}function Pt(e,t,n){for(var i=-1,r=null==e?0:e.length;++i-1;);return n}function rn(e,t){for(var n=e.length;n--&&jt(t,e[n],0)>-1;);return n}function on(e,t){for(var n=e.length,i=0;n--;)e[n]===t&&++i;return i}var an=Gt({"\xc0":"A","\xc1":"A","\xc2":"A","\xc3":"A","\xc4":"A","\xc5":"A","\xe0":"a","\xe1":"a","\xe2":"a","\xe3":"a","\xe4":"a","\xe5":"a","\xc7":"C","\xe7":"c","\xd0":"D","\xf0":"d","\xc8":"E","\xc9":"E","\xca":"E","\xcb":"E","\xe8":"e","\xe9":"e","\xea":"e","\xeb":"e","\xcc":"I","\xcd":"I","\xce":"I","\xcf":"I","\xec":"i","\xed":"i","\xee":"i","\xef":"i","\xd1":"N","\xf1":"n","\xd2":"O","\xd3":"O","\xd4":"O","\xd5":"O","\xd6":"O","\xd8":"O","\xf2":"o","\xf3":"o","\xf4":"o","\xf5":"o","\xf6":"o","\xf8":"o","\xd9":"U","\xda":"U","\xdb":"U","\xdc":"U","\xf9":"u","\xfa":"u","\xfb":"u","\xfc":"u","\xdd":"Y","\xfd":"y","\xff":"y","\xc6":"Ae","\xe6":"ae","\xde":"Th","\xfe":"th","\xdf":"ss","\u0100":"A","\u0102":"A","\u0104":"A","\u0101":"a","\u0103":"a","\u0105":"a","\u0106":"C","\u0108":"C","\u010a":"C","\u010c":"C","\u0107":"c","\u0109":"c","\u010b":"c","\u010d":"c","\u010e":"D","\u0110":"D","\u010f":"d","\u0111":"d","\u0112":"E","\u0114":"E","\u0116":"E","\u0118":"E","\u011a":"E","\u0113":"e","\u0115":"e","\u0117":"e","\u0119":"e","\u011b":"e","\u011c":"G","\u011e":"G","\u0120":"G","\u0122":"G","\u011d":"g","\u011f":"g","\u0121":"g","\u0123":"g","\u0124":"H","\u0126":"H","\u0125":"h","\u0127":"h","\u0128":"I","\u012a":"I","\u012c":"I","\u012e":"I","\u0130":"I","\u0129":"i","\u012b":"i","\u012d":"i","\u012f":"i","\u0131":"i","\u0134":"J","\u0135":"j","\u0136":"K","\u0137":"k","\u0138":"k","\u0139":"L","\u013b":"L","\u013d":"L","\u013f":"L","\u0141":"L","\u013a":"l","\u013c":"l","\u013e":"l","\u0140":"l","\u0142":"l","\u0143":"N","\u0145":"N","\u0147":"N","\u014a":"N","\u0144":"n","\u0146":"n","\u0148":"n","\u014b":"n","\u014c":"O","\u014e":"O","\u0150":"O","\u014d":"o","\u014f":"o","\u0151":"o","\u0154":"R","\u0156":"R","\u0158":"R","\u0155":"r","\u0157":"r","\u0159":"r","\u015a":"S","\u015c":"S","\u015e":"S","\u0160":"S","\u015b":"s","\u015d":"s","\u015f":"s","\u0161":"s","\u0162":"T","\u0164":"T","\u0166":"T","\u0163":"t","\u0165":"t","\u0167":"t","\u0168":"U","\u016a":"U","\u016c":"U","\u016e":"U","\u0170":"U","\u0172":"U","\u0169":"u","\u016b":"u","\u016d":"u","\u016f":"u","\u0171":"u","\u0173":"u","\u0174":"W","\u0175":"w","\u0176":"Y","\u0177":"y","\u0178":"Y","\u0179":"Z","\u017b":"Z","\u017d":"Z","\u017a":"z","\u017c":"z","\u017e":"z","\u0132":"IJ","\u0133":"ij","\u0152":"Oe","\u0153":"oe","\u0149":"'n","\u017f":"s"}),sn=Gt({"&":"&","<":"<",">":">",'"':""","'":"'"});function ln(e){return"\\"+ct[e]}function un(e){return rt.test(e)}function cn(e){var t=-1,n=Array(e.size);return e.forEach((function(e,i){n[++t]=[i,e]})),n}function dn(e,t){return function(n){return e(t(n))}}function hn(e,t){for(var n=-1,i=e.length,r=0,o=[];++n",""":'"',"'":"'"});var _n=function e(t){var n=(t=null==t?gt:_n.defaults(gt.Object(),t,_n.pick(gt,at))).Array,i=t.Date,se=t.Error,Se=t.Function,xe=t.Math,Le=t.Object,Ne=t.RegExp,De=t.String,Ee=t.TypeError,Ie=n.prototype,Te=Se.prototype,Oe=Le.prototype,Ae=t["__core-js_shared__"],Pe=Te.toString,Me=Oe.hasOwnProperty,Re=0,Ze=function(){var e=/[^.]+$/.exec(Ae&&Ae.keys&&Ae.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}(),Fe=Oe.toString,Be=Pe.call(Le),We=gt._,Ve=Ne("^"+Pe.call(Me).replace(re,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),He=yt?t.Buffer:r,je=t.Symbol,ze=t.Uint8Array,Ue=He?He.allocUnsafe:r,Ke=dn(Le.getPrototypeOf,Le),qe=Le.create,Ge=Oe.propertyIsEnumerable,Qe=Ie.splice,$e=je?je.isConcatSpreadable:r,Ye=je?je.iterator:r,Xe=je?je.toStringTag:r,Je=function(){try{var e=fo(Le,"defineProperty");return e({},"",{}),e}catch(t){}}(),nt=t.clearTimeout!==gt.clearTimeout&&t.clearTimeout,rt=i&&i.now!==gt.Date.now&&i.now,ct=t.setTimeout!==gt.setTimeout&&t.setTimeout,ft=xe.ceil,pt=xe.floor,vt=Le.getOwnPropertySymbols,mt=He?He.isBuffer:r,_t=t.isFinite,bt=Ie.join,Wt=dn(Le.keys,Le),Gt=xe.max,bn=xe.min,kn=i.now,Cn=t.parseInt,wn=xe.random,Sn=Ie.reverse,xn=fo(t,"DataView"),Ln=fo(t,"Map"),Nn=fo(t,"Promise"),Dn=fo(t,"Set"),En=fo(t,"WeakMap"),In=fo(Le,"create"),Tn=En&&new En,On={},An=Wo(xn),Pn=Wo(Ln),Mn=Wo(Nn),Rn=Wo(Dn),Zn=Wo(En),Fn=je?je.prototype:r,Bn=Fn?Fn.valueOf:r,Wn=Fn?Fn.toString:r;function Vn(e){if(is(e)&&!Ka(e)&&!(e instanceof Un)){if(e instanceof zn)return e;if(Me.call(e,"__wrapped__"))return Vo(e)}return new zn(e)}var Hn=function(){function e(){}return function(t){if(!ns(t))return{};if(qe)return qe(t);e.prototype=t;var n=new e;return e.prototype=r,n}}();function jn(){}function zn(e,t){this.__wrapped__=e,this.__actions__=[],this.__chain__=!!t,this.__index__=0,this.__values__=r}function Un(e){this.__wrapped__=e,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=v,this.__views__=[]}function Kn(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t=t?e:t)),e}function ui(e,t,n,i,o,a){var s,l=1&t,u=2&t,c=4&t;if(n&&(s=o?n(e,i,o,a):n(e)),s!==r)return s;if(!ns(e))return e;var d=Ka(e);if(d){if(s=function(e){var t=e.length,n=new e.constructor(t);t&&"string"==typeof e[0]&&Me.call(e,"index")&&(n.index=e.index,n.input=e.input);return n}(e),!l)return Ir(e,s)}else{var h=vo(e),f=h==w||h==S;if($a(e))return Sr(e,l);if(h==N||h==y||f&&!o){if(s=u||f?{}:yo(e),!l)return u?function(e,t){return Tr(e,go(e),t)}(e,function(e,t){return e&&Tr(t,Ps(t),e)}(s,e)):function(e,t){return Tr(e,po(e),t)}(e,oi(s,e))}else{if(!ut[h])return o?e:{};s=function(e,t,n){var i=e.constructor;switch(t){case P:return xr(e);case b:case k:return new i(+e);case M:return function(e,t){var n=t?xr(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.byteLength)}(e,n);case R:case Z:case F:case B:case W:case V:case H:case j:case z:return Lr(e,n);case x:return new i;case L:case T:return new i(e);case E:return function(e){var t=new e.constructor(e.source,ge.exec(e));return t.lastIndex=e.lastIndex,t}(e);case I:return new i;case O:return r=e,Bn?Le(Bn.call(r)):{}}var r}(e,h,l)}}a||(a=new $n);var p=a.get(e);if(p)return p;a.set(e,s),ls(e)?e.forEach((function(i){s.add(ui(i,t,n,i,e,a))})):rs(e)&&e.forEach((function(i,r){s.set(r,ui(i,t,n,r,e,a))}));var g=d?r:(c?u?oo:ro:u?Ps:As)(e);return Et(g||e,(function(i,r){g&&(i=e[r=i]),ni(s,r,ui(i,t,n,r,e,a))})),s}function ci(e,t,n){var i=n.length;if(null==e)return!i;for(e=Le(e);i--;){var o=n[i],a=t[o],s=e[o];if(s===r&&!(o in e)||!a(s))return!1}return!0}function di(e,t,n){if("function"!=typeof e)throw new Ee(o);return Ao((function(){e.apply(r,n)}),t)}function hi(e,t,n,i){var r=-1,o=At,a=!0,s=e.length,l=[],u=t.length;if(!s)return l;n&&(t=Mt(t,Jt(n))),i?(o=Pt,a=!1):t.length>=200&&(o=tn,a=!1,t=new Qn(t));e:for(;++r-1},qn.prototype.set=function(e,t){var n=this.__data__,i=ii(n,e);return i<0?(++this.size,n.push([e,t])):n[i][1]=t,this},Gn.prototype.clear=function(){this.size=0,this.__data__={hash:new Kn,map:new(Ln||qn),string:new Kn}},Gn.prototype.delete=function(e){var t=co(this,e).delete(e);return this.size-=t?1:0,t},Gn.prototype.get=function(e){return co(this,e).get(e)},Gn.prototype.has=function(e){return co(this,e).has(e)},Gn.prototype.set=function(e,t){var n=co(this,e),i=n.size;return n.set(e,t),this.size+=n.size==i?0:1,this},Qn.prototype.add=Qn.prototype.push=function(e){return this.__data__.set(e,a),this},Qn.prototype.has=function(e){return this.__data__.has(e)},$n.prototype.clear=function(){this.__data__=new qn,this.size=0},$n.prototype.delete=function(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n},$n.prototype.get=function(e){return this.__data__.get(e)},$n.prototype.has=function(e){return this.__data__.has(e)},$n.prototype.set=function(e,t){var n=this.__data__;if(n instanceof qn){var i=n.__data__;if(!Ln||i.length<199)return i.push([e,t]),this.size=++n.size,this;n=this.__data__=new Gn(i)}return n.set(e,t),this.size=n.size,this};var fi=Pr(ki),pi=Pr(Ci,!0);function gi(e,t){var n=!0;return fi(e,(function(e,i,r){return n=!!t(e,i,r)})),n}function vi(e,t,n){for(var i=-1,o=e.length;++i0&&n(s)?t>1?yi(s,t-1,n,i,r):Rt(r,s):i||(r[r.length]=s)}return r}var _i=Mr(),bi=Mr(!0);function ki(e,t){return e&&_i(e,t,As)}function Ci(e,t){return e&&bi(e,t,As)}function wi(e,t){return Ot(t,(function(t){return Ja(e[t])}))}function Si(e,t){for(var n=0,i=(t=br(t,e)).length;null!=e&&nt}function Di(e,t){return null!=e&&Me.call(e,t)}function Ei(e,t){return null!=e&&t in Le(e)}function Ii(e,t,i){for(var o=i?Pt:At,a=e[0].length,s=e.length,l=s,u=n(s),c=1/0,d=[];l--;){var h=e[l];l&&t&&(h=Mt(h,Jt(t))),c=bn(h.length,c),u[l]=!i&&(t||a>=120&&h.length>=120)?new Qn(l&&h):r}h=e[0];var f=-1,p=u[0];e:for(;++f=s?l:l*("desc"==n[i]?-1:1)}return e.index-t.index}(e,t,n)}))}function Ki(e,t,n){for(var i=-1,r=t.length,o={};++i-1;)s!==e&&Qe.call(s,l,1),Qe.call(e,l,1);return e}function Gi(e,t){for(var n=e?t.length:0,i=n-1;n--;){var r=t[n];if(n==i||r!==o){var o=r;bo(r)?Qe.call(e,r,1):hr(e,r)}}return e}function Qi(e,t){return e+pt(wn()*(t-e+1))}function $i(e,t){var n="";if(!e||t<1||t>p)return n;do{t%2&&(n+=e),(t=pt(t/2))&&(e+=e)}while(t);return n}function Yi(e,t){return Po(Do(e,t,ol),e+"")}function Xi(e){return Xn(Hs(e))}function Ji(e,t){var n=Hs(e);return Zo(n,li(t,0,n.length))}function er(e,t,n,i){if(!ns(e))return e;for(var o=-1,a=(t=br(t,e)).length,s=a-1,l=e;null!=l&&++oo?0:o+t),(i=i>o?o:i)<0&&(i+=o),o=t>i?0:i-t>>>0,t>>>=0;for(var a=n(o);++r>>1,a=e[o];null!==a&&!cs(a)&&(n?a<=t:a=200){var u=t?null:$r(e);if(u)return fn(u);a=!1,r=tn,l=new Qn}else l=t?[]:s;e:for(;++i=i?e:rr(e,t,n)}var wr=nt||function(e){return gt.clearTimeout(e)};function Sr(e,t){if(t)return e.slice();var n=e.length,i=Ue?Ue(n):new e.constructor(n);return e.copy(i),i}function xr(e){var t=new e.constructor(e.byteLength);return new ze(t).set(new ze(e)),t}function Lr(e,t){var n=t?xr(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.length)}function Nr(e,t){if(e!==t){var n=e!==r,i=null===e,o=e===e,a=cs(e),s=t!==r,l=null===t,u=t===t,c=cs(t);if(!l&&!c&&!a&&e>t||a&&s&&u&&!l&&!c||i&&s&&u||!n&&u||!o)return 1;if(!i&&!a&&!c&&e1?n[o-1]:r,s=o>2?n[2]:r;for(a=e.length>3&&"function"==typeof a?(o--,a):r,s&&ko(n[0],n[1],s)&&(a=o<3?r:a,o=1),t=Le(t);++i-1?o[a?t[s]:s]:r}}function Wr(e){return io((function(t){var n=t.length,i=n,a=zn.prototype.thru;for(e&&t.reverse();i--;){var s=t[i];if("function"!=typeof s)throw new Ee(o);if(a&&!l&&"wrapper"==so(s))var l=new zn([],!0)}for(i=l?i:n;++i1&&_.reverse(),f&&cl))return!1;var c=a.get(e),d=a.get(t);if(c&&d)return c==t&&d==e;var h=-1,f=!0,p=2&n?new Qn:r;for(a.set(e,t),a.set(t,e);++h-1&&e%1==0&&e1?"& ":"")+t[i],t=t.join(n>2?", ":" "),e.replace(le,"{\n/* [wrapped with "+t+"] */\n")}(i,function(e,t){return Et(m,(function(n){var i="_."+n[0];t&n[1]&&!At(e,i)&&e.push(i)})),e.sort()}(function(e){var t=e.match(ue);return t?t[1].split(ce):[]}(i),n)))}function Ro(e){var t=0,n=0;return function(){var i=kn(),o=16-(i-n);if(n=i,o>0){if(++t>=800)return arguments[0]}else t=0;return e.apply(r,arguments)}}function Zo(e,t){var n=-1,i=e.length,o=i-1;for(t=t===r?i:t;++n1?e[t-1]:r;return n="function"==typeof n?(e.pop(),n):r,sa(e,n)}));function pa(e){var t=Vn(e);return t.__chain__=!0,t}function ga(e,t){return t(e)}var va=io((function(e){var t=e.length,n=t?e[0]:0,i=this.__wrapped__,o=function(t){return si(t,e)};return!(t>1||this.__actions__.length)&&i instanceof Un&&bo(n)?((i=i.slice(n,+n+(t?1:0))).__actions__.push({func:ga,args:[o],thisArg:r}),new zn(i,this.__chain__).thru((function(e){return t&&!e.length&&e.push(r),e}))):this.thru(o)}));var ma=Or((function(e,t,n){Me.call(e,n)?++e[n]:ai(e,n,1)}));var ya=Br(Uo),_a=Br(Ko);function ba(e,t){return(Ka(e)?Et:fi)(e,uo(t,3))}function ka(e,t){return(Ka(e)?It:pi)(e,uo(t,3))}var Ca=Or((function(e,t,n){Me.call(e,n)?e[n].push(t):ai(e,n,[t])}));var wa=Yi((function(e,t,i){var r=-1,o="function"==typeof t,a=Ga(e)?n(e.length):[];return fi(e,(function(e){a[++r]=o?Nt(t,e,i):Ti(e,t,i)})),a})),Sa=Or((function(e,t,n){ai(e,n,t)}));function xa(e,t){return(Ka(e)?Mt:Wi)(e,uo(t,3))}var La=Or((function(e,t,n){e[n?0:1].push(t)}),(function(){return[[],[]]}));var Na=Yi((function(e,t){if(null==e)return[];var n=t.length;return n>1&&ko(e,t[0],t[1])?t=[]:n>2&&ko(t[0],t[1],t[2])&&(t=[t[0]]),Ui(e,yi(t,1),[])})),Da=rt||function(){return gt.Date.now()};function Ea(e,t,n){return t=n?r:t,t=e&&null==t?e.length:t,Xr(e,d,r,r,r,r,t)}function Ia(e,t){var n;if("function"!=typeof t)throw new Ee(o);return e=vs(e),function(){return--e>0&&(n=t.apply(this,arguments)),e<=1&&(t=r),n}}var Ta=Yi((function(e,t,n){var i=1;if(n.length){var r=hn(n,lo(Ta));i|=u}return Xr(e,i,t,n,r)})),Oa=Yi((function(e,t,n){var i=3;if(n.length){var r=hn(n,lo(Oa));i|=u}return Xr(t,i,e,n,r)}));function Aa(e,t,n){var i,a,s,l,u,c,d=0,h=!1,f=!1,p=!0;if("function"!=typeof e)throw new Ee(o);function g(t){var n=i,o=a;return i=a=r,d=t,l=e.apply(o,n)}function v(e){return d=e,u=Ao(y,t),h?g(e):l}function m(e){var n=e-c;return c===r||n>=t||n<0||f&&e-d>=s}function y(){var e=Da();if(m(e))return _(e);u=Ao(y,function(e){var n=t-(e-c);return f?bn(n,s-(e-d)):n}(e))}function _(e){return u=r,p&&i?g(e):(i=a=r,l)}function b(){var e=Da(),n=m(e);if(i=arguments,a=this,c=e,n){if(u===r)return v(c);if(f)return wr(u),u=Ao(y,t),g(c)}return u===r&&(u=Ao(y,t)),l}return t=ys(t)||0,ns(n)&&(h=!!n.leading,s=(f="maxWait"in n)?Gt(ys(n.maxWait)||0,t):s,p="trailing"in n?!!n.trailing:p),b.cancel=function(){u!==r&&wr(u),d=0,i=c=a=u=r},b.flush=function(){return u===r?l:_(Da())},b}var Pa=Yi((function(e,t){return di(e,1,t)})),Ma=Yi((function(e,t,n){return di(e,ys(t)||0,n)}));function Ra(e,t){if("function"!=typeof e||null!=t&&"function"!=typeof t)throw new Ee(o);var n=function n(){var i=arguments,r=t?t.apply(this,i):i[0],o=n.cache;if(o.has(r))return o.get(r);var a=e.apply(this,i);return n.cache=o.set(r,a)||o,a};return n.cache=new(Ra.Cache||Gn),n}function Za(e){if("function"!=typeof e)throw new Ee(o);return function(){var t=arguments;switch(t.length){case 0:return!e.call(this);case 1:return!e.call(this,t[0]);case 2:return!e.call(this,t[0],t[1]);case 3:return!e.call(this,t[0],t[1],t[2])}return!e.apply(this,t)}}Ra.Cache=Gn;var Fa=kr((function(e,t){var n=(t=1==t.length&&Ka(t[0])?Mt(t[0],Jt(uo())):Mt(yi(t,1),Jt(uo()))).length;return Yi((function(i){for(var r=-1,o=bn(i.length,n);++r=t})),Ua=Oi(function(){return arguments}())?Oi:function(e){return is(e)&&Me.call(e,"callee")&&!Ge.call(e,"callee")},Ka=n.isArray,qa=kt?Jt(kt):function(e){return is(e)&&Li(e)==P};function Ga(e){return null!=e&&ts(e.length)&&!Ja(e)}function Qa(e){return is(e)&&Ga(e)}var $a=mt||yl,Ya=Ct?Jt(Ct):function(e){return is(e)&&Li(e)==k};function Xa(e){if(!is(e))return!1;var t=Li(e);return t==C||"[object DOMException]"==t||"string"==typeof e.message&&"string"==typeof e.name&&!as(e)}function Ja(e){if(!ns(e))return!1;var t=Li(e);return t==w||t==S||"[object AsyncFunction]"==t||"[object Proxy]"==t}function es(e){return"number"==typeof e&&e==vs(e)}function ts(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=p}function ns(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}function is(e){return null!=e&&"object"==typeof e}var rs=wt?Jt(wt):function(e){return is(e)&&vo(e)==x};function os(e){return"number"==typeof e||is(e)&&Li(e)==L}function as(e){if(!is(e)||Li(e)!=N)return!1;var t=Ke(e);if(null===t)return!0;var n=Me.call(t,"constructor")&&t.constructor;return"function"==typeof n&&n instanceof n&&Pe.call(n)==Be}var ss=St?Jt(St):function(e){return is(e)&&Li(e)==E};var ls=xt?Jt(xt):function(e){return is(e)&&vo(e)==I};function us(e){return"string"==typeof e||!Ka(e)&&is(e)&&Li(e)==T}function cs(e){return"symbol"==typeof e||is(e)&&Li(e)==O}var ds=Lt?Jt(Lt):function(e){return is(e)&&ts(e.length)&&!!lt[Li(e)]};var hs=qr(Bi),fs=qr((function(e,t){return e<=t}));function ps(e){if(!e)return[];if(Ga(e))return us(e)?vn(e):Ir(e);if(Ye&&e[Ye])return function(e){for(var t,n=[];!(t=e.next()).done;)n.push(t.value);return n}(e[Ye]());var t=vo(e);return(t==x?cn:t==I?fn:Hs)(e)}function gs(e){return e?(e=ys(e))===f||e===-1/0?17976931348623157e292*(e<0?-1:1):e===e?e:0:0===e?e:0}function vs(e){var t=gs(e),n=t%1;return t===t?n?t-n:t:0}function ms(e){return e?li(vs(e),0,v):0}function ys(e){if("number"==typeof e)return e;if(cs(e))return g;if(ns(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=ns(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=Xt(e);var n=me.test(e);return n||_e.test(e)?ht(e.slice(2),n?2:8):ve.test(e)?g:+e}function _s(e){return Tr(e,Ps(e))}function bs(e){return null==e?"":cr(e)}var ks=Ar((function(e,t){if(xo(t)||Ga(t))Tr(t,As(t),e);else for(var n in t)Me.call(t,n)&&ni(e,n,t[n])})),Cs=Ar((function(e,t){Tr(t,Ps(t),e)})),ws=Ar((function(e,t,n,i){Tr(t,Ps(t),e,i)})),Ss=Ar((function(e,t,n,i){Tr(t,As(t),e,i)})),xs=io(si);var Ls=Yi((function(e,t){e=Le(e);var n=-1,i=t.length,o=i>2?t[2]:r;for(o&&ko(t[0],t[1],o)&&(i=1);++n1),t})),Tr(e,oo(e),n),i&&(n=ui(n,7,to));for(var r=t.length;r--;)hr(n,t[r]);return n}));var Fs=io((function(e,t){return null==e?{}:function(e,t){return Ki(e,t,(function(t,n){return Es(e,n)}))}(e,t)}));function Bs(e,t){if(null==e)return{};var n=Mt(oo(e),(function(e){return[e]}));return t=uo(t),Ki(e,n,(function(e,n){return t(e,n[0])}))}var Ws=Yr(As),Vs=Yr(Ps);function Hs(e){return null==e?[]:en(e,As(e))}var js=Zr((function(e,t,n){return t=t.toLowerCase(),e+(n?zs(t):t)}));function zs(e){return Xs(bs(e).toLowerCase())}function Us(e){return(e=bs(e))&&e.replace(ke,an).replace(tt,"")}var Ks=Zr((function(e,t,n){return e+(n?"-":"")+t.toLowerCase()})),qs=Zr((function(e,t,n){return e+(n?" ":"")+t.toLowerCase()})),Gs=Rr("toLowerCase");var Qs=Zr((function(e,t,n){return e+(n?"_":"")+t.toLowerCase()}));var $s=Zr((function(e,t,n){return e+(n?" ":"")+Xs(t)}));var Ys=Zr((function(e,t,n){return e+(n?" ":"")+t.toUpperCase()})),Xs=Rr("toUpperCase");function Js(e,t,n){return e=bs(e),(t=n?r:t)===r?function(e){return ot.test(e)}(e)?function(e){return e.match(it)||[]}(e):function(e){return e.match(de)||[]}(e):e.match(t)||[]}var el=Yi((function(e,t){try{return Nt(e,r,t)}catch(n){return Xa(n)?n:new se(n)}})),tl=io((function(e,t){return Et(t,(function(t){t=Bo(t),ai(e,t,Ta(e[t],e))})),e}));function nl(e){return function(){return e}}var il=Wr(),rl=Wr(!0);function ol(e){return e}function al(e){return Ri("function"==typeof e?e:ui(e,1))}var sl=Yi((function(e,t){return function(n){return Ti(n,e,t)}})),ll=Yi((function(e,t){return function(n){return Ti(e,n,t)}}));function ul(e,t,n){var i=As(t),r=wi(t,i);null!=n||ns(t)&&(r.length||!i.length)||(n=t,t=e,e=this,r=wi(t,As(t)));var o=!(ns(n)&&"chain"in n)||!!n.chain,a=Ja(e);return Et(r,(function(n){var i=t[n];e[n]=i,a&&(e.prototype[n]=function(){var t=this.__chain__;if(o||t){var n=e(this.__wrapped__),r=n.__actions__=Ir(this.__actions__);return r.push({func:i,args:arguments,thisArg:e}),n.__chain__=t,n}return i.apply(e,Rt([this.value()],arguments))})})),e}function cl(){}var dl=zr(Mt),hl=zr(Tt),fl=zr(Bt);function pl(e){return Co(e)?qt(Bo(e)):function(e){return function(t){return Si(t,e)}}(e)}var gl=Kr(),vl=Kr(!0);function ml(){return[]}function yl(){return!1}var _l=jr((function(e,t){return e+t}),0),bl=Qr("ceil"),kl=jr((function(e,t){return e/t}),1),Cl=Qr("floor");var wl=jr((function(e,t){return e*t}),1),Sl=Qr("round"),xl=jr((function(e,t){return e-t}),0);return Vn.after=function(e,t){if("function"!=typeof t)throw new Ee(o);return e=vs(e),function(){if(--e<1)return t.apply(this,arguments)}},Vn.ary=Ea,Vn.assign=ks,Vn.assignIn=Cs,Vn.assignInWith=ws,Vn.assignWith=Ss,Vn.at=xs,Vn.before=Ia,Vn.bind=Ta,Vn.bindAll=tl,Vn.bindKey=Oa,Vn.castArray=function(){if(!arguments.length)return[];var e=arguments[0];return Ka(e)?e:[e]},Vn.chain=pa,Vn.chunk=function(e,t,i){t=(i?ko(e,t,i):t===r)?1:Gt(vs(t),0);var o=null==e?0:e.length;if(!o||t<1)return[];for(var a=0,s=0,l=n(ft(o/t));ao?0:o+n),(i=i===r||i>o?o:vs(i))<0&&(i+=o),i=n>i?0:ms(i);n>>0)?(e=bs(e))&&("string"==typeof t||null!=t&&!ss(t))&&!(t=cr(t))&&un(e)?Cr(vn(e),0,n):e.split(t,n):[]},Vn.spread=function(e,t){if("function"!=typeof e)throw new Ee(o);return t=null==t?0:Gt(vs(t),0),Yi((function(n){var i=n[t],r=Cr(n,0,t);return i&&Rt(r,i),Nt(e,this,r)}))},Vn.tail=function(e){var t=null==e?0:e.length;return t?rr(e,1,t):[]},Vn.take=function(e,t,n){return e&&e.length?rr(e,0,(t=n||t===r?1:vs(t))<0?0:t):[]},Vn.takeRight=function(e,t,n){var i=null==e?0:e.length;return i?rr(e,(t=i-(t=n||t===r?1:vs(t)))<0?0:t,i):[]},Vn.takeRightWhile=function(e,t){return e&&e.length?pr(e,uo(t,3),!1,!0):[]},Vn.takeWhile=function(e,t){return e&&e.length?pr(e,uo(t,3)):[]},Vn.tap=function(e,t){return t(e),e},Vn.throttle=function(e,t,n){var i=!0,r=!0;if("function"!=typeof e)throw new Ee(o);return ns(n)&&(i="leading"in n?!!n.leading:i,r="trailing"in n?!!n.trailing:r),Aa(e,t,{leading:i,maxWait:t,trailing:r})},Vn.thru=ga,Vn.toArray=ps,Vn.toPairs=Ws,Vn.toPairsIn=Vs,Vn.toPath=function(e){return Ka(e)?Mt(e,Bo):cs(e)?[e]:Ir(Fo(bs(e)))},Vn.toPlainObject=_s,Vn.transform=function(e,t,n){var i=Ka(e),r=i||$a(e)||ds(e);if(t=uo(t,4),null==n){var o=e&&e.constructor;n=r?i?new o:[]:ns(e)&&Ja(o)?Hn(Ke(e)):{}}return(r?Et:ki)(e,(function(e,i,r){return t(n,e,i,r)})),n},Vn.unary=function(e){return Ea(e,1)},Vn.union=ia,Vn.unionBy=ra,Vn.unionWith=oa,Vn.uniq=function(e){return e&&e.length?dr(e):[]},Vn.uniqBy=function(e,t){return e&&e.length?dr(e,uo(t,2)):[]},Vn.uniqWith=function(e,t){return t="function"==typeof t?t:r,e&&e.length?dr(e,r,t):[]},Vn.unset=function(e,t){return null==e||hr(e,t)},Vn.unzip=aa,Vn.unzipWith=sa,Vn.update=function(e,t,n){return null==e?e:fr(e,t,_r(n))},Vn.updateWith=function(e,t,n,i){return i="function"==typeof i?i:r,null==e?e:fr(e,t,_r(n),i)},Vn.values=Hs,Vn.valuesIn=function(e){return null==e?[]:en(e,Ps(e))},Vn.without=la,Vn.words=Js,Vn.wrap=function(e,t){return Ba(_r(t),e)},Vn.xor=ua,Vn.xorBy=ca,Vn.xorWith=da,Vn.zip=ha,Vn.zipObject=function(e,t){return mr(e||[],t||[],ni)},Vn.zipObjectDeep=function(e,t){return mr(e||[],t||[],er)},Vn.zipWith=fa,Vn.entries=Ws,Vn.entriesIn=Vs,Vn.extend=Cs,Vn.extendWith=ws,ul(Vn,Vn),Vn.add=_l,Vn.attempt=el,Vn.camelCase=js,Vn.capitalize=zs,Vn.ceil=bl,Vn.clamp=function(e,t,n){return n===r&&(n=t,t=r),n!==r&&(n=(n=ys(n))===n?n:0),t!==r&&(t=(t=ys(t))===t?t:0),li(ys(e),t,n)},Vn.clone=function(e){return ui(e,4)},Vn.cloneDeep=function(e){return ui(e,5)},Vn.cloneDeepWith=function(e,t){return ui(e,5,t="function"==typeof t?t:r)},Vn.cloneWith=function(e,t){return ui(e,4,t="function"==typeof t?t:r)},Vn.conformsTo=function(e,t){return null==t||ci(e,t,As(t))},Vn.deburr=Us,Vn.defaultTo=function(e,t){return null==e||e!==e?t:e},Vn.divide=kl,Vn.endsWith=function(e,t,n){e=bs(e),t=cr(t);var i=e.length,o=n=n===r?i:li(vs(n),0,i);return(n-=t.length)>=0&&e.slice(n,o)==t},Vn.eq=Ha,Vn.escape=function(e){return(e=bs(e))&&Y.test(e)?e.replace(Q,sn):e},Vn.escapeRegExp=function(e){return(e=bs(e))&&oe.test(e)?e.replace(re,"\\$&"):e},Vn.every=function(e,t,n){var i=Ka(e)?Tt:gi;return n&&ko(e,t,n)&&(t=r),i(e,uo(t,3))},Vn.find=ya,Vn.findIndex=Uo,Vn.findKey=function(e,t){return Vt(e,uo(t,3),ki)},Vn.findLast=_a,Vn.findLastIndex=Ko,Vn.findLastKey=function(e,t){return Vt(e,uo(t,3),Ci)},Vn.floor=Cl,Vn.forEach=ba,Vn.forEachRight=ka,Vn.forIn=function(e,t){return null==e?e:_i(e,uo(t,3),Ps)},Vn.forInRight=function(e,t){return null==e?e:bi(e,uo(t,3),Ps)},Vn.forOwn=function(e,t){return e&&ki(e,uo(t,3))},Vn.forOwnRight=function(e,t){return e&&Ci(e,uo(t,3))},Vn.get=Ds,Vn.gt=ja,Vn.gte=za,Vn.has=function(e,t){return null!=e&&mo(e,t,Di)},Vn.hasIn=Es,Vn.head=Go,Vn.identity=ol,Vn.includes=function(e,t,n,i){e=Ga(e)?e:Hs(e),n=n&&!i?vs(n):0;var r=e.length;return n<0&&(n=Gt(r+n,0)),us(e)?n<=r&&e.indexOf(t,n)>-1:!!r&&jt(e,t,n)>-1},Vn.indexOf=function(e,t,n){var i=null==e?0:e.length;if(!i)return-1;var r=null==n?0:vs(n);return r<0&&(r=Gt(i+r,0)),jt(e,t,r)},Vn.inRange=function(e,t,n){return t=gs(t),n===r?(n=t,t=0):n=gs(n),function(e,t,n){return e>=bn(t,n)&&e=-9007199254740991&&e<=p},Vn.isSet=ls,Vn.isString=us,Vn.isSymbol=cs,Vn.isTypedArray=ds,Vn.isUndefined=function(e){return e===r},Vn.isWeakMap=function(e){return is(e)&&vo(e)==A},Vn.isWeakSet=function(e){return is(e)&&"[object WeakSet]"==Li(e)},Vn.join=function(e,t){return null==e?"":bt.call(e,t)},Vn.kebabCase=Ks,Vn.last=Xo,Vn.lastIndexOf=function(e,t,n){var i=null==e?0:e.length;if(!i)return-1;var o=i;return n!==r&&(o=(o=vs(n))<0?Gt(i+o,0):bn(o,i-1)),t===t?function(e,t,n){for(var i=n+1;i--;)if(e[i]===t)return i;return i}(e,t,o):Ht(e,Ut,o,!0)},Vn.lowerCase=qs,Vn.lowerFirst=Gs,Vn.lt=hs,Vn.lte=fs,Vn.max=function(e){return e&&e.length?vi(e,ol,Ni):r},Vn.maxBy=function(e,t){return e&&e.length?vi(e,uo(t,2),Ni):r},Vn.mean=function(e){return Kt(e,ol)},Vn.meanBy=function(e,t){return Kt(e,uo(t,2))},Vn.min=function(e){return e&&e.length?vi(e,ol,Bi):r},Vn.minBy=function(e,t){return e&&e.length?vi(e,uo(t,2),Bi):r},Vn.stubArray=ml,Vn.stubFalse=yl,Vn.stubObject=function(){return{}},Vn.stubString=function(){return""},Vn.stubTrue=function(){return!0},Vn.multiply=wl,Vn.nth=function(e,t){return e&&e.length?zi(e,vs(t)):r},Vn.noConflict=function(){return gt._===this&&(gt._=We),this},Vn.noop=cl,Vn.now=Da,Vn.pad=function(e,t,n){e=bs(e);var i=(t=vs(t))?gn(e):0;if(!t||i>=t)return e;var r=(t-i)/2;return Ur(pt(r),n)+e+Ur(ft(r),n)},Vn.padEnd=function(e,t,n){e=bs(e);var i=(t=vs(t))?gn(e):0;return t&&it){var i=e;e=t,t=i}if(n||e%1||t%1){var o=wn();return bn(e+o*(t-e+dt("1e-"+((o+"").length-1))),t)}return Qi(e,t)},Vn.reduce=function(e,t,n){var i=Ka(e)?Zt:Qt,r=arguments.length<3;return i(e,uo(t,4),n,r,fi)},Vn.reduceRight=function(e,t,n){var i=Ka(e)?Ft:Qt,r=arguments.length<3;return i(e,uo(t,4),n,r,pi)},Vn.repeat=function(e,t,n){return t=(n?ko(e,t,n):t===r)?1:vs(t),$i(bs(e),t)},Vn.replace=function(){var e=arguments,t=bs(e[0]);return e.length<3?t:t.replace(e[1],e[2])},Vn.result=function(e,t,n){var i=-1,o=(t=br(t,e)).length;for(o||(o=1,e=r);++ip)return[];var n=v,i=bn(e,v);t=uo(t),e-=v;for(var r=Yt(i,t);++n=a)return e;var l=n-gn(i);if(l<1)return i;var u=s?Cr(s,0,l).join(""):e.slice(0,l);if(o===r)return u+i;if(s&&(l+=u.length-l),ss(o)){if(e.slice(l).search(o)){var c,d=u;for(o.global||(o=Ne(o.source,bs(ge.exec(o))+"g")),o.lastIndex=0;c=o.exec(d);)var h=c.index;u=u.slice(0,h===r?l:h)}}else if(e.indexOf(cr(o),l)!=l){var f=u.lastIndexOf(o);f>-1&&(u=u.slice(0,f))}return u+i},Vn.unescape=function(e){return(e=bs(e))&&$.test(e)?e.replace(G,yn):e},Vn.uniqueId=function(e){var t=++Re;return bs(e)+t},Vn.upperCase=Ys,Vn.upperFirst=Xs,Vn.each=ba,Vn.eachRight=ka,Vn.first=Go,ul(Vn,function(){var e={};return ki(Vn,(function(t,n){Me.call(Vn.prototype,n)||(e[n]=t)})),e}(),{chain:!1}),Vn.VERSION="4.17.21",Et(["bind","bindKey","curry","curryRight","partial","partialRight"],(function(e){Vn[e].placeholder=Vn})),Et(["drop","take"],(function(e,t){Un.prototype[e]=function(n){n=n===r?1:Gt(vs(n),0);var i=this.__filtered__&&!t?new Un(this):this.clone();return i.__filtered__?i.__takeCount__=bn(n,i.__takeCount__):i.__views__.push({size:bn(n,v),type:e+(i.__dir__<0?"Right":"")}),i},Un.prototype[e+"Right"]=function(t){return this.reverse()[e](t).reverse()}})),Et(["filter","map","takeWhile"],(function(e,t){var n=t+1,i=1==n||3==n;Un.prototype[e]=function(e){var t=this.clone();return t.__iteratees__.push({iteratee:uo(e,3),type:n}),t.__filtered__=t.__filtered__||i,t}})),Et(["head","last"],(function(e,t){var n="take"+(t?"Right":"");Un.prototype[e]=function(){return this[n](1).value()[0]}})),Et(["initial","tail"],(function(e,t){var n="drop"+(t?"":"Right");Un.prototype[e]=function(){return this.__filtered__?new Un(this):this[n](1)}})),Un.prototype.compact=function(){return this.filter(ol)},Un.prototype.find=function(e){return this.filter(e).head()},Un.prototype.findLast=function(e){return this.reverse().find(e)},Un.prototype.invokeMap=Yi((function(e,t){return"function"==typeof e?new Un(this):this.map((function(n){return Ti(n,e,t)}))})),Un.prototype.reject=function(e){return this.filter(Za(uo(e)))},Un.prototype.slice=function(e,t){e=vs(e);var n=this;return n.__filtered__&&(e>0||t<0)?new Un(n):(e<0?n=n.takeRight(-e):e&&(n=n.drop(e)),t!==r&&(n=(t=vs(t))<0?n.dropRight(-t):n.take(t-e)),n)},Un.prototype.takeRightWhile=function(e){return this.reverse().takeWhile(e).reverse()},Un.prototype.toArray=function(){return this.take(v)},ki(Un.prototype,(function(e,t){var n=/^(?:filter|find|map|reject)|While$/.test(t),i=/^(?:head|last)$/.test(t),o=Vn[i?"take"+("last"==t?"Right":""):t],a=i||/^find/.test(t);o&&(Vn.prototype[t]=function(){var t=this.__wrapped__,s=i?[1]:arguments,l=t instanceof Un,u=s[0],c=l||Ka(t),d=function(e){var t=o.apply(Vn,Rt([e],s));return i&&h?t[0]:t};c&&n&&"function"==typeof u&&1!=u.length&&(l=c=!1);var h=this.__chain__,f=!!this.__actions__.length,p=a&&!h,g=l&&!f;if(!a&&c){t=g?t:new Un(this);var v=e.apply(t,s);return v.__actions__.push({func:ga,args:[d],thisArg:r}),new zn(v,h)}return p&&g?e.apply(this,s):(v=this.thru(d),p?i?v.value()[0]:v.value():v)})})),Et(["pop","push","shift","sort","splice","unshift"],(function(e){var t=Ie[e],n=/^(?:push|sort|unshift)$/.test(e)?"tap":"thru",i=/^(?:pop|shift)$/.test(e);Vn.prototype[e]=function(){var e=arguments;if(i&&!this.__chain__){var r=this.value();return t.apply(Ka(r)?r:[],e)}return this[n]((function(n){return t.apply(Ka(n)?n:[],e)}))}})),ki(Un.prototype,(function(e,t){var n=Vn[t];if(n){var i=n.name+"";Me.call(On,i)||(On[i]=[]),On[i].push({name:t,func:n})}})),On[Vr(r,2).name]=[{name:"wrapper",func:r}],Un.prototype.clone=function(){var e=new Un(this.__wrapped__);return e.__actions__=Ir(this.__actions__),e.__dir__=this.__dir__,e.__filtered__=this.__filtered__,e.__iteratees__=Ir(this.__iteratees__),e.__takeCount__=this.__takeCount__,e.__views__=Ir(this.__views__),e},Un.prototype.reverse=function(){if(this.__filtered__){var e=new Un(this);e.__dir__=-1,e.__filtered__=!0}else(e=this.clone()).__dir__*=-1;return e},Un.prototype.value=function(){var e=this.__wrapped__.value(),t=this.__dir__,n=Ka(e),i=t<0,r=n?e.length:0,o=function(e,t,n){var i=-1,r=n.length;for(;++i=this.__values__.length;return{done:e,value:e?r:this.__values__[this.__index__++]}},Vn.prototype.plant=function(e){for(var t,n=this;n instanceof jn;){var i=Vo(n);i.__index__=0,i.__values__=r,t?o.__wrapped__=i:t=i;var o=i;n=n.__wrapped__}return o.__wrapped__=e,t},Vn.prototype.reverse=function(){var e=this.__wrapped__;if(e instanceof Un){var t=e;return this.__actions__.length&&(t=new Un(this)),(t=t.reverse()).__actions__.push({func:ga,args:[na],thisArg:r}),new zn(t,this.__chain__)}return this.thru(na)},Vn.prototype.toJSON=Vn.prototype.valueOf=Vn.prototype.value=function(){return gr(this.__wrapped__,this.__actions__)},Vn.prototype.first=Vn.prototype.head,Ye&&(Vn.prototype[Ye]=function(){return this}),Vn}();gt._=_n,(i=function(){return _n}.call(t,n,t,e))===r||(e.exports=i)}.call(this)},72617:function(e,t,n){var i=n(64173),r=n(39934)((function(e,t,n,r){i(e,t,n,r)}));e.exports=r},49488:function(e){e.exports=function(){return!1}},6576:function(e,t,n){var i=n(64503),r=n(73961);e.exports=function(e){return i(e,r(e))}},81294:function(e,t,n){"use strict";var i=this&&this.__createBinding||(Object.create?function(e,t,n,i){void 0===i&&(i=n),Object.defineProperty(e,i,{enumerable:!0,get:function(){return t[n]}})}:function(e,t,n,i){void 0===i&&(i=n),e[i]=t[n]}),r=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||t.hasOwnProperty(n)||i(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),t.mock=void 0;var o=n(50012);Object.defineProperty(t,"mock",{enumerable:!0,get:function(){return o.mock}}),r(n(50012),t)},50012:function(e,t,n){"use strict";var i=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.mock=void 0;var r=i(n(763));function o(e){return e.allOf&&e.allOf[0]&&(e=r.default.reduce(e.allOf,(function(e,t){return r.default.merge({},e,o(t))}),e)),e}t.mock=function e(t){if(void 0!==(t=o(t)).example)return t.example;if(void 0!==t.default)return t.default;if(t.oneOf&&t.oneOf[0])return e(t.oneOf[0]);if(t.anyOf&&t.anyOf[0])return e(t.anyOf[0]);var n=r.default.isArray(t)?r.default.first(t.type):t.type;if("object"===n){var i=t.properties;return i?r.default.mapValues(i,e):{}}if("array"===n){var a=t,s=a.items;if(!s)return[];var l=[],u=s.oneOf&&s.oneOf[0]||s;if(s.anyOf)for(var c=0,d=s.anyOf;c=0,m=g.indexOf("AppleWebKit")>=0,y=g.indexOf("Chrome")>=0,_=!y&&g.indexOf("Safari")>=0,b=!y&&!_&&m,k=g.indexOf("Electron/")>=0,C=g.indexOf("Android")>=0,w=!1;if(window.matchMedia){var S=window.matchMedia("(display-mode: standalone)");w=S.matches,h(S,(function(e){var t=e.matches;w=t}))}function x(){return w}},57572:function(e,t,n){"use strict";n.d(t,{D:function(){return o}});var i=n(62865),r=n(73616),o={clipboard:{writeText:r.tY||document.queryCommandSupported&&document.queryCommandSupported("copy")||!!(navigator&&navigator.clipboard&&navigator.clipboard.writeText),readText:r.tY||!!(navigator&&navigator.clipboard&&navigator.clipboard.readText)},keyboard:r.tY||i.isStandalone()?0:navigator.keyboard||i.isSafari?1:2,touch:"ontouchstart"in window||navigator.maxTouchPoints>0,pointerEvents:window.PointerEvent&&("ontouchstart"in window||window.navigator.maxTouchPoints>0||navigator.maxTouchPoints>0)}},94021:function(e,t,n){"use strict";n.d(t,{P:function(){return r},g:function(){return i}});var i={RESOURCES:"ResourceURLs",DOWNLOAD_URL:"DownloadURL",FILES:"Files",TEXT:n(62684).v.text},r={CurrentDragAndDropData:void 0}},81531:function(e,t,n){"use strict";n.r(t),n.d(t,{$:function(){return xe},Dimension:function(){return j},DragAndDropObserver:function(){return Re},EventHelper:function(){return pe},EventType:function(){return fe},ModifierKeyEmitter:function(){return Me},Namespace:function(){return Ce},StandardWindow:function(){return G},addDisposableGenericMouseDownListener:function(){return O},addDisposableGenericMouseUpListener:function(){return A},addDisposableListener:function(){return N},addStandardDisposableGenericMouseDownListener:function(){return I},addStandardDisposableGenericMouseUpListener:function(){return T},addStandardDisposableListener:function(){return E},animate:function(){return Te},append:function(){return _e},asCSSPropertyValue:function(){return Ae},asCSSUrl:function(){return Oe},clearNode:function(){return S},computeScreenAwareSize:function(){return Ee},createCSSRule:function(){return ce},createEventEmitter:function(){return P},createStyleSheet:function(){return ae},findParentWithClass:function(){return ee},getActiveElement:function(){return oe},getClientArea:function(){return V},getComputedStyle:function(){return W},getContentHeight:function(){return Y},getContentWidth:function(){return $},getDomNodePagePosition:function(){return K},getDomNodeZoomLevel:function(){return q},getElementsByTagName:function(){return De},getShadowRoot:function(){return re},getTopLeftOffset:function(){return z},getTotalHeight:function(){return X},getTotalWidth:function(){return Q},h:function(){return Fe},hasParentWithClass:function(){return te},hide:function(){return Ne},hookDomPurifyHrefAndSrcSanitizer:function(){return Pe},isAncestor:function(){return J},isHTMLElement:function(){return he},isInDOM:function(){return x},isInShadowDOM:function(){return ie},isShadowRoot:function(){return ne},prepend:function(){return be},removeCSSRulesContainingSelector:function(){return de},reset:function(){return ke},restoreParentsScrollTop:function(){return ve},runAtThisOrScheduleAtNextAnimationFrame:function(){return M},saveParentsScrollTop:function(){return ge},scheduleAtNextAnimationFrame:function(){return R},show:function(){return Le},size:function(){return U},trackFocus:function(){return ye},windowOpenNoOpener:function(){return Ie}});var i=n(29439),r=n(37762),o=n(71002),a=n(89611),s=n(60136);function l(){l=function(e,t){return new n(e,void 0,t)};var e=RegExp.prototype,t=new WeakMap;function n(e,i,r){var o=new RegExp(e,i);return t.set(o,r||t.get(e)),(0,a.Z)(o,n.prototype)}function i(e,n){var i=t.get(n);return Object.keys(i).reduce((function(t,n){var r=i[n];if("number"==typeof r)t[n]=e[r];else{for(var o=0;void 0===e[r[o]]&&o+1]+)>/g,(function(e,t){var n=a[t];return"$"+(Array.isArray(n)?n.join("$"):n)})))}if("function"==typeof r){var s=this;return e[Symbol.replace].call(this,n,(function(){var e=arguments;return"object"!=(0,o.Z)(e[e.length-1])&&(e=[].slice.call(e)).push(i(e,s)),r.apply(this,e)}))}return e[Symbol.replace].call(this,n,r)},l.apply(this,arguments)}var u=n(11752),c=n(61120),d=n(27277),h=n(15671),f=n(43144),p=n(62865),g=n(57572),v=n(33813),m=n(2524),y=n(14173),_=n(73097),b=n(67797),k=n(11860),C=n(84855),w=n(73616);function S(e){for(;e.firstChild;)e.firstChild.remove()}function x(e){var t;return null!==(t=null===e||void 0===e?void 0:e.isConnected)&&void 0!==t&&t}var L=function(){function e(t,n,i,r){(0,h.Z)(this,e),this._node=t,this._type=n,this._handler=i,this._options=r||!1,this._node.addEventListener(this._type,this._handler,this._options)}return(0,f.Z)(e,[{key:"dispose",value:function(){this._handler&&(this._node.removeEventListener(this._type,this._handler,this._options),this._node=null,this._handler=null)}}]),e}();function N(e,t,n,i){return new L(e,t,n,i)}function D(e){return function(t){return e(new m.n(t))}}var E=function(e,t,n,i){var r=n;return"click"===t||"mousedown"===t?r=D(n):"keydown"!==t&&"keypress"!==t&&"keyup"!==t||(r=function(e){return function(t){return e(new v.y(t))}}(n)),N(e,t,r,i)},I=function(e,t,n){return O(e,D(t),n)},T=function(e,t,n){return A(e,D(t),n)};function O(e,t,n){return N(e,w.gn&&g.D.pointerEvents?fe.POINTER_DOWN:fe.MOUSE_DOWN,t,n)}function A(e,t,n){return N(e,w.gn&&g.D.pointerEvents?fe.POINTER_UP:fe.MOUSE_UP,t,n)}function P(e,t,n){var i=null,r=function(e){return o.fire(e)},o=new _.Q5({onFirstListenerAdd:function(){i||(i=new L(e,t,r,n))},onLastListenerRemove:function(){i&&(i.dispose(),i=null)}});return o}var M,R,Z=null;function F(e){if(!Z){Z=self.requestAnimationFrame||self.msRequestAnimationFrame||self.webkitRequestAnimationFrame||self.mozRequestAnimationFrame||self.oRequestAnimationFrame||function(e){return setTimeout((function(){return e((new Date).getTime())}),0)}}return Z.call(self,e)}var B=function(){function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;(0,h.Z)(this,e),this._runner=t,this.priority=n,this._canceled=!1}return(0,f.Z)(e,[{key:"dispose",value:function(){this._canceled=!0}},{key:"execute",value:function(){if(!this._canceled)try{this._runner()}catch(e){(0,y.dL)(e)}}}],[{key:"sort",value:function(e,t){return t.priority-e.priority}}]),e}();function W(e){return document.defaultView.getComputedStyle(e,null)}function V(e){if(e!==document.body)return new j(e.clientWidth,e.clientHeight);if(w.gn&&window.visualViewport)return new j(window.visualViewport.width,window.visualViewport.height);if(window.innerWidth&&window.innerHeight)return new j(window.innerWidth,window.innerHeight);if(document.body&&document.body.clientWidth&&document.body.clientHeight)return new j(document.body.clientWidth,document.body.clientHeight);if(document.documentElement&&document.documentElement.clientWidth&&document.documentElement.clientHeight)return new j(document.documentElement.clientWidth,document.documentElement.clientHeight);throw new Error("Unable to figure out browser width and height")}!function(){var e=[],t=null,n=!1,i=!1,r=function(){for(n=!1,t=e,e=[],i=!0;t.length>0;){t.sort(B.sort),t.shift().execute()}i=!1};R=function(t){var i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,o=new B(t,i);return e.push(o),n||(n=!0,F(r)),o},M=function(e,n){if(i){var r=new B(e,n);return t.push(r),r}return R(e,n)}}();var H=function(){function e(){(0,h.Z)(this,e)}return(0,f.Z)(e,null,[{key:"convertToPixels",value:function(e,t){return parseFloat(t)||0}},{key:"getDimension",value:function(t,n,i){var r=W(t),o="0";return r&&(o=r.getPropertyValue?r.getPropertyValue(n):r.getAttribute(i)),e.convertToPixels(t,o)}},{key:"getBorderLeftWidth",value:function(t){return e.getDimension(t,"border-left-width","borderLeftWidth")}},{key:"getBorderRightWidth",value:function(t){return e.getDimension(t,"border-right-width","borderRightWidth")}},{key:"getBorderTopWidth",value:function(t){return e.getDimension(t,"border-top-width","borderTopWidth")}},{key:"getBorderBottomWidth",value:function(t){return e.getDimension(t,"border-bottom-width","borderBottomWidth")}},{key:"getPaddingLeft",value:function(t){return e.getDimension(t,"padding-left","paddingLeft")}},{key:"getPaddingRight",value:function(t){return e.getDimension(t,"padding-right","paddingRight")}},{key:"getPaddingTop",value:function(t){return e.getDimension(t,"padding-top","paddingTop")}},{key:"getPaddingBottom",value:function(t){return e.getDimension(t,"padding-bottom","paddingBottom")}},{key:"getMarginLeft",value:function(t){return e.getDimension(t,"margin-left","marginLeft")}},{key:"getMarginTop",value:function(t){return e.getDimension(t,"margin-top","marginTop")}},{key:"getMarginRight",value:function(t){return e.getDimension(t,"margin-right","marginRight")}},{key:"getMarginBottom",value:function(t){return e.getDimension(t,"margin-bottom","marginBottom")}}]),e}(),j=function(){function e(t,n){(0,h.Z)(this,e),this.width=t,this.height=n}return(0,f.Z)(e,[{key:"with",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.width,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.height;return t!==this.width||n!==this.height?new e(t,n):this}}],[{key:"is",value:function(e){return"object"===typeof e&&"number"===typeof e.height&&"number"===typeof e.width}},{key:"lift",value:function(t){return t instanceof e?t:new e(t.width,t.height)}},{key:"equals",value:function(e,t){return e===t||!(!e||!t)&&(e.width===t.width&&e.height===t.height)}}]),e}();function z(e){for(var t=e.offsetParent,n=e.offsetTop,i=e.offsetLeft;null!==(e=e.parentNode)&&e!==document.body&&e!==document.documentElement;){n-=e.scrollTop;var r=ne(e)?null:W(e);r&&(i-="rtl"!==r.direction?e.scrollLeft:-e.scrollLeft),e===t&&(i+=H.getBorderLeftWidth(e),n+=H.getBorderTopWidth(e),n+=e.offsetTop,i+=e.offsetLeft,t=e.offsetParent)}return{left:i,top:n}}function U(e,t,n){"number"===typeof t&&(e.style.width="".concat(t,"px")),"number"===typeof n&&(e.style.height="".concat(n,"px"))}function K(e){var t=e.getBoundingClientRect();return{left:t.left+G.scrollX,top:t.top+G.scrollY,width:t.width,height:t.height}}function q(e){var t=e,n=1;do{var i=W(t).zoom;null!==i&&void 0!==i&&"1"!==i&&(n*=i),t=t.parentElement}while(null!==t&&t!==document.documentElement);return n}j.None=new j(0,0);var G=new(function(){function e(){(0,h.Z)(this,e)}return(0,f.Z)(e,[{key:"scrollX",get:function(){return"number"===typeof window.scrollX?window.scrollX:document.body.scrollLeft+document.documentElement.scrollLeft}},{key:"scrollY",get:function(){return"number"===typeof window.scrollY?window.scrollY:document.body.scrollTop+document.documentElement.scrollTop}}]),e}());function Q(e){var t=H.getMarginLeft(e)+H.getMarginRight(e);return e.offsetWidth+t}function $(e){var t=H.getBorderLeftWidth(e)+H.getBorderRightWidth(e),n=H.getPaddingLeft(e)+H.getPaddingRight(e);return e.offsetWidth-t-n}function Y(e){var t=H.getBorderTopWidth(e)+H.getBorderBottomWidth(e),n=H.getPaddingTop(e)+H.getPaddingBottom(e);return e.offsetHeight-t-n}function X(e){var t=H.getMarginTop(e)+H.getMarginBottom(e);return e.offsetHeight+t}function J(e,t){for(;e;){if(e===t)return!0;e=e.parentNode}return!1}function ee(e,t,n){for(;e&&e.nodeType===e.ELEMENT_NODE;){if(e.classList.contains(t))return e;if(n)if("string"===typeof n){if(e.classList.contains(n))return null}else if(e===n)return null;e=e.parentNode}return null}function te(e,t,n){return!!ee(e,t,n)}function ne(e){return e&&!!e.host&&!!e.mode}function ie(e){return!!re(e)}function re(e){for(;e.parentNode;){if(e===document.body)return null;e=e.parentNode}return ne(e)?e:null}function oe(){for(var e=document.activeElement;null===e||void 0===e?void 0:e.shadowRoot;)e=e.shadowRoot.activeElement;return e}function ae(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:document.getElementsByTagName("head")[0],t=document.createElement("style");return t.type="text/css",t.media="screen",e.appendChild(t),t}var se=null;function le(){return se||(se=ae()),se}function ue(e){var t,n;return(null===(t=null===e||void 0===e?void 0:e.sheet)||void 0===t?void 0:t.rules)?e.sheet.rules:(null===(n=null===e||void 0===e?void 0:e.sheet)||void 0===n?void 0:n.cssRules)?e.sheet.cssRules:[]}function ce(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:le();n&&t&&n.sheet.insertRule(e+"{"+t+"}",0)}function de(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:le();if(t){for(var n=ue(t),i=[],r=0;r=0;a--)t.sheet.deleteRule(i[a])}}function he(e){return"object"===typeof HTMLElement?e instanceof HTMLElement:e&&"object"===typeof e&&1===e.nodeType&&"string"===typeof e.nodeName}var fe={CLICK:"click",AUXCLICK:"auxclick",DBLCLICK:"dblclick",MOUSE_UP:"mouseup",MOUSE_DOWN:"mousedown",MOUSE_OVER:"mouseover",MOUSE_MOVE:"mousemove",MOUSE_OUT:"mouseout",MOUSE_ENTER:"mouseenter",MOUSE_LEAVE:"mouseleave",MOUSE_WHEEL:"wheel",POINTER_UP:"pointerup",POINTER_DOWN:"pointerdown",POINTER_MOVE:"pointermove",POINTER_LEAVE:"pointerleave",CONTEXT_MENU:"contextmenu",WHEEL:"wheel",KEY_DOWN:"keydown",KEY_PRESS:"keypress",KEY_UP:"keyup",LOAD:"load",BEFORE_UNLOAD:"beforeunload",UNLOAD:"unload",PAGE_SHOW:"pageshow",PAGE_HIDE:"pagehide",ABORT:"abort",ERROR:"error",RESIZE:"resize",SCROLL:"scroll",FULLSCREEN_CHANGE:"fullscreenchange",WK_FULLSCREEN_CHANGE:"webkitfullscreenchange",SELECT:"select",CHANGE:"change",SUBMIT:"submit",RESET:"reset",FOCUS:"focus",FOCUS_IN:"focusin",FOCUS_OUT:"focusout",BLUR:"blur",INPUT:"input",STORAGE:"storage",DRAG_START:"dragstart",DRAG:"drag",DRAG_ENTER:"dragenter",DRAG_LEAVE:"dragleave",DRAG_OVER:"dragover",DROP:"drop",DRAG_END:"dragend",ANIMATION_START:p.isWebKit?"webkitAnimationStart":"animationstart",ANIMATION_END:p.isWebKit?"webkitAnimationEnd":"animationend",ANIMATION_ITERATION:p.isWebKit?"webkitAnimationIteration":"animationiteration"},pe={stop:function(e,t){e.preventDefault?e.preventDefault():e.returnValue=!1,t&&(e.stopPropagation?e.stopPropagation():e.cancelBubble=!0)}};function ge(e){for(var t=[],n=0;e&&e.nodeType===e.ELEMENT_NODE;n++)t[n]=e.scrollTop,e=e.parentNode;return t}function ve(e,t){for(var n=0;e&&e.nodeType===e.ELEMENT_NODE;n++)e.scrollTop!==t[n]&&(e.scrollTop=t[n]),e=e.parentNode}var me=function(e){(0,s.Z)(n,e);var t=(0,d.Z)(n);function n(e){var i;(0,h.Z)(this,n),(i=t.call(this))._onDidFocus=i._register(new _.Q5),i.onDidFocus=i._onDidFocus.event,i._onDidBlur=i._register(new _.Q5),i.onDidBlur=i._onDidBlur.event;var r=n.hasFocusWithin(e),o=!1,a=function(){o=!1,r||(r=!0,i._onDidFocus.fire())},s=function(){r&&(o=!0,window.setTimeout((function(){o&&(o=!1,r=!1,i._onDidBlur.fire())}),0))};return i._refreshStateHandler=function(){n.hasFocusWithin(e)!==r&&(r?s():a())},i._register(N(e,fe.FOCUS,a,!0)),i._register(N(e,fe.BLUR,s,!0)),i._register(N(e,fe.FOCUS_IN,(function(){return i._refreshStateHandler()}))),i._register(N(e,fe.FOCUS_OUT,(function(){return i._refreshStateHandler()}))),i}return(0,f.Z)(n,null,[{key:"hasFocusWithin",value:function(e){var t=re(e);return J(t?t.activeElement:document.activeElement,e)}}]),n}(k.JT);function ye(e){return new me(e)}function _e(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),i=1;i1?t-1:0),i=1;i3?s-3:0),u=3;u2?n-2:0),r=2;r1&&void 0!==arguments[1]&&arguments[1],n=document.createElement("a");return b.v5("afterSanitizeAttributes",(function(i){for(var r=0,o=["href","src"];r2?n-2:0),r=2;r1?n-1:0),r=1;r/gm),H=u(/^data-[\-\w.\u00B7-\uFFFF]/),j=u(/^aria-[\-\w]+$/),z=u(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|cid|xmpp):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),U=u(/^(?:\w+script|data):/i),K=u(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),q="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};function G(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t0&&void 0!==arguments[0]?arguments[0]:Q(),n=function(t){return e(t)};if(n.version="2.3.1",n.removed=[],!t||!t.document||9!==t.document.nodeType)return n.isSupported=!1,n;var i=t.document,r=t.document,o=t.DocumentFragment,a=t.HTMLTemplateElement,s=t.Node,u=t.Element,c=t.NodeFilter,d=t.NamedNodeMap,h=void 0===d?t.NamedNodeMap||t.MozNamedAttrMap:d,f=t.Text,p=t.Comment,x=t.DOMParser,Y=t.trustedTypes,X=u.prototype,J=D(X,"cloneNode"),ee=D(X,"nextSibling"),te=D(X,"childNodes"),ne=D(X,"parentNode");if("function"===typeof a){var ie=r.createElement("template");ie.content&&ie.content.ownerDocument&&(r=ie.content.ownerDocument)}var re=$(Y,i),oe=re&&Ze?re.createHTML(""):"",ae=r,se=ae.implementation,le=ae.createNodeIterator,ue=ae.createDocumentFragment,ce=ae.getElementsByTagName,de=i.importNode,he={};try{he=N(r).documentMode?r.documentMode:{}}catch(yt){}var fe={};n.isSupported="function"===typeof ne&&se&&"undefined"!==typeof se.createHTMLDocument&&9!==he;var pe=W,ge=V,ve=H,me=j,ye=U,_e=K,be=z,ke=null,Ce=L({},[].concat(G(E),G(I),G(T),G(A),G(M))),we=null,Se=L({},[].concat(G(R),G(Z),G(F),G(B))),xe=null,Le=null,Ne=!0,De=!0,Ee=!1,Ie=!1,Te=!1,Oe=!1,Ae=!1,Pe=!1,Me=!1,Re=!0,Ze=!1,Fe=!0,Be=!0,We=!1,Ve={},He=null,je=L({},["annotation-xml","audio","colgroup","desc","foreignobject","head","iframe","math","mi","mn","mo","ms","mtext","noembed","noframes","noscript","plaintext","script","style","svg","template","thead","title","video","xmp"]),ze=null,Ue=L({},["audio","video","img","source","image","track"]),Ke=null,qe=L({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),Ge="http://www.w3.org/1998/Math/MathML",Qe="http://www.w3.org/2000/svg",$e="http://www.w3.org/1999/xhtml",Ye=$e,Xe=!1,Je=null,et=r.createElement("form"),tt=function(e){Je&&Je===e||(e&&"object"===("undefined"===typeof e?"undefined":q(e))||(e={}),e=N(e),ke="ALLOWED_TAGS"in e?L({},e.ALLOWED_TAGS):Ce,we="ALLOWED_ATTR"in e?L({},e.ALLOWED_ATTR):Se,Ke="ADD_URI_SAFE_ATTR"in e?L(N(qe),e.ADD_URI_SAFE_ATTR):qe,ze="ADD_DATA_URI_TAGS"in e?L(N(Ue),e.ADD_DATA_URI_TAGS):Ue,He="FORBID_CONTENTS"in e?L({},e.FORBID_CONTENTS):je,xe="FORBID_TAGS"in e?L({},e.FORBID_TAGS):{},Le="FORBID_ATTR"in e?L({},e.FORBID_ATTR):{},Ve="USE_PROFILES"in e&&e.USE_PROFILES,Ne=!1!==e.ALLOW_ARIA_ATTR,De=!1!==e.ALLOW_DATA_ATTR,Ee=e.ALLOW_UNKNOWN_PROTOCOLS||!1,Ie=e.SAFE_FOR_TEMPLATES||!1,Te=e.WHOLE_DOCUMENT||!1,Pe=e.RETURN_DOM||!1,Me=e.RETURN_DOM_FRAGMENT||!1,Re=!1!==e.RETURN_DOM_IMPORT,Ze=e.RETURN_TRUSTED_TYPE||!1,Ae=e.FORCE_BODY||!1,Fe=!1!==e.SANITIZE_DOM,Be=!1!==e.KEEP_CONTENT,We=e.IN_PLACE||!1,be=e.ALLOWED_URI_REGEXP||be,Ye=e.NAMESPACE||$e,Ie&&(De=!1),Me&&(Pe=!0),Ve&&(ke=L({},[].concat(G(M))),we=[],!0===Ve.html&&(L(ke,E),L(we,R)),!0===Ve.svg&&(L(ke,I),L(we,Z),L(we,B)),!0===Ve.svgFilters&&(L(ke,T),L(we,Z),L(we,B)),!0===Ve.mathMl&&(L(ke,A),L(we,F),L(we,B))),e.ADD_TAGS&&(ke===Ce&&(ke=N(ke)),L(ke,e.ADD_TAGS)),e.ADD_ATTR&&(we===Se&&(we=N(we)),L(we,e.ADD_ATTR)),e.ADD_URI_SAFE_ATTR&&L(Ke,e.ADD_URI_SAFE_ATTR),e.FORBID_CONTENTS&&(He===je&&(He=N(He)),L(He,e.FORBID_CONTENTS)),Be&&(ke["#text"]=!0),Te&&L(ke,["html","head","body"]),ke.table&&(L(ke,["tbody"]),delete xe.tbody),l&&l(e),Je=e)},nt=L({},["mi","mo","mn","ms","mtext"]),it=L({},["foreignobject","desc","title","annotation-xml"]),rt=L({},I);L(rt,T),L(rt,O);var ot=L({},A);L(ot,P);var at=function(e){var t=ne(e);t&&t.tagName||(t={namespaceURI:$e,tagName:"template"});var n=y(e.tagName),i=y(t.tagName);if(e.namespaceURI===Qe)return t.namespaceURI===$e?"svg"===n:t.namespaceURI===Ge?"svg"===n&&("annotation-xml"===i||nt[i]):Boolean(rt[n]);if(e.namespaceURI===Ge)return t.namespaceURI===$e?"math"===n:t.namespaceURI===Qe?"math"===n&&it[i]:Boolean(ot[n]);if(e.namespaceURI===$e){if(t.namespaceURI===Qe&&!it[i])return!1;if(t.namespaceURI===Ge&&!nt[i])return!1;var r=L({},["title","style","font","a","script"]);return!ot[n]&&(r[n]||!rt[n])}return!1},st=function(e){m(n.removed,{element:e});try{e.parentNode.removeChild(e)}catch(yt){try{e.outerHTML=oe}catch(yt){e.remove()}}},lt=function(e,t){try{m(n.removed,{attribute:t.getAttributeNode(e),from:t})}catch(yt){m(n.removed,{attribute:null,from:t})}if(t.removeAttribute(e),"is"===e&&!we[e])if(Pe||Me)try{st(t)}catch(yt){}else try{t.setAttribute(e,"")}catch(yt){}},ut=function(e){var t=void 0,n=void 0;if(Ae)e=""+e;else{var i=_(e,/^[\r\n\t ]+/);n=i&&i[0]}var o=re?re.createHTML(e):e;if(Ye===$e)try{t=(new x).parseFromString(o,"text/html")}catch(yt){}if(!t||!t.documentElement){t=se.createDocument(Ye,"template",null);try{t.documentElement.innerHTML=Xe?"":o}catch(yt){}}var a=t.body||t.documentElement;return e&&n&&a.insertBefore(r.createTextNode(n),a.childNodes[0]||null),Ye===$e?ce.call(t,Te?"html":"body")[0]:Te?t.documentElement:a},ct=function(e){return le.call(e.ownerDocument||e,e,c.SHOW_ELEMENT|c.SHOW_COMMENT|c.SHOW_TEXT,null,!1)},dt=function(e){return!(e instanceof f||e instanceof p)&&!("string"===typeof e.nodeName&&"string"===typeof e.textContent&&"function"===typeof e.removeChild&&e.attributes instanceof h&&"function"===typeof e.removeAttribute&&"function"===typeof e.setAttribute&&"string"===typeof e.namespaceURI&&"function"===typeof e.insertBefore)},ht=function(e){return"object"===("undefined"===typeof s?"undefined":q(s))?e instanceof s:e&&"object"===("undefined"===typeof e?"undefined":q(e))&&"number"===typeof e.nodeType&&"string"===typeof e.nodeName},ft=function(e,t,i){fe[e]&&g(fe[e],(function(e){e.call(n,t,i,Je)}))},pt=function(e){var t=void 0;if(ft("beforeSanitizeElements",e,null),dt(e))return st(e),!0;if(_(e.nodeName,/[\u0080-\uFFFF]/))return st(e),!0;var i=y(e.nodeName);if(ft("uponSanitizeElement",e,{tagName:i,allowedTags:ke}),!ht(e.firstElementChild)&&(!ht(e.content)||!ht(e.content.firstElementChild))&&w(/<[/\w]/g,e.innerHTML)&&w(/<[/\w]/g,e.textContent))return st(e),!0;if("select"===i&&w(/