Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* added documentation for attest in the cli Signed-off-by: Amndeep Singh Mann <[email protected]> * created passthrough write Signed-off-by: Amndeep Singh Mann <[email protected]> * added passthrough read Signed-off-by: Amndeep Singh Mann <[email protected]> * added target read and write - regex replace passthrough -> target Signed-off-by: Amndeep Singh Mann <[email protected]> * debugging failing tests Signed-off-by: Amndeep Singh Mann <[email protected]> * debugging Signed-off-by: Amndeep Singh Mann <[email protected]> * run tests in parallel Signed-off-by: Amndeep Singh Mann <[email protected]> * don't capture stdout for no reason Signed-off-by: Amndeep Singh Mann <[email protected]> * updated name from utils to supplement and fixed documentation Signed-off-by: Amndeep Singh Mann <[email protected]> * put flag in the write place for mocha Signed-off-by: Amndeep Singh Mann <[email protected]> * parallel shorthand from mocha is the same as for the project shorthand on ts-mocha and ts-mocha takes priority Signed-off-by: Amndeep Singh Mann <[email protected]> * giving up on parallelization since now it only checks the first test before moving on in github actions Signed-off-by: Amndeep Singh Mann <[email protected]> * execsync returns stdout Signed-off-by: Amndeep Singh Mann <[email protected]> * returns a buffer that needs to be converted into a string, also print out more debugging lines Signed-off-by: Amndeep Singh Mann <[email protected]> * tree one causees failures for some reason Signed-off-by: Amndeep Singh Mann <[email protected]> * debugging Signed-off-by: Amndeep Singh Mann <[email protected]> * debugging Signed-off-by: Amndeep Singh Mann <[email protected]> * more debugging - the mkdir command does not seem to be generating a file so let's see if an error is thrown Signed-off-by: Amndeep Singh Mann <[email protected]> * error handling didn't get triggered in mapper integration but the directory was definitely not created so now trying to create a directory by hand Signed-off-by: Amndeep Singh Mann <[email protected]> * mkdir direct was able to create the dir, what about fs.mkdirsync Signed-off-by: Amndeep Singh Mann <[email protected]> * fs.mkdirsync returns a string or undefined Signed-off-by: Amndeep Singh Mann <[email protected]> * check what's going on after the mkdir in the mapper integration Signed-off-by: Amndeep Singh Mann <[email protected]> * forgot to print out results of the buffer on the test side Signed-off-by: Amndeep Singh Mann <[email protected]> * forgot that the generic convert called the mappers directly itself (should it though?) Signed-off-by: Amndeep Singh Mann <[email protected]> * make it print out results the other way too Signed-off-by: Amndeep Singh Mann <[email protected]> * debugging Signed-off-by: Amndeep Singh Mann <[email protected]> * maybe its complaints about imports which are only showing up there and not locally btw are what's causing the issue? Signed-off-by: Amndeep Singh Mann <[email protected]> * why is it putting out the help text which is also wrong Signed-off-by: Amndeep Singh Mann <[email protected]> * it's just using completely the wrong command it seems. gonna try killing the cache and seeing what happens Signed-off-by: Amndeep Singh Mann <[email protected]> * the saf cli uses npm not yarn Signed-off-by: Amndeep Singh Mann <[email protected]> * syntax differences between yarn and npm Signed-off-by: Amndeep Singh Mann <[email protected]> * fixed caching Signed-off-by: Amndeep Singh Mann <[email protected]> * remove debuggin Signed-off-by: Amndeep Singh Mann <[email protected]> * remove more debugging Signed-off-by: Amndeep Singh Mann <[email protected]> * remove the last bit of debugging Signed-off-by: Amndeep Singh Mann <[email protected]> * added tests Signed-off-by: Amndeep Singh Mann <[email protected]> * readme Signed-off-by: Amndeep Singh Mann <[email protected]> * moved supplement so it's not cutting off the 'other notes' subsection from the 'generate' section Signed-off-by: Amndeep Singh Mann <[email protected]> * added one-liner example Signed-off-by: Amndeep Singh Mann <[email protected]> * added example using -f and -o for the supplement commands Signed-off-by: Amndeep Singh Mann <[email protected]> * added more examples to attest subcommands and put them in the readme Signed-off-by: Amndeep Singh Mann <[email protected]> * clarified "attest" description "Attesting to 'Not Reviewed' control requirements (that can’t be tested automatically by security tools and hence require manual review), helping to account for all requirements." * clarified "attest" description "Attesting to 'Not Reviewed' controls can be done with the saf attest commands. Sometimes requirements can’t be tested automatically by security tools and hence require manual review, whereby someone interviews people and/or examines a system to confirm (i.e., attest as to) whether the control requirements have been satisfied." * added sample passthrough/target jsons * added sample passthrough and target jsons to README * clarified sample passthrough/target jsons * Clarified sample passthrough json * Clarified sample target json * documentation revisions Signed-off-by: Amndeep Singh Mann <[email protected]> * added samples to readme Signed-off-by: Amndeep Singh Mann <[email protected]> * 'sample' is highlighted in red cause it ain't valid json lol Signed-off-by: Amndeep Singh Mann <[email protected]> Signed-off-by: Amndeep Singh Mann <[email protected]> Co-authored-by: Eugene Aronne <[email protected]>
- Loading branch information