aim-web2.1.0rc9
This commit is contained in:
@@ -0,0 +1,77 @@
|
||||
# AIM public operation-data schema. Closed fields except explicitly redacted configuration sections.
|
||||
type: object
|
||||
properties:
|
||||
mode:
|
||||
type: string
|
||||
maxLength: 128
|
||||
enum:
|
||||
- apply
|
||||
- check
|
||||
changed:
|
||||
type: boolean
|
||||
managed_sections:
|
||||
type: array
|
||||
items:
|
||||
type: string
|
||||
maxLength: 1024
|
||||
maxItems: 20000
|
||||
changes:
|
||||
type: array
|
||||
items:
|
||||
type: object
|
||||
properties:
|
||||
component:
|
||||
type: string
|
||||
maxLength: 128
|
||||
enum:
|
||||
- section
|
||||
- check
|
||||
- configuration
|
||||
name:
|
||||
type: string
|
||||
maxLength: 1024
|
||||
action:
|
||||
type: string
|
||||
maxLength: 128
|
||||
enum:
|
||||
- updated
|
||||
- removed
|
||||
required:
|
||||
- component
|
||||
- name
|
||||
- action
|
||||
additionalProperties: false
|
||||
maxItems: 20000
|
||||
deployed_checks:
|
||||
type: array
|
||||
items:
|
||||
type: string
|
||||
maxLength: 1024
|
||||
maxItems: 20000
|
||||
changed_checks:
|
||||
type: array
|
||||
items:
|
||||
type: string
|
||||
maxLength: 1024
|
||||
maxItems: 20000
|
||||
removed_checks:
|
||||
type: array
|
||||
items:
|
||||
type: string
|
||||
maxLength: 1024
|
||||
maxItems: 20000
|
||||
unknown_files_policy:
|
||||
type: string
|
||||
maxLength: 128
|
||||
enum:
|
||||
- untouched_not_enumerated
|
||||
required:
|
||||
- mode
|
||||
- changed
|
||||
- managed_sections
|
||||
- changes
|
||||
- deployed_checks
|
||||
- changed_checks
|
||||
- removed_checks
|
||||
- unknown_files_policy
|
||||
additionalProperties: false
|
||||
@@ -0,0 +1,74 @@
|
||||
# AIM public operation-data schema. Closed fields except explicitly redacted configuration sections.
|
||||
type: object
|
||||
properties:
|
||||
mode:
|
||||
type: string
|
||||
maxLength: 128
|
||||
enum:
|
||||
- apply
|
||||
- check
|
||||
installed:
|
||||
type:
|
||||
- boolean
|
||||
- 'null'
|
||||
version:
|
||||
type:
|
||||
- string
|
||||
- 'null'
|
||||
maxLength: 1024
|
||||
version_source:
|
||||
type: string
|
||||
maxLength: 128
|
||||
enum:
|
||||
- registry
|
||||
- package_database
|
||||
- unavailable
|
||||
services:
|
||||
type: array
|
||||
items:
|
||||
type: object
|
||||
properties:
|
||||
name:
|
||||
type: string
|
||||
maxLength: 1024
|
||||
state:
|
||||
type: string
|
||||
maxLength: 1024
|
||||
required:
|
||||
- name
|
||||
- state
|
||||
additionalProperties: false
|
||||
maxItems: 20000
|
||||
package_changed: &id001
|
||||
type: boolean
|
||||
configuration_updated: *id001
|
||||
checks_deployed:
|
||||
type: array
|
||||
items:
|
||||
type: string
|
||||
maxLength: 1024
|
||||
maxItems: 20000
|
||||
changed_checks:
|
||||
type: array
|
||||
items:
|
||||
type: string
|
||||
maxLength: 1024
|
||||
maxItems: 20000
|
||||
removed_checks:
|
||||
type: array
|
||||
items:
|
||||
type: string
|
||||
maxLength: 1024
|
||||
maxItems: 20000
|
||||
required:
|
||||
- mode
|
||||
- installed
|
||||
- version
|
||||
- version_source
|
||||
- services
|
||||
- package_changed
|
||||
- configuration_updated
|
||||
- checks_deployed
|
||||
- changed_checks
|
||||
- removed_checks
|
||||
additionalProperties: false
|
||||
@@ -0,0 +1,40 @@
|
||||
# AIM public operation-data schema. Closed fields except explicitly redacted configuration sections.
|
||||
type: object
|
||||
properties:
|
||||
path:
|
||||
type: string
|
||||
maxLength: 1024
|
||||
exists:
|
||||
type: boolean
|
||||
size_bytes:
|
||||
type: integer
|
||||
minimum: 0
|
||||
last_write_time_utc:
|
||||
type:
|
||||
- string
|
||||
- 'null'
|
||||
maxLength: 1024
|
||||
sections:
|
||||
type: object
|
||||
properties: {}
|
||||
additionalProperties: true
|
||||
redacted_paths:
|
||||
type: array
|
||||
items:
|
||||
type: string
|
||||
maxLength: 1024
|
||||
maxItems: 20000
|
||||
comment_preservation:
|
||||
type: string
|
||||
maxLength: 128
|
||||
enum:
|
||||
- not_in_structured_output
|
||||
required:
|
||||
- path
|
||||
- exists
|
||||
- size_bytes
|
||||
- last_write_time_utc
|
||||
- sections
|
||||
- redacted_paths
|
||||
- comment_preservation
|
||||
additionalProperties: false
|
||||
@@ -0,0 +1,30 @@
|
||||
# AIM public operation-data schema. Closed fields except explicitly redacted configuration sections.
|
||||
type: object
|
||||
properties:
|
||||
mode:
|
||||
type: string
|
||||
maxLength: 128
|
||||
enum:
|
||||
- apply
|
||||
- check
|
||||
days:
|
||||
type: integer
|
||||
minimum: 0
|
||||
files:
|
||||
type: array
|
||||
items:
|
||||
type: string
|
||||
maxLength: 1024
|
||||
maxItems: 20000
|
||||
channels:
|
||||
type: array
|
||||
items:
|
||||
type: string
|
||||
maxLength: 1024
|
||||
maxItems: 20000
|
||||
required:
|
||||
- mode
|
||||
- days
|
||||
- files
|
||||
- channels
|
||||
additionalProperties: false
|
||||
@@ -0,0 +1,66 @@
|
||||
# AIM public operation-data schema. Closed fields except explicitly redacted configuration sections.
|
||||
type: object
|
||||
properties:
|
||||
platform:
|
||||
type: string
|
||||
maxLength: 128
|
||||
enum:
|
||||
- windows
|
||||
- linux
|
||||
filesystems:
|
||||
type: array
|
||||
items:
|
||||
type: object
|
||||
properties:
|
||||
name:
|
||||
type: string
|
||||
maxLength: 1024
|
||||
mount:
|
||||
type: string
|
||||
maxLength: 1024
|
||||
filesystem_type:
|
||||
type:
|
||||
- string
|
||||
- 'null'
|
||||
maxLength: 1024
|
||||
used_bytes:
|
||||
type:
|
||||
- integer
|
||||
- 'null'
|
||||
minimum: 0
|
||||
total_bytes:
|
||||
type:
|
||||
- integer
|
||||
- 'null'
|
||||
minimum: 0
|
||||
available_bytes:
|
||||
type:
|
||||
- integer
|
||||
- 'null'
|
||||
minimum: 0
|
||||
used_percent:
|
||||
type:
|
||||
- number
|
||||
- 'null'
|
||||
minimum: 0
|
||||
status:
|
||||
type: string
|
||||
maxLength: 128
|
||||
enum:
|
||||
- available
|
||||
- unavailable
|
||||
required:
|
||||
- name
|
||||
- mount
|
||||
- filesystem_type
|
||||
- used_bytes
|
||||
- total_bytes
|
||||
- available_bytes
|
||||
- used_percent
|
||||
- status
|
||||
additionalProperties: false
|
||||
maxItems: 20000
|
||||
required:
|
||||
- platform
|
||||
- filesystems
|
||||
additionalProperties: false
|
||||
@@ -0,0 +1,22 @@
|
||||
# AIM public operation-data schema. Closed fields except explicitly redacted configuration sections.
|
||||
type: object
|
||||
properties:
|
||||
is_dc: &id001
|
||||
type: boolean
|
||||
is_dhcp_server: *id001
|
||||
is_hyperv_host: *id001
|
||||
has_veeam_vbr: *id001
|
||||
has_veeam_vbo: *id001
|
||||
has_veeam_em: *id001
|
||||
is_unifi_controller: *id001
|
||||
is_unifi_os_server: *id001
|
||||
required:
|
||||
- is_dc
|
||||
- is_dhcp_server
|
||||
- is_hyperv_host
|
||||
- has_veeam_vbr
|
||||
- has_veeam_vbo
|
||||
- has_veeam_em
|
||||
- is_unifi_controller
|
||||
- is_unifi_os_server
|
||||
additionalProperties: false
|
||||
@@ -0,0 +1,43 @@
|
||||
# AIM public operation-data schema. Closed fields except explicitly redacted configuration sections.
|
||||
type: object
|
||||
properties:
|
||||
mode:
|
||||
type: string
|
||||
maxLength: 128
|
||||
enum:
|
||||
- preview
|
||||
- apply
|
||||
- check
|
||||
directory:
|
||||
type: string
|
||||
maxLength: 1024
|
||||
candidates:
|
||||
type: array
|
||||
items:
|
||||
type: string
|
||||
maxLength: 1024
|
||||
maxItems: 20000
|
||||
removed:
|
||||
type: array
|
||||
items:
|
||||
type: string
|
||||
maxLength: 1024
|
||||
maxItems: 20000
|
||||
unifi_configuration:
|
||||
type: string
|
||||
maxLength: 128
|
||||
enum:
|
||||
- retained
|
||||
- candidate
|
||||
- removed
|
||||
- unchanged
|
||||
complete:
|
||||
type: boolean
|
||||
required:
|
||||
- mode
|
||||
- directory
|
||||
- candidates
|
||||
- removed
|
||||
- unifi_configuration
|
||||
- complete
|
||||
additionalProperties: false
|
||||
@@ -0,0 +1,190 @@
|
||||
# AIM public operation-data schema. Closed fields; no raw package-manager/module output.
|
||||
type: object
|
||||
properties:
|
||||
platform:
|
||||
type: string
|
||||
maxLength: 128
|
||||
enum:
|
||||
- windows
|
||||
- debian
|
||||
- redhat
|
||||
mode:
|
||||
type: string
|
||||
maxLength: 128
|
||||
enum:
|
||||
- apply
|
||||
- check
|
||||
evidence:
|
||||
type: string
|
||||
maxLength: 128
|
||||
enum:
|
||||
- package_snapshots
|
||||
- windows_update_result
|
||||
- preflight_reboot_state
|
||||
complete:
|
||||
type: boolean
|
||||
updates:
|
||||
type: array
|
||||
items:
|
||||
type: object
|
||||
properties:
|
||||
name:
|
||||
type: string
|
||||
maxLength: 1024
|
||||
identifier:
|
||||
type: [string, 'null']
|
||||
maxLength: 1024
|
||||
architecture:
|
||||
type: [string, 'null']
|
||||
maxLength: 1024
|
||||
old_versions:
|
||||
type: array
|
||||
items:
|
||||
type: string
|
||||
maxLength: 1024
|
||||
maxItems: 100
|
||||
new_versions:
|
||||
type: array
|
||||
items:
|
||||
type: string
|
||||
maxLength: 1024
|
||||
maxItems: 100
|
||||
action:
|
||||
type: string
|
||||
maxLength: 128
|
||||
enum: [updated, installed, removed]
|
||||
kb:
|
||||
type: array
|
||||
items:
|
||||
type: string
|
||||
maxLength: 1024
|
||||
maxItems: 100
|
||||
required: [name, identifier, architecture, old_versions, new_versions, action, kb]
|
||||
additionalProperties: false
|
||||
maxItems: 20000
|
||||
updated_count:
|
||||
type: integer
|
||||
minimum: 0
|
||||
installed_count:
|
||||
type: integer
|
||||
minimum: 0
|
||||
removed_count:
|
||||
type: integer
|
||||
minimum: 0
|
||||
pending:
|
||||
type: array
|
||||
items:
|
||||
type: object
|
||||
properties:
|
||||
name:
|
||||
type: string
|
||||
maxLength: 1024
|
||||
identifier:
|
||||
type: [string, 'null']
|
||||
maxLength: 1024
|
||||
kb:
|
||||
type: array
|
||||
items:
|
||||
type: string
|
||||
maxLength: 1024
|
||||
maxItems: 100
|
||||
required: [name, identifier, kb]
|
||||
additionalProperties: false
|
||||
maxItems: 20000
|
||||
failed_updates:
|
||||
type: array
|
||||
items:
|
||||
type: object
|
||||
properties:
|
||||
name:
|
||||
type: string
|
||||
maxLength: 1024
|
||||
identifier:
|
||||
type: [string, 'null']
|
||||
maxLength: 1024
|
||||
native_code:
|
||||
type: [integer, 'null']
|
||||
minimum: 0
|
||||
native_code_hex:
|
||||
type: [string, 'null']
|
||||
maxLength: 32
|
||||
reason:
|
||||
type: string
|
||||
maxLength: 128
|
||||
enum: [update_failed, operation_in_progress, install_not_allowed, not_applicable, exclusive_install_conflict, self_update_in_progress, no_connection, timeout]
|
||||
message:
|
||||
type: string
|
||||
maxLength: 512
|
||||
required: [name, identifier, native_code, native_code_hex, reason, message]
|
||||
additionalProperties: false
|
||||
maxItems: 20000
|
||||
reboot_required:
|
||||
type: [boolean, 'null']
|
||||
description: Final observed/predicted pending reboot state after this run.
|
||||
reboot_required_before:
|
||||
type: boolean
|
||||
description: A pending reboot was detected before patching began.
|
||||
reboot_reasons_before:
|
||||
type: array
|
||||
description: Windows only. Native reboot sources reported by ansible.windows.win_reboot_info before patching.
|
||||
items:
|
||||
type: object
|
||||
properties:
|
||||
source:
|
||||
type: string
|
||||
maxLength: 128
|
||||
description:
|
||||
type: string
|
||||
maxLength: 512
|
||||
required: [source, description]
|
||||
additionalProperties: false
|
||||
maxItems: 32
|
||||
reboot_required_after:
|
||||
type: [boolean, 'null']
|
||||
description: Final pending reboot state; false after an AIM-performed successful reboot.
|
||||
reboot_performed:
|
||||
type: boolean
|
||||
reboot_deferred:
|
||||
type: boolean
|
||||
description: A reboot remains required because automatic reboot was disabled.
|
||||
reboot_delay_minutes:
|
||||
type: integer
|
||||
minimum: 0
|
||||
maximum: 1440
|
||||
blocked_reason:
|
||||
type: [string, 'null']
|
||||
maxLength: 128
|
||||
enum: [preexisting_reboot_required, update_failed, operation_in_progress, install_not_allowed, not_applicable, exclusive_install_conflict, self_update_in_progress, no_connection, timeout, cycle_limit_reached, null]
|
||||
rescan_after_reboot:
|
||||
type: boolean
|
||||
description: Windows only. True permits a newly discovered patch wave after an AIM-performed reboot.
|
||||
patch_cycles:
|
||||
type: integer
|
||||
minimum: 0
|
||||
maximum: 12
|
||||
description: Windows discovery/install cycles entered by this run.
|
||||
continuation_required:
|
||||
type: boolean
|
||||
description: Another operator-approved patch run is recommended or required to continue patching.
|
||||
remaining_updates_known:
|
||||
type: boolean
|
||||
description: True only when the report contains an authoritative post-wave discovery in pending.
|
||||
required:
|
||||
- platform
|
||||
- mode
|
||||
- evidence
|
||||
- complete
|
||||
- updates
|
||||
- updated_count
|
||||
- installed_count
|
||||
- removed_count
|
||||
- pending
|
||||
- failed_updates
|
||||
- reboot_required
|
||||
- reboot_required_before
|
||||
- reboot_required_after
|
||||
- reboot_performed
|
||||
- reboot_deferred
|
||||
- reboot_delay_minutes
|
||||
- blocked_reason
|
||||
additionalProperties: false
|
||||
@@ -0,0 +1,113 @@
|
||||
# AIM public operation-data schema. Closed fields except explicitly redacted configuration sections.
|
||||
type: object
|
||||
properties:
|
||||
mode:
|
||||
type: string
|
||||
maxLength: 128
|
||||
enum:
|
||||
- apply
|
||||
- check
|
||||
initially_stopped:
|
||||
type: array
|
||||
items:
|
||||
type: string
|
||||
maxLength: 1024
|
||||
maxItems: 20000
|
||||
eligible:
|
||||
type: array
|
||||
items:
|
||||
type: string
|
||||
maxLength: 1024
|
||||
maxItems: 20000
|
||||
attempted:
|
||||
type: array
|
||||
items:
|
||||
type: string
|
||||
maxLength: 1024
|
||||
maxItems: 20000
|
||||
excluded:
|
||||
type: array
|
||||
items:
|
||||
type: string
|
||||
maxLength: 1024
|
||||
maxItems: 20000
|
||||
newly_running:
|
||||
type: array
|
||||
items:
|
||||
type: string
|
||||
maxLength: 1024
|
||||
maxItems: 20000
|
||||
still_stopped:
|
||||
type: array
|
||||
items:
|
||||
type: string
|
||||
maxLength: 1024
|
||||
maxItems: 20000
|
||||
unobserved:
|
||||
type: array
|
||||
items:
|
||||
type: string
|
||||
maxLength: 1024
|
||||
maxItems: 20000
|
||||
failed_to_start:
|
||||
type: array
|
||||
items:
|
||||
type: object
|
||||
properties:
|
||||
name:
|
||||
type: string
|
||||
maxLength: 1024
|
||||
reason:
|
||||
type: string
|
||||
maxLength: 128
|
||||
enum:
|
||||
- dependency_failed
|
||||
- permission_denied
|
||||
- service_disabled
|
||||
- start_timeout
|
||||
- service_not_found
|
||||
- logon_failed
|
||||
- start_failed
|
||||
- not_running_after_start
|
||||
- state_unavailable
|
||||
message:
|
||||
type: string
|
||||
maxLength: 1024
|
||||
native_code:
|
||||
type:
|
||||
- integer
|
||||
- 'null'
|
||||
minimum: 0
|
||||
required:
|
||||
- name
|
||||
- reason
|
||||
- message
|
||||
- native_code
|
||||
additionalProperties: false
|
||||
maxItems: 20000
|
||||
started_count:
|
||||
type: integer
|
||||
minimum: 0
|
||||
failed_count:
|
||||
type: integer
|
||||
minimum: 0
|
||||
before_count:
|
||||
type: integer
|
||||
minimum: 0
|
||||
after_observed:
|
||||
type: boolean
|
||||
required:
|
||||
- mode
|
||||
- initially_stopped
|
||||
- eligible
|
||||
- attempted
|
||||
- excluded
|
||||
- newly_running
|
||||
- still_stopped
|
||||
- unobserved
|
||||
- failed_to_start
|
||||
- started_count
|
||||
- failed_count
|
||||
- before_count
|
||||
- after_observed
|
||||
additionalProperties: false
|
||||
Reference in New Issue
Block a user