Skip to content

Commit

Permalink
feat: change the criticality tag to impact tag (#25)
Browse files Browse the repository at this point in the history
  • Loading branch information
bharathcp authored May 13, 2024
1 parent 20588d6 commit af0239f
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
node_modules
build
build
.idea
7 changes: 4 additions & 3 deletions src/tags.ts
Original file line number Diff line number Diff line change
Expand Up @@ -52,9 +52,10 @@ export interface TagsBase {
classification: SecurityClassification;

/**
* Criticality of the resources
* Operational impact of the resources on runtime overall system
* @see https://toitutewhenua.atlassian.net/wiki/spaces/STEP/pages/524059414/OpsGenie+Incident+Priority+Matrix
*/
criticality: 'critical' | 'high' | 'medium' | 'low';
impact: 'high' | 'medium' | 'low';

/**
* THe responder team listed in OpsGenie.
Expand Down Expand Up @@ -95,7 +96,7 @@ export function applyTags(construct: IConstruct, ctx: TagsBase): void {
// Ownership tags
tag(construct, 'linz.group', ctx.group);
tag(construct, 'linz.responder.team', ctx.responderTeam ?? 'NotSet');
tag(construct, 'linz.app.criticality', ctx.criticality);
tag(construct, 'linz.app.impact', ctx.impact);

// Git Tags
if (buildInfo) tag(construct, 'linz.git.hash', buildInfo.hash);
Expand Down

0 comments on commit af0239f

Please sign in to comment.