Skip to content

Commit

Permalink
updated cydig condig
Browse files Browse the repository at this point in the history
  • Loading branch information
Linnéa Oxenwaldt committed Feb 28, 2024
1 parent 5303945 commit 970f0a5
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 9 deletions.
8 changes: 4 additions & 4 deletions src/lib/BodyBuilder.ts
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ export class BodyBuilder {
const cqNumberOfSeverity5: string | undefined = process.env?.CQnumberOfSeverity5;

const sastNumberOfSeverity1: string | undefined = process.env?.SASTnumberOfSeverity1;
const sastNumberOfSeverity2: string | undefined = process.env.SASTnumberOfSeverity2;
const sastNumberOfSeverity2: string | undefined = process.env?.SASTnumberOfSeverity2;
const sastNumberOfSeverity3: string | undefined = process.env?.SASTnumberOfSeverity3;

const tmNumberOfActiveTickets: string | undefined = process.env?.tmNumberOfActiveTickets
Expand All @@ -47,9 +47,9 @@ export class BodyBuilder {
const ptNumberOfActiveTickets: string | undefined = process.env?.ptNumberOfActiveTickets;
const ptNumberOfClosedTickets: string | undefined = process.env?.ptNumberOfClosedTickets;

const numUserInProdSeverity1: string | undefined = process.env.numUserInProdSeverity1;
const numUserInProdSeverity2: string | undefined = process.env.numUserInProdSeverity2;
const numUserInProdSeverity3: string | undefined = process.env.numUserInProdSeverity3;
const numUserInProdSeverity1: string | undefined = process.env?.numUserInProdSeverity1;
const numUserInProdSeverity2: string | undefined = process.env?.numUserInProdSeverity2;
const numUserInProdSeverity3: string | undefined = process.env?.numUserInProdSeverity3;

//For printing urls in the pipeline
const urlBody: UrlBody = new UrlBodyBuilder()
Expand Down
16 changes: 11 additions & 5 deletions src/lib/types/CyDigConfig.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,14 +10,20 @@ export type CyDigConfig = {
boardsTag: string;
};
azureDevOps: {
usingBoards: boolean
usingBoards: boolean;
boards: {
organizationName: string;
projectName: string;
nameOfBoard: string;
}
};
};
scaTool: {
nameOfTool: string;
},
sastTool: {
nameOfTool: string;
},
codeQualityTool: {
nameOfTool: string;
}
scaTool: string;
sastTool: string;
codeQualityTool: string;
};

0 comments on commit 970f0a5

Please sign in to comment.