Skip to content

Commit

Permalink
✨ feat: Add functionality to add new findings in audits (#128)
Browse files Browse the repository at this point in the history
  • Loading branch information
jllanosg authored Oct 15, 2024
2 parents 49fa2f5 + 5830582 commit 73ade03
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 1 deletion.
1 change: 0 additions & 1 deletion frontend/src/i18n/en-US/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,6 @@ export default {
invalidEmailError:
'Email must follow this format: [email protected]',
passwordsDoNotMatch: 'Passwords do not match',
copiedToClipboard: 'Copied to clipboard',
},
err: {
notDefinedLanguage: 'Not defined for this language',
Expand Down
4 changes: 4 additions & 0 deletions frontend/src/routes/audits/edit/AuditRoot.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -148,6 +148,10 @@ export const AuditRoot = () => {
}
};

/**
* PDF Export encryption
*/

const fileTypes: ListItem[] = [
{
id: 1,
Expand Down
1 change: 1 addition & 0 deletions frontend/src/services/audits.ts
Original file line number Diff line number Diff line change
Expand Up @@ -584,6 +584,7 @@ export const addVuln = async (
priority: data.priority,
cwes: data.details[detailIndex].cwes,
references: data.details[detailIndex].references,
category: data.details[detailIndex].category ?? 'No Category',
customFields: data.details[detailIndex].customFields,
cvssv3: data.cvssv3,
}),
Expand Down
1 change: 1 addition & 0 deletions frontend/src/services/vulnerabilities.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ type Details = {
description?: string;
observation?: string;
remediation?: string;
category?: string;
cwes: string[];
references: string[];
customFields: string[];
Expand Down

0 comments on commit 73ade03

Please sign in to comment.