Categorygithub.com/mkql/putnosec
modulepackage
0.1.0
Repository: https://github.com/mkql/putnosec.git
Documentation: pkg.go.dev

# README

putnosec

add // #nosec Gxxx directives according to gosec output json.

Install

go install github.com/mkql/putnosec:latest

Usage

  • gosec -fmt=json <path> > gosec_output.json
  • putnosec -w < gosec_output.json
    • This command overwrites source files with gosec issues. Without -w option, putnosec prints planned change and exit.

You can see other options with putnosec -help.

# Packages

No description provided by the author

# Functions

No description provided by the author
No description provided by the author
No description provided by the author

# Structs

No description provided by the author
No description provided by the author
No description provided by the author

# Type aliases

No description provided by the author