-
Notifications
You must be signed in to change notification settings - Fork 303
CS-277 [Improvement] Statement of applicability changes #2648
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
Merged
Merged
Changes from all commits
Commits
Show all changes
39 commits
Select commit
Hold shift + click to select a range
5fa4861
fix(app): move 'Statement of Applicability' from Questionnaire to Doc…
chasprowebdev d8a9a8d
fix(app): update approval status after approving of 'Statement of App…
chasprowebdev 4d6e854
fix(app): show approval status on Statement of Applicability card in …
chasprowebdev 10c67f7
fix(api): include soa to documents score
chasprowebdev 7364c58
fix(api): create endpoint to export soa into pdf
chasprowebdev e6731b2
fix(app): export Statement of Applicability as pdf
chasprowebdev 1d3f903
fix(api): add metrics to SOA pdf document
chasprowebdev 74fac2d
Merge branch 'main' of https://github.com/trycompai/comp into chas/mo…
chasprowebdev fd5ba8b
fix(app): add organizationId to frameworks SWR cache
chasprowebdev 49c1673
fix(app): remove use of hasISO27001Framework on CompanyOverviewCards
chasprowebdev 993e89b
fix(app): remove use of ai-vendor-questionnaire FF for SOA page
chasprowebdev 589f285
fix(api): fix pagination overflow for long question blocks in soa pdf
chasprowebdev 37e7d15
Merge branch 'main' into chas/move-statement-of-applicability
tofikwest ada6b5e
fix(api): correct SOA export classification for declined cases
chasprowebdev 760c304
fix(app): use exact role checks instead of substring matching
chasprowebdev 24f9791
fix(api): add coverage for SOA export endpoint
chasprowebdev 3ab3698
Merge branch 'chas/move-statement-of-applicability' of https://github…
chasprowebdev 94ad0ab
Merge branch 'main' of https://github.com/trycompai/comp into chas/mo…
chasprowebdev a5e8988
fix(framework-editor): add SOA document to ISO 27001 framework
chasprowebdev 10fbfb1
Merge branch 'main' of https://github.com/trycompai/comp into chas/mo…
chasprowebdev 2f12556
fix(app): handle serverApi.post errors to prevent infinite loading on…
chasprowebdev 38642ba
fix(api): correct SOA completion logic based on approvedAt for SOA
chasprowebdev 140db39
fix(app): avoid defaulting to 'Not approved' before SOA status loads
chasprowebdev fbd4b09
Merge branch 'main' of https://github.com/trycompai/comp into chas/mo…
chasprowebdev 1296eeb
fix(db): add declined fields to SOADocument
chasprowebdev 83a5619
fix(db): remove declined from SOADocumentStatus
chasprowebdev dafde6f
fix(api): update declineAt during SOA Document status changes
chasprowebdev 59567c4
fix(app): update approval status text on soa
chasprowebdev 4813da6
fix(api): update approval status text on soa pdf
chasprowebdev af47b4e
fix(app): update SOA Document Info based on status changes
chasprowebdev 4489630
Merge branch 'main' of https://github.com/trycompai/comp into chas/mo…
chasprowebdev 08971f9
fix(app): correct approvalStatusText handling of declinedAt
chasprowebdev f817d44
fix(app): correct SOA document info during the status changes
chasprowebdev 7705eca
fix(api): update the soa pdf content
chasprowebdev 068a607
Merge branch 'main' of https://github.com/trycompai/comp into chas/mo…
chasprowebdev 959d571
fix(app): handle /v1/frameworks fetch errors before showing not found…
chasprowebdev b9a580f
fix(app): guard answers sync effect from clearing answersMap on parti…
chasprowebdev 37fcd08
Merge branch 'main' into chas/move-statement-of-applicability
tofikwest bfd1f5f
fix(api): add non-empty validation for requirement fields in ExportSO…
chasprowebdev File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,15 @@ | ||
| import { IsIn, IsNotEmpty, IsString } from 'class-validator'; | ||
|
|
||
| export class ExportSOADocumentDto { | ||
| @IsString() | ||
| @IsNotEmpty() | ||
| documentId!: string; | ||
|
|
||
| @IsString() | ||
| @IsNotEmpty() | ||
| organizationId!: string; | ||
|
|
||
| @IsIn(['pdf']) | ||
| format!: 'pdf'; | ||
| } | ||
|
|
||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.