Best practice for running security scans

Hi, I have a Rails application that I’ve setup and was wondering which API would be the proper one to use to run “post test” security scans? At the moment I just have them running as extra run steps at the end of the build (

Would a best practice here be to put it into a separate job?


I think this approach is fine. If you put it in an extra job then you have the additional overhead of needing to load/install all of your dependencies. Note that right now this step will only run if your tests pass.

If this is the desired state, then great!

Alternatively, if you always want to run these regardless of the previous step then you can use the when: always modifier to have this always run.

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.