Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .github/actions/tests/api-tests/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -42,5 +42,7 @@
TYK_TEST_FEDERATION_HOST=federation
TYK_TEST_GRAPHQL_FAKER_HOST=graphql-faker
GATEWAY_CONTAINER_NAME=tyk
TYK_TEST_KEYCLOAK_URL=http://localhost:8180
TYK_TEST_KEYCLOAK_INTERNAL_URL=http://keycloak:8080
EOF

Check warning on line 47 in .github/actions/tests/api-tests/action.yaml

View check run for this annotation

probelabs / Visor: security

security Issue

The Keycloak service URLs are configured using 'http', which results in unencrypted communication. Any authentication tokens or credentials exchanged during the test process will be transmitted in cleartext. This is an insecure practice, even in a test environment, as it exposes sensitive test data to potential interception.
Raw output
Update the Keycloak URLs to use 'https' to ensure all communication with the identity provider is encrypted. This may require configuring the test Keycloak instance with a TLS certificate (e.g., self-signed) for the test environment.
env $(cat pytest.env | xargs) $pytest -m "${{ inputs.api_markers }}"