fix SBOM asset action #112
52 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 3s with 1 passed, 0 failed and 0 skipped.
| Test suite | Passed | Failed | Skipped | Time |
|---|---|---|---|---|
| net.leanix.githubagent.config.WebSocketClientConfigTests | 1✅ | 3s |
✅ 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 397ms with 3 passed, 0 failed and 0 skipped.
| Test suite | Passed | Failed | Skipped | Time |
|---|---|---|---|---|
| net.leanix.githubagent.controllers.GitHubWebhookControllerTest | 3✅ | 397ms |
✅ 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 889ms with 1 passed, 0 failed and 0 skipped.
| Test suite | Passed | Failed | Skipped | Time |
|---|---|---|---|---|
| net.leanix.githubagent.GitHubAgentApplicationTests | 1✅ | 889ms |
✅ net.leanix.githubagent.GitHubAgentApplicationTests
✅ contextLoads()
✅ /home/runner/work/leanix-github-agent/leanix-github-agent/build/test-results/test/TEST-net.leanix.githubagent.handler.ArtifactDownloadHandlerTest.xml
3 tests were completed in 217ms with 3 passed, 0 failed and 0 skipped.
| Test suite | Passed | Failed | Skipped | Time |
|---|---|---|---|---|
| net.leanix.githubagent.handler.ArtifactDownloadHandlerTest | 3✅ | 217ms |
✅ net.leanix.githubagent.handler.ArtifactDownloadHandlerTest
✅ it should receive message from server and not send empty artifact()
✅ it should receive message from server and send artifact()
✅ it should receive message from server and send artifact when artifact name is null()
✅ /home/runner/work/leanix-github-agent/leanix-github-agent/build/test-results/test/TEST-net.leanix.githubagent.handler.RepositoryGetHandlerTest.xml
1 tests were completed in 22ms with 1 passed, 0 failed and 0 skipped.
| Test suite | Passed | Failed | Skipped | Time |
|---|---|---|---|---|
| net.leanix.githubagent.handler.RepositoryGetHandlerTest | 1✅ | 22ms |
✅ net.leanix.githubagent.handler.RepositoryGetHandlerTest
✅ it should receive message from server and send repository data and manifest files()
✅ /home/runner/work/leanix-github-agent/leanix-github-agent/build/test-results/test/TEST-net.leanix.githubagent.listener.ApplicationReadyListenerTest.xml
1 tests were completed in 93ms with 1 passed, 0 failed and 0 skipped.
| Test suite | Passed | Failed | Skipped | Time |
|---|---|---|---|---|
| net.leanix.githubagent.listener.ApplicationReadyListenerTest | 1✅ | 93ms |
✅ net.leanix.githubagent.listener.ApplicationReadyListenerTest
✅ should start the agent process()
✅ /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 161ms with 4 passed, 0 failed and 0 skipped.
| Test suite | Passed | Failed | Skipped | Time |
|---|---|---|---|---|
| net.leanix.githubagent.services.GitHubAPIServiceTest | 4✅ | 161ms |
✅ 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 697ms with 3 passed, 0 failed and 0 skipped.
| Test suite | Passed | Failed | Skipped | Time |
|---|---|---|---|---|
| net.leanix.githubagent.services.GitHubAuthenticationServiceTest | 3✅ | 697ms |
✅ 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 79ms with 5 passed, 0 failed and 0 skipped.
| Test suite | Passed | Failed | Skipped | Time |
|---|---|---|---|---|
| net.leanix.githubagent.services.GitHubEnterpriseServiceTest | 5✅ | 79ms |
✅ 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
10 tests were completed in 368ms with 10 passed, 0 failed and 0 skipped.
| Test suite | Passed | Failed | Skipped | Time |
|---|---|---|---|---|
| net.leanix.githubagent.services.GitHubScanningServiceTest | 10✅ | 368ms |
✅ net.leanix.githubagent.services.GitHubScanningServiceTest
✅ scanGitHubResources should not send manifest files over WebSocket for manifest files with wrong name()
✅ 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 accept manifest files with case ignored()
✅ 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.GitHubStartServiceTest.xml
1 tests were completed in 72ms with 1 passed, 0 failed and 0 skipped.
| Test suite | Passed | Failed | Skipped | Time |
|---|---|---|---|---|
| net.leanix.githubagent.services.GitHubStartServiceTest | 1✅ | 72ms |
✅ net.leanix.githubagent.services.GitHubStartServiceTest
✅ 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.GitHubWebhookServiceTest.xml
5 tests were completed in 31ms with 5 passed, 0 failed and 0 skipped.
| Test suite | Passed | Failed | Skipped | Time |
|---|---|---|---|---|
| net.leanix.githubagent.services.GitHubWebhookServiceTest | 5✅ | 31ms |
✅ 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 108ms with 1 passed, 0 failed and 0 skipped.
| Test suite | Passed | Failed | Skipped | Time |
|---|---|---|---|---|
| net.leanix.githubagent.services.LeanIXAuthServiceTest | 1✅ | 108ms |
✅ 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
12 tests were completed in 818ms with 12 passed, 0 failed and 0 skipped.
| Test suite | Passed | Failed | Skipped | Time |
|---|---|---|---|---|
| net.leanix.githubagent.services.WebhookEventServiceTest | 12✅ | 818ms |
✅ net.leanix.githubagent.services.WebhookEventServiceTest
✅ should send updates for yml manifest file()
✅ should not process push event with wrong name()
✅ 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 accept manifest files with case ignore()
✅ 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()
✅ /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()