Skip to content

Commit

Permalink
Adds missing new lines at the end of files and removes any extra line…
Browse files Browse the repository at this point in the history
…s added by linter

Signed-off-by: Darshit Chanpura <[email protected]>
  • Loading branch information
DarshitChanpura committed Jul 23, 2024
1 parent ab976d4 commit 463401a
Show file tree
Hide file tree
Showing 12 changed files with 2 additions and 25 deletions.
2 changes: 1 addition & 1 deletion tests/security/with-api-prefix/account.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -46,4 +46,4 @@ epilogues:
method: DELETE
parameters:
username: test
status: [200, 404]
status: [200, 404]
2 changes: 0 additions & 2 deletions tests/security/with-api-prefix/action_groups.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,6 @@ chapters:
path: /test
value:
allowed_actions: ['indices:admin/create', 'indices:admin/mapping/put']


response:
status: 200
- synopsis: Get action group.
Expand Down
2 changes: 0 additions & 2 deletions tests/security/with-api-prefix/allowlist.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,5 @@ chapters:
request_body:
op: remove
path: /config/requests

response:
status: 200

5 changes: 0 additions & 5 deletions tests/security/with-api-prefix/audit.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,18 +15,15 @@ chapters:
disabled_rest_categories:
- AUTHENTICATED
- GRANTED_PRIVILEGES

disabled_transport_categories:
- AUTHENTICATED
- GRANTED_PRIVILEGES

log_request_body: false
resolve_indices: false
resolve_bulk_requests: false
exclude_sensitive_headers: true
enable_transport: false
enable_rest: true

compliance:
enabled: true
write_log_diffs: false
Expand All @@ -38,7 +35,6 @@ chapters:
write_metadata_only: true
external_config: false
internal_config: true

response:
status: 200
- synopsis: Get an audit config.
Expand All @@ -55,4 +51,3 @@ chapters:
path: /config/enabled
value: 'true'
status: 200

1 change: 0 additions & 1 deletion tests/security/with-api-prefix/migrate.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,3 @@ chapters:
method: POST
response:
status: 200

2 changes: 1 addition & 1 deletion tests/security/with-api-prefix/permissionsinfo.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ description: Test permissionsinfo endpoint.

chapters:
- synopsis: Get evaluated permissions for currently logged in user.
path: /_plugins/_security/api/nodesdn
path: /_plugins/_security/api/permissionsinfo
method: GET
response:
status: 200
Expand Down
2 changes: 0 additions & 2 deletions tests/security/with-api-prefix/roles.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,6 @@ chapters:
op: replace
path: /index_permissions/0/fls
value: [random1, random2]

response:
status: 200
- synopsis: Delete role.
Expand All @@ -72,4 +71,3 @@ chapters:
role: test
response:
status: 200

3 changes: 0 additions & 3 deletions tests/security/with-api-prefix/rolesmapping.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,6 @@ chapters:
backend_roles: [captains]
hosts:
- '*.example.com'

users: [test]
response:
status: 200
Expand Down Expand Up @@ -60,5 +59,3 @@ chapters:
role: test
response:
status: 200


2 changes: 0 additions & 2 deletions tests/security/with-api-prefix/securityconfig.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -54,5 +54,3 @@ chapters:
value: 'true'
response:
status: 200


1 change: 0 additions & 1 deletion tests/security/with-api-prefix/tenancy_config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,4 +20,3 @@ chapters:
sign_in_options: []
response:
status: 200

4 changes: 0 additions & 4 deletions tests/security/with-api-prefix/tenants.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,6 @@ chapters:
- op: replace
path: /test/description
value: A very good description


response:
status: 200
- synopsis: Create tenant.
Expand Down Expand Up @@ -47,8 +45,6 @@ chapters:
- op: replace
path: /description
value: An updated description


response:
status: 200
- synopsis: Delete tenant.
Expand Down
1 change: 0 additions & 1 deletion tests/security/with-api-prefix/validate.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,3 @@ chapters:
accept_invalid: false
response:
status: 200

0 comments on commit 463401a

Please sign in to comment.