Add gosec as a linter and add minimal precious config

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Done
    • Priority: Major - P3
    • 100.9.5
    • Affects Version/s: None
    • Component/s: None
    • None
    • 3
    • TAR 2024-05-27
    • Tools and Replicator
    • 2
    • Not Needed

      Problem

      See the project design doc.

      Solution & Acceptance Criteria

      • Add a minimal precious config to do linting.
        • Add gosec as a linter to the precious config.
      • Address any issues it finds
      • Update our Evergreen config to run gosec as part of the release. If it reports any high or critical vulnerabilities this should cause the release to abort.

            Assignee:
            Dave Rolsky
            Reporter:
            Dave Rolsky
            Craven Huynh (Inactive), Evgeni Dobranov (Inactive), Huan Li (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: