@aikidosec/ci-api-client 1.0.15 → 1.0.16
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 +2 -4
- package/lib/commands/scan.js +1 -1
- package/lib/commands/scanRelease.js +1 -1
- package/lib/index.js +1 -1
- package/npm-shrinkwrap.json +2 -2
- package/package.json +1 -1
- package/src/commands/scan.ts +1 -1
- package/src/commands/scanRelease.ts +1 -1
- package/src/index.ts +1 -1
package/README.md
CHANGED
|
@@ -48,6 +48,7 @@ Options:
|
|
|
48
48
|
--minimum-severity-level <level> Set the minimum severity level. Accepted options are: LOW, MEDIUM, HIGH and CRITICAL. (choices: "LOW", "MEDIUM",
|
|
49
49
|
"HIGH", "CRITICAL")
|
|
50
50
|
--poll-interval [interval] The poll interval when checking for an updated scan result (preset: 10)
|
|
51
|
+
--sla-mode Let Aikido only fail only on open issues that have gone out of SLA.
|
|
51
52
|
-h, --help display help for command
|
|
52
53
|
```
|
|
53
54
|
|
|
@@ -129,10 +130,7 @@ If you are missing functionality in this cli tool, please feel free to add it. I
|
|
|
129
130
|
# Other resources
|
|
130
131
|
|
|
131
132
|
- [Aikido Official Website](https://aikido.dev)
|
|
132
|
-
- [Aikido
|
|
133
|
-
- [Aikido GitLab CI Integration](https://gitlab.com/aikido-security/gitlab-ci-integration)
|
|
134
|
-
- [Aikido Bitbucket Pipe](https://bitbucket.org/aikido-production/bitbucket-pipe)
|
|
135
|
-
- [Aikido Azure Pipelines](https://marketplace.visualstudio.com/items?itemName=AikidoSecurity.aikido-security-scanner)
|
|
133
|
+
- [Aikido Docs](https://help.aikido.dev/)
|
|
136
134
|
- [Aikido on Twitter](https://twitter.com/AikidoSecurity)
|
|
137
135
|
|
|
138
136
|
|
package/lib/commands/scan.js
CHANGED
|
@@ -118,7 +118,7 @@ export const scan = async ({ repoId, baseCommitId, headCommitId, branchName, opt
|
|
|
118
118
|
pollStatus();
|
|
119
119
|
};
|
|
120
120
|
const parseCliOptions = (userCliOptions) => {
|
|
121
|
-
const apiOptions = { version: '1.0.
|
|
121
|
+
const apiOptions = { version: '1.0.16' };
|
|
122
122
|
const cliOptions = { pollInterval: 5 };
|
|
123
123
|
if (userCliOptions.pullRequestTitle) {
|
|
124
124
|
apiOptions.pull_request_metadata = {
|
|
@@ -123,7 +123,7 @@ export const scan = async ({ repoId, commitId, options, pollInterval = 10, onSta
|
|
|
123
123
|
pollStatus();
|
|
124
124
|
};
|
|
125
125
|
const parseCliOptions = (userCliOptions) => {
|
|
126
|
-
const apiOptions = { version: '1.0.
|
|
126
|
+
const apiOptions = { version: '1.0.16' };
|
|
127
127
|
const cliOptions = { pollInterval: 10 };
|
|
128
128
|
if (userCliOptions.pullRequestTitle) {
|
|
129
129
|
apiOptions.pull_request_metadata = {
|
package/lib/index.js
CHANGED
|
@@ -11,7 +11,7 @@ export const program = new Command();
|
|
|
11
11
|
program
|
|
12
12
|
.name('Aikido API Client')
|
|
13
13
|
.description('CLI api client to easily integrate the Aikido public CI API into custom deploy scripts')
|
|
14
|
-
.version('1.0.
|
|
14
|
+
.version('1.0.16');
|
|
15
15
|
apiKey.cliSetup(program);
|
|
16
16
|
scan.cliSetup(program);
|
|
17
17
|
scanRelease.cliSetup(program);
|
package/npm-shrinkwrap.json
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aikidosec/ci-api-client",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.16",
|
|
4
4
|
"lockfileVersion": 3,
|
|
5
5
|
"requires": true,
|
|
6
6
|
"packages": {
|
|
7
7
|
"": {
|
|
8
8
|
"name": "@aikidosec/ci-api-client",
|
|
9
|
-
"version": "1.0.
|
|
9
|
+
"version": "1.0.16",
|
|
10
10
|
"license": "MIT",
|
|
11
11
|
"dependencies": {
|
|
12
12
|
"axios": "1.8.3",
|
package/package.json
CHANGED
package/src/commands/scan.ts
CHANGED
|
@@ -245,7 +245,7 @@ export const scan = async ({
|
|
|
245
245
|
const parseCliOptions = (userCliOptions: TScanUserCliOptions) => {
|
|
246
246
|
// Version provided to the API corresponds with the version in package.json
|
|
247
247
|
// of the cli client
|
|
248
|
-
const apiOptions: TScanApiOptions = { version: '1.0.
|
|
248
|
+
const apiOptions: TScanApiOptions = { version: '1.0.16' };
|
|
249
249
|
const cliOptions: TScanCliOptions = { pollInterval: 5 };
|
|
250
250
|
|
|
251
251
|
if (userCliOptions.pullRequestTitle) {
|
|
@@ -245,7 +245,7 @@ export const scan = async ({
|
|
|
245
245
|
const parseCliOptions = (userCliOptions: TScanUserCliOptions) => {
|
|
246
246
|
// Version provided to the API corresponds with the version in package.json
|
|
247
247
|
// of the cli client
|
|
248
|
-
const apiOptions: TScanApiOptions = { version: '1.0.
|
|
248
|
+
const apiOptions: TScanApiOptions = { version: '1.0.16' };
|
|
249
249
|
const cliOptions: TScanCliOptions = { pollInterval: 10 };
|
|
250
250
|
|
|
251
251
|
if (userCliOptions.pullRequestTitle) {
|
package/src/index.ts
CHANGED
|
@@ -20,7 +20,7 @@ program
|
|
|
20
20
|
.description(
|
|
21
21
|
'CLI api client to easily integrate the Aikido public CI API into custom deploy scripts'
|
|
22
22
|
)
|
|
23
|
-
.version('1.0.
|
|
23
|
+
.version('1.0.16');
|
|
24
24
|
|
|
25
25
|
// Load in all app commands and set them up in the `program` instance
|
|
26
26
|
apiKey.cliSetup(program);
|