CID-3428: fix Snyk vulnerabilities #72
44 passed, 0 failed and 0 skipped
β Β /home/runner/work/leanix-github-agent/leanix-github-agent/build/test-results/test/TEST-net.leanix.githubagent.config.WebSocketClientConfigTests.xml
1 tests were completed in 2s with 1 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
net.leanix.githubagent.config.WebSocketClientConfigTests | 1β | 2s |
β Β net.leanix.githubagent.config.WebSocketClientConfigTests
β
initSession should fail after max retry attempts()
β Β /home/runner/work/leanix-github-agent/leanix-github-agent/build/test-results/test/TEST-net.leanix.githubagent.controllers.GitHubWebhookControllerTest.xml
3 tests were completed in 390ms with 3 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
net.leanix.githubagent.controllers.GitHubWebhookControllerTest | 3β | 390ms |
β Β net.leanix.githubagent.controllers.GitHubWebhookControllerTest
β
should return 400 if missing webhook secret when event had signature()
β
should process installation created event successfully()
β
should return 202 if webhook event is processed successfully()
β Β /home/runner/work/leanix-github-agent/leanix-github-agent/build/test-results/test/TEST-net.leanix.githubagent.GitHubAgentApplicationTests.xml
1 tests were completed in 1s with 1 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
net.leanix.githubagent.GitHubAgentApplicationTests | 1β | 1s |
β Β net.leanix.githubagent.GitHubAgentApplicationTests
β
contextLoads()
β Β /home/runner/work/leanix-github-agent/leanix-github-agent/build/test-results/test/TEST-net.leanix.githubagent.runners.PostStartupRunnerTest.xml
1 tests were completed in 311ms with 1 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
net.leanix.githubagent.runners.PostStartupRunnerTest | 1β | 311ms |
β Β net.leanix.githubagent.runners.PostStartupRunnerTest
β
should start syncLog and send GitHub App name()
β Β /home/runner/work/leanix-github-agent/leanix-github-agent/build/test-results/test/TEST-net.leanix.githubagent.services.GitHubAPIServiceTest.xml
4 tests were completed in 171ms with 4 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
net.leanix.githubagent.services.GitHubAPIServiceTest | 4β | 171ms |
β Β net.leanix.githubagent.services.GitHubAPIServiceTest
β
test getPaginatedOrganizations with one page()
β
test getPaginatedInstallations with multiple pages()
β
test getPaginatedInstallations with one page()
β
test getPaginatedOrganizations with multiple pages()
β Β /home/runner/work/leanix-github-agent/leanix-github-agent/build/test-results/test/TEST-net.leanix.githubagent.services.GitHubAuthenticationServiceTest.xml
3 tests were completed in 904ms with 3 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
net.leanix.githubagent.services.GitHubAuthenticationServiceTest | 3β | 904ms |
β Β net.leanix.githubagent.services.GitHubAuthenticationServiceTest
β
generateJwtToken should send error log when throwing an exception()
β
generateJwtToken with invalid data should throw exception()
β
generateJwtToken with valid data should not throw exception()
β Β /home/runner/work/leanix-github-agent/leanix-github-agent/build/test-results/test/TEST-net.leanix.githubagent.services.GitHubEnterpriseServiceTest.xml
5 tests were completed in 27ms with 5 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
net.leanix.githubagent.services.GitHubEnterpriseServiceTest | 5β | 27ms |
β Β net.leanix.githubagent.services.GitHubEnterpriseServiceTest
β
validateGithubAppResponse with correct permissions should not throw exception()
β
validateGithubAppResponse with missing permissions should throw exception()
β
verifyJwt with valid jwt should not throw exception()
β
verifyJwt with invalid jwt should throw exception()
β
validateGithubAppResponse with missing events should throw exception()
β Β /home/runner/work/leanix-github-agent/leanix-github-agent/build/test-results/test/TEST-net.leanix.githubagent.services.GitHubScanningServiceTest.xml
8 tests were completed in 362ms with 8 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
net.leanix.githubagent.services.GitHubScanningServiceTest | 8β | 362ms |
β Β net.leanix.githubagent.services.GitHubScanningServiceTest
β
scanGitHubResources should skip organizations without correct permissions and events()
β
scanGitHubResources should throw JwtTokenNotFound when jwtToken is expired()
β
scanGitHubResources should handle empty installations()
β
scanGitHubResources should send repositories over WebSocket()
β
scanGitHubResources should not send repositories and manifest files over WebSocket for archived repos()
β
scanGitHubResources should send repositories and manifest files over WebSocket()
β
scanGitHubResources should send organizations over WebSocket()
β
scanGitHubResources should send manifest files with empty path if the file is in the root directory()
β Β /home/runner/work/leanix-github-agent/leanix-github-agent/build/test-results/test/TEST-net.leanix.githubagent.services.GitHubWebhookServiceTest.xml
5 tests were completed in 30ms with 5 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
net.leanix.githubagent.services.GitHubWebhookServiceTest | 5β | 30ms |
β Β net.leanix.githubagent.services.GitHubWebhookServiceTest
β
should throw WebhookSecretNotSetException when signature is present but secret is not set()
β
should not process unsupported event type()
β
should throw InvalidEventSignatureException for invalid signature()
β
should not process event if unknown host()
β
should process supported event type successfully()
β Β /home/runner/work/leanix-github-agent/leanix-github-agent/build/test-results/test/TEST-net.leanix.githubagent.services.LeanIXAuthServiceTest.xml
1 tests were completed in 87ms with 1 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
net.leanix.githubagent.services.LeanIXAuthServiceTest | 1β | 87ms |
β Β net.leanix.githubagent.services.LeanIXAuthServiceTest
β
getBearerToken should return valid token()
β Β /home/runner/work/leanix-github-agent/leanix-github-agent/build/test-results/test/TEST-net.leanix.githubagent.services.WebhookEventServiceTest.xml
11 tests were completed in 768ms with 11 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
net.leanix.githubagent.services.WebhookEventServiceTest | 11β | 768ms |
β Β net.leanix.githubagent.services.WebhookEventServiceTest
β
should send updates for yml manifest file()
β
should handle manifest file removal in subdirectory()
β
should wait for active scan to finish before starting scanning new org()
β
should process push event()
β
should handle manifest file in subdirectory()
β
should send all events of type other than push to backend without processing()
β
should ignore push events without a head commit()
β
should send the org to the backend when an new installation is created()
β
should handle push event only with supported YAML extension()
β
should handle push event with multiple added and modified files()
β
should refresh tokens if expired()
β Β /home/runner/work/leanix-github-agent/leanix-github-agent/build/test-results/test/TEST-net.leanix.githubagent.services.WebSocketServiceTests.xml
1 tests were completed in 3ms with 1 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
net.leanix.githubagent.services.WebSocketServiceTests | 1β | 3ms |
β Β net.leanix.githubagent.services.WebSocketServiceTests
β
initSession should initialize stompSession successfully()