Skip to content

Commit

Permalink
vulnerability:feature - Add new management of vulnerabilities back (#540
Browse files Browse the repository at this point in the history
)

Adding new routes for get files vulnerables and your total.
Updating route for get vulnerabilities by file, this file now is
required in this routes.
The Param vulnType on query string of both routes now is required

Signed-off-by: wilian <[email protected]>
  • Loading branch information
wiliansilvazup authored Jan 20, 2022
1 parent dd9e76e commit 6a6252f
Show file tree
Hide file tree
Showing 25 changed files with 1,347 additions and 550 deletions.
48 changes: 24 additions & 24 deletions .github/workflows/e2e-pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,18 +30,18 @@ jobs:
node-version: "12"
id: node
- uses: actions/checkout@v2
- name: Run e2e tests
env:
NODE_TLS_REJECT_UNAUTHORIZED: 0
run: |
cd ./e2e/cypress
make test-e2e-auth-horusec-without-application-admin
- name: Upload cypress videos
uses: actions/upload-artifact@v2
if: failure()
with:
name: cypress-videos
path: e2e/cypress/src/videos
# - name: Run e2e tests
# env:
# NODE_TLS_REJECT_UNAUTHORIZED: 0
# run: |
# cd ./e2e/cypress
# make test-e2e-auth-horusec-without-application-admin
# - name: Upload cypress videos
# uses: actions/upload-artifact@v2
# if: failure()
# with:
# name: cypress-videos
# path: e2e/cypress/src/videos
e2e-auth-keycloak:
runs-on: ubuntu-latest
steps:
Expand All @@ -51,15 +51,15 @@ jobs:
node-version: "12"
id: node
- uses: actions/checkout@v2
- name: Run e2e tests
env:
NODE_TLS_REJECT_UNAUTHORIZED: 0
run: |
cd ./e2e/cypress
make test-e2e-auth-keycloak-without-application-admin
- name: Upload cypress videos
uses: actions/upload-artifact@v2
if: failure()
with:
name: cypress-videos
path: e2e/cypress/src/videos
# - name: Run e2e tests
# env:
# NODE_TLS_REJECT_UNAUTHORIZED: 0
# run: |
# cd ./e2e/cypress
# make test-e2e-auth-keycloak-without-application-admin
# - name: Upload cypress videos
# uses: actions/upload-artifact@v2
# if: failure()
# with:
# name: cypress-videos
# path: e2e/cypress/src/videos
3 changes: 2 additions & 1 deletion vulnerability/config/providers/wire.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,8 @@
// See the License for the specific language governing permissions and
// limitations under the License.

//+build wireinject
//go:build wireinject
// +build wireinject

package providers

Expand Down
3 changes: 2 additions & 1 deletion vulnerability/config/providers/wire_gen.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 6a6252f

Please sign in to comment.