Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(deps): Bump aquasecurity/trivy-action from 0.19.0 to 0.21.0 #90

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
ianliuwk1019 marked this conversation as resolved.
Show resolved Hide resolved
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;
}