@socketsecurity/sdk 2.0.1 → 2.0.2
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/CHANGELOG.md +5 -0
- package/data/api-method-quota-and-permissions.json +232 -0
- package/dist/constants.d.ts +1 -1
- package/dist/file-upload.d.ts +2 -2
- package/dist/http-client.d.ts +1 -1
- package/dist/socket-sdk-class.d.ts +1 -1
- package/dist/types.d.ts +4 -4
- package/package.json +16 -11
- package/types/api.d.ts +764 -17
- package/dist/cacache-BCCSM36H.mjs +0 -2
- package/dist/chunk-3V7KNFWE.mjs +0 -33
- package/dist/chunk-LHGMBIJS.mjs +0 -4
- package/dist/chunk-UKECVIRQ.mjs +0 -2
- package/dist/index.mjs +0 -35
- package/dist/paths-NFJJ5RRD.mjs +0 -2
- package/dist/testing.mjs +0 -2
package/types/api.d.ts
CHANGED
|
@@ -2910,6 +2910,118 @@ export interface components {
|
|
|
2910
2910
|
usage?: components['schemas']['SocketUsageRef']
|
|
2911
2911
|
}
|
|
2912
2912
|
}
|
|
2913
|
+
| {
|
|
2914
|
+
/** @enum {string} */
|
|
2915
|
+
type?: 'ghaArgToSink'
|
|
2916
|
+
value?: components['schemas']['SocketIssueBasics'] & {
|
|
2917
|
+
/** @default */
|
|
2918
|
+
description: string
|
|
2919
|
+
props: {
|
|
2920
|
+
/** @default */
|
|
2921
|
+
message: string
|
|
2922
|
+
/** @default null */
|
|
2923
|
+
sourceLocation: Record<string, never>
|
|
2924
|
+
sinkLocations: Array<Record<string, never>>
|
|
2925
|
+
}
|
|
2926
|
+
usage?: components['schemas']['SocketUsageRef']
|
|
2927
|
+
}
|
|
2928
|
+
}
|
|
2929
|
+
| {
|
|
2930
|
+
/** @enum {string} */
|
|
2931
|
+
type?: 'ghaEnvToSink'
|
|
2932
|
+
value?: components['schemas']['SocketIssueBasics'] & {
|
|
2933
|
+
/** @default */
|
|
2934
|
+
description: string
|
|
2935
|
+
props: {
|
|
2936
|
+
/** @default */
|
|
2937
|
+
message: string
|
|
2938
|
+
/** @default null */
|
|
2939
|
+
sourceLocation: Record<string, never>
|
|
2940
|
+
sinkLocations: Array<Record<string, never>>
|
|
2941
|
+
}
|
|
2942
|
+
usage?: components['schemas']['SocketUsageRef']
|
|
2943
|
+
}
|
|
2944
|
+
}
|
|
2945
|
+
| {
|
|
2946
|
+
/** @enum {string} */
|
|
2947
|
+
type?: 'ghaContextToSink'
|
|
2948
|
+
value?: components['schemas']['SocketIssueBasics'] & {
|
|
2949
|
+
/** @default */
|
|
2950
|
+
description: string
|
|
2951
|
+
props: {
|
|
2952
|
+
/** @default */
|
|
2953
|
+
message: string
|
|
2954
|
+
/** @default null */
|
|
2955
|
+
sourceLocation: Record<string, never>
|
|
2956
|
+
sinkLocations: Array<Record<string, never>>
|
|
2957
|
+
}
|
|
2958
|
+
usage?: components['schemas']['SocketUsageRef']
|
|
2959
|
+
}
|
|
2960
|
+
}
|
|
2961
|
+
| {
|
|
2962
|
+
/** @enum {string} */
|
|
2963
|
+
type?: 'ghaArgToOutput'
|
|
2964
|
+
value?: components['schemas']['SocketIssueBasics'] & {
|
|
2965
|
+
/** @default */
|
|
2966
|
+
description: string
|
|
2967
|
+
props: {
|
|
2968
|
+
/** @default */
|
|
2969
|
+
message: string
|
|
2970
|
+
/** @default null */
|
|
2971
|
+
sourceLocation: Record<string, never>
|
|
2972
|
+
sinkLocations: Array<Record<string, never>>
|
|
2973
|
+
}
|
|
2974
|
+
usage?: components['schemas']['SocketUsageRef']
|
|
2975
|
+
}
|
|
2976
|
+
}
|
|
2977
|
+
| {
|
|
2978
|
+
/** @enum {string} */
|
|
2979
|
+
type?: 'ghaArgToEnv'
|
|
2980
|
+
value?: components['schemas']['SocketIssueBasics'] & {
|
|
2981
|
+
/** @default */
|
|
2982
|
+
description: string
|
|
2983
|
+
props: {
|
|
2984
|
+
/** @default */
|
|
2985
|
+
message: string
|
|
2986
|
+
/** @default null */
|
|
2987
|
+
sourceLocation: Record<string, never>
|
|
2988
|
+
sinkLocations: Array<Record<string, never>>
|
|
2989
|
+
}
|
|
2990
|
+
usage?: components['schemas']['SocketUsageRef']
|
|
2991
|
+
}
|
|
2992
|
+
}
|
|
2993
|
+
| {
|
|
2994
|
+
/** @enum {string} */
|
|
2995
|
+
type?: 'ghaContextToOutput'
|
|
2996
|
+
value?: components['schemas']['SocketIssueBasics'] & {
|
|
2997
|
+
/** @default */
|
|
2998
|
+
description: string
|
|
2999
|
+
props: {
|
|
3000
|
+
/** @default */
|
|
3001
|
+
message: string
|
|
3002
|
+
/** @default null */
|
|
3003
|
+
sourceLocation: Record<string, never>
|
|
3004
|
+
sinkLocations: Array<Record<string, never>>
|
|
3005
|
+
}
|
|
3006
|
+
usage?: components['schemas']['SocketUsageRef']
|
|
3007
|
+
}
|
|
3008
|
+
}
|
|
3009
|
+
| {
|
|
3010
|
+
/** @enum {string} */
|
|
3011
|
+
type?: 'ghaContextToEnv'
|
|
3012
|
+
value?: components['schemas']['SocketIssueBasics'] & {
|
|
3013
|
+
/** @default */
|
|
3014
|
+
description: string
|
|
3015
|
+
props: {
|
|
3016
|
+
/** @default */
|
|
3017
|
+
message: string
|
|
3018
|
+
/** @default null */
|
|
3019
|
+
sourceLocation: Record<string, never>
|
|
3020
|
+
sinkLocations: Array<Record<string, never>>
|
|
3021
|
+
}
|
|
3022
|
+
usage?: components['schemas']['SocketUsageRef']
|
|
3023
|
+
}
|
|
3024
|
+
}
|
|
2913
3025
|
| {
|
|
2914
3026
|
/** @enum {string} */
|
|
2915
3027
|
type?: 'licenseSpdxDisj'
|
|
@@ -7377,6 +7489,55 @@ export interface operations {
|
|
|
7377
7489
|
*/
|
|
7378
7490
|
action: 'defer' | 'error' | 'warn' | 'monitor' | 'ignore'
|
|
7379
7491
|
}
|
|
7492
|
+
ghaArgToSink?: {
|
|
7493
|
+
/**
|
|
7494
|
+
* @description The action to take for ghaArgToSink issues.
|
|
7495
|
+
* @enum {string}
|
|
7496
|
+
*/
|
|
7497
|
+
action: 'defer' | 'error' | 'warn' | 'monitor' | 'ignore'
|
|
7498
|
+
}
|
|
7499
|
+
ghaEnvToSink?: {
|
|
7500
|
+
/**
|
|
7501
|
+
* @description The action to take for ghaEnvToSink issues.
|
|
7502
|
+
* @enum {string}
|
|
7503
|
+
*/
|
|
7504
|
+
action: 'defer' | 'error' | 'warn' | 'monitor' | 'ignore'
|
|
7505
|
+
}
|
|
7506
|
+
ghaContextToSink?: {
|
|
7507
|
+
/**
|
|
7508
|
+
* @description The action to take for ghaContextToSink issues.
|
|
7509
|
+
* @enum {string}
|
|
7510
|
+
*/
|
|
7511
|
+
action: 'defer' | 'error' | 'warn' | 'monitor' | 'ignore'
|
|
7512
|
+
}
|
|
7513
|
+
ghaArgToOutput?: {
|
|
7514
|
+
/**
|
|
7515
|
+
* @description The action to take for ghaArgToOutput issues.
|
|
7516
|
+
* @enum {string}
|
|
7517
|
+
*/
|
|
7518
|
+
action: 'defer' | 'error' | 'warn' | 'monitor' | 'ignore'
|
|
7519
|
+
}
|
|
7520
|
+
ghaArgToEnv?: {
|
|
7521
|
+
/**
|
|
7522
|
+
* @description The action to take for ghaArgToEnv issues.
|
|
7523
|
+
* @enum {string}
|
|
7524
|
+
*/
|
|
7525
|
+
action: 'defer' | 'error' | 'warn' | 'monitor' | 'ignore'
|
|
7526
|
+
}
|
|
7527
|
+
ghaContextToOutput?: {
|
|
7528
|
+
/**
|
|
7529
|
+
* @description The action to take for ghaContextToOutput issues.
|
|
7530
|
+
* @enum {string}
|
|
7531
|
+
*/
|
|
7532
|
+
action: 'defer' | 'error' | 'warn' | 'monitor' | 'ignore'
|
|
7533
|
+
}
|
|
7534
|
+
ghaContextToEnv?: {
|
|
7535
|
+
/**
|
|
7536
|
+
* @description The action to take for ghaContextToEnv issues.
|
|
7537
|
+
* @enum {string}
|
|
7538
|
+
*/
|
|
7539
|
+
action: 'defer' | 'error' | 'warn' | 'monitor' | 'ignore'
|
|
7540
|
+
}
|
|
7380
7541
|
licenseSpdxDisj?: {
|
|
7381
7542
|
/**
|
|
7382
7543
|
* @description The action to take for licenseSpdxDisj issues.
|
|
@@ -8207,6 +8368,55 @@ export interface operations {
|
|
|
8207
8368
|
*/
|
|
8208
8369
|
action: 'defer' | 'error' | 'warn' | 'monitor' | 'ignore'
|
|
8209
8370
|
}
|
|
8371
|
+
ghaArgToSink?: {
|
|
8372
|
+
/**
|
|
8373
|
+
* @description The action to take for ghaArgToSink issues.
|
|
8374
|
+
* @enum {string}
|
|
8375
|
+
*/
|
|
8376
|
+
action: 'defer' | 'error' | 'warn' | 'monitor' | 'ignore'
|
|
8377
|
+
}
|
|
8378
|
+
ghaEnvToSink?: {
|
|
8379
|
+
/**
|
|
8380
|
+
* @description The action to take for ghaEnvToSink issues.
|
|
8381
|
+
* @enum {string}
|
|
8382
|
+
*/
|
|
8383
|
+
action: 'defer' | 'error' | 'warn' | 'monitor' | 'ignore'
|
|
8384
|
+
}
|
|
8385
|
+
ghaContextToSink?: {
|
|
8386
|
+
/**
|
|
8387
|
+
* @description The action to take for ghaContextToSink issues.
|
|
8388
|
+
* @enum {string}
|
|
8389
|
+
*/
|
|
8390
|
+
action: 'defer' | 'error' | 'warn' | 'monitor' | 'ignore'
|
|
8391
|
+
}
|
|
8392
|
+
ghaArgToOutput?: {
|
|
8393
|
+
/**
|
|
8394
|
+
* @description The action to take for ghaArgToOutput issues.
|
|
8395
|
+
* @enum {string}
|
|
8396
|
+
*/
|
|
8397
|
+
action: 'defer' | 'error' | 'warn' | 'monitor' | 'ignore'
|
|
8398
|
+
}
|
|
8399
|
+
ghaArgToEnv?: {
|
|
8400
|
+
/**
|
|
8401
|
+
* @description The action to take for ghaArgToEnv issues.
|
|
8402
|
+
* @enum {string}
|
|
8403
|
+
*/
|
|
8404
|
+
action: 'defer' | 'error' | 'warn' | 'monitor' | 'ignore'
|
|
8405
|
+
}
|
|
8406
|
+
ghaContextToOutput?: {
|
|
8407
|
+
/**
|
|
8408
|
+
* @description The action to take for ghaContextToOutput issues.
|
|
8409
|
+
* @enum {string}
|
|
8410
|
+
*/
|
|
8411
|
+
action: 'defer' | 'error' | 'warn' | 'monitor' | 'ignore'
|
|
8412
|
+
}
|
|
8413
|
+
ghaContextToEnv?: {
|
|
8414
|
+
/**
|
|
8415
|
+
* @description The action to take for ghaContextToEnv issues.
|
|
8416
|
+
* @enum {string}
|
|
8417
|
+
*/
|
|
8418
|
+
action: 'defer' | 'error' | 'warn' | 'monitor' | 'ignore'
|
|
8419
|
+
}
|
|
8210
8420
|
licenseSpdxDisj?: {
|
|
8211
8421
|
/**
|
|
8212
8422
|
* @description The action to take for licenseSpdxDisj issues.
|
|
@@ -9191,6 +9401,55 @@ export interface operations {
|
|
|
9191
9401
|
*/
|
|
9192
9402
|
action: 'defer' | 'error' | 'warn' | 'monitor' | 'ignore'
|
|
9193
9403
|
}
|
|
9404
|
+
ghaArgToSink?: {
|
|
9405
|
+
/**
|
|
9406
|
+
* @description The action to take for ghaArgToSink issues.
|
|
9407
|
+
* @enum {string}
|
|
9408
|
+
*/
|
|
9409
|
+
action: 'defer' | 'error' | 'warn' | 'monitor' | 'ignore'
|
|
9410
|
+
}
|
|
9411
|
+
ghaEnvToSink?: {
|
|
9412
|
+
/**
|
|
9413
|
+
* @description The action to take for ghaEnvToSink issues.
|
|
9414
|
+
* @enum {string}
|
|
9415
|
+
*/
|
|
9416
|
+
action: 'defer' | 'error' | 'warn' | 'monitor' | 'ignore'
|
|
9417
|
+
}
|
|
9418
|
+
ghaContextToSink?: {
|
|
9419
|
+
/**
|
|
9420
|
+
* @description The action to take for ghaContextToSink issues.
|
|
9421
|
+
* @enum {string}
|
|
9422
|
+
*/
|
|
9423
|
+
action: 'defer' | 'error' | 'warn' | 'monitor' | 'ignore'
|
|
9424
|
+
}
|
|
9425
|
+
ghaArgToOutput?: {
|
|
9426
|
+
/**
|
|
9427
|
+
* @description The action to take for ghaArgToOutput issues.
|
|
9428
|
+
* @enum {string}
|
|
9429
|
+
*/
|
|
9430
|
+
action: 'defer' | 'error' | 'warn' | 'monitor' | 'ignore'
|
|
9431
|
+
}
|
|
9432
|
+
ghaArgToEnv?: {
|
|
9433
|
+
/**
|
|
9434
|
+
* @description The action to take for ghaArgToEnv issues.
|
|
9435
|
+
* @enum {string}
|
|
9436
|
+
*/
|
|
9437
|
+
action: 'defer' | 'error' | 'warn' | 'monitor' | 'ignore'
|
|
9438
|
+
}
|
|
9439
|
+
ghaContextToOutput?: {
|
|
9440
|
+
/**
|
|
9441
|
+
* @description The action to take for ghaContextToOutput issues.
|
|
9442
|
+
* @enum {string}
|
|
9443
|
+
*/
|
|
9444
|
+
action: 'defer' | 'error' | 'warn' | 'monitor' | 'ignore'
|
|
9445
|
+
}
|
|
9446
|
+
ghaContextToEnv?: {
|
|
9447
|
+
/**
|
|
9448
|
+
* @description The action to take for ghaContextToEnv issues.
|
|
9449
|
+
* @enum {string}
|
|
9450
|
+
*/
|
|
9451
|
+
action: 'defer' | 'error' | 'warn' | 'monitor' | 'ignore'
|
|
9452
|
+
}
|
|
9194
9453
|
licenseSpdxDisj?: {
|
|
9195
9454
|
/**
|
|
9196
9455
|
* @description The action to take for licenseSpdxDisj issues.
|
|
@@ -10014,6 +10273,55 @@ export interface operations {
|
|
|
10014
10273
|
*/
|
|
10015
10274
|
action: 'defer' | 'error' | 'warn' | 'monitor' | 'ignore'
|
|
10016
10275
|
}
|
|
10276
|
+
ghaArgToSink?: {
|
|
10277
|
+
/**
|
|
10278
|
+
* @description The action to take for ghaArgToSink issues.
|
|
10279
|
+
* @enum {string}
|
|
10280
|
+
*/
|
|
10281
|
+
action: 'defer' | 'error' | 'warn' | 'monitor' | 'ignore'
|
|
10282
|
+
}
|
|
10283
|
+
ghaEnvToSink?: {
|
|
10284
|
+
/**
|
|
10285
|
+
* @description The action to take for ghaEnvToSink issues.
|
|
10286
|
+
* @enum {string}
|
|
10287
|
+
*/
|
|
10288
|
+
action: 'defer' | 'error' | 'warn' | 'monitor' | 'ignore'
|
|
10289
|
+
}
|
|
10290
|
+
ghaContextToSink?: {
|
|
10291
|
+
/**
|
|
10292
|
+
* @description The action to take for ghaContextToSink issues.
|
|
10293
|
+
* @enum {string}
|
|
10294
|
+
*/
|
|
10295
|
+
action: 'defer' | 'error' | 'warn' | 'monitor' | 'ignore'
|
|
10296
|
+
}
|
|
10297
|
+
ghaArgToOutput?: {
|
|
10298
|
+
/**
|
|
10299
|
+
* @description The action to take for ghaArgToOutput issues.
|
|
10300
|
+
* @enum {string}
|
|
10301
|
+
*/
|
|
10302
|
+
action: 'defer' | 'error' | 'warn' | 'monitor' | 'ignore'
|
|
10303
|
+
}
|
|
10304
|
+
ghaArgToEnv?: {
|
|
10305
|
+
/**
|
|
10306
|
+
* @description The action to take for ghaArgToEnv issues.
|
|
10307
|
+
* @enum {string}
|
|
10308
|
+
*/
|
|
10309
|
+
action: 'defer' | 'error' | 'warn' | 'monitor' | 'ignore'
|
|
10310
|
+
}
|
|
10311
|
+
ghaContextToOutput?: {
|
|
10312
|
+
/**
|
|
10313
|
+
* @description The action to take for ghaContextToOutput issues.
|
|
10314
|
+
* @enum {string}
|
|
10315
|
+
*/
|
|
10316
|
+
action: 'defer' | 'error' | 'warn' | 'monitor' | 'ignore'
|
|
10317
|
+
}
|
|
10318
|
+
ghaContextToEnv?: {
|
|
10319
|
+
/**
|
|
10320
|
+
* @description The action to take for ghaContextToEnv issues.
|
|
10321
|
+
* @enum {string}
|
|
10322
|
+
*/
|
|
10323
|
+
action: 'defer' | 'error' | 'warn' | 'monitor' | 'ignore'
|
|
10324
|
+
}
|
|
10017
10325
|
licenseSpdxDisj?: {
|
|
10018
10326
|
/**
|
|
10019
10327
|
* @description The action to take for licenseSpdxDisj issues.
|
|
@@ -10806,6 +11114,55 @@ export interface operations {
|
|
|
10806
11114
|
*/
|
|
10807
11115
|
action: 'defer' | 'error' | 'warn' | 'monitor' | 'ignore'
|
|
10808
11116
|
}
|
|
11117
|
+
ghaArgToSink?: {
|
|
11118
|
+
/**
|
|
11119
|
+
* @description The action to take for ghaArgToSink issues.
|
|
11120
|
+
* @enum {string}
|
|
11121
|
+
*/
|
|
11122
|
+
action: 'defer' | 'error' | 'warn' | 'monitor' | 'ignore'
|
|
11123
|
+
}
|
|
11124
|
+
ghaEnvToSink?: {
|
|
11125
|
+
/**
|
|
11126
|
+
* @description The action to take for ghaEnvToSink issues.
|
|
11127
|
+
* @enum {string}
|
|
11128
|
+
*/
|
|
11129
|
+
action: 'defer' | 'error' | 'warn' | 'monitor' | 'ignore'
|
|
11130
|
+
}
|
|
11131
|
+
ghaContextToSink?: {
|
|
11132
|
+
/**
|
|
11133
|
+
* @description The action to take for ghaContextToSink issues.
|
|
11134
|
+
* @enum {string}
|
|
11135
|
+
*/
|
|
11136
|
+
action: 'defer' | 'error' | 'warn' | 'monitor' | 'ignore'
|
|
11137
|
+
}
|
|
11138
|
+
ghaArgToOutput?: {
|
|
11139
|
+
/**
|
|
11140
|
+
* @description The action to take for ghaArgToOutput issues.
|
|
11141
|
+
* @enum {string}
|
|
11142
|
+
*/
|
|
11143
|
+
action: 'defer' | 'error' | 'warn' | 'monitor' | 'ignore'
|
|
11144
|
+
}
|
|
11145
|
+
ghaArgToEnv?: {
|
|
11146
|
+
/**
|
|
11147
|
+
* @description The action to take for ghaArgToEnv issues.
|
|
11148
|
+
* @enum {string}
|
|
11149
|
+
*/
|
|
11150
|
+
action: 'defer' | 'error' | 'warn' | 'monitor' | 'ignore'
|
|
11151
|
+
}
|
|
11152
|
+
ghaContextToOutput?: {
|
|
11153
|
+
/**
|
|
11154
|
+
* @description The action to take for ghaContextToOutput issues.
|
|
11155
|
+
* @enum {string}
|
|
11156
|
+
*/
|
|
11157
|
+
action: 'defer' | 'error' | 'warn' | 'monitor' | 'ignore'
|
|
11158
|
+
}
|
|
11159
|
+
ghaContextToEnv?: {
|
|
11160
|
+
/**
|
|
11161
|
+
* @description The action to take for ghaContextToEnv issues.
|
|
11162
|
+
* @enum {string}
|
|
11163
|
+
*/
|
|
11164
|
+
action: 'defer' | 'error' | 'warn' | 'monitor' | 'ignore'
|
|
11165
|
+
}
|
|
10809
11166
|
licenseSpdxDisj?: {
|
|
10810
11167
|
/**
|
|
10811
11168
|
* @description The action to take for licenseSpdxDisj issues.
|
|
@@ -11644,47 +12001,437 @@ export interface operations {
|
|
|
11644
12001
|
content: {
|
|
11645
12002
|
'application/json': {
|
|
11646
12003
|
/**
|
|
11647
|
-
* @description
|
|
12004
|
+
* @description Enable tabular console output
|
|
12005
|
+
* @default false
|
|
12006
|
+
*/
|
|
12007
|
+
consoleTabularEnabled?: boolean
|
|
12008
|
+
/**
|
|
12009
|
+
* @description Enable JSON console output
|
|
12010
|
+
* @default false
|
|
12011
|
+
*/
|
|
12012
|
+
consoleJsonEnabled?: boolean
|
|
12013
|
+
/**
|
|
12014
|
+
* @description Enable verbose logging
|
|
12015
|
+
* @default false
|
|
12016
|
+
*/
|
|
12017
|
+
verbose?: boolean
|
|
12018
|
+
/**
|
|
12019
|
+
* @description Enable all language SAST scanning
|
|
12020
|
+
* @default false
|
|
12021
|
+
*/
|
|
12022
|
+
allLanguagesEnabled?: boolean
|
|
12023
|
+
/**
|
|
12024
|
+
* @description Run Python SAST scanning
|
|
11648
12025
|
* @default false
|
|
11649
12026
|
*/
|
|
11650
12027
|
pythonSastEnabled?: boolean
|
|
11651
12028
|
/**
|
|
11652
|
-
* @description Run
|
|
12029
|
+
* @description Run JavaScript SAST scanning
|
|
12030
|
+
* @default false
|
|
12031
|
+
*/
|
|
12032
|
+
javascriptSastEnabled?: boolean
|
|
12033
|
+
/**
|
|
12034
|
+
* @description Run Go SAST scanning
|
|
12035
|
+
* @default false
|
|
12036
|
+
*/
|
|
12037
|
+
goSastEnabled?: boolean
|
|
12038
|
+
/**
|
|
12039
|
+
* @description Run Golang SAST scanning
|
|
11653
12040
|
* @default false
|
|
11654
12041
|
*/
|
|
11655
12042
|
golangSastEnabled?: boolean
|
|
11656
12043
|
/**
|
|
11657
|
-
* @description Run
|
|
12044
|
+
* @description Run Java SAST scanning
|
|
11658
12045
|
* @default false
|
|
11659
12046
|
*/
|
|
11660
|
-
|
|
12047
|
+
javaSastEnabled?: boolean
|
|
12048
|
+
/**
|
|
12049
|
+
* @description Run PHP SAST scanning
|
|
12050
|
+
* @default false
|
|
12051
|
+
*/
|
|
12052
|
+
phpSastEnabled?: boolean
|
|
12053
|
+
/**
|
|
12054
|
+
* @description Run Ruby SAST scanning
|
|
12055
|
+
* @default false
|
|
12056
|
+
*/
|
|
12057
|
+
rubySastEnabled?: boolean
|
|
12058
|
+
/**
|
|
12059
|
+
* @description Run C# SAST scanning
|
|
12060
|
+
* @default false
|
|
12061
|
+
*/
|
|
12062
|
+
csharpSastEnabled?: boolean
|
|
12063
|
+
/**
|
|
12064
|
+
* @description Run .NET SAST scanning
|
|
12065
|
+
* @default false
|
|
12066
|
+
*/
|
|
12067
|
+
dotnetSastEnabled?: boolean
|
|
12068
|
+
/**
|
|
12069
|
+
* @description Run C SAST scanning
|
|
12070
|
+
* @default false
|
|
12071
|
+
*/
|
|
12072
|
+
cSastEnabled?: boolean
|
|
12073
|
+
/**
|
|
12074
|
+
* @description Run C++ SAST scanning
|
|
12075
|
+
* @default false
|
|
12076
|
+
*/
|
|
12077
|
+
cppSastEnabled?: boolean
|
|
12078
|
+
/**
|
|
12079
|
+
* @description Run Kotlin SAST scanning
|
|
12080
|
+
* @default false
|
|
12081
|
+
*/
|
|
12082
|
+
kotlinSastEnabled?: boolean
|
|
12083
|
+
/**
|
|
12084
|
+
* @description Run Scala SAST scanning
|
|
12085
|
+
* @default false
|
|
12086
|
+
*/
|
|
12087
|
+
scalaSastEnabled?: boolean
|
|
12088
|
+
/**
|
|
12089
|
+
* @description Run Swift SAST scanning
|
|
12090
|
+
* @default false
|
|
12091
|
+
*/
|
|
12092
|
+
swiftSastEnabled?: boolean
|
|
12093
|
+
/**
|
|
12094
|
+
* @description Run Rust SAST scanning
|
|
12095
|
+
* @default false
|
|
12096
|
+
*/
|
|
12097
|
+
rustSastEnabled?: boolean
|
|
12098
|
+
/**
|
|
12099
|
+
* @description Run Elixir SAST scanning
|
|
12100
|
+
* @default false
|
|
12101
|
+
*/
|
|
12102
|
+
elixirSastEnabled?: boolean
|
|
11661
12103
|
/**
|
|
11662
|
-
* @description
|
|
12104
|
+
* @description Enable all SAST rules
|
|
12105
|
+
* @default false
|
|
12106
|
+
*/
|
|
12107
|
+
allRulesEnabled?: boolean
|
|
12108
|
+
/**
|
|
12109
|
+
* @description Comma-separated list of enabled Python SAST rules
|
|
12110
|
+
* @default
|
|
12111
|
+
*/
|
|
12112
|
+
pythonEnabledRules?: string
|
|
12113
|
+
/**
|
|
12114
|
+
* @description Comma-separated list of disabled Python SAST rules
|
|
12115
|
+
* @default
|
|
12116
|
+
*/
|
|
12117
|
+
pythonDisabledRules?: string
|
|
12118
|
+
/**
|
|
12119
|
+
* @description Comma-separated list of enabled JavaScript SAST rules
|
|
12120
|
+
* @default
|
|
12121
|
+
*/
|
|
12122
|
+
javascriptEnabledRules?: string
|
|
12123
|
+
/**
|
|
12124
|
+
* @description Comma-separated list of disabled JavaScript SAST rules
|
|
12125
|
+
* @default
|
|
12126
|
+
*/
|
|
12127
|
+
javascriptDisabledRules?: string
|
|
12128
|
+
/**
|
|
12129
|
+
* @description Comma-separated list of enabled Go SAST rules
|
|
12130
|
+
* @default
|
|
12131
|
+
*/
|
|
12132
|
+
goEnabledRules?: string
|
|
12133
|
+
/**
|
|
12134
|
+
* @description Comma-separated list of disabled Go SAST rules
|
|
12135
|
+
* @default
|
|
12136
|
+
*/
|
|
12137
|
+
goDisabledRules?: string
|
|
12138
|
+
/**
|
|
12139
|
+
* @description Comma-separated list of enabled Java SAST rules
|
|
12140
|
+
* @default
|
|
12141
|
+
*/
|
|
12142
|
+
javaEnabledRules?: string
|
|
12143
|
+
/**
|
|
12144
|
+
* @description Comma-separated list of disabled Java SAST rules
|
|
12145
|
+
* @default
|
|
12146
|
+
*/
|
|
12147
|
+
javaDisabledRules?: string
|
|
12148
|
+
/**
|
|
12149
|
+
* @description Comma-separated list of enabled Kotlin SAST rules
|
|
12150
|
+
* @default
|
|
12151
|
+
*/
|
|
12152
|
+
kotlinEnabledRules?: string
|
|
12153
|
+
/**
|
|
12154
|
+
* @description Comma-separated list of disabled Kotlin SAST rules
|
|
12155
|
+
* @default
|
|
12156
|
+
*/
|
|
12157
|
+
kotlinDisabledRules?: string
|
|
12158
|
+
/**
|
|
12159
|
+
* @description Comma-separated list of enabled Scala SAST rules
|
|
12160
|
+
* @default
|
|
12161
|
+
*/
|
|
12162
|
+
scalaEnabledRules?: string
|
|
12163
|
+
/**
|
|
12164
|
+
* @description Comma-separated list of disabled Scala SAST rules
|
|
12165
|
+
* @default
|
|
12166
|
+
*/
|
|
12167
|
+
scalaDisabledRules?: string
|
|
12168
|
+
/**
|
|
12169
|
+
* @description Comma-separated list of enabled PHP SAST rules
|
|
12170
|
+
* @default
|
|
12171
|
+
*/
|
|
12172
|
+
phpEnabledRules?: string
|
|
12173
|
+
/**
|
|
12174
|
+
* @description Comma-separated list of disabled PHP SAST rules
|
|
12175
|
+
* @default
|
|
12176
|
+
*/
|
|
12177
|
+
phpDisabledRules?: string
|
|
12178
|
+
/**
|
|
12179
|
+
* @description Comma-separated list of enabled Ruby SAST rules
|
|
12180
|
+
* @default
|
|
12181
|
+
*/
|
|
12182
|
+
rubyEnabledRules?: string
|
|
12183
|
+
/**
|
|
12184
|
+
* @description Comma-separated list of disabled Ruby SAST rules
|
|
12185
|
+
* @default
|
|
12186
|
+
*/
|
|
12187
|
+
rubyDisabledRules?: string
|
|
12188
|
+
/**
|
|
12189
|
+
* @description Comma-separated list of enabled C# SAST rules
|
|
12190
|
+
* @default
|
|
12191
|
+
*/
|
|
12192
|
+
csharpEnabledRules?: string
|
|
12193
|
+
/**
|
|
12194
|
+
* @description Comma-separated list of disabled C# SAST rules
|
|
12195
|
+
* @default
|
|
12196
|
+
*/
|
|
12197
|
+
csharpDisabledRules?: string
|
|
12198
|
+
/**
|
|
12199
|
+
* @description Comma-separated list of enabled .NET SAST rules
|
|
12200
|
+
* @default
|
|
12201
|
+
*/
|
|
12202
|
+
dotnetEnabledRules?: string
|
|
12203
|
+
/**
|
|
12204
|
+
* @description Comma-separated list of disabled .NET SAST rules
|
|
12205
|
+
* @default
|
|
12206
|
+
*/
|
|
12207
|
+
dotnetDisabledRules?: string
|
|
12208
|
+
/**
|
|
12209
|
+
* @description Comma-separated list of enabled C SAST rules
|
|
12210
|
+
* @default
|
|
12211
|
+
*/
|
|
12212
|
+
cEnabledRules?: string
|
|
12213
|
+
/**
|
|
12214
|
+
* @description Comma-separated list of disabled C SAST rules
|
|
12215
|
+
* @default
|
|
12216
|
+
*/
|
|
12217
|
+
cDisabledRules?: string
|
|
12218
|
+
/**
|
|
12219
|
+
* @description Comma-separated list of enabled C++ SAST rules
|
|
12220
|
+
* @default
|
|
12221
|
+
*/
|
|
12222
|
+
cppEnabledRules?: string
|
|
12223
|
+
/**
|
|
12224
|
+
* @description Comma-separated list of disabled C++ SAST rules
|
|
12225
|
+
* @default
|
|
12226
|
+
*/
|
|
12227
|
+
cppDisabledRules?: string
|
|
12228
|
+
/**
|
|
12229
|
+
* @description Comma-separated list of enabled Swift SAST rules
|
|
12230
|
+
* @default
|
|
12231
|
+
*/
|
|
12232
|
+
swiftEnabledRules?: string
|
|
12233
|
+
/**
|
|
12234
|
+
* @description Comma-separated list of disabled Swift SAST rules
|
|
12235
|
+
* @default
|
|
12236
|
+
*/
|
|
12237
|
+
swiftDisabledRules?: string
|
|
12238
|
+
/**
|
|
12239
|
+
* @description Comma-separated list of enabled Rust SAST rules
|
|
12240
|
+
* @default
|
|
12241
|
+
*/
|
|
12242
|
+
rustEnabledRules?: string
|
|
12243
|
+
/**
|
|
12244
|
+
* @description Comma-separated list of disabled Rust SAST rules
|
|
12245
|
+
* @default
|
|
12246
|
+
*/
|
|
12247
|
+
rustDisabledRules?: string
|
|
12248
|
+
/**
|
|
12249
|
+
* @description Comma-separated list of enabled Elixir SAST rules
|
|
12250
|
+
* @default
|
|
12251
|
+
*/
|
|
12252
|
+
elixirEnabledRules?: string
|
|
12253
|
+
/**
|
|
12254
|
+
* @description Comma-separated list of disabled Elixir SAST rules
|
|
12255
|
+
* @default
|
|
12256
|
+
*/
|
|
12257
|
+
elixirDisabledRules?: string
|
|
12258
|
+
/**
|
|
12259
|
+
* @description Notification method for OpenGrep
|
|
12260
|
+
* @default
|
|
12261
|
+
*/
|
|
12262
|
+
openGrepNotificationMethod?: string
|
|
12263
|
+
/**
|
|
12264
|
+
* @description Enable Socket Tier 1 reachability analysis
|
|
12265
|
+
* @default false
|
|
12266
|
+
*/
|
|
12267
|
+
socketTier1Enabled?: boolean
|
|
12268
|
+
/**
|
|
12269
|
+
* @description Additional parameters for Socket SCA
|
|
12270
|
+
* @default
|
|
12271
|
+
*/
|
|
12272
|
+
socketAdditionalParams?: string
|
|
12273
|
+
/**
|
|
12274
|
+
* @description Enable secret scanning
|
|
11663
12275
|
* @default false
|
|
11664
12276
|
*/
|
|
11665
12277
|
secretScanningEnabled?: boolean
|
|
11666
12278
|
/**
|
|
11667
|
-
* @description
|
|
12279
|
+
* @description Directories to exclude from Trufflehog scanning
|
|
12280
|
+
* @default
|
|
12281
|
+
*/
|
|
12282
|
+
trufflehogExcludeDir?: string
|
|
12283
|
+
/**
|
|
12284
|
+
* @description Show unverified secrets in Trufflehog results
|
|
12285
|
+
* @default false
|
|
12286
|
+
*/
|
|
12287
|
+
trufflehogShowUnverified?: boolean
|
|
12288
|
+
/**
|
|
12289
|
+
* @description Notification method for Trufflehog
|
|
12290
|
+
* @default
|
|
12291
|
+
*/
|
|
12292
|
+
trufflehogNotificationMethod?: string
|
|
12293
|
+
/**
|
|
12294
|
+
* @description Comma-separated list of container images to scan
|
|
12295
|
+
* @default
|
|
12296
|
+
*/
|
|
12297
|
+
containerImagesToScan?: string
|
|
12298
|
+
/**
|
|
12299
|
+
* @description Comma-separated list of Dockerfiles to scan
|
|
12300
|
+
* @default
|
|
12301
|
+
*/
|
|
12302
|
+
dockerfiles?: string
|
|
12303
|
+
/**
|
|
12304
|
+
* @description Enable Trivy image scanning
|
|
11668
12305
|
* @default false
|
|
11669
12306
|
*/
|
|
11670
12307
|
trivyImageEnabled?: boolean
|
|
11671
12308
|
/**
|
|
11672
|
-
* @description
|
|
12309
|
+
* @description Enable Trivy Dockerfile scanning
|
|
11673
12310
|
* @default false
|
|
11674
12311
|
*/
|
|
11675
12312
|
trivyDockerfileEnabled?: boolean
|
|
11676
12313
|
/**
|
|
11677
|
-
* @description
|
|
12314
|
+
* @description Notification method for Trivy
|
|
12315
|
+
* @default
|
|
12316
|
+
*/
|
|
12317
|
+
trivyNotificationMethod?: string
|
|
12318
|
+
/**
|
|
12319
|
+
* @description Comma-separated list of disabled Trivy rules
|
|
12320
|
+
* @default
|
|
12321
|
+
*/
|
|
12322
|
+
trivyDisabledRules?: string
|
|
12323
|
+
/**
|
|
12324
|
+
* @description Disable Trivy image scanning
|
|
12325
|
+
* @default false
|
|
12326
|
+
*/
|
|
12327
|
+
trivyImageScanningDisabled?: boolean
|
|
12328
|
+
/**
|
|
12329
|
+
* @description Slack webhook URL for notifications
|
|
12330
|
+
* @default
|
|
12331
|
+
*/
|
|
12332
|
+
slackWebhookUrl?: string
|
|
12333
|
+
/**
|
|
12334
|
+
* @description Generic webhook URL for notifications
|
|
12335
|
+
* @default
|
|
12336
|
+
*/
|
|
12337
|
+
webhookUrl?: string
|
|
12338
|
+
/**
|
|
12339
|
+
* @description Microsoft Sentinel workspace ID
|
|
12340
|
+
* @default
|
|
12341
|
+
*/
|
|
12342
|
+
msSentinelWorkspaceId?: string
|
|
12343
|
+
/**
|
|
12344
|
+
* @description Microsoft Sentinel key
|
|
12345
|
+
* @default
|
|
12346
|
+
*/
|
|
12347
|
+
msSentinelKey?: string
|
|
12348
|
+
/**
|
|
12349
|
+
* @description Sumo Logic endpoint URL
|
|
12350
|
+
* @default
|
|
12351
|
+
*/
|
|
12352
|
+
sumologicEndpoint?: string
|
|
12353
|
+
/**
|
|
12354
|
+
* @description Jira server URL
|
|
12355
|
+
* @default
|
|
12356
|
+
*/
|
|
12357
|
+
jiraUrl?: string
|
|
12358
|
+
/**
|
|
12359
|
+
* @description Jira project key
|
|
12360
|
+
* @default
|
|
12361
|
+
*/
|
|
12362
|
+
jiraProject?: string
|
|
12363
|
+
/**
|
|
12364
|
+
* @description Jira user email
|
|
12365
|
+
* @default
|
|
12366
|
+
*/
|
|
12367
|
+
jiraEmail?: string
|
|
12368
|
+
/**
|
|
12369
|
+
* @description Jira API token
|
|
12370
|
+
* @default
|
|
12371
|
+
*/
|
|
12372
|
+
jiraApiToken?: string
|
|
12373
|
+
/**
|
|
12374
|
+
* @description GitHub API token
|
|
12375
|
+
* @default
|
|
12376
|
+
*/
|
|
12377
|
+
githubToken?: string
|
|
12378
|
+
/**
|
|
12379
|
+
* @description GitHub API URL
|
|
12380
|
+
* @default
|
|
12381
|
+
*/
|
|
12382
|
+
githubApiUrl?: string
|
|
12383
|
+
/**
|
|
12384
|
+
* @description Microsoft Teams webhook URL
|
|
12385
|
+
* @default
|
|
12386
|
+
*/
|
|
12387
|
+
msteamsWebhookUrl?: string
|
|
12388
|
+
/**
|
|
12389
|
+
* @description Enable S3 upload for scan results
|
|
12390
|
+
* @default false
|
|
12391
|
+
*/
|
|
12392
|
+
s3Enabled?: boolean
|
|
12393
|
+
/**
|
|
12394
|
+
* @description S3 bucket name
|
|
12395
|
+
* @default
|
|
12396
|
+
*/
|
|
12397
|
+
s3Bucket?: string
|
|
12398
|
+
/**
|
|
12399
|
+
* @description S3 access key
|
|
12400
|
+
* @default
|
|
12401
|
+
*/
|
|
12402
|
+
s3AccessKey?: string
|
|
12403
|
+
/**
|
|
12404
|
+
* @description S3 secret key
|
|
12405
|
+
* @default
|
|
12406
|
+
*/
|
|
12407
|
+
s3SecretKey?: string
|
|
12408
|
+
/**
|
|
12409
|
+
* @description S3 endpoint URL
|
|
12410
|
+
* @default
|
|
12411
|
+
*/
|
|
12412
|
+
s3Endpoint?: string
|
|
12413
|
+
/**
|
|
12414
|
+
* @description S3 region
|
|
12415
|
+
* @default
|
|
12416
|
+
*/
|
|
12417
|
+
s3Region?: string
|
|
12418
|
+
/**
|
|
12419
|
+
* @description Enable external CVE scanning
|
|
12420
|
+
* @default false
|
|
12421
|
+
*/
|
|
12422
|
+
externalCveScanningEnabled?: boolean
|
|
12423
|
+
/**
|
|
12424
|
+
* @description Enable Socket dependency scanning (legacy)
|
|
11678
12425
|
* @default false
|
|
11679
12426
|
*/
|
|
11680
12427
|
socketScanningEnabled?: boolean
|
|
11681
12428
|
/**
|
|
11682
|
-
* @description
|
|
12429
|
+
* @description Enable Socket SCA scanning (legacy)
|
|
11683
12430
|
* @default false
|
|
11684
12431
|
*/
|
|
11685
12432
|
socketScaEnabled?: boolean
|
|
11686
12433
|
/**
|
|
11687
|
-
*
|
|
12434
|
+
* @description Additional configuration parameters (legacy)
|
|
11688
12435
|
* @default
|
|
11689
12436
|
*/
|
|
11690
12437
|
additionalParameters?: string
|
|
@@ -11775,9 +12522,9 @@ export interface operations {
|
|
|
11775
12522
|
'filters.alertReachabilityType'?: string
|
|
11776
12523
|
/** @description Comma-separated list of alert CVE reachability types ("direct_dependency", "error", "maybe_reachable", "missing_support", "pending", "reachable", "undeterminable_reachability", "unknown", or "unreachable") that should be excluded */
|
|
11777
12524
|
'filters.alertReachabilityType.notIn'?: string
|
|
11778
|
-
/** @description Alert priority ("low", "medium", or "
|
|
12525
|
+
/** @description Alert priority ("low", "medium", "high", or "critical") */
|
|
11779
12526
|
'filters.alertPriority'?: string
|
|
11780
|
-
/** @description Alert priority ("low", "medium", or "
|
|
12527
|
+
/** @description Alert priority ("low", "medium", "high", or "critical") */
|
|
11781
12528
|
'filters.alertPriority.notIn'?: string
|
|
11782
12529
|
/** @description Direct/transitive dependency filter flag */
|
|
11783
12530
|
'filters.dependencyDirect'?: boolean
|
|
@@ -11928,7 +12675,7 @@ export interface operations {
|
|
|
11928
12675
|
alertCweName?: string[]
|
|
11929
12676
|
/** @description Comma-separated list of alert CVE reachability types ("direct_dependency", "error", "maybe_reachable", "missing_support", "pending", "reachable", "undeterminable_reachability", "unknown", or "unreachable") that should be excluded */
|
|
11930
12677
|
alertReachabilityType?: string[]
|
|
11931
|
-
/** @description Alert priority ("low", "medium", or "
|
|
12678
|
+
/** @description Alert priority ("low", "medium", "high", or "critical") */
|
|
11932
12679
|
alertPriority?: string[]
|
|
11933
12680
|
/** @description Direct/transitive dependency filter flag */
|
|
11934
12681
|
dependencyDirect?: boolean[]
|
|
@@ -12025,9 +12772,9 @@ export interface operations {
|
|
|
12025
12772
|
'filters.alertReachabilityType'?: string
|
|
12026
12773
|
/** @description Comma-separated list of alert CVE reachability types ("direct_dependency", "error", "maybe_reachable", "missing_support", "pending", "reachable", "undeterminable_reachability", "unknown", or "unreachable") that should be excluded */
|
|
12027
12774
|
'filters.alertReachabilityType.notIn'?: string
|
|
12028
|
-
/** @description Alert priority ("low", "medium", or "
|
|
12775
|
+
/** @description Alert priority ("low", "medium", "high", or "critical") */
|
|
12029
12776
|
'filters.alertPriority'?: string
|
|
12030
|
-
/** @description Alert priority ("low", "medium", or "
|
|
12777
|
+
/** @description Alert priority ("low", "medium", "high", or "critical") */
|
|
12031
12778
|
'filters.alertPriority.notIn'?: string
|
|
12032
12779
|
/** @description Direct/transitive dependency filter flag */
|
|
12033
12780
|
'filters.dependencyDirect'?: boolean
|
|
@@ -12096,7 +12843,7 @@ export interface operations {
|
|
|
12096
12843
|
alertCweName?: string[]
|
|
12097
12844
|
/** @description Comma-separated list of alert CVE reachability types ("direct_dependency", "error", "maybe_reachable", "missing_support", "pending", "reachable", "undeterminable_reachability", "unknown", or "unreachable") that should be excluded */
|
|
12098
12845
|
alertReachabilityType?: string[]
|
|
12099
|
-
/** @description Alert priority ("low", "medium", or "
|
|
12846
|
+
/** @description Alert priority ("low", "medium", "high", or "critical") */
|
|
12100
12847
|
alertPriority?: string[]
|
|
12101
12848
|
/** @description Direct/transitive dependency filter flag */
|
|
12102
12849
|
dependencyDirect?: boolean[]
|
|
@@ -13046,7 +13793,7 @@ export interface operations {
|
|
|
13046
13793
|
content: {
|
|
13047
13794
|
'application/json': {
|
|
13048
13795
|
/**
|
|
13049
|
-
*
|
|
13796
|
+
* @description The status of the token
|
|
13050
13797
|
* @default revoked
|
|
13051
13798
|
*/
|
|
13052
13799
|
status: string
|