diff --git a/oas_docs/bundle.json b/oas_docs/bundle.json index 693d4c89c7782..beacc5af8464c 100644 --- a/oas_docs/bundle.json +++ b/oas_docs/bundle.json @@ -22619,10 +22619,6 @@ "type": "string" } }, - "required": [ - "name", - "started_at" - ], "type": "object" }, "latest_install_failed_attempts": { @@ -24278,10 +24274,6 @@ "type": "string" } }, - "required": [ - "name", - "started_at" - ], "type": "object" }, "latest_install_failed_attempts": { @@ -25205,10 +25197,6 @@ "type": "string" } }, - "required": [ - "name", - "started_at" - ], "type": "object" }, "latest_install_failed_attempts": { diff --git a/oas_docs/bundle.serverless.json b/oas_docs/bundle.serverless.json index 63525bb631a3d..8c40af57093f3 100644 --- a/oas_docs/bundle.serverless.json +++ b/oas_docs/bundle.serverless.json @@ -22619,10 +22619,6 @@ "type": "string" } }, - "required": [ - "name", - "started_at" - ], "type": "object" }, "latest_install_failed_attempts": { @@ -24278,10 +24274,6 @@ "type": "string" } }, - "required": [ - "name", - "started_at" - ], "type": "object" }, "latest_install_failed_attempts": { @@ -25205,10 +25197,6 @@ "type": "string" } }, - "required": [ - "name", - "started_at" - ], "type": "object" }, "latest_install_failed_attempts": { diff --git a/oas_docs/output/kibana.serverless.yaml b/oas_docs/output/kibana.serverless.yaml index 30ac0dc59283b..390a54ea4816f 100644 --- a/oas_docs/output/kibana.serverless.yaml +++ b/oas_docs/output/kibana.serverless.yaml @@ -22367,9 +22367,6 @@ paths: type: string started_at: type: string - required: - - name - - started_at latest_install_failed_attempts: items: additionalProperties: true @@ -23235,9 +23232,6 @@ paths: type: string started_at: type: string - required: - - name - - started_at latest_install_failed_attempts: items: additionalProperties: true @@ -23864,9 +23858,6 @@ paths: type: string started_at: type: string - required: - - name - - started_at latest_install_failed_attempts: items: additionalProperties: true diff --git a/oas_docs/output/kibana.yaml b/oas_docs/output/kibana.yaml index 1c6b407d933f6..d3598605df807 100644 --- a/oas_docs/output/kibana.yaml +++ b/oas_docs/output/kibana.yaml @@ -24454,9 +24454,6 @@ paths: type: string started_at: type: string - required: - - name - - started_at latest_install_failed_attempts: items: additionalProperties: true @@ -25318,9 +25315,6 @@ paths: type: string started_at: type: string - required: - - name - - started_at latest_install_failed_attempts: items: additionalProperties: true @@ -25945,9 +25939,6 @@ paths: type: string started_at: type: string - required: - - name - - started_at latest_install_failed_attempts: items: additionalProperties: true diff --git a/x-pack/platform/plugins/shared/fleet/server/types/rest_spec/epm.ts b/x-pack/platform/plugins/shared/fleet/server/types/rest_spec/epm.ts index 6cd4431955109..d9aa231330c07 100644 --- a/x-pack/platform/plugins/shared/fleet/server/types/rest_spec/epm.ts +++ b/x-pack/platform/plugins/shared/fleet/server/types/rest_spec/epm.ts @@ -121,8 +121,8 @@ export const InstallationInfoSchema = schema.object({ ), latest_executed_state: schema.maybe( schema.object({ - name: schema.string(), - started_at: schema.string(), + name: schema.maybe(schema.string()), + started_at: schema.maybe(schema.string()), error: schema.maybe(schema.string()), }) ),