Skip to content

Commit

Permalink
chore(deps): Bump aquasecurity/trivy-action from 0.19.0 to 0.21.0 (#90)
Browse files Browse the repository at this point in the history
* chore(deps): Bump aquasecurity/trivy-action from 0.19.0 to 0.21.0

Bumps [aquasecurity/trivy-action](https://github.com/aquasecurity/trivy-action) from 0.19.0 to 0.21.0.
- [Release notes](https://github.com/aquasecurity/trivy-action/releases)
- [Commits](aquasecurity/trivy-action@0.19.0...0.21.0)

---
updated-dependencies:
- dependency-name: aquasecurity/trivy-action
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>

* format the file

* add a local dev env file, and updated readme

---------

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
  • Loading branch information
MCatherine1994 and dependabot[bot] authored May 28, 2024
1 parent 7f28441 commit e9be5ab
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/unit-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ jobs:
- uses: actions/checkout@v4

- name: Run Trivy vulnerability scanner in repo mode
uses: aquasecurity/trivy-action@0.19.0
uses: aquasecurity/trivy-action@0.21.0
with:
format: "sarif"
output: "trivy-results.sarif"
Expand Down
6 changes: 6 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,11 +1,17 @@
<!-- Project Badges -->

[![Issues](https://img.shields.io/github/issues/bcgov/nr-fam-idim-lookup-proxy)](/../../issues)
[![Pull Requests](https://img.shields.io/github/issues-pr/bcgov/nr-fam-idim-lookup-proxy)](/../../pulls)
[![MIT License](https://img.shields.io/github/license/bcgov/nr-fam-idim-lookup-proxy.svg)](/LICENSE)
[![Lifecycle](https://img.shields.io/badge/Lifecycle-Experimental-339999)](https://github.com/bcgov/repomountie/blob/master/doc/lifecycle-badges.md)

# Simple Webservice proxy for FAM

# Local Setup

- Copy the content in the `local-dev.env` file and create a `.env` file. Update the value of the enviornment secrets (The secrets value can be found in our Openshift namespace e4bc30).
- Install the packages `npm install`
- Run the application `npm run start`

# Acknowledgements

Expand Down
5 changes: 5 additions & 0 deletions backend/local-dev.env
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
API_KEY=thisisasecret
IDIM_WEB_SERVICE_URL=https://gws1.development.bceid.ca/webservices/Client/V10/BCeIDService.asmx?WSDL
IDIM_WEB_SERVICE_ID=thisisasecret
IDIM_WEB_SERVICE_USERNAME=thisisasecret
IDIM_WEB_SERVICE_PASSWORD=thisisasecret
10 changes: 4 additions & 6 deletions backend/src/modules/idim-webservice/idim-webservice.dto.ts
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
import { ApiProperty } from '@nestjs/swagger';

export enum SearchUserParameterType {
UserGuid = "userGuid",
UserId = "userId"
}
UserGuid = 'userGuid',
UserId = 'userId',
}

export enum RequesterAccountTypeCode {
Internal = 'Internal',
Business = 'Business'
Business = 'Business',
}

export class IDIRUserResponse {
Expand Down Expand Up @@ -55,5 +55,3 @@ export class BCEIDUserResponse {
@ApiProperty()
email: string;
}


0 comments on commit e9be5ab

Please sign in to comment.