Add ALD Transition Console preview and Astra lab build workflow
This commit is contained in:
1 parent
f330a3c00a
commit
e5c6a2fc0e
199 files changed
+9866
No files matched your search
@@ -0,0 +1,201 @@
|
||||
{
|
||||
"$schema": "http://json-schema.org/draft-07/schema#",
|
||||
"$id": "urn:ald-transition:checklist",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"schema_version": {
|
||||
"const": 1
|
||||
},
|
||||
"items": {
|
||||
"type": "array",
|
||||
"maxItems": 1000,
|
||||
"items": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"id": {
|
||||
"type": "string",
|
||||
"maxLength": 128
|
||||
},
|
||||
"phase": {
|
||||
"type": "string",
|
||||
"maxLength": 128
|
||||
},
|
||||
"title_ru": {
|
||||
"type": "string",
|
||||
"maxLength": 4096
|
||||
},
|
||||
"purpose_ru": {
|
||||
"type": "string",
|
||||
"maxLength": 4096
|
||||
},
|
||||
"host_scope": {
|
||||
"type": "array",
|
||||
"maxItems": 10000,
|
||||
"items": {
|
||||
"type": "string",
|
||||
"maxLength": 4096
|
||||
}
|
||||
},
|
||||
"prerequisites": {
|
||||
"type": "array",
|
||||
"maxItems": 10000,
|
||||
"items": {
|
||||
"type": "string",
|
||||
"maxLength": 4096
|
||||
}
|
||||
},
|
||||
"steps_ru": {
|
||||
"type": "array",
|
||||
"maxItems": 10000,
|
||||
"items": {
|
||||
"type": "string",
|
||||
"maxLength": 4096
|
||||
}
|
||||
},
|
||||
"expected_result_ru": {
|
||||
"type": "string",
|
||||
"maxLength": 4096
|
||||
},
|
||||
"failure_guidance_ru": {
|
||||
"type": "string",
|
||||
"maxLength": 4096
|
||||
},
|
||||
"evidence_ids": {
|
||||
"type": "array",
|
||||
"maxItems": 10000,
|
||||
"items": {
|
||||
"type": "string",
|
||||
"maxLength": 4096
|
||||
}
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"id",
|
||||
"phase",
|
||||
"title_ru",
|
||||
"purpose_ru",
|
||||
"host_scope",
|
||||
"prerequisites",
|
||||
"steps_ru",
|
||||
"expected_result_ru",
|
||||
"failure_guidance_ru",
|
||||
"evidence_ids"
|
||||
],
|
||||
"additionalProperties": false
|
||||
}
|
||||
},
|
||||
"observations": {
|
||||
"type": "array",
|
||||
"maxItems": 50000,
|
||||
"items": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"item_id": {
|
||||
"type": "string",
|
||||
"maxLength": 4096
|
||||
},
|
||||
"host_id": {
|
||||
"type": "string",
|
||||
"maxLength": 4096
|
||||
},
|
||||
"result": {
|
||||
"enum": [
|
||||
"PASS",
|
||||
"FAIL",
|
||||
"PARTIAL",
|
||||
"NOT_CHECKED",
|
||||
"ERROR",
|
||||
"STALE"
|
||||
]
|
||||
},
|
||||
"checked_by": {
|
||||
"type": "string",
|
||||
"maxLength": 4096
|
||||
},
|
||||
"checked_at": {
|
||||
"type": "string",
|
||||
"maxLength": 40,
|
||||
"format": "date-time"
|
||||
},
|
||||
"method": {
|
||||
"enum": [
|
||||
"HUMAN",
|
||||
"AUTOMATIC"
|
||||
]
|
||||
},
|
||||
"note": {
|
||||
"type": "string",
|
||||
"maxLength": 4096
|
||||
},
|
||||
"plan_revision": {
|
||||
"type": "integer",
|
||||
"minimum": 1,
|
||||
"maximum": 2147483647
|
||||
},
|
||||
"profile_revision": {
|
||||
"type": "integer",
|
||||
"minimum": 1,
|
||||
"maximum": 2147483647
|
||||
},
|
||||
"applicability": {
|
||||
"enum": [
|
||||
"APPLICABLE",
|
||||
"NOT_APPLICABLE_WITH_REASON",
|
||||
"UNKNOWN"
|
||||
]
|
||||
},
|
||||
"evidence_ids": {
|
||||
"type": "array",
|
||||
"maxItems": 10000,
|
||||
"items": {
|
||||
"type": "string",
|
||||
"maxLength": 4096
|
||||
}
|
||||
},
|
||||
"original_result": {
|
||||
"enum": [
|
||||
"PASS",
|
||||
"FAIL",
|
||||
"PARTIAL",
|
||||
"NOT_CHECKED",
|
||||
"ERROR",
|
||||
"STALE"
|
||||
]
|
||||
},
|
||||
"sequence": {
|
||||
"type": "integer",
|
||||
"minimum": 1
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"item_id",
|
||||
"host_id",
|
||||
"result",
|
||||
"checked_by",
|
||||
"checked_at",
|
||||
"method",
|
||||
"note",
|
||||
"plan_revision",
|
||||
"profile_revision",
|
||||
"applicability",
|
||||
"evidence_ids"
|
||||
],
|
||||
"additionalProperties": false
|
||||
}
|
||||
},
|
||||
"context_digest": {
|
||||
"type": "string",
|
||||
"pattern": "^[a-f0-9]{64}$"
|
||||
},
|
||||
"exported_at": {
|
||||
"type": "string",
|
||||
"format": "date-time"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"schema_version",
|
||||
"items",
|
||||
"observations"
|
||||
],
|
||||
"additionalProperties": false
|
||||
}
|
||||
@@ -0,0 +1,85 @@
|
||||
{
|
||||
"$schema": "http://json-schema.org/draft-07/schema#",
|
||||
"$id": "urn:ald-transition:host",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"id": {
|
||||
"type": "string",
|
||||
"maxLength": 36,
|
||||
"format": "uuid"
|
||||
},
|
||||
"fqdn": {
|
||||
"type": "string",
|
||||
"maxLength": 253,
|
||||
"format": "hostname"
|
||||
},
|
||||
"addresses": {
|
||||
"type": "array",
|
||||
"maxItems": 32,
|
||||
"items": {
|
||||
"type": "string",
|
||||
"maxLength": 45,
|
||||
"format": "ip-address"
|
||||
}
|
||||
},
|
||||
"os_family": {
|
||||
"enum": [
|
||||
"WINDOWS",
|
||||
"ASTRA",
|
||||
"LINUX",
|
||||
"UNKNOWN"
|
||||
]
|
||||
},
|
||||
"os_release": {
|
||||
"type": "string",
|
||||
"maxLength": 4096
|
||||
},
|
||||
"os_build": {
|
||||
"type": "string",
|
||||
"maxLength": 4096
|
||||
},
|
||||
"kernel": {
|
||||
"type": "string",
|
||||
"maxLength": 4096
|
||||
},
|
||||
"architecture": {
|
||||
"type": "string",
|
||||
"maxLength": 4096
|
||||
},
|
||||
"detected_roles": {
|
||||
"type": "array",
|
||||
"maxItems": 10000,
|
||||
"items": {
|
||||
"type": "string",
|
||||
"maxLength": 4096
|
||||
}
|
||||
},
|
||||
"observed_at": {
|
||||
"type": "string",
|
||||
"maxLength": 40,
|
||||
"format": "date-time"
|
||||
},
|
||||
"evidence_ids": {
|
||||
"type": "array",
|
||||
"maxItems": 10000,
|
||||
"items": {
|
||||
"type": "string",
|
||||
"maxLength": 4096
|
||||
}
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"id",
|
||||
"fqdn",
|
||||
"addresses",
|
||||
"os_family",
|
||||
"os_release",
|
||||
"os_build",
|
||||
"kernel",
|
||||
"architecture",
|
||||
"detected_roles",
|
||||
"observed_at",
|
||||
"evidence_ids"
|
||||
],
|
||||
"additionalProperties": false
|
||||
}
|
||||
@@ -0,0 +1,225 @@
|
||||
{
|
||||
"$schema": "http://json-schema.org/draft-07/schema#",
|
||||
"$id": "urn:ald-transition:inventory",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"schema_version": {
|
||||
"const": 1
|
||||
},
|
||||
"source_system_id": {
|
||||
"type": "string",
|
||||
"maxLength": 36,
|
||||
"format": "uuid"
|
||||
},
|
||||
"synthetic": {
|
||||
"type": "boolean"
|
||||
},
|
||||
"scope": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"description": {
|
||||
"type": "string",
|
||||
"maxLength": 4096
|
||||
},
|
||||
"complete": {
|
||||
"type": "boolean"
|
||||
},
|
||||
"denied_or_unreachable": {
|
||||
"type": "array",
|
||||
"maxItems": 10000,
|
||||
"items": {
|
||||
"type": "string",
|
||||
"maxLength": 4096
|
||||
}
|
||||
},
|
||||
"categories": {
|
||||
"type": "array",
|
||||
"maxItems": 32,
|
||||
"items": {
|
||||
"type": "string",
|
||||
"maxLength": 128
|
||||
}
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"description",
|
||||
"complete",
|
||||
"denied_or_unreachable",
|
||||
"categories"
|
||||
],
|
||||
"additionalProperties": false
|
||||
},
|
||||
"hosts": {
|
||||
"type": "array",
|
||||
"maxItems": 10000,
|
||||
"items": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"id": {
|
||||
"type": "string",
|
||||
"maxLength": 36,
|
||||
"format": "uuid"
|
||||
},
|
||||
"fqdn": {
|
||||
"type": "string",
|
||||
"maxLength": 253,
|
||||
"format": "hostname"
|
||||
},
|
||||
"addresses": {
|
||||
"type": "array",
|
||||
"maxItems": 32,
|
||||
"items": {
|
||||
"type": "string",
|
||||
"maxLength": 45,
|
||||
"format": "ip-address"
|
||||
}
|
||||
},
|
||||
"os_family": {
|
||||
"enum": [
|
||||
"WINDOWS",
|
||||
"ASTRA",
|
||||
"LINUX",
|
||||
"UNKNOWN"
|
||||
]
|
||||
},
|
||||
"os_release": {
|
||||
"type": "string",
|
||||
"maxLength": 4096
|
||||
},
|
||||
"os_build": {
|
||||
"type": "string",
|
||||
"maxLength": 4096
|
||||
},
|
||||
"kernel": {
|
||||
"type": "string",
|
||||
"maxLength": 4096
|
||||
},
|
||||
"architecture": {
|
||||
"type": "string",
|
||||
"maxLength": 4096
|
||||
},
|
||||
"detected_roles": {
|
||||
"type": "array",
|
||||
"maxItems": 10000,
|
||||
"items": {
|
||||
"type": "string",
|
||||
"maxLength": 4096
|
||||
}
|
||||
},
|
||||
"observed_at": {
|
||||
"type": "string",
|
||||
"maxLength": 40,
|
||||
"format": "date-time"
|
||||
},
|
||||
"evidence_ids": {
|
||||
"type": "array",
|
||||
"maxItems": 10000,
|
||||
"items": {
|
||||
"type": "string",
|
||||
"maxLength": 4096
|
||||
}
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"id",
|
||||
"fqdn",
|
||||
"addresses",
|
||||
"os_family",
|
||||
"os_release",
|
||||
"os_build",
|
||||
"kernel",
|
||||
"architecture",
|
||||
"detected_roles",
|
||||
"observed_at",
|
||||
"evidence_ids"
|
||||
],
|
||||
"additionalProperties": false
|
||||
}
|
||||
},
|
||||
"objects": {
|
||||
"type": "array",
|
||||
"maxItems": 50000,
|
||||
"items": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"source_system_id": {
|
||||
"type": "string",
|
||||
"maxLength": 36,
|
||||
"format": "uuid"
|
||||
},
|
||||
"object_guid": {
|
||||
"type": "string",
|
||||
"maxLength": 36,
|
||||
"format": "uuid"
|
||||
},
|
||||
"sid": {
|
||||
"type": "string",
|
||||
"maxLength": 184
|
||||
},
|
||||
"dn": {
|
||||
"type": "string",
|
||||
"maxLength": 4096
|
||||
},
|
||||
"object_type": {
|
||||
"enum": [
|
||||
"user",
|
||||
"group",
|
||||
"organizationalUnit",
|
||||
"computer",
|
||||
"dns",
|
||||
"gpo",
|
||||
"share",
|
||||
"service",
|
||||
"dhcp",
|
||||
"certificate",
|
||||
"other"
|
||||
]
|
||||
},
|
||||
"attributes": {
|
||||
"type": "object",
|
||||
"additionalProperties": true
|
||||
},
|
||||
"memberships": {
|
||||
"type": "array",
|
||||
"maxItems": 10000,
|
||||
"items": {
|
||||
"type": "string",
|
||||
"maxLength": 4096
|
||||
}
|
||||
},
|
||||
"observed_at": {
|
||||
"type": "string",
|
||||
"maxLength": 40,
|
||||
"format": "date-time"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"source_system_id",
|
||||
"object_guid",
|
||||
"sid",
|
||||
"dn",
|
||||
"object_type",
|
||||
"attributes",
|
||||
"memberships",
|
||||
"observed_at"
|
||||
],
|
||||
"additionalProperties": false
|
||||
}
|
||||
},
|
||||
"source_domain": {
|
||||
"type": "string",
|
||||
"maxLength": 253,
|
||||
"format": "hostname"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"schema_version",
|
||||
"source_system_id",
|
||||
"synthetic",
|
||||
"scope",
|
||||
"hosts",
|
||||
"objects",
|
||||
"source_domain"
|
||||
],
|
||||
"additionalProperties": false
|
||||
}
|
||||
@@ -0,0 +1,89 @@
|
||||
{
|
||||
"$schema": "http://json-schema.org/draft-07/schema#",
|
||||
"type": "object",
|
||||
"additionalProperties": false,
|
||||
"required": [
|
||||
"schema_version",
|
||||
"revision",
|
||||
"provenance",
|
||||
"artifacts"
|
||||
],
|
||||
"properties": {
|
||||
"schema_version": {
|
||||
"const": 1
|
||||
},
|
||||
"revision": {
|
||||
"type": "integer",
|
||||
"minimum": 1
|
||||
},
|
||||
"provenance": {
|
||||
"type": "object",
|
||||
"additionalProperties": false,
|
||||
"required": [
|
||||
"publisher",
|
||||
"version",
|
||||
"source_url",
|
||||
"signature_reference"
|
||||
],
|
||||
"properties": {
|
||||
"publisher": {
|
||||
"type": "string",
|
||||
"maxLength": 4096
|
||||
},
|
||||
"version": {
|
||||
"type": "string",
|
||||
"maxLength": 4096
|
||||
},
|
||||
"source_url": {
|
||||
"type": "string",
|
||||
"maxLength": 4096
|
||||
},
|
||||
"signature_reference": {
|
||||
"type": "string",
|
||||
"maxLength": 4096
|
||||
}
|
||||
}
|
||||
},
|
||||
"artifacts": {
|
||||
"type": "array",
|
||||
"maxItems": 64,
|
||||
"items": {
|
||||
"type": "object",
|
||||
"additionalProperties": false,
|
||||
"required": [
|
||||
"path",
|
||||
"kind",
|
||||
"sha256",
|
||||
"base64",
|
||||
"source_id"
|
||||
],
|
||||
"properties": {
|
||||
"path": {
|
||||
"type": "string",
|
||||
"maxLength": 512
|
||||
},
|
||||
"kind": {
|
||||
"enum": [
|
||||
"inventory",
|
||||
"profile",
|
||||
"checklist",
|
||||
"source"
|
||||
]
|
||||
},
|
||||
"sha256": {
|
||||
"type": "string",
|
||||
"pattern": "^[a-f0-9]{64}$"
|
||||
},
|
||||
"base64": {
|
||||
"type": "string",
|
||||
"maxLength": 65536
|
||||
},
|
||||
"source_id": {
|
||||
"type": "string",
|
||||
"maxLength": 4096
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,80 @@
|
||||
{
|
||||
"$schema": "http://json-schema.org/draft-07/schema#",
|
||||
"$id": "urn:ald-transition:operation",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"id": {
|
||||
"type": "string",
|
||||
"maxLength": 128
|
||||
},
|
||||
"adapter_id": {
|
||||
"type": "string",
|
||||
"maxLength": 128
|
||||
},
|
||||
"adapter_version": {
|
||||
"type": "string",
|
||||
"maxLength": 64
|
||||
},
|
||||
"target_id": {
|
||||
"type": "string",
|
||||
"maxLength": 128
|
||||
},
|
||||
"typed_parameters": {
|
||||
"type": "object",
|
||||
"additionalProperties": true
|
||||
},
|
||||
"preconditions": {
|
||||
"type": "array",
|
||||
"maxItems": 10000,
|
||||
"items": {
|
||||
"type": "string",
|
||||
"maxLength": 4096
|
||||
}
|
||||
},
|
||||
"effects": {
|
||||
"type": "array",
|
||||
"maxItems": 10000,
|
||||
"items": {
|
||||
"type": "string",
|
||||
"maxLength": 4096
|
||||
}
|
||||
},
|
||||
"cancellation_class": {
|
||||
"enum": [
|
||||
"READ_ONLY_TERMINATE",
|
||||
"SAFE_BOUNDARY",
|
||||
"NOT_CANCELLABLE"
|
||||
]
|
||||
},
|
||||
"recovery_class": {
|
||||
"enum": [
|
||||
"NONE",
|
||||
"RECONCILE",
|
||||
"REBOOT_REQUIRED",
|
||||
"RESTORE_BACKUP",
|
||||
"MANUAL"
|
||||
]
|
||||
},
|
||||
"postconditions": {
|
||||
"type": "array",
|
||||
"maxItems": 10000,
|
||||
"items": {
|
||||
"type": "string",
|
||||
"maxLength": 4096
|
||||
}
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"id",
|
||||
"adapter_id",
|
||||
"adapter_version",
|
||||
"target_id",
|
||||
"typed_parameters",
|
||||
"preconditions",
|
||||
"effects",
|
||||
"cancellation_class",
|
||||
"recovery_class",
|
||||
"postconditions"
|
||||
],
|
||||
"additionalProperties": false
|
||||
}
|
||||
@@ -0,0 +1,207 @@
|
||||
{
|
||||
"$schema": "http://json-schema.org/draft-07/schema#",
|
||||
"$id": "urn:ald-transition:plan",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"schema_version": {
|
||||
"const": 1
|
||||
},
|
||||
"id": {
|
||||
"type": "string",
|
||||
"maxLength": 36,
|
||||
"format": "uuid"
|
||||
},
|
||||
"revision": {
|
||||
"type": "integer",
|
||||
"minimum": 1,
|
||||
"maximum": 2147483647
|
||||
},
|
||||
"inventory_digest": {
|
||||
"type": "string",
|
||||
"maxLength": 4096,
|
||||
"pattern": "^[a-f0-9]{64}$"
|
||||
},
|
||||
"policy_digest": {
|
||||
"type": "string",
|
||||
"maxLength": 4096,
|
||||
"pattern": "^[a-f0-9]{64}$"
|
||||
},
|
||||
"mapping_digest": {
|
||||
"type": "string",
|
||||
"maxLength": 4096,
|
||||
"pattern": "^[a-f0-9]{64}$"
|
||||
},
|
||||
"affected_hosts": {
|
||||
"type": "array",
|
||||
"maxItems": 10000,
|
||||
"items": {
|
||||
"type": "string",
|
||||
"maxLength": 4096
|
||||
}
|
||||
},
|
||||
"graph": {
|
||||
"type": "array",
|
||||
"maxItems": 1024,
|
||||
"items": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"id": {
|
||||
"type": "string",
|
||||
"maxLength": 128
|
||||
},
|
||||
"operation": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"id": {
|
||||
"type": "string",
|
||||
"maxLength": 128
|
||||
},
|
||||
"adapter_id": {
|
||||
"type": "string",
|
||||
"maxLength": 128
|
||||
},
|
||||
"adapter_version": {
|
||||
"type": "string",
|
||||
"maxLength": 64
|
||||
},
|
||||
"target_id": {
|
||||
"type": "string",
|
||||
"maxLength": 128
|
||||
},
|
||||
"typed_parameters": {
|
||||
"type": "object",
|
||||
"additionalProperties": true
|
||||
},
|
||||
"preconditions": {
|
||||
"type": "array",
|
||||
"maxItems": 10000,
|
||||
"items": {
|
||||
"type": "string",
|
||||
"maxLength": 4096
|
||||
}
|
||||
},
|
||||
"effects": {
|
||||
"type": "array",
|
||||
"maxItems": 10000,
|
||||
"items": {
|
||||
"type": "string",
|
||||
"maxLength": 4096
|
||||
}
|
||||
},
|
||||
"cancellation_class": {
|
||||
"enum": [
|
||||
"READ_ONLY_TERMINATE",
|
||||
"SAFE_BOUNDARY",
|
||||
"NOT_CANCELLABLE"
|
||||
]
|
||||
},
|
||||
"recovery_class": {
|
||||
"enum": [
|
||||
"NONE",
|
||||
"RECONCILE",
|
||||
"REBOOT_REQUIRED",
|
||||
"RESTORE_BACKUP",
|
||||
"MANUAL"
|
||||
]
|
||||
},
|
||||
"postconditions": {
|
||||
"type": "array",
|
||||
"maxItems": 10000,
|
||||
"items": {
|
||||
"type": "string",
|
||||
"maxLength": 4096
|
||||
}
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"id",
|
||||
"adapter_id",
|
||||
"adapter_version",
|
||||
"target_id",
|
||||
"typed_parameters",
|
||||
"preconditions",
|
||||
"effects",
|
||||
"cancellation_class",
|
||||
"recovery_class",
|
||||
"postconditions"
|
||||
],
|
||||
"additionalProperties": false
|
||||
},
|
||||
"dependencies": {
|
||||
"type": "array",
|
||||
"maxItems": 1024,
|
||||
"items": {
|
||||
"type": "string",
|
||||
"maxLength": 128
|
||||
}
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"id",
|
||||
"operation",
|
||||
"dependencies"
|
||||
],
|
||||
"additionalProperties": false
|
||||
}
|
||||
},
|
||||
"error_policy": {
|
||||
"enum": [
|
||||
"STOP_ON_ERROR",
|
||||
"CONTINUE_INDEPENDENT",
|
||||
"PAUSE_FOR_DECISION"
|
||||
]
|
||||
},
|
||||
"downtime": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"duration_minutes": {
|
||||
"type": [
|
||||
"integer",
|
||||
"null"
|
||||
],
|
||||
"minimum": 0
|
||||
},
|
||||
"impact_ru": {
|
||||
"type": "string",
|
||||
"maxLength": 4096
|
||||
},
|
||||
"recovery_ru": {
|
||||
"type": "string",
|
||||
"maxLength": 4096
|
||||
},
|
||||
"point_of_no_return_ru": {
|
||||
"type": "string",
|
||||
"maxLength": 4096
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"duration_minutes",
|
||||
"impact_ru",
|
||||
"recovery_ru",
|
||||
"point_of_no_return_ru"
|
||||
],
|
||||
"additionalProperties": false
|
||||
},
|
||||
"authorization_state": {
|
||||
"enum": [
|
||||
"NOT_AUTHORIZED",
|
||||
"AUTHORIZED",
|
||||
"INVALIDATED"
|
||||
]
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"schema_version",
|
||||
"id",
|
||||
"revision",
|
||||
"inventory_digest",
|
||||
"policy_digest",
|
||||
"mapping_digest",
|
||||
"affected_hosts",
|
||||
"graph",
|
||||
"error_policy",
|
||||
"downtime",
|
||||
"authorization_state"
|
||||
],
|
||||
"additionalProperties": false
|
||||
}
|
||||
@@ -0,0 +1,134 @@
|
||||
{
|
||||
"$schema": "http://json-schema.org/draft-07/schema#",
|
||||
"$id": "urn:ald-transition:profile",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"schema_version": {
|
||||
"const": 1
|
||||
},
|
||||
"id": {
|
||||
"type": "string",
|
||||
"maxLength": 36,
|
||||
"format": "uuid"
|
||||
},
|
||||
"revision": {
|
||||
"type": "integer",
|
||||
"minimum": 1,
|
||||
"maximum": 2147483647
|
||||
},
|
||||
"os_constraints": {
|
||||
"type": "array",
|
||||
"maxItems": 10000,
|
||||
"items": {
|
||||
"type": "string",
|
||||
"maxLength": 4096
|
||||
}
|
||||
},
|
||||
"role_constraints": {
|
||||
"type": "array",
|
||||
"maxItems": 10000,
|
||||
"items": {
|
||||
"type": "string",
|
||||
"maxLength": 4096
|
||||
}
|
||||
},
|
||||
"settings": {
|
||||
"type": "array",
|
||||
"maxItems": 1000,
|
||||
"items": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"id": {
|
||||
"type": "string",
|
||||
"maxLength": 4096
|
||||
},
|
||||
"desired_value": {},
|
||||
"source_refs": {
|
||||
"type": "array",
|
||||
"maxItems": 10000,
|
||||
"items": {
|
||||
"type": "string",
|
||||
"maxLength": 4096
|
||||
}
|
||||
},
|
||||
"management_owner": {
|
||||
"type": "string",
|
||||
"maxLength": 4096
|
||||
},
|
||||
"applicability": {
|
||||
"enum": [
|
||||
"APPLICABLE",
|
||||
"NOT_APPLICABLE_WITH_REASON",
|
||||
"UNKNOWN"
|
||||
]
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"id",
|
||||
"desired_value",
|
||||
"source_refs",
|
||||
"management_owner",
|
||||
"applicability"
|
||||
],
|
||||
"additionalProperties": false
|
||||
}
|
||||
},
|
||||
"management_owner": {
|
||||
"type": "string",
|
||||
"maxLength": 4096
|
||||
},
|
||||
"exceptions": {
|
||||
"type": "array",
|
||||
"maxItems": 10000,
|
||||
"items": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"scope": {
|
||||
"type": "string",
|
||||
"maxLength": 4096
|
||||
},
|
||||
"owner": {
|
||||
"type": "string",
|
||||
"maxLength": 4096
|
||||
},
|
||||
"reason": {
|
||||
"type": "string",
|
||||
"maxLength": 4096
|
||||
},
|
||||
"review_date": {
|
||||
"type": "string",
|
||||
"maxLength": 40,
|
||||
"format": "date-time"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"scope",
|
||||
"owner",
|
||||
"reason",
|
||||
"review_date"
|
||||
],
|
||||
"additionalProperties": false
|
||||
}
|
||||
},
|
||||
"source_refs": {
|
||||
"type": "array",
|
||||
"maxItems": 10000,
|
||||
"items": {
|
||||
"type": "string",
|
||||
"maxLength": 4096
|
||||
}
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"schema_version",
|
||||
"id",
|
||||
"revision",
|
||||
"os_constraints",
|
||||
"role_constraints",
|
||||
"settings",
|
||||
"management_owner",
|
||||
"exceptions",
|
||||
"source_refs"
|
||||
],
|
||||
"additionalProperties": false
|
||||
}
|
||||
@@ -0,0 +1,63 @@
|
||||
{
|
||||
"$schema": "http://json-schema.org/draft-07/schema#",
|
||||
"$id": "urn:ald-transition:project",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"id": {
|
||||
"type": "string",
|
||||
"maxLength": 36,
|
||||
"format": "uuid"
|
||||
},
|
||||
"schema_version": {
|
||||
"const": 1
|
||||
},
|
||||
"target_domain": {
|
||||
"type": "string",
|
||||
"maxLength": 253,
|
||||
"format": "hostname"
|
||||
},
|
||||
"source_domain": {
|
||||
"type": "string",
|
||||
"maxLength": 253,
|
||||
"format": "hostname"
|
||||
},
|
||||
"desired_outcomes": {
|
||||
"type": "array",
|
||||
"maxItems": 32,
|
||||
"items": {
|
||||
"type": "string",
|
||||
"maxLength": 128
|
||||
}
|
||||
},
|
||||
"lab_mode": {
|
||||
"type": "boolean"
|
||||
},
|
||||
"created_at": {
|
||||
"type": "string",
|
||||
"maxLength": 40,
|
||||
"format": "date-time"
|
||||
},
|
||||
"updated_at": {
|
||||
"type": "string",
|
||||
"maxLength": 40,
|
||||
"format": "date-time"
|
||||
},
|
||||
"version": {
|
||||
"type": "integer",
|
||||
"minimum": 1,
|
||||
"maximum": 2147483647
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"id",
|
||||
"schema_version",
|
||||
"target_domain",
|
||||
"source_domain",
|
||||
"desired_outcomes",
|
||||
"lab_mode",
|
||||
"created_at",
|
||||
"updated_at",
|
||||
"version"
|
||||
],
|
||||
"additionalProperties": false
|
||||
}
|
||||
@@ -0,0 +1,92 @@
|
||||
{
|
||||
"$schema": "http://json-schema.org/draft-07/schema#",
|
||||
"$id": "urn:ald-transition:source",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"schema_version": {
|
||||
"const": 1
|
||||
},
|
||||
"revision": {
|
||||
"type": "integer",
|
||||
"minimum": 1,
|
||||
"maximum": 2147483647
|
||||
},
|
||||
"sources": {
|
||||
"type": "array",
|
||||
"maxItems": 1000,
|
||||
"items": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"id": {
|
||||
"type": "string",
|
||||
"maxLength": 4096
|
||||
},
|
||||
"url": {
|
||||
"type": "string",
|
||||
"maxLength": 4096,
|
||||
"format": "uri"
|
||||
},
|
||||
"title": {
|
||||
"type": "string",
|
||||
"maxLength": 4096
|
||||
},
|
||||
"product_version": {
|
||||
"type": [
|
||||
"string",
|
||||
"null"
|
||||
],
|
||||
"maxLength": 4096
|
||||
},
|
||||
"section": {
|
||||
"type": "string",
|
||||
"maxLength": 4096
|
||||
},
|
||||
"retrieved_at": {
|
||||
"type": [
|
||||
"string",
|
||||
"null"
|
||||
]
|
||||
},
|
||||
"artifact_sha256": {
|
||||
"type": [
|
||||
"string",
|
||||
"null"
|
||||
],
|
||||
"pattern": "^[a-f0-9]{64}$"
|
||||
},
|
||||
"verification_state": {
|
||||
"enum": [
|
||||
"reviewed_web",
|
||||
"not_retrieved",
|
||||
"retrieval_failed",
|
||||
"pending_original",
|
||||
"verified_artifact"
|
||||
]
|
||||
},
|
||||
"notes": {
|
||||
"type": "string",
|
||||
"maxLength": 4096
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"id",
|
||||
"url",
|
||||
"title",
|
||||
"product_version",
|
||||
"section",
|
||||
"retrieved_at",
|
||||
"artifact_sha256",
|
||||
"verification_state",
|
||||
"notes"
|
||||
],
|
||||
"additionalProperties": false
|
||||
}
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"schema_version",
|
||||
"revision",
|
||||
"sources"
|
||||
],
|
||||
"additionalProperties": false
|
||||
}
|
||||
@@ -0,0 +1,112 @@
|
||||
{
|
||||
"$schema": "http://json-schema.org/draft-07/schema#",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"schema_version": {
|
||||
"const": 1
|
||||
},
|
||||
"task": {
|
||||
"const": "windows.discovery"
|
||||
},
|
||||
"observed_at": {
|
||||
"type": "string",
|
||||
"format": "date-time"
|
||||
},
|
||||
"os_edition": {
|
||||
"type": "string",
|
||||
"maxLength": 4096
|
||||
},
|
||||
"os_release": {
|
||||
"type": "string",
|
||||
"maxLength": 4096
|
||||
},
|
||||
"os_build": {
|
||||
"type": "string",
|
||||
"maxLength": 4096
|
||||
},
|
||||
"architecture": {
|
||||
"type": "string",
|
||||
"maxLength": 4096
|
||||
},
|
||||
"domain_role": {
|
||||
"type": "integer",
|
||||
"minimum": 0,
|
||||
"maximum": 5
|
||||
},
|
||||
"part_of_domain": {
|
||||
"type": "boolean"
|
||||
},
|
||||
"domain": {
|
||||
"type": "string",
|
||||
"maxLength": 4096
|
||||
},
|
||||
"name": {
|
||||
"type": "string",
|
||||
"maxLength": 4096
|
||||
},
|
||||
"powershell_version": {
|
||||
"type": "string",
|
||||
"maxLength": 4096
|
||||
},
|
||||
"optional_features": {
|
||||
"type": "array",
|
||||
"maxItems": 16,
|
||||
"items": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"name": {
|
||||
"type": "string",
|
||||
"maxLength": 4096
|
||||
},
|
||||
"state": {
|
||||
"type": "string",
|
||||
"maxLength": 4096
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"name",
|
||||
"state"
|
||||
],
|
||||
"additionalProperties": false
|
||||
}
|
||||
},
|
||||
"feature_inventory_complete": {
|
||||
"type": "boolean"
|
||||
},
|
||||
"sshd_state": {
|
||||
"type": "string",
|
||||
"maxLength": 4096
|
||||
},
|
||||
"errors": {
|
||||
"type": "array",
|
||||
"maxItems": 100,
|
||||
"items": {
|
||||
"type": "string",
|
||||
"maxLength": 4096
|
||||
}
|
||||
},
|
||||
"synthetic": {
|
||||
"const": false
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"schema_version",
|
||||
"task",
|
||||
"observed_at",
|
||||
"os_edition",
|
||||
"os_release",
|
||||
"os_build",
|
||||
"architecture",
|
||||
"domain_role",
|
||||
"part_of_domain",
|
||||
"domain",
|
||||
"name",
|
||||
"powershell_version",
|
||||
"optional_features",
|
||||
"feature_inventory_complete",
|
||||
"sshd_state",
|
||||
"errors",
|
||||
"synthetic"
|
||||
],
|
||||
"additionalProperties": false
|
||||
}
|
||||
Reference in new issue
Block a user