Open praetorian-rad opened 1 week ago
@storbeck
This PR will break the Edit Description & Remediation and generate report, Both BE and UI definition upload should append SOW to it, to work properly
updateFile({
ignoreSnackbar: true,
name: `definitions/${prefix}/${name}`,
content: markdownValue,
});
and BE must add SOW prefix to file generated on /upgrade
In relation to https://github.com/praetorian-inc/praetorian-cli/pull/30, we'll pull the attributes for an asset and if any of the classes are SOW, we'll pull the definition file from the SOW folder.