Skip to content
This repository has been archived by the owner on Aug 16, 2024. It is now read-only.

Commit

Permalink
string corrected
Browse files Browse the repository at this point in the history
  • Loading branch information
Bharatkk-metron committed Aug 5, 2024
1 parent e02d0fb commit 4601362
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/validateInvocation.ts
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ export default async function validateInvocation({
.map((s) => s.trim());
if (!validStatuses(findingStatus)) {
throw new IntegrationValidationError(
'Invalid Finding Status. Valid severities are OPEN, CONFIRMED, REOPENED, RESOLVED, CLOSED',
'Invalid Finding Status. Valid statuses are OPEN, CONFIRMED, REOPENED, RESOLVED, CLOSED',
);
}

Expand All @@ -105,7 +105,7 @@ export default async function validateInvocation({
.map((s) => s.trim());
if (!validTypes(findingTypes)) {
throw new IntegrationValidationError(
'Invalid vulnerability severities. Valid severities are CODE_SMELL,BUG,VULNERABILITY',
'Invalid vulnerability severities. Valid types are CODE_SMELL,BUG,VULNERABILITY',
);
}

Expand Down

0 comments on commit 4601362

Please sign in to comment.