Details

    • Type: Language-Specification
    • Status: Active
    • Resolution: Unresolved
    • Labels:
      None
    • Impact:
      Unknown 'null' severity
    • Likelihood:
      Unknown 'null' severity

      Description

      Sensitive Code Example

      username = 'admin'
      password = 'admin' # Sensitive
      usernamePassword = 'user=admin&password=admin' # Sensitive
      

      Compliant Solution

      import os
      
      username = os.getenv("username") # Compliant
      password = os.getenv("password") # Compliant
      usernamePassword = 'user=%s&password=%s' % (username, password) # Compliant

        Attachments

          Activity

            People

            Assignee:
            Unassigned Unassigned
            Reporter:
            alexandre.gigleux Alexandre Gigleux
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated: