codeant-cli 0.2.2 → 0.2.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +0 -45
- package/dist/178.index.js +1 -1
- package/dist/239.index.js +1 -1
- package/dist/701.index.js +1 -1
- package/dist/880.index.js +1 -1
- package/dist/935.index.js +1 -1
- package/dist/966.index.js +1 -1
- package/dist/index.js +4 -4
- package/package.json +1 -1
- package/src/index.js +0 -83
- package/src/scm/azure/listPullRequestComments.js +1 -1
- package/src/scm/bitbucket/listPullRequestComments.js +1 -1
- package/src/scm/github/listPullRequestComments.js +2 -2
- package/src/scm/gitlab/listPullRequestComments.js +1 -1
- package/src/commands/securityAnalysis.js +0 -284
- package/src/commands/staticAnalysis.js +0 -405
- package/src/utils/securityAnalysisApiHelper.js +0 -119
- package/src/utils/staticAnalysisApiHelper.js +0 -119
package/README.md
CHANGED
|
@@ -115,51 +115,6 @@ Use `--include` and `--exclude` with glob patterns to filter files:
|
|
|
115
115
|
- `MEDIUM` - Medium confidence, may need review
|
|
116
116
|
- `FALSE_POSITIVE` - Detected but likely not a real secret (always ignored)
|
|
117
117
|
|
|
118
|
-
#### `static-analysis`
|
|
119
|
-
|
|
120
|
-
Run static code analysis to detect code quality issues, bugs, and code smells.
|
|
121
|
-
|
|
122
|
-
```bash
|
|
123
|
-
codeant static-analysis [options]
|
|
124
|
-
```
|
|
125
|
-
|
|
126
|
-
**Options:**
|
|
127
|
-
|
|
128
|
-
| Option | Description |
|
|
129
|
-
|--------|-------------|
|
|
130
|
-
| `--staged` | Scan only staged files (default) |
|
|
131
|
-
| `--all` | Scan all changed files compared to base branch |
|
|
132
|
-
| `--uncommitted` | Scan all uncommitted changes |
|
|
133
|
-
| `--last-commit` | Scan files from the last commit |
|
|
134
|
-
| `--fail-on <level>` | Fail on issues at or above this level (default: CRITICAL) |
|
|
135
|
-
| `--auto-fix` | Automatically apply fixes when available |
|
|
136
|
-
| `--include <patterns>` | Comma-separated glob patterns to include files |
|
|
137
|
-
| `--exclude <patterns>` | Comma-separated glob patterns to exclude files |
|
|
138
|
-
|
|
139
|
-
**Issue Levels:** `BLOCKER` > `CRITICAL` > `MAJOR` > `MINOR` > `INFO`
|
|
140
|
-
|
|
141
|
-
#### `security-analysis`
|
|
142
|
-
|
|
143
|
-
Run security analysis to detect vulnerabilities in your code.
|
|
144
|
-
|
|
145
|
-
```bash
|
|
146
|
-
codeant security-analysis [options]
|
|
147
|
-
```
|
|
148
|
-
|
|
149
|
-
**Options:**
|
|
150
|
-
|
|
151
|
-
| Option | Description |
|
|
152
|
-
|--------|-------------|
|
|
153
|
-
| `--staged` | Scan only staged files (default) |
|
|
154
|
-
| `--all` | Scan all changed files compared to base branch |
|
|
155
|
-
| `--uncommitted` | Scan all uncommitted changes |
|
|
156
|
-
| `--last-commit` | Scan files from the last commit |
|
|
157
|
-
| `--fail-on <level>` | Fail on issues at or above this level (default: HIGH) |
|
|
158
|
-
| `--include <patterns>` | Comma-separated glob patterns to include files |
|
|
159
|
-
| `--exclude <patterns>` | Comma-separated glob patterns to exclude files |
|
|
160
|
-
|
|
161
|
-
**Severity Levels:** `CRITICAL` > `HIGH` > `MEDIUM`
|
|
162
|
-
|
|
163
118
|
#### `set-base-url <url>`
|
|
164
119
|
|
|
165
120
|
Set a custom API base URL.
|
package/dist/178.index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
(function(_0x20c733,_0x320a7b){const _0x451ee1=_0x5e92,_0x4ecb42=_0x20c733();while(!![]){try{const _0x1188ad=-parseInt(_0x451ee1(0x96))/0x1+parseInt(_0x451ee1(0x90))/0x2*(-parseInt(_0x451ee1(0x92))/0x3)+parseInt(_0x451ee1(0x8f))/0x4*(parseInt(_0x451ee1(0x98))/0x5)+-parseInt(_0x451ee1(0x91))/0x6+-parseInt(_0x451ee1(0x94))/0x7*(-parseInt(_0x451ee1(0x93))/0x8)+parseInt(_0x451ee1(0x95))/0x9*(parseInt(_0x451ee1(0x97))/0xa)+parseInt(_0x451ee1(0x99))/0xb;if(_0x1188ad===_0x320a7b)break;else _0x4ecb42['push'](_0x4ecb42['shift']());}catch(_0xe0d85f){_0x4ecb42['push'](_0x4ecb42['shift']());}}}(_0x54f5,0xbd09e));export const id=0xb2;function _0x5e92(_0x1d00ff,_0x257de3){_0x1d00ff=_0x1d00ff-0x8f;const _0x54f5b2=_0x54f5();let _0x5e9243=_0x54f5b2[_0x1d00ff];return _0x5e9243;}export const ids=[0xb2];function _0x54f5(){const _0x5f8ba0=['25kVEltX','9952547SydbAi','1185380onkLCK','2FWLosu','4317432muZYIn','3292809FmuewK','1264688wGOthb','14HOQKNn','63tHQLwv','1271412FdYtuI','1657450YFPXES'];_0x54f5=function(){return _0x5f8ba0;};return _0x54f5();}export const modules={0x1ff2:(_0x422bd3,_0x5ade8a,_0x17a81a)=>{const _0x4231a7=_0x17a81a(0x5fe);_0x422bd3['exports']=_0x4231a7;}};
|
package/dist/239.index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
(function(_0x382562,_0x3debbc){const _0x11b701=_0x53ce,_0x181570=_0x382562();while(!![]){try{const _0x8e1853=parseInt(_0x11b701(0x1dc))/0x1*(parseInt(_0x11b701(0x1d8))/0x2)+parseInt(_0x11b701(0x1dd))/0x3+-parseInt(_0x11b701(0x1d2))/0x4*(-parseInt(_0x11b701(0x1d4))/0x5)+-parseInt(_0x11b701(0x1d7))/0x6+-parseInt(_0x11b701(0x1d3))/0x7+-parseInt(_0x11b701(0x1de))/0x8*(parseInt(_0x11b701(0x1db))/0x9)+parseInt(_0x11b701(0x1d9))/0xa;if(_0x8e1853===_0x3debbc)break;else _0x181570['push'](_0x181570['shift']());}catch(_0x67a910){_0x181570['push'](_0x181570['shift']());}}}(_0x4453,0x1de06));export const id=0xef;function _0x53ce(_0x616f21,_0x137212){_0x616f21=_0x616f21-0x1d2;const _0x4453f9=_0x4453();let _0x53ceac=_0x4453f9[_0x616f21];return _0x53ceac;}export const ids=[0xef];function _0x4453(){const _0x1bb5e5=['1667510ZuxiiF','glob','437823GZLkZN','87gmPTUW','83064BXYbvq','8FhZuwd','16BhAwNh','28644xqvrBE','50365FbDuWF','exports','zOLSJ','638022MdlnaQ','1074JLylHP'];_0x4453=function(){return _0x1bb5e5;};return _0x4453();}export const modules={0x202f:_0xe8b509=>{const _0x6bc1bd=_0x53ce,_0xaf5b06={'zOLSJ':_0x6bc1bd(0x1da)};_0xe8b509[_0x6bc1bd(0x1d5)]=eval('require;')(_0xaf5b06[_0x6bc1bd(0x1d6)]);}};
|