Skip to content

BED-4768 feat: add login handler for OIDC #2248

BED-4768 feat: add login handler for OIDC

BED-4768 feat: add login handler for OIDC #2248

Triggered via pull request October 4, 2024 23:09
Status Failure
Total duration 3m 22s
Artifacts

static-code-analysis.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 2 warnings
run-analysis
invalid case model.SessionAuthProviderOIDC in switch on ssoProvider.Type (mismatched types model.SessionAuthProvider and model.SSOProviderType))",
run-analysis
invalid case model.SessionAuthProviderOIDC in switch on ssoProvider.Type (mismatched types model.SessionAuthProvider and model.SSOProviderType))",
run-analysis
invalid case model.SessionAuthProviderOIDC in switch on ssoProvider.Type (mismatched types model.SessionAuthProvider and model.SSOProviderType))",
run-analysis
too many errors",
run-analysis
too many errors)",
run-analysis
cannot use mockDB (variable of type *\"github.com/specterops/bloodhound/src/database/mocks\".MockDatabase) as database.Database value in struct literal: *\"github.com/specterops/bloodhound/src/database/mocks\".MockDatabase does not implement database.Database (missing method GetOIDCProviderBySSOProviderID)",
run-analysis
cannot use mockDB (variable of type *\"github.com/specterops/bloodhound/src/database/mocks\".MockDatabase) as database.Database value in argument to NewLoginResource: *\"github.com/specterops/bloodhound/src/database/mocks\".MockDatabase does not implement database.Database (missing method GetOIDCProviderBySSOProviderID)",
run-analysis
cannot use mockDB (variable of type *\"github.com/specterops/bloodhound/src/database/mocks\".MockDatabase) as database.Database value in argument to NewLoginResource: *\"github.com/specterops/bloodhound/src/database/mocks\".MockDatabase does not implement database.Database (missing method GetOIDCProviderBySSOProviderID))",
run-analysis
cannot use dbMock (variable of type *\"github.com/specterops/bloodhound/src/database/mocks\".MockDatabase) as database.Database value in argument to datapipe.ProcessIngestedFileUploadJobs: *\"github.com/specterops/bloodhound/src/database/mocks\".MockDatabase does not implement database.Database (missing method GetOIDCProviderBySSOProviderID)",
run-analysis
cannot use mockDB (variable of type *mocks.MockDatabase) as database.Database value in argument to NewDataPruningDaemon: *mocks.MockDatabase does not implement database.Database (missing method GetOIDCProviderBySSOProviderID)",
run-analysis
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/setup-go@v4. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
run-analysis
Restore cache failed: Dependencies file is not found in /home/runner/work/BloodHound/BloodHound. Supported file pattern: go.sum