Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
mylesvarns committed Feb 21, 2024
2 parents 507973c + a686d4f commit 05b6c7a
Show file tree
Hide file tree
Showing 3 changed files with 29 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@ jobs:

- name: Run brakeman
run: |
bundle exec brakeman -o .github/logs/brakeman.log
if grep -q "No warnings found" .github/logs/brakeman.log; then
bundle exec brakeman -o brakeman.log
if grep -q "No warnings found" brakeman.log; then
echo "BRAKEMAN_STATUS=passing" >> $GITHUB_ENV
else
echo "BRAKEMAN_STATUS=failing" >> $GITHUB_ENV
Expand All @@ -31,7 +31,7 @@ jobs:
- name: Write log status to files
uses: "DamianReeves/write-file-action@master"
with:
path: .github/logs/brakeman_status.json
path: brakeman_status.json
write-mode: overwrite
contents: |
{
Expand Down
23 changes: 23 additions & 0 deletions brakeman.log
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@

== Brakeman Report ==

Application Path: /home/runner/work/PixelArtGenerator/PixelArtGenerator
Rails Version: 7.1.3
Brakeman Version: 6.1.2
Scan Date: 2024-02-21 20:59:28 +0000
Duration: 0.604142969 seconds
Checks Run: BasicAuth, BasicAuthTimingAttack, CSRFTokenForgeryCVE, ContentTag, CookieSerialization, CreateWith, CrossSiteScripting, DefaultRoutes, Deserialize, DetailedExceptions, DigestDoS, DynamicFinders, EOLRails, EOLRuby, EscapeFunction, Evaluation, Execute, FileAccess, FileDisclosure, FilterSkipping, ForgerySetting, HeaderDoS, I18nXSS, JRubyXML, JSONEncoding, JSONEntityEscape, JSONParsing, LinkTo, LinkToHref, MailTo, MassAssignment, MimeTypeDoS, ModelAttrAccessible, ModelAttributes, ModelSerialize, NestedAttributes, NestedAttributesBypass, NumberToCurrency, PageCachingCVE, Pathname, PermitAttributes, QuoteTableName, Ransack, Redirect, RegexDoS, Render, RenderDoS, RenderInline, ResponseSplitting, RouteDoS, SQL, SQLCVEs, SSLVerify, SafeBufferManipulation, SanitizeConfigCve, SanitizeMethods, SelectTag, SelectVulnerability, Send, SendFile, SessionManipulation, SessionSettings, SimpleFormat, SingleQuotes, SkipBeforeFilter, SprocketsPathTraversal, StripTags, SymbolDoSCVE, TemplateInjection, TranslateBug, UnsafeReflection, UnsafeReflectionMethods, ValidationRegex, VerbConfusion, WeakRSAKey, WithoutProtection, XMLDoS, YAMLParsing

== Overview ==

Controllers: 2
Models: 1
Templates: 3
Errors: 0
Security Warnings: 0

== Warning Types ==


No warnings found

3 changes: 3 additions & 0 deletions brakeman_status.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"status": "passing"
}

0 comments on commit 05b6c7a

Please sign in to comment.