diff --git a/oas_docs/bundle.json b/oas_docs/bundle.json index 2af82ccb859f3..f94aa25174c84 100644 --- a/oas_docs/bundle.json +++ b/oas_docs/bundle.json @@ -22440,10 +22440,6 @@ "type": "string" } }, - "required": [ - "name", - "started_at" - ], "type": "object" }, "latest_install_failed_attempts": { @@ -24085,10 +24081,6 @@ "type": "string" } }, - "required": [ - "name", - "started_at" - ], "type": "object" }, "latest_install_failed_attempts": { @@ -25008,10 +25000,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 18eb22331a36e..5a609f70b8277 100644 --- a/oas_docs/bundle.serverless.json +++ b/oas_docs/bundle.serverless.json @@ -22440,10 +22440,6 @@ "type": "string" } }, - "required": [ - "name", - "started_at" - ], "type": "object" }, "latest_install_failed_attempts": { @@ -24085,10 +24081,6 @@ "type": "string" } }, - "required": [ - "name", - "started_at" - ], "type": "object" }, "latest_install_failed_attempts": { @@ -25008,10 +25000,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 64eb2860d944d..5cb580bb8468b 100644 --- a/oas_docs/output/kibana.serverless.yaml +++ b/oas_docs/output/kibana.serverless.yaml @@ -22202,9 +22202,6 @@ paths: type: string started_at: type: string - required: - - name - - started_at latest_install_failed_attempts: items: additionalProperties: true @@ -23062,9 +23059,6 @@ paths: type: string started_at: type: string - required: - - name - - started_at latest_install_failed_attempts: items: additionalProperties: true @@ -23687,9 +23681,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 ac82f6412c7b4..47396a945af8e 100644 --- a/oas_docs/output/kibana.yaml +++ b/oas_docs/output/kibana.yaml @@ -24289,9 +24289,6 @@ paths: type: string started_at: type: string - required: - - name - - started_at latest_install_failed_attempts: items: additionalProperties: true @@ -25145,9 +25142,6 @@ paths: type: string started_at: type: string - required: - - name - - started_at latest_install_failed_attempts: items: additionalProperties: true @@ -25768,9 +25762,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()), }) ),