Open Source Platform for DTC, B2B Commerce, Marketplaces & Omnichannel. REST APIs, TypeScript SDKs, and production-ready Next.js storefront. Self-host it. Own your data. No vendor lock-in. Zero platform fees.
Ruby b2b-commercee-commerceecommerceecommerce-apiecommerce-frameworkecommerce-platformheadlessheadless-commerceheadless-ecommercemarketplacemulti-tenantmulti-vendormulti-vendor-ecommerceopen-sourcespree-commerce
Improve brakeman reporting
Damian Legawiec2ac492fd41b2
diff --git a/.circleci/config.yml b/.circleci/config.ymlindex 5ff1d99be0..dc0ca34da9 100644--- a/.circleci/config.yml+++ b/.circleci/config.yml@@ -154,6 +154,9 @@ jobs:- checkout- bundle_install- run: bin/brakeman.sh+ - run:+ name: Move brakeman reports to artifacts directory+ command: mv brakeman-*.html /tmp/test-artifacts/- store_artifacts:path: /tmp/test-artifactsdestination: test-artifactsdiff --git a/.gitignore b/.gitignoreindex 11cd6dfe1d..b9bd6a316f 100644--- a/.gitignore+++ b/.gitignore@@ -55,3 +55,4 @@ vendor/bundle*/vendor/bundle.ignoreTODO+brakeman-*.htmldiff --git a/bin/brakeman.sh b/bin/brakeman.shindex 82169afa63..a075c6bb07 100755--- a/bin/brakeman.sh+++ b/bin/brakeman.sh@@ -2,8 +2,8 @@set -eux-bundle exec brakeman -p api/ --exit-on-warn --exit-on-error-bundle exec brakeman -p core/ --exit-on-warn --exit-on-error-bundle exec brakeman -p storefront/ --exit-on-warn --exit-on-error-bundle exec brakeman -p admin/ --exit-on-warn --exit-on-error-bundle exec brakeman -p emails/ --exit-on-warn --exit-on-error\ No newline at end of file+bundle exec brakeman -p api/ --exit-on-warn --exit-on-error -o brakeman-api.html+bundle exec brakeman -p core/ --exit-on-warn --exit-on-error -o brakeman-core.html+bundle exec brakeman -p storefront/ --exit-on-warn --exit-on-error -o brakeman-storefront.html+bundle exec brakeman -p admin/ --exit-on-warn --exit-on-error -o brakeman-admin.html+bundle exec brakeman -p emails/ --exit-on-warn --exit-on-error -o brakeman-emails.html\ No newline at end of file