Skip to content

Commit 029c58b

Browse files
Jeffrey ZhanggianniLesl
authored andcommitted
Implemented static analysis script
cr: https://code.amazon.com/reviews/CR-96185263
1 parent 2dfe3b9 commit 029c58b

File tree

4 files changed

+405
-1
lines changed

4 files changed

+405
-1
lines changed

.gitignore

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,4 +29,5 @@ Tools/src/github.com/
2929
Tools/src/golang.org/
3030
agent/managedInstances/sharedCredentials/example.ini
3131
build
32-
vendor/src/github.com/aws/amazon-ssm-agent
32+
vendor/src/github.com/aws/amazon-ssm-agent
33+
empty/

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -119,6 +119,8 @@ The following targets are available. Each may be run with `make <target>`.
119119
| `package` | `package` packages build result into a RPM, DEB and ZIP package |
120120
| `pre-build` | `pre-build` goes through Tools/src folder to make sure all the script files are executable |
121121
| `checkstyle` | `checkstyle` runs the checkstyle script |
122+
| `analyze-install` | `analyze-install` install static analysis dependencies for local use |
123+
| `analyze` | `analyze` runs static analysis script to find possible vulnerabilities |
122124
| `quick-integtest` | `quick-integtest` runs all tests tagged with integration using `go test` |
123125
| `quick-test` | `quick-test` runs all the tests including integration and unit tests using `go test` |
124126
| `coverage` | `coverage` runs all tests and calculate code coverage |

0 commit comments

Comments
 (0)