Skip to content

Commit

Permalink
Fixes 2.0 test failures
Browse files Browse the repository at this point in the history
Signed-off-by: Darshit Chanpura <[email protected]>
  • Loading branch information
DarshitChanpura committed Aug 9, 2024
1 parent 87640ec commit c4205c5
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
4 changes: 2 additions & 2 deletions spec/namespaces/security.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -883,7 +883,7 @@ paths:
put:
operationId: security.reload_http_certificates.0
x-operation-group: security.reload_http_certificates
x-version-added: '2.11'
x-version-added: '2.8'
description: Reload HTTP layer communication certificates.
externalDocs:
url: https://opensearch.org/docs/latest/security/access-control/api/#reload-http-certificates
Expand All @@ -898,7 +898,7 @@ paths:
put:
operationId: security.reload_transport_certificates.0
x-operation-group: security.reload_transport_certificates
x-version-added: '2.11'
x-version-added: '2.8'
description: Reload Transport layer communication certificates.
externalDocs:
url: https://opensearch.org/docs/latest/security/access-control/api/#reload-transport-certificates
Expand Down
4 changes: 3 additions & 1 deletion tests/default/security/api/ssl_certs.yaml
Original file line number Diff line number Diff line change
@@ -1,21 +1,23 @@
$schema: ../../../../json_schemas/test_story.schema.yaml

description: Test ssl endpoints.
version: '>=2.0'
# ADMIN-CERT only. These tests require explicit rest api admin privileges.
chapters:
- synopsis: Get ssl certificates.
path: /_plugins/_security/api/ssl/certs
version: '>=2.0'
method: GET
response:
status: 403
- synopsis: Reload http certs.
path: /_plugins/_security/api/ssl/http/reloadcerts
version: '>2.7'
method: PUT
response:
status: 403
- synopsis: Reload transport certs.
path: /_plugins/_security/api/ssl/transport/reloadcerts
version: '>2.7'
method: PUT
response:
status: 403

0 comments on commit c4205c5

Please sign in to comment.