diff --git a/oas_docs/overlays/kibana.overlays.serverless.yaml b/oas_docs/overlays/kibana.overlays.serverless.yaml index 35b58ffc9d9c..86a73d57c856 100644 --- a/oas_docs/overlays/kibana.overlays.serverless.yaml +++ b/oas_docs/overlays/kibana.overlays.serverless.yaml @@ -15,62 +15,10 @@ actions: variables: kibana_url: default: localhost:5601 - # Remove duplicate paths - - target: "$.paths['/s/{spaceId}/api/saved_objects/_import']" - description: Remove duplicate path - remove: true - - target: "$.paths['/s/{spaceId}/api/saved_objects/_export']" - description: Remove duplicate path - remove: true # Remove operation-level security definitions - target: "$.paths['/api/status']['get'].security" description: Remove system security definitions remove: true - - target: "$.paths['/api/encrypted_saved_objects/_rotate_key']['post'].security" - description: Remove saved object security definitions - remove: true - - target: "$.paths['/api/saved_objects/_bulk_create']['post'].security" - description: Remove saved object security definitions - remove: true - - target: "$.paths['/api/saved_objects/_bulk_delete']['post'].security" - description: Remove saved object security definitions - remove: true - - target: "$.paths['/api/saved_objects/_bulk_get']['post'].security" - description: Remove saved object security definitions - remove: true - - target: "$.paths['/api/saved_objects/_bulk_resolve']['post'].security" - description: Remove saved object security definitions - remove: true - - target: "$.paths['/api/saved_objects/_bulk_update']['post'].security" - description: Remove saved object security definitions - remove: true - - target: "$.paths['/api/saved_objects/_export']['post'].security" - description: Remove saved object security definitions - remove: true - - target: "$.paths['/api/saved_objects/_find']['get'].security" - description: Remove saved object security definitions - remove: true - - target: "$.paths['/api/saved_objects/_import']['post'].security" - description: Remove saved object security definitions - remove: true - - target: "$.paths['/api/saved_objects/_resolve_import_errors']['post'].security" - description: Remove saved object security definitions - remove: true - - target: "$.paths['/api/saved_objects/{type}']['post'].security" - description: Remove saved object security definitions - remove: true - - target: "$.paths['/api/saved_objects/{type}/{id}']['get'].security" - description: Remove saved object security definitions - remove: true - - target: "$.paths['/api/saved_objects/{type}/{id}']['post'].security" - description: Remove saved object security definitions - remove: true - - target: "$.paths['/api/saved_objects/{type}/{id}']['put'].security" - description: Remove saved object security definitions - remove: true - - target: "$.paths['/api/saved_objects/resolve/{type}/{id}']['get'].security" - description: Remove saved object security definitions - remove: true # Add a document-level security definition - target: '$.components.securitySchemes' description: Add an API key security scheme diff --git a/oas_docs/overlays/kibana.overlays.yaml b/oas_docs/overlays/kibana.overlays.yaml index 2f18f81f45e4..d1acdf7712bf 100644 --- a/oas_docs/overlays/kibana.overlays.yaml +++ b/oas_docs/overlays/kibana.overlays.yaml @@ -19,51 +19,6 @@ actions: - target: "$.paths['/api/status']['get'].security" description: Remove system security definitions remove: true - - target: "$.paths['/api/encrypted_saved_objects/_rotate_key']['post'].security" - description: Remove system security definitions - remove: true - - target: "$.paths['/api/saved_objects/_bulk_create']['post'].security" - description: Remove system security definitions - remove: true - - target: "$.paths['/api/saved_objects/_bulk_delete']['post'].security" - description: Remove system security definitions - remove: true - - target: "$.paths['/api/saved_objects/_bulk_get']['post'].security" - description: Remove system security definitions - remove: true - - target: "$.paths['/api/saved_objects/_bulk_resolve']['post'].security" - description: Remove system security definitions - remove: true - - target: "$.paths['/api/saved_objects/_bulk_update']['post'].security" - description: Remove system security definitions - remove: true - - target: "$.paths['/api/saved_objects/_export']['post'].security" - description: Remove system security definitions - remove: true - - target: "$.paths['/api/saved_objects/_find']['get'].security" - description: Remove system security definitions - remove: true - - target: "$.paths['/api/saved_objects/_import']['post'].security" - description: Remove system security definitions - remove: true - - target: "$.paths['/api/saved_objects/_resolve_import_errors']['post'].security" - description: Remove system security definitions - remove: true - - target: "$.paths['/api/saved_objects/{type}']['post'].security" - description: Remove system security definitions - remove: true - - target: "$.paths['/api/saved_objects/{type}/{id}']['get'].security" - description: Remove system security definitions - remove: true - - target: "$.paths['/api/saved_objects/{type}/{id}']['post'].security" - description: Remove system security definitions - remove: true - - target: "$.paths['/api/saved_objects/{type}/{id}']['put'].security" - description: Remove system security definitions - remove: true - - target: "$.paths['/api/saved_objects/resolve/{type}/{id}']['get'].security" - description: Remove system security definitions - remove: true # Add document-level security definitions - target: '$.components.securitySchemes' description: Add an API key security scheme