codeant-cli 0.2.3 → 0.2.5
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/commands/secrets.js +40 -160
- package/src/components/SecretsUI.js +366 -0
- package/src/index.js +23 -93
- package/src/utils/secretsApiHelper.js +109 -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(_0x338837,_0x36a4a0){const _0x1622a0=_0x4fe3,_0x783763=_0x338837();while(!![]){try{const _0x3a7478=-parseInt(_0x1622a0(0x13c))/0x1+-parseInt(_0x1622a0(0x138))/0x2+parseInt(_0x1622a0(0x135))/0x3+-parseInt(_0x1622a0(0x133))/0x4*(parseInt(_0x1622a0(0x137))/0x5)+parseInt(_0x1622a0(0x13b))/0x6+parseInt(_0x1622a0(0x132))/0x7*(parseInt(_0x1622a0(0x13a))/0x8)+-parseInt(_0x1622a0(0x139))/0x9;if(_0x3a7478===_0x36a4a0)break;else _0x783763['push'](_0x783763['shift']());}catch(_0x4c7111){_0x783763['push'](_0x783763['shift']());}}}(_0x199f,0x55001));function _0x4fe3(_0x221f95,_0x602a97){_0x221f95=_0x221f95-0x132;const _0x199f30=_0x199f();let _0x4fe368=_0x199f30[_0x221f95];return _0x4fe368;}export const id=0xb2;export const ids=[0xb2];export const modules={0x1ff2:(_0x4e9942,_0x3435b9,_0x22b204)=>{const _0x4a03ef=_0x4fe3,_0x516d6b={'bIRRq':function(_0x33d6aa,_0x33eaff){return _0x33d6aa(_0x33eaff);}},_0x56028a=_0x516d6b[_0x4a03ef(0x134)](_0x22b204,0x5fe);_0x4e9942[_0x4a03ef(0x136)]=_0x56028a;}};function _0x199f(){const _0x429213=['3394668KfWVBO','324276tEowiy','1855xvmAYv','4cklkTA','bIRRq','1275651ERJqKT','exports','324250iIxktY','684928xskxJb','935091glpaqR','5816IeAzHv'];_0x199f=function(){return _0x429213;};return _0x199f();}
|
package/dist/239.index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
function _0x3038(){const _0x2e7ea7=['179284VtIAym','KytVf','2358520NWoUDL','8ACLeKT','14038173zSAFzs','36UIuKxG','3puuCTx','2406050FzNlkS','1369880smYORV','20466248zwYQAD','10aCsLsN','1755509xtnAuQ','exports'];_0x3038=function(){return _0x2e7ea7;};return _0x3038();}(function(_0x5b6f98,_0x5e741f){const _0xf5b491=_0x1bf7,_0xa72d7a=_0x5b6f98();while(!![]){try{const _0x319cf5=-parseInt(_0xf5b491(0x19d))/0x1+parseInt(_0xf5b491(0x1a2))/0x2+parseInt(_0xf5b491(0x19b))/0x3*(parseInt(_0xf5b491(0x1a4))/0x4)+parseInt(_0xf5b491(0x19c))/0x5+parseInt(_0xf5b491(0x1a7))/0x6*(parseInt(_0xf5b491(0x1a0))/0x7)+-parseInt(_0xf5b491(0x1a5))/0x8*(-parseInt(_0xf5b491(0x1a6))/0x9)+-parseInt(_0xf5b491(0x19f))/0xa*(parseInt(_0xf5b491(0x19e))/0xb);if(_0x319cf5===_0x5e741f)break;else _0xa72d7a['push'](_0xa72d7a['shift']());}catch(_0x1a368f){_0xa72d7a['push'](_0xa72d7a['shift']());}}}(_0x3038,0xf2cf9));export const id=0xef;export const ids=[0xef];function _0x1bf7(_0x5ac373,_0x46ec2f){_0x5ac373=_0x5ac373-0x19b;const _0x303860=_0x3038();let _0x1bf734=_0x303860[_0x5ac373];return _0x1bf734;}export const modules={0x202f:_0x4c8753=>{const _0x4105b8=_0x1bf7,_0x45a2f5={'KytVf':'glob'};_0x4c8753[_0x4105b8(0x1a1)]=eval('require;')(_0x45a2f5[_0x4105b8(0x1a3)]);}};
|