@aws-sdk/client-inspector2 3.1173.0 → 3.1174.0
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/dist-cjs/index.js +67 -5
- package/dist-es/models/enums.js +33 -0
- package/dist-es/schemas/schemas_0.js +26 -4
- package/dist-types/commands/CreateFilterCommand.d.ts +13 -0
- package/dist-types/commands/CreateFindingsReportCommand.d.ts +13 -0
- package/dist-types/commands/GetFindingsReportStatusCommand.d.ts +13 -0
- package/dist-types/commands/GetOnDemandScanStatusCommand.d.ts +2 -1
- package/dist-types/commands/GetSbomExportCommand.d.ts +1 -1
- package/dist-types/commands/ListFiltersCommand.d.ts +13 -0
- package/dist-types/commands/ListFindingsCommand.d.ts +16 -0
- package/dist-types/commands/UpdateFilterCommand.d.ts +13 -0
- package/dist-types/models/enums.d.ts +65 -0
- package/dist-types/models/models_0.d.ts +84 -91
- package/dist-types/models/models_1.d.ts +92 -2
- package/dist-types/schemas/schemas_0.d.ts +3 -0
- package/dist-types/ts3.4/commands/GetOnDemandScanStatusCommand.d.ts +2 -1
- package/dist-types/ts3.4/commands/GetSbomExportCommand.d.ts +1 -1
- package/dist-types/ts3.4/models/enums.d.ts +39 -0
- package/dist-types/ts3.4/models/models_0.d.ts +23 -23
- package/dist-types/ts3.4/models/models_1.d.ts +26 -0
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +3 -0
- package/package.json +1 -1
package/dist-cjs/index.js
CHANGED
|
@@ -69,7 +69,7 @@ const commonParams = {
|
|
|
69
69
|
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
70
70
|
};
|
|
71
71
|
|
|
72
|
-
var version = "3.
|
|
72
|
+
var version = "3.1173.0";
|
|
73
73
|
var packageInfo = {
|
|
74
74
|
version: version};
|
|
75
75
|
|
|
@@ -710,6 +710,7 @@ const _PFLr = "ProviderFilterList";
|
|
|
710
710
|
const _PFr = "ProviderFilter";
|
|
711
711
|
const _PPSC = "ProjectPeriodicScanConfiguration";
|
|
712
712
|
const _PPSCL = "ProjectPeriodicScanConfigurationList";
|
|
713
|
+
const _PQF = "PurlQualifierFilter";
|
|
713
714
|
const _PR = "PortRange";
|
|
714
715
|
const _PRF = "PortRangeFilter";
|
|
715
716
|
const _PRFL = "PortRangeFilterList";
|
|
@@ -731,6 +732,8 @@ const _RL = "ResourceList";
|
|
|
731
732
|
const _RMF = "ResourceMapFilter";
|
|
732
733
|
const _RMFL = "ResourceMapFilterList";
|
|
733
734
|
const _RNFE = "ResourceNotFoundException";
|
|
735
|
+
const _RRF = "RuntimeReachabilityFilter";
|
|
736
|
+
const _RRRF = "RuntimeReachabilityReasonFilter";
|
|
734
737
|
const _RS = "ResourceState";
|
|
735
738
|
const _RSF = "ResourceStringFilter";
|
|
736
739
|
const _RSFL = "ResourceStringFilterList";
|
|
@@ -1257,6 +1260,7 @@ const _pNr = "projectName";
|
|
|
1257
1260
|
const _pOI = "providerOrgId";
|
|
1258
1261
|
const _pP = "providerPartition";
|
|
1259
1262
|
const _pPa = "packagePaths";
|
|
1263
|
+
const _pQ = "purlQualifier";
|
|
1260
1264
|
const _pR = "providerRegion";
|
|
1261
1265
|
const _pRo = "portRange";
|
|
1262
1266
|
const _pSC = "periodicScanConfiguration";
|
|
@@ -1275,6 +1279,7 @@ const _pr = "product";
|
|
|
1275
1279
|
const _pro = "provider";
|
|
1276
1280
|
const _prog = "progress";
|
|
1277
1281
|
const _prot = "protocol";
|
|
1282
|
+
const _pu = "purl";
|
|
1278
1283
|
const _r = "reason";
|
|
1279
1284
|
const _rA = "resourceArn";
|
|
1280
1285
|
const _rAS = "retryAfterSeconds";
|
|
@@ -1290,6 +1295,8 @@ const _rIep = "reportId";
|
|
|
1290
1295
|
const _rIu = "ruleId";
|
|
1291
1296
|
const _rM = "resourceMetadata";
|
|
1292
1297
|
const _rN = "repositoryName";
|
|
1298
|
+
const _rR = "runtimeReachability";
|
|
1299
|
+
const _rRR = "runtimeReachabilityReason";
|
|
1293
1300
|
const _rS = "resourceStatus";
|
|
1294
1301
|
const _rSC = "ruleSetCategories";
|
|
1295
1302
|
const _rSe = "resourceState";
|
|
@@ -2973,8 +2980,8 @@ var PackageAggregationResponse$ = [3, n0, _PAR,
|
|
|
2973
2980
|
];
|
|
2974
2981
|
var PackageFilter$ = [3, n0, _PF,
|
|
2975
2982
|
0,
|
|
2976
|
-
[_na, _ve, _epo, _rel, _arc, _sLH, _sLLA, _fP],
|
|
2977
|
-
[() => StringFilter$, () => StringFilter$, () => NumberFilter$, () => StringFilter$, () => StringFilter$, () => StringFilter$, () => StringFilter$, () => StringFilter$]
|
|
2983
|
+
[_na, _ve, _epo, _rel, _arc, _sLH, _sLLA, _fP, _rR, _rRR, _pQ],
|
|
2984
|
+
[() => StringFilter$, () => StringFilter$, () => NumberFilter$, () => StringFilter$, () => StringFilter$, () => StringFilter$, () => StringFilter$, () => StringFilter$, () => RuntimeReachabilityFilter$, () => RuntimeReachabilityReasonFilter$, () => PurlQualifierFilter$]
|
|
2978
2985
|
];
|
|
2979
2986
|
var PackageVulnerabilityDetails$ = [3, n0, _PVD,
|
|
2980
2987
|
0,
|
|
@@ -3021,6 +3028,11 @@ var ProviderFilter$ = [3, n0, _PFr,
|
|
|
3021
3028
|
[_co, _v],
|
|
3022
3029
|
[0, 0], 2
|
|
3023
3030
|
];
|
|
3031
|
+
var PurlQualifierFilter$ = [3, n0, _PQF,
|
|
3032
|
+
0,
|
|
3033
|
+
[_co, _k, _v],
|
|
3034
|
+
[0, 0, 0], 2
|
|
3035
|
+
];
|
|
3024
3036
|
var Recommendation$ = [3, n0, _R,
|
|
3025
3037
|
0,
|
|
3026
3038
|
[_te, _U],
|
|
@@ -3091,6 +3103,16 @@ var ResourceStringFilter$ = [3, n0, _RSF,
|
|
|
3091
3103
|
[_co, _v],
|
|
3092
3104
|
[0, 0], 2
|
|
3093
3105
|
];
|
|
3106
|
+
var RuntimeReachabilityFilter$ = [3, n0, _RRF,
|
|
3107
|
+
0,
|
|
3108
|
+
[_co, _v],
|
|
3109
|
+
[0, 0], 2
|
|
3110
|
+
];
|
|
3111
|
+
var RuntimeReachabilityReasonFilter$ = [3, n0, _RRRF,
|
|
3112
|
+
0,
|
|
3113
|
+
[_co, _v],
|
|
3114
|
+
[0, 0], 2
|
|
3115
|
+
];
|
|
3094
3116
|
var ScanStatus$ = [3, n0, _SS,
|
|
3095
3117
|
0,
|
|
3096
3118
|
[_sCta, _r],
|
|
@@ -3483,8 +3505,8 @@ var Vulnerability$ = [3, n0, _Vu,
|
|
|
3483
3505
|
];
|
|
3484
3506
|
var VulnerablePackage$ = [3, n0, _VP,
|
|
3485
3507
|
0,
|
|
3486
|
-
[_na, _ve, _sLH, _epo, _rel, _arch, _pM, _fP, _fIV, _rem, _sLLA],
|
|
3487
|
-
[0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0], 2
|
|
3508
|
+
[_na, _ve, _sLH, _epo, _rel, _arch, _pM, _fP, _fIV, _rem, _sLLA, _rR, _rRR, _pu],
|
|
3509
|
+
[0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], 2
|
|
3488
3510
|
];
|
|
3489
3511
|
var WeeklySchedule$ = [3, n0, _WS,
|
|
3490
3512
|
0,
|
|
@@ -5422,6 +5444,39 @@ const FilterAction = {
|
|
|
5422
5444
|
NONE: "NONE",
|
|
5423
5445
|
SUPPRESS: "SUPPRESS",
|
|
5424
5446
|
};
|
|
5447
|
+
const PurlQualifierKey = {
|
|
5448
|
+
ARCH: "arch",
|
|
5449
|
+
COLLECTOR: "collector",
|
|
5450
|
+
DEV_DEPENDENCY: "dev_dependency",
|
|
5451
|
+
DISTRO: "distro",
|
|
5452
|
+
EPOCH: "epoch",
|
|
5453
|
+
GO_TOOLCHAIN: "go_toolchain",
|
|
5454
|
+
HARDENED: "hardened",
|
|
5455
|
+
PRIVATE: "private",
|
|
5456
|
+
RUST_TOOLCHAIN: "rust_toolchain",
|
|
5457
|
+
SCOPE: "scope",
|
|
5458
|
+
SKIP_CHROMIUM_DOWNLOAD: "skip_chromium_download",
|
|
5459
|
+
SOURCE: "source",
|
|
5460
|
+
STREAM: "stream",
|
|
5461
|
+
TRANSITIVE_DEPENDENCY: "transitive_dependency",
|
|
5462
|
+
UNRESOLVED: "unresolved",
|
|
5463
|
+
VENDOR: "vendor",
|
|
5464
|
+
};
|
|
5465
|
+
const RuntimeReachabilityComparison = {
|
|
5466
|
+
EQUALS: "EQUALS",
|
|
5467
|
+
NOT_EQUALS: "NOT_EQUALS",
|
|
5468
|
+
};
|
|
5469
|
+
const RuntimeReachability = {
|
|
5470
|
+
NOT_REACHABLE: "NOT_REACHABLE",
|
|
5471
|
+
REACHABLE: "REACHABLE",
|
|
5472
|
+
UNKNOWN: "UNKNOWN",
|
|
5473
|
+
};
|
|
5474
|
+
const RuntimeReachabilityReason = {
|
|
5475
|
+
PACKAGE_IN_DOCKERFILE_WORKLOAD_PATH: "PACKAGE_IN_DOCKERFILE_WORKLOAD_PATH",
|
|
5476
|
+
PACKAGE_NOT_IN_DOCKERFILE_WORKLOAD_PATH: "PACKAGE_NOT_IN_DOCKERFILE_WORKLOAD_PATH",
|
|
5477
|
+
PROCESS_NOT_OBSERVED_IN_EC2_RUNTIME: "PROCESS_NOT_OBSERVED_IN_EC2_RUNTIME",
|
|
5478
|
+
PROCESS_OBSERVED_IN_EC2_RUNTIME: "PROCESS_OBSERVED_IN_EC2_RUNTIME",
|
|
5479
|
+
};
|
|
5425
5480
|
const ReportFormat = {
|
|
5426
5481
|
CSV: "CSV",
|
|
5427
5482
|
JSON: "JSON",
|
|
@@ -6218,6 +6273,8 @@ exports.ProviderComparison = ProviderComparison;
|
|
|
6218
6273
|
exports.ProviderDetailCreate$ = ProviderDetailCreate$;
|
|
6219
6274
|
exports.ProviderDetailUpdate$ = ProviderDetailUpdate$;
|
|
6220
6275
|
exports.ProviderFilter$ = ProviderFilter$;
|
|
6276
|
+
exports.PurlQualifierFilter$ = PurlQualifierFilter$;
|
|
6277
|
+
exports.PurlQualifierKey = PurlQualifierKey;
|
|
6221
6278
|
exports.Recommendation$ = Recommendation$;
|
|
6222
6279
|
exports.RelationshipStatus = RelationshipStatus;
|
|
6223
6280
|
exports.Remediation$ = Remediation$;
|
|
@@ -6246,6 +6303,11 @@ exports.ResourceStringFilter$ = ResourceStringFilter$;
|
|
|
6246
6303
|
exports.ResourceType = ResourceType;
|
|
6247
6304
|
exports.RuleSetCategory = RuleSetCategory;
|
|
6248
6305
|
exports.Runtime = Runtime;
|
|
6306
|
+
exports.RuntimeReachability = RuntimeReachability;
|
|
6307
|
+
exports.RuntimeReachabilityComparison = RuntimeReachabilityComparison;
|
|
6308
|
+
exports.RuntimeReachabilityFilter$ = RuntimeReachabilityFilter$;
|
|
6309
|
+
exports.RuntimeReachabilityReason = RuntimeReachabilityReason;
|
|
6310
|
+
exports.RuntimeReachabilityReasonFilter$ = RuntimeReachabilityReasonFilter$;
|
|
6249
6311
|
exports.SbomReportFormat = SbomReportFormat;
|
|
6250
6312
|
exports.ScanMode = ScanMode;
|
|
6251
6313
|
exports.ScanSource = ScanSource;
|
package/dist-es/models/enums.js
CHANGED
|
@@ -615,6 +615,39 @@ export const FilterAction = {
|
|
|
615
615
|
NONE: "NONE",
|
|
616
616
|
SUPPRESS: "SUPPRESS",
|
|
617
617
|
};
|
|
618
|
+
export const PurlQualifierKey = {
|
|
619
|
+
ARCH: "arch",
|
|
620
|
+
COLLECTOR: "collector",
|
|
621
|
+
DEV_DEPENDENCY: "dev_dependency",
|
|
622
|
+
DISTRO: "distro",
|
|
623
|
+
EPOCH: "epoch",
|
|
624
|
+
GO_TOOLCHAIN: "go_toolchain",
|
|
625
|
+
HARDENED: "hardened",
|
|
626
|
+
PRIVATE: "private",
|
|
627
|
+
RUST_TOOLCHAIN: "rust_toolchain",
|
|
628
|
+
SCOPE: "scope",
|
|
629
|
+
SKIP_CHROMIUM_DOWNLOAD: "skip_chromium_download",
|
|
630
|
+
SOURCE: "source",
|
|
631
|
+
STREAM: "stream",
|
|
632
|
+
TRANSITIVE_DEPENDENCY: "transitive_dependency",
|
|
633
|
+
UNRESOLVED: "unresolved",
|
|
634
|
+
VENDOR: "vendor",
|
|
635
|
+
};
|
|
636
|
+
export const RuntimeReachabilityComparison = {
|
|
637
|
+
EQUALS: "EQUALS",
|
|
638
|
+
NOT_EQUALS: "NOT_EQUALS",
|
|
639
|
+
};
|
|
640
|
+
export const RuntimeReachability = {
|
|
641
|
+
NOT_REACHABLE: "NOT_REACHABLE",
|
|
642
|
+
REACHABLE: "REACHABLE",
|
|
643
|
+
UNKNOWN: "UNKNOWN",
|
|
644
|
+
};
|
|
645
|
+
export const RuntimeReachabilityReason = {
|
|
646
|
+
PACKAGE_IN_DOCKERFILE_WORKLOAD_PATH: "PACKAGE_IN_DOCKERFILE_WORKLOAD_PATH",
|
|
647
|
+
PACKAGE_NOT_IN_DOCKERFILE_WORKLOAD_PATH: "PACKAGE_NOT_IN_DOCKERFILE_WORKLOAD_PATH",
|
|
648
|
+
PROCESS_NOT_OBSERVED_IN_EC2_RUNTIME: "PROCESS_NOT_OBSERVED_IN_EC2_RUNTIME",
|
|
649
|
+
PROCESS_OBSERVED_IN_EC2_RUNTIME: "PROCESS_OBSERVED_IN_EC2_RUNTIME",
|
|
650
|
+
};
|
|
618
651
|
export const ReportFormat = {
|
|
619
652
|
CSV: "CSV",
|
|
620
653
|
JSON: "JSON",
|
|
@@ -446,6 +446,7 @@ const _PFLr = "ProviderFilterList";
|
|
|
446
446
|
const _PFr = "ProviderFilter";
|
|
447
447
|
const _PPSC = "ProjectPeriodicScanConfiguration";
|
|
448
448
|
const _PPSCL = "ProjectPeriodicScanConfigurationList";
|
|
449
|
+
const _PQF = "PurlQualifierFilter";
|
|
449
450
|
const _PR = "PortRange";
|
|
450
451
|
const _PRF = "PortRangeFilter";
|
|
451
452
|
const _PRFL = "PortRangeFilterList";
|
|
@@ -467,6 +468,8 @@ const _RL = "ResourceList";
|
|
|
467
468
|
const _RMF = "ResourceMapFilter";
|
|
468
469
|
const _RMFL = "ResourceMapFilterList";
|
|
469
470
|
const _RNFE = "ResourceNotFoundException";
|
|
471
|
+
const _RRF = "RuntimeReachabilityFilter";
|
|
472
|
+
const _RRRF = "RuntimeReachabilityReasonFilter";
|
|
470
473
|
const _RS = "ResourceState";
|
|
471
474
|
const _RSF = "ResourceStringFilter";
|
|
472
475
|
const _RSFL = "ResourceStringFilterList";
|
|
@@ -993,6 +996,7 @@ const _pNr = "projectName";
|
|
|
993
996
|
const _pOI = "providerOrgId";
|
|
994
997
|
const _pP = "providerPartition";
|
|
995
998
|
const _pPa = "packagePaths";
|
|
999
|
+
const _pQ = "purlQualifier";
|
|
996
1000
|
const _pR = "providerRegion";
|
|
997
1001
|
const _pRo = "portRange";
|
|
998
1002
|
const _pSC = "periodicScanConfiguration";
|
|
@@ -1011,6 +1015,7 @@ const _pr = "product";
|
|
|
1011
1015
|
const _pro = "provider";
|
|
1012
1016
|
const _prog = "progress";
|
|
1013
1017
|
const _prot = "protocol";
|
|
1018
|
+
const _pu = "purl";
|
|
1014
1019
|
const _r = "reason";
|
|
1015
1020
|
const _rA = "resourceArn";
|
|
1016
1021
|
const _rAS = "retryAfterSeconds";
|
|
@@ -1026,6 +1031,8 @@ const _rIep = "reportId";
|
|
|
1026
1031
|
const _rIu = "ruleId";
|
|
1027
1032
|
const _rM = "resourceMetadata";
|
|
1028
1033
|
const _rN = "repositoryName";
|
|
1034
|
+
const _rR = "runtimeReachability";
|
|
1035
|
+
const _rRR = "runtimeReachabilityReason";
|
|
1029
1036
|
const _rS = "resourceStatus";
|
|
1030
1037
|
const _rSC = "ruleSetCategories";
|
|
1031
1038
|
const _rSe = "resourceState";
|
|
@@ -2712,8 +2719,8 @@ export var PackageAggregationResponse$ = [3, n0, _PAR,
|
|
|
2712
2719
|
];
|
|
2713
2720
|
export var PackageFilter$ = [3, n0, _PF,
|
|
2714
2721
|
0,
|
|
2715
|
-
[_na, _ve, _epo, _rel, _arc, _sLH, _sLLA, _fP],
|
|
2716
|
-
[() => StringFilter$, () => StringFilter$, () => NumberFilter$, () => StringFilter$, () => StringFilter$, () => StringFilter$, () => StringFilter$, () => StringFilter$]
|
|
2722
|
+
[_na, _ve, _epo, _rel, _arc, _sLH, _sLLA, _fP, _rR, _rRR, _pQ],
|
|
2723
|
+
[() => StringFilter$, () => StringFilter$, () => NumberFilter$, () => StringFilter$, () => StringFilter$, () => StringFilter$, () => StringFilter$, () => StringFilter$, () => RuntimeReachabilityFilter$, () => RuntimeReachabilityReasonFilter$, () => PurlQualifierFilter$]
|
|
2717
2724
|
];
|
|
2718
2725
|
export var PackageVulnerabilityDetails$ = [3, n0, _PVD,
|
|
2719
2726
|
0,
|
|
@@ -2760,6 +2767,11 @@ export var ProviderFilter$ = [3, n0, _PFr,
|
|
|
2760
2767
|
[_co, _v],
|
|
2761
2768
|
[0, 0], 2
|
|
2762
2769
|
];
|
|
2770
|
+
export var PurlQualifierFilter$ = [3, n0, _PQF,
|
|
2771
|
+
0,
|
|
2772
|
+
[_co, _k, _v],
|
|
2773
|
+
[0, 0, 0], 2
|
|
2774
|
+
];
|
|
2763
2775
|
export var Recommendation$ = [3, n0, _R,
|
|
2764
2776
|
0,
|
|
2765
2777
|
[_te, _U],
|
|
@@ -2830,6 +2842,16 @@ export var ResourceStringFilter$ = [3, n0, _RSF,
|
|
|
2830
2842
|
[_co, _v],
|
|
2831
2843
|
[0, 0], 2
|
|
2832
2844
|
];
|
|
2845
|
+
export var RuntimeReachabilityFilter$ = [3, n0, _RRF,
|
|
2846
|
+
0,
|
|
2847
|
+
[_co, _v],
|
|
2848
|
+
[0, 0], 2
|
|
2849
|
+
];
|
|
2850
|
+
export var RuntimeReachabilityReasonFilter$ = [3, n0, _RRRF,
|
|
2851
|
+
0,
|
|
2852
|
+
[_co, _v],
|
|
2853
|
+
[0, 0], 2
|
|
2854
|
+
];
|
|
2833
2855
|
export var ScanStatus$ = [3, n0, _SS,
|
|
2834
2856
|
0,
|
|
2835
2857
|
[_sCta, _r],
|
|
@@ -3222,8 +3244,8 @@ export var Vulnerability$ = [3, n0, _Vu,
|
|
|
3222
3244
|
];
|
|
3223
3245
|
export var VulnerablePackage$ = [3, n0, _VP,
|
|
3224
3246
|
0,
|
|
3225
|
-
[_na, _ve, _sLH, _epo, _rel, _arch, _pM, _fP, _fIV, _rem, _sLLA],
|
|
3226
|
-
[0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0], 2
|
|
3247
|
+
[_na, _ve, _sLH, _epo, _rel, _arch, _pM, _fP, _fIV, _rem, _sLLA, _rR, _rRR, _pu],
|
|
3248
|
+
[0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], 2
|
|
3227
3249
|
];
|
|
3228
3250
|
export var WeeklySchedule$ = [3, n0, _WS,
|
|
3229
3251
|
0,
|
|
@@ -152,6 +152,19 @@ declare const CreateFilterCommand_base: {
|
|
|
152
152
|
* sourceLayerHash: "<StringFilter>",
|
|
153
153
|
* sourceLambdaLayerArn: "<StringFilter>",
|
|
154
154
|
* filePath: "<StringFilter>",
|
|
155
|
+
* runtimeReachability: { // RuntimeReachabilityFilter
|
|
156
|
+
* comparison: "STRING_VALUE", // required
|
|
157
|
+
* value: "STRING_VALUE", // required
|
|
158
|
+
* },
|
|
159
|
+
* runtimeReachabilityReason: { // RuntimeReachabilityReasonFilter
|
|
160
|
+
* comparison: "STRING_VALUE", // required
|
|
161
|
+
* value: "STRING_VALUE", // required
|
|
162
|
+
* },
|
|
163
|
+
* purlQualifier: { // PurlQualifierFilter
|
|
164
|
+
* comparison: "STRING_VALUE", // required
|
|
165
|
+
* key: "STRING_VALUE", // required
|
|
166
|
+
* value: "STRING_VALUE",
|
|
167
|
+
* },
|
|
155
168
|
* },
|
|
156
169
|
* ],
|
|
157
170
|
* relatedVulnerabilities: "<StringFilterList>",
|
|
@@ -150,6 +150,19 @@ declare const CreateFindingsReportCommand_base: {
|
|
|
150
150
|
* sourceLayerHash: "<StringFilter>",
|
|
151
151
|
* sourceLambdaLayerArn: "<StringFilter>",
|
|
152
152
|
* filePath: "<StringFilter>",
|
|
153
|
+
* runtimeReachability: { // RuntimeReachabilityFilter
|
|
154
|
+
* comparison: "STRING_VALUE", // required
|
|
155
|
+
* value: "STRING_VALUE", // required
|
|
156
|
+
* },
|
|
157
|
+
* runtimeReachabilityReason: { // RuntimeReachabilityReasonFilter
|
|
158
|
+
* comparison: "STRING_VALUE", // required
|
|
159
|
+
* value: "STRING_VALUE", // required
|
|
160
|
+
* },
|
|
161
|
+
* purlQualifier: { // PurlQualifierFilter
|
|
162
|
+
* comparison: "STRING_VALUE", // required
|
|
163
|
+
* key: "STRING_VALUE", // required
|
|
164
|
+
* value: "STRING_VALUE",
|
|
165
|
+
* },
|
|
153
166
|
* },
|
|
154
167
|
* ],
|
|
155
168
|
* relatedVulnerabilities: "<StringFilterList>",
|
|
@@ -165,6 +165,19 @@ declare const GetFindingsReportStatusCommand_base: {
|
|
|
165
165
|
* // sourceLayerHash: "<StringFilter>",
|
|
166
166
|
* // sourceLambdaLayerArn: "<StringFilter>",
|
|
167
167
|
* // filePath: "<StringFilter>",
|
|
168
|
+
* // runtimeReachability: { // RuntimeReachabilityFilter
|
|
169
|
+
* // comparison: "STRING_VALUE", // required
|
|
170
|
+
* // value: "STRING_VALUE", // required
|
|
171
|
+
* // },
|
|
172
|
+
* // runtimeReachabilityReason: { // RuntimeReachabilityReasonFilter
|
|
173
|
+
* // comparison: "STRING_VALUE", // required
|
|
174
|
+
* // value: "STRING_VALUE", // required
|
|
175
|
+
* // },
|
|
176
|
+
* // purlQualifier: { // PurlQualifierFilter
|
|
177
|
+
* // comparison: "STRING_VALUE", // required
|
|
178
|
+
* // key: "STRING_VALUE", // required
|
|
179
|
+
* // value: "STRING_VALUE",
|
|
180
|
+
* // },
|
|
168
181
|
* // },
|
|
169
182
|
* // ],
|
|
170
183
|
* // relatedVulnerabilities: "<StringFilterList>",
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
2
|
-
import type { GetOnDemandScanStatusRequest
|
|
2
|
+
import type { GetOnDemandScanStatusRequest } from "../models/models_0";
|
|
3
|
+
import type { GetOnDemandScanStatusResponse } from "../models/models_1";
|
|
3
4
|
/**
|
|
4
5
|
* @public
|
|
5
6
|
*/
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
2
|
-
import type { GetSbomExportRequest, GetSbomExportResponse } from "../models/
|
|
2
|
+
import type { GetSbomExportRequest, GetSbomExportResponse } from "../models/models_1";
|
|
3
3
|
/**
|
|
4
4
|
* @public
|
|
5
5
|
*/
|
|
@@ -165,6 +165,19 @@ declare const ListFiltersCommand_base: {
|
|
|
165
165
|
* // sourceLayerHash: "<StringFilter>",
|
|
166
166
|
* // sourceLambdaLayerArn: "<StringFilter>",
|
|
167
167
|
* // filePath: "<StringFilter>",
|
|
168
|
+
* // runtimeReachability: { // RuntimeReachabilityFilter
|
|
169
|
+
* // comparison: "STRING_VALUE", // required
|
|
170
|
+
* // value: "STRING_VALUE", // required
|
|
171
|
+
* // },
|
|
172
|
+
* // runtimeReachabilityReason: { // RuntimeReachabilityReasonFilter
|
|
173
|
+
* // comparison: "STRING_VALUE", // required
|
|
174
|
+
* // value: "STRING_VALUE", // required
|
|
175
|
+
* // },
|
|
176
|
+
* // purlQualifier: { // PurlQualifierFilter
|
|
177
|
+
* // comparison: "STRING_VALUE", // required
|
|
178
|
+
* // key: "STRING_VALUE", // required
|
|
179
|
+
* // value: "STRING_VALUE",
|
|
180
|
+
* // },
|
|
168
181
|
* // },
|
|
169
182
|
* // ],
|
|
170
183
|
* // relatedVulnerabilities: "<StringFilterList>",
|
|
@@ -152,6 +152,19 @@ declare const ListFindingsCommand_base: {
|
|
|
152
152
|
* sourceLayerHash: "<StringFilter>",
|
|
153
153
|
* sourceLambdaLayerArn: "<StringFilter>",
|
|
154
154
|
* filePath: "<StringFilter>",
|
|
155
|
+
* runtimeReachability: { // RuntimeReachabilityFilter
|
|
156
|
+
* comparison: "STRING_VALUE", // required
|
|
157
|
+
* value: "STRING_VALUE", // required
|
|
158
|
+
* },
|
|
159
|
+
* runtimeReachabilityReason: { // RuntimeReachabilityReasonFilter
|
|
160
|
+
* comparison: "STRING_VALUE", // required
|
|
161
|
+
* value: "STRING_VALUE", // required
|
|
162
|
+
* },
|
|
163
|
+
* purlQualifier: { // PurlQualifierFilter
|
|
164
|
+
* comparison: "STRING_VALUE", // required
|
|
165
|
+
* key: "STRING_VALUE", // required
|
|
166
|
+
* value: "STRING_VALUE",
|
|
167
|
+
* },
|
|
155
168
|
* },
|
|
156
169
|
* ],
|
|
157
170
|
* relatedVulnerabilities: "<StringFilterList>",
|
|
@@ -422,6 +435,9 @@ declare const ListFindingsCommand_base: {
|
|
|
422
435
|
* // fixedInVersion: "STRING_VALUE",
|
|
423
436
|
* // remediation: "STRING_VALUE",
|
|
424
437
|
* // sourceLambdaLayerArn: "STRING_VALUE",
|
|
438
|
+
* // runtimeReachability: "STRING_VALUE",
|
|
439
|
+
* // runtimeReachabilityReason: "STRING_VALUE",
|
|
440
|
+
* // purl: "STRING_VALUE",
|
|
425
441
|
* // },
|
|
426
442
|
* // ],
|
|
427
443
|
* // source: "STRING_VALUE", // required
|
|
@@ -152,6 +152,19 @@ declare const UpdateFilterCommand_base: {
|
|
|
152
152
|
* sourceLayerHash: "<StringFilter>",
|
|
153
153
|
* sourceLambdaLayerArn: "<StringFilter>",
|
|
154
154
|
* filePath: "<StringFilter>",
|
|
155
|
+
* runtimeReachability: { // RuntimeReachabilityFilter
|
|
156
|
+
* comparison: "STRING_VALUE", // required
|
|
157
|
+
* value: "STRING_VALUE", // required
|
|
158
|
+
* },
|
|
159
|
+
* runtimeReachabilityReason: { // RuntimeReachabilityReasonFilter
|
|
160
|
+
* comparison: "STRING_VALUE", // required
|
|
161
|
+
* value: "STRING_VALUE", // required
|
|
162
|
+
* },
|
|
163
|
+
* purlQualifier: { // PurlQualifierFilter
|
|
164
|
+
* comparison: "STRING_VALUE", // required
|
|
165
|
+
* key: "STRING_VALUE", // required
|
|
166
|
+
* value: "STRING_VALUE",
|
|
167
|
+
* },
|
|
155
168
|
* },
|
|
156
169
|
* ],
|
|
157
170
|
* relatedVulnerabilities: "<StringFilterList>",
|
|
@@ -1383,6 +1383,71 @@ export declare const FilterAction: {
|
|
|
1383
1383
|
* @public
|
|
1384
1384
|
*/
|
|
1385
1385
|
export type FilterAction = (typeof FilterAction)[keyof typeof FilterAction];
|
|
1386
|
+
/**
|
|
1387
|
+
* @public
|
|
1388
|
+
* @enum
|
|
1389
|
+
*/
|
|
1390
|
+
export declare const PurlQualifierKey: {
|
|
1391
|
+
readonly ARCH: "arch";
|
|
1392
|
+
readonly COLLECTOR: "collector";
|
|
1393
|
+
readonly DEV_DEPENDENCY: "dev_dependency";
|
|
1394
|
+
readonly DISTRO: "distro";
|
|
1395
|
+
readonly EPOCH: "epoch";
|
|
1396
|
+
readonly GO_TOOLCHAIN: "go_toolchain";
|
|
1397
|
+
readonly HARDENED: "hardened";
|
|
1398
|
+
readonly PRIVATE: "private";
|
|
1399
|
+
readonly RUST_TOOLCHAIN: "rust_toolchain";
|
|
1400
|
+
readonly SCOPE: "scope";
|
|
1401
|
+
readonly SKIP_CHROMIUM_DOWNLOAD: "skip_chromium_download";
|
|
1402
|
+
readonly SOURCE: "source";
|
|
1403
|
+
readonly STREAM: "stream";
|
|
1404
|
+
readonly TRANSITIVE_DEPENDENCY: "transitive_dependency";
|
|
1405
|
+
readonly UNRESOLVED: "unresolved";
|
|
1406
|
+
readonly VENDOR: "vendor";
|
|
1407
|
+
};
|
|
1408
|
+
/**
|
|
1409
|
+
* @public
|
|
1410
|
+
*/
|
|
1411
|
+
export type PurlQualifierKey = (typeof PurlQualifierKey)[keyof typeof PurlQualifierKey];
|
|
1412
|
+
/**
|
|
1413
|
+
* @public
|
|
1414
|
+
* @enum
|
|
1415
|
+
*/
|
|
1416
|
+
export declare const RuntimeReachabilityComparison: {
|
|
1417
|
+
readonly EQUALS: "EQUALS";
|
|
1418
|
+
readonly NOT_EQUALS: "NOT_EQUALS";
|
|
1419
|
+
};
|
|
1420
|
+
/**
|
|
1421
|
+
* @public
|
|
1422
|
+
*/
|
|
1423
|
+
export type RuntimeReachabilityComparison = (typeof RuntimeReachabilityComparison)[keyof typeof RuntimeReachabilityComparison];
|
|
1424
|
+
/**
|
|
1425
|
+
* @public
|
|
1426
|
+
* @enum
|
|
1427
|
+
*/
|
|
1428
|
+
export declare const RuntimeReachability: {
|
|
1429
|
+
readonly NOT_REACHABLE: "NOT_REACHABLE";
|
|
1430
|
+
readonly REACHABLE: "REACHABLE";
|
|
1431
|
+
readonly UNKNOWN: "UNKNOWN";
|
|
1432
|
+
};
|
|
1433
|
+
/**
|
|
1434
|
+
* @public
|
|
1435
|
+
*/
|
|
1436
|
+
export type RuntimeReachability = (typeof RuntimeReachability)[keyof typeof RuntimeReachability];
|
|
1437
|
+
/**
|
|
1438
|
+
* @public
|
|
1439
|
+
* @enum
|
|
1440
|
+
*/
|
|
1441
|
+
export declare const RuntimeReachabilityReason: {
|
|
1442
|
+
readonly PACKAGE_IN_DOCKERFILE_WORKLOAD_PATH: "PACKAGE_IN_DOCKERFILE_WORKLOAD_PATH";
|
|
1443
|
+
readonly PACKAGE_NOT_IN_DOCKERFILE_WORKLOAD_PATH: "PACKAGE_NOT_IN_DOCKERFILE_WORKLOAD_PATH";
|
|
1444
|
+
readonly PROCESS_NOT_OBSERVED_IN_EC2_RUNTIME: "PROCESS_NOT_OBSERVED_IN_EC2_RUNTIME";
|
|
1445
|
+
readonly PROCESS_OBSERVED_IN_EC2_RUNTIME: "PROCESS_OBSERVED_IN_EC2_RUNTIME";
|
|
1446
|
+
};
|
|
1447
|
+
/**
|
|
1448
|
+
* @public
|
|
1449
|
+
*/
|
|
1450
|
+
export type RuntimeReachabilityReason = (typeof RuntimeReachabilityReason)[keyof typeof RuntimeReachabilityReason];
|
|
1386
1451
|
/**
|
|
1387
1452
|
* @public
|
|
1388
1453
|
* @enum
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { AccountSortBy, AggregationFindingType, AggregationResourceType, AmiConfigurationStatus, AmiScanDuration, AmiScanMode, AmiSortBy, Architecture, AssociationResultStatusCode, AwsConfigConnectorArnComparison, AwsEcrContainerSortBy, CisFindingStatus, CisFindingStatusComparison, CisReportFormat, CisReportStatus, CisResultStatus, CisResultStatusComparison, CisRuleStatus, CisScanResultDetailsSortBy, CisScanStatus, CisScanStatusComparison, CisSecurityLevel, CisSecurityLevelComparison, CisSortOrder, CisStringComparison, CisTargetStatus, CisTargetStatusComparison, CisTargetStatusReason, CloudProvider, CodeRepositoryProviderType, CodeRepositorySortBy, CodeScanStatus, CodeSnippetErrorCode, ConfigurationLevel, ConnectorArnComparison, ConnectorCloudProvider, ConnectorHealthStatus, ConnectorType, ConnectorTypeComparison, ContainerImagePullDateRescanDuration, ContainerImageRescanDuration, ContainerImageSortBy, ContinuousIntegrationScanEvent, CoverageMapComparison, CoverageResourceType, CoverageStringComparison, Day, DelegatedAdminStatus, Ec2DeepInspectionStatus, Ec2InstanceSortBy, Ec2Platform, Ec2ScanMode, Ec2ScanModeStatus, EcrPullDateRescanDuration, EcrPullDateRescanMode, EcrRescanDuration, EcrRescanDurationStatus, EcrScanFrequency, EnablementStatus, ErrorCode, ExploitAvailable, ExternalReportStatus, FilterAction, FindingDetailsErrorCode, FindingStatus, FindingType, FindingTypeSortBy, FixAvailable, FreeTrialInfoErrorCode, FreeTrialStatus, FreeTrialType, GroupKey, ImageLayerSortBy, IntegrationStatus, IntegrationType, LambdaFunctionSortBy, LambdaLayerSortBy, MachineImagePlatform, MapComparison, NetworkProtocol, OnDemandResourceType,
|
|
1
|
+
import type { AccountSortBy, AggregationFindingType, AggregationResourceType, AmiConfigurationStatus, AmiScanDuration, AmiScanMode, AmiSortBy, Architecture, AssociationResultStatusCode, AwsConfigConnectorArnComparison, AwsEcrContainerSortBy, CisFindingStatus, CisFindingStatusComparison, CisReportFormat, CisReportStatus, CisResultStatus, CisResultStatusComparison, CisRuleStatus, CisScanResultDetailsSortBy, CisScanStatus, CisScanStatusComparison, CisSecurityLevel, CisSecurityLevelComparison, CisSortOrder, CisStringComparison, CisTargetStatus, CisTargetStatusComparison, CisTargetStatusReason, CloudProvider, CodeRepositoryProviderType, CodeRepositorySortBy, CodeScanStatus, CodeSnippetErrorCode, ConfigurationLevel, ConnectorArnComparison, ConnectorCloudProvider, ConnectorHealthStatus, ConnectorType, ConnectorTypeComparison, ContainerImagePullDateRescanDuration, ContainerImageRescanDuration, ContainerImageSortBy, ContinuousIntegrationScanEvent, CoverageMapComparison, CoverageResourceType, CoverageStringComparison, Day, DelegatedAdminStatus, Ec2DeepInspectionStatus, Ec2InstanceSortBy, Ec2Platform, Ec2ScanMode, Ec2ScanModeStatus, EcrPullDateRescanDuration, EcrPullDateRescanMode, EcrRescanDuration, EcrRescanDurationStatus, EcrScanFrequency, EnablementStatus, ErrorCode, ExploitAvailable, ExternalReportStatus, FilterAction, FindingDetailsErrorCode, FindingStatus, FindingType, FindingTypeSortBy, FixAvailable, FreeTrialInfoErrorCode, FreeTrialStatus, FreeTrialType, GroupKey, ImageLayerSortBy, IntegrationStatus, IntegrationType, LambdaFunctionSortBy, LambdaLayerSortBy, MachineImagePlatform, MapComparison, NetworkProtocol, OnDemandResourceType, PackageManager, PackageSortBy, PackageType, PeriodicScanFrequency, ProjectSelectionScope, Provider, ProviderComparison, PurlQualifierKey, RelationshipStatus, ReportFormat, ReportingErrorCode, RepositorySortBy, ResourceMapComparison, ResourceScanType, ResourceStringComparison, ResourceType, RuleSetCategory, Runtime, RuntimeReachability, RuntimeReachabilityComparison, RuntimeReachabilityReason, SbomReportFormat, ScanMode, ScanSource, ScanStatusCode, ScanStatusReason, ScanType, ScopeState, ScopeType, ServerlessFunctionSortBy, Severity, SortOrder, Status, StringComparison, TagComparison, TitleSortBy, VmInstanceSortBy, VmPlatform, VMScannerStatus } from "./enums";
|
|
2
2
|
/**
|
|
3
3
|
* <p>Details the status of Amazon Inspector for each resource type Amazon Inspector scans.</p>
|
|
4
4
|
* @public
|
|
@@ -6177,6 +6177,59 @@ export interface PortRangeFilter {
|
|
|
6177
6177
|
*/
|
|
6178
6178
|
endInclusive?: number | undefined;
|
|
6179
6179
|
}
|
|
6180
|
+
/**
|
|
6181
|
+
* <p>An object that describes the details of a package URL (purl) qualifier filter.</p>
|
|
6182
|
+
* @public
|
|
6183
|
+
*/
|
|
6184
|
+
export interface PurlQualifierFilter {
|
|
6185
|
+
/**
|
|
6186
|
+
* <p>The operator to use when comparing values in the filter.</p>
|
|
6187
|
+
* @public
|
|
6188
|
+
*/
|
|
6189
|
+
comparison: MapComparison | undefined;
|
|
6190
|
+
/**
|
|
6191
|
+
* <p>The package URL (purl) qualifier key to filter on.</p>
|
|
6192
|
+
* @public
|
|
6193
|
+
*/
|
|
6194
|
+
key: PurlQualifierKey | undefined;
|
|
6195
|
+
/**
|
|
6196
|
+
* <p>The package URL (purl) qualifier value to filter on.</p>
|
|
6197
|
+
* @public
|
|
6198
|
+
*/
|
|
6199
|
+
value?: string | undefined;
|
|
6200
|
+
}
|
|
6201
|
+
/**
|
|
6202
|
+
* <p>An object that describes the details of a runtime reachability filter.</p>
|
|
6203
|
+
* @public
|
|
6204
|
+
*/
|
|
6205
|
+
export interface RuntimeReachabilityFilter {
|
|
6206
|
+
/**
|
|
6207
|
+
* <p>The operator to use when comparing values in the filter.</p>
|
|
6208
|
+
* @public
|
|
6209
|
+
*/
|
|
6210
|
+
comparison: RuntimeReachabilityComparison | undefined;
|
|
6211
|
+
/**
|
|
6212
|
+
* <p>The runtime reachability status to filter on.</p>
|
|
6213
|
+
* @public
|
|
6214
|
+
*/
|
|
6215
|
+
value: RuntimeReachability | undefined;
|
|
6216
|
+
}
|
|
6217
|
+
/**
|
|
6218
|
+
* <p>An object that describes the details of a runtime reachability reason filter.</p>
|
|
6219
|
+
* @public
|
|
6220
|
+
*/
|
|
6221
|
+
export interface RuntimeReachabilityReasonFilter {
|
|
6222
|
+
/**
|
|
6223
|
+
* <p>The operator to use when comparing values in the filter.</p>
|
|
6224
|
+
* @public
|
|
6225
|
+
*/
|
|
6226
|
+
comparison: RuntimeReachabilityComparison | undefined;
|
|
6227
|
+
/**
|
|
6228
|
+
* <p>The runtime reachability reason to filter on.</p>
|
|
6229
|
+
* @public
|
|
6230
|
+
*/
|
|
6231
|
+
value: RuntimeReachabilityReason | undefined;
|
|
6232
|
+
}
|
|
6180
6233
|
/**
|
|
6181
6234
|
* <p>Contains information on the details of a package filter.</p>
|
|
6182
6235
|
* @public
|
|
@@ -6222,6 +6275,21 @@ export interface PackageFilter {
|
|
|
6222
6275
|
* @public
|
|
6223
6276
|
*/
|
|
6224
6277
|
filePath?: StringFilter | undefined;
|
|
6278
|
+
/**
|
|
6279
|
+
* <p>An object that contains details on the runtime reachability status of the package to filter on. For more information, see <a href="https://docs.aws.amazon.com/inspector/latest/user/findings-understanding-runtime-reachability.html">Understanding runtime reachability</a> in the Amazon Inspector user guide.</p>
|
|
6280
|
+
* @public
|
|
6281
|
+
*/
|
|
6282
|
+
runtimeReachability?: RuntimeReachabilityFilter | undefined;
|
|
6283
|
+
/**
|
|
6284
|
+
* <p>An object that contains details on the runtime reachability reason of the package to filter on. For more information, see <a href="https://docs.aws.amazon.com/inspector/latest/user/findings-understanding-runtime-reachability.html">Understanding runtime reachability</a> in the Amazon Inspector user guide.</p>
|
|
6285
|
+
* @public
|
|
6286
|
+
*/
|
|
6287
|
+
runtimeReachabilityReason?: RuntimeReachabilityReasonFilter | undefined;
|
|
6288
|
+
/**
|
|
6289
|
+
* <p>An object that contains details on the package URL (purl) qualifier to filter on.</p>
|
|
6290
|
+
* @public
|
|
6291
|
+
*/
|
|
6292
|
+
purlQualifier?: PurlQualifierFilter | undefined;
|
|
6225
6293
|
}
|
|
6226
6294
|
/**
|
|
6227
6295
|
* <p>Details on the criteria used to define the filter.</p>
|
|
@@ -7607,6 +7675,21 @@ export interface VulnerablePackage {
|
|
|
7607
7675
|
* @public
|
|
7608
7676
|
*/
|
|
7609
7677
|
sourceLambdaLayerArn?: string | undefined;
|
|
7678
|
+
/**
|
|
7679
|
+
* <p>The runtime reachability status of the vulnerable package. For more information, see <a href="https://docs.aws.amazon.com/inspector/latest/user/findings-understanding-runtime-reachability.html">Understanding runtime reachability</a> in the Amazon Inspector user guide.</p>
|
|
7680
|
+
* @public
|
|
7681
|
+
*/
|
|
7682
|
+
runtimeReachability?: RuntimeReachability | undefined;
|
|
7683
|
+
/**
|
|
7684
|
+
* <p>The reason for the runtime reachability status of the vulnerable package. For more information, see <a href="https://docs.aws.amazon.com/inspector/latest/user/findings-understanding-runtime-reachability.html">Understanding runtime reachability</a> in the Amazon Inspector user guide.</p>
|
|
7685
|
+
* @public
|
|
7686
|
+
*/
|
|
7687
|
+
runtimeReachabilityReason?: RuntimeReachabilityReason | undefined;
|
|
7688
|
+
/**
|
|
7689
|
+
* <p>The package URL (purl) of the vulnerable package.</p>
|
|
7690
|
+
* @public
|
|
7691
|
+
*/
|
|
7692
|
+
purl?: string | undefined;
|
|
7610
7693
|
}
|
|
7611
7694
|
/**
|
|
7612
7695
|
* <p>Information about a package vulnerability finding.</p>
|
|
@@ -8700,93 +8783,3 @@ export interface GetOnDemandScanStatusRequest {
|
|
|
8700
8783
|
*/
|
|
8701
8784
|
resourceType: OnDemandResourceType | undefined;
|
|
8702
8785
|
}
|
|
8703
|
-
/**
|
|
8704
|
-
* @public
|
|
8705
|
-
*/
|
|
8706
|
-
export interface GetOnDemandScanStatusResponse {
|
|
8707
|
-
/**
|
|
8708
|
-
* <p>The unique identifier of the on-demand scan.</p>
|
|
8709
|
-
* @public
|
|
8710
|
-
*/
|
|
8711
|
-
scanId: string | undefined;
|
|
8712
|
-
/**
|
|
8713
|
-
* <p>The ID of the resource that was scanned.</p>
|
|
8714
|
-
* @public
|
|
8715
|
-
*/
|
|
8716
|
-
resourceId: string | undefined;
|
|
8717
|
-
/**
|
|
8718
|
-
* <p>The type of the resource that was scanned.</p>
|
|
8719
|
-
* @public
|
|
8720
|
-
*/
|
|
8721
|
-
resourceType: OnDemandResourceType | undefined;
|
|
8722
|
-
/**
|
|
8723
|
-
* <p>The current status of the on-demand scan.</p>
|
|
8724
|
-
* @public
|
|
8725
|
-
*/
|
|
8726
|
-
scanStatus: OnDemandScanStatus | undefined;
|
|
8727
|
-
/**
|
|
8728
|
-
* <p>The reason associated with the current on-demand scan status.</p>
|
|
8729
|
-
* @public
|
|
8730
|
-
*/
|
|
8731
|
-
scanStatusReason?: OnDemandScanStatusReason | undefined;
|
|
8732
|
-
/**
|
|
8733
|
-
* <p>The date and time, in ISO 8601 format, when the on-demand scan started.</p>
|
|
8734
|
-
* @public
|
|
8735
|
-
*/
|
|
8736
|
-
startedAt: Date | undefined;
|
|
8737
|
-
/**
|
|
8738
|
-
* <p>The date and time, in ISO 8601 format, when the on-demand scan completed. This field is absent if the scan has not completed.</p>
|
|
8739
|
-
* @public
|
|
8740
|
-
*/
|
|
8741
|
-
completedAt?: Date | undefined;
|
|
8742
|
-
}
|
|
8743
|
-
/**
|
|
8744
|
-
* @public
|
|
8745
|
-
*/
|
|
8746
|
-
export interface GetSbomExportRequest {
|
|
8747
|
-
/**
|
|
8748
|
-
* <p>The report ID of the SBOM export to get details for.</p>
|
|
8749
|
-
* @public
|
|
8750
|
-
*/
|
|
8751
|
-
reportId: string | undefined;
|
|
8752
|
-
}
|
|
8753
|
-
/**
|
|
8754
|
-
* @public
|
|
8755
|
-
*/
|
|
8756
|
-
export interface GetSbomExportResponse {
|
|
8757
|
-
/**
|
|
8758
|
-
* <p>The report ID of the software bill of materials (SBOM) report.</p>
|
|
8759
|
-
* @public
|
|
8760
|
-
*/
|
|
8761
|
-
reportId?: string | undefined;
|
|
8762
|
-
/**
|
|
8763
|
-
* <p>The format of the software bill of materials (SBOM) report.</p>
|
|
8764
|
-
* @public
|
|
8765
|
-
*/
|
|
8766
|
-
format?: SbomReportFormat | undefined;
|
|
8767
|
-
/**
|
|
8768
|
-
* <p>The status of the software bill of materials (SBOM) report.</p>
|
|
8769
|
-
* @public
|
|
8770
|
-
*/
|
|
8771
|
-
status?: ExternalReportStatus | undefined;
|
|
8772
|
-
/**
|
|
8773
|
-
* <p>An error code.</p>
|
|
8774
|
-
* @public
|
|
8775
|
-
*/
|
|
8776
|
-
errorCode?: ReportingErrorCode | undefined;
|
|
8777
|
-
/**
|
|
8778
|
-
* <p>An error message.</p>
|
|
8779
|
-
* @public
|
|
8780
|
-
*/
|
|
8781
|
-
errorMessage?: string | undefined;
|
|
8782
|
-
/**
|
|
8783
|
-
* <p>Contains details of the Amazon S3 bucket and KMS key used to export findings</p>
|
|
8784
|
-
* @public
|
|
8785
|
-
*/
|
|
8786
|
-
s3Destination?: Destination | undefined;
|
|
8787
|
-
/**
|
|
8788
|
-
* <p>Contains details about the resource filter criteria used for the software bill of materials (SBOM) report.</p>
|
|
8789
|
-
* @public
|
|
8790
|
-
*/
|
|
8791
|
-
filterCriteria?: ResourceFilterCriteria | undefined;
|
|
8792
|
-
}
|
|
@@ -1,5 +1,95 @@
|
|
|
1
|
-
import type { AggregationType, CisScanConfigurationsSortBy, CisScanResultsAggregatedByChecksSortBy, CisScanResultsAggregatedByTargetResourceSortBy, CisSecurityLevel, CisSortOrder, CloudProvider, CodeScanStatus, Currency, Ec2DeepInspectionStatus, FilterAction, GroupKey, InheritanceMode, IntegrationStatus, ListCisScansDetailLevel, ListCisScansSortBy, OnDemandResourceType, OnDemandScanStatus, OnDemandScanStatusReason, Operation, ResourceType, ScanType, Service, SortField, SortOrder, StopCisSessionStatus, UsageType, VulnerabilitySource } from "./enums";
|
|
2
|
-
import type { AggregationRequest, AggregationResponse, AmiConfiguration, AtigData, AutoEnable, AzureProviderDetailUpdate, CisaData, CisCheckAggregation, CisDateFilter, CisNumberFilter, CisScan, CisScanConfiguration, CisScanResultsAggregatedByChecksFilterCriteria, CisScanResultsAggregatedByTargetResourceFilterCriteria, CisScanStatusFilter, CisSessionMessage, CisStringFilter, CisTargetResourceAggregation, CodeSecurityIntegrationSummary, CodeSecurityResource, CodeSecurityScanConfiguration, CodeSecurityScanConfigurationAssociationSummary, CodeSecurityScanConfigurationSummary, ComputePlatform, Connector, ConnectorFilterCriteria, ConnectorScanConfiguration, ConnectorScanConfigurationItem, Counts, CoverageFilterCriteria, CoveredResource, Cvss2, Cvss3, Cvss4, DelegatedAdminAccount, Ec2Configuration, EcrConfiguration, Epss, ExploitObserved, Filter, FilterCriteria, Finding, GcpProviderDetailUpdate, Member, Schedule, StringFilter, TagFilter } from "./models_0";
|
|
1
|
+
import type { AggregationType, CisScanConfigurationsSortBy, CisScanResultsAggregatedByChecksSortBy, CisScanResultsAggregatedByTargetResourceSortBy, CisSecurityLevel, CisSortOrder, CloudProvider, CodeScanStatus, Currency, Ec2DeepInspectionStatus, ExternalReportStatus, FilterAction, GroupKey, InheritanceMode, IntegrationStatus, ListCisScansDetailLevel, ListCisScansSortBy, OnDemandResourceType, OnDemandScanStatus, OnDemandScanStatusReason, Operation, ReportingErrorCode, ResourceType, SbomReportFormat, ScanType, Service, SortField, SortOrder, StopCisSessionStatus, UsageType, VulnerabilitySource } from "./enums";
|
|
2
|
+
import type { AggregationRequest, AggregationResponse, AmiConfiguration, AtigData, AutoEnable, AzureProviderDetailUpdate, CisaData, CisCheckAggregation, CisDateFilter, CisNumberFilter, CisScan, CisScanConfiguration, CisScanResultsAggregatedByChecksFilterCriteria, CisScanResultsAggregatedByTargetResourceFilterCriteria, CisScanStatusFilter, CisSessionMessage, CisStringFilter, CisTargetResourceAggregation, CodeSecurityIntegrationSummary, CodeSecurityResource, CodeSecurityScanConfiguration, CodeSecurityScanConfigurationAssociationSummary, CodeSecurityScanConfigurationSummary, ComputePlatform, Connector, ConnectorFilterCriteria, ConnectorScanConfiguration, ConnectorScanConfigurationItem, Counts, CoverageFilterCriteria, CoveredResource, Cvss2, Cvss3, Cvss4, DelegatedAdminAccount, Destination, Ec2Configuration, EcrConfiguration, Epss, ExploitObserved, Filter, FilterCriteria, Finding, GcpProviderDetailUpdate, Member, ResourceFilterCriteria, Schedule, StringFilter, TagFilter } from "./models_0";
|
|
3
|
+
/**
|
|
4
|
+
* @public
|
|
5
|
+
*/
|
|
6
|
+
export interface GetOnDemandScanStatusResponse {
|
|
7
|
+
/**
|
|
8
|
+
* <p>The unique identifier of the on-demand scan.</p>
|
|
9
|
+
* @public
|
|
10
|
+
*/
|
|
11
|
+
scanId: string | undefined;
|
|
12
|
+
/**
|
|
13
|
+
* <p>The ID of the resource that was scanned.</p>
|
|
14
|
+
* @public
|
|
15
|
+
*/
|
|
16
|
+
resourceId: string | undefined;
|
|
17
|
+
/**
|
|
18
|
+
* <p>The type of the resource that was scanned.</p>
|
|
19
|
+
* @public
|
|
20
|
+
*/
|
|
21
|
+
resourceType: OnDemandResourceType | undefined;
|
|
22
|
+
/**
|
|
23
|
+
* <p>The current status of the on-demand scan.</p>
|
|
24
|
+
* @public
|
|
25
|
+
*/
|
|
26
|
+
scanStatus: OnDemandScanStatus | undefined;
|
|
27
|
+
/**
|
|
28
|
+
* <p>The reason associated with the current on-demand scan status.</p>
|
|
29
|
+
* @public
|
|
30
|
+
*/
|
|
31
|
+
scanStatusReason?: OnDemandScanStatusReason | undefined;
|
|
32
|
+
/**
|
|
33
|
+
* <p>The date and time, in ISO 8601 format, when the on-demand scan started.</p>
|
|
34
|
+
* @public
|
|
35
|
+
*/
|
|
36
|
+
startedAt: Date | undefined;
|
|
37
|
+
/**
|
|
38
|
+
* <p>The date and time, in ISO 8601 format, when the on-demand scan completed. This field is absent if the scan has not completed.</p>
|
|
39
|
+
* @public
|
|
40
|
+
*/
|
|
41
|
+
completedAt?: Date | undefined;
|
|
42
|
+
}
|
|
43
|
+
/**
|
|
44
|
+
* @public
|
|
45
|
+
*/
|
|
46
|
+
export interface GetSbomExportRequest {
|
|
47
|
+
/**
|
|
48
|
+
* <p>The report ID of the SBOM export to get details for.</p>
|
|
49
|
+
* @public
|
|
50
|
+
*/
|
|
51
|
+
reportId: string | undefined;
|
|
52
|
+
}
|
|
53
|
+
/**
|
|
54
|
+
* @public
|
|
55
|
+
*/
|
|
56
|
+
export interface GetSbomExportResponse {
|
|
57
|
+
/**
|
|
58
|
+
* <p>The report ID of the software bill of materials (SBOM) report.</p>
|
|
59
|
+
* @public
|
|
60
|
+
*/
|
|
61
|
+
reportId?: string | undefined;
|
|
62
|
+
/**
|
|
63
|
+
* <p>The format of the software bill of materials (SBOM) report.</p>
|
|
64
|
+
* @public
|
|
65
|
+
*/
|
|
66
|
+
format?: SbomReportFormat | undefined;
|
|
67
|
+
/**
|
|
68
|
+
* <p>The status of the software bill of materials (SBOM) report.</p>
|
|
69
|
+
* @public
|
|
70
|
+
*/
|
|
71
|
+
status?: ExternalReportStatus | undefined;
|
|
72
|
+
/**
|
|
73
|
+
* <p>An error code.</p>
|
|
74
|
+
* @public
|
|
75
|
+
*/
|
|
76
|
+
errorCode?: ReportingErrorCode | undefined;
|
|
77
|
+
/**
|
|
78
|
+
* <p>An error message.</p>
|
|
79
|
+
* @public
|
|
80
|
+
*/
|
|
81
|
+
errorMessage?: string | undefined;
|
|
82
|
+
/**
|
|
83
|
+
* <p>Contains details of the Amazon S3 bucket and KMS key used to export findings</p>
|
|
84
|
+
* @public
|
|
85
|
+
*/
|
|
86
|
+
s3Destination?: Destination | undefined;
|
|
87
|
+
/**
|
|
88
|
+
* <p>Contains details about the resource filter criteria used for the software bill of materials (SBOM) report.</p>
|
|
89
|
+
* @public
|
|
90
|
+
*/
|
|
91
|
+
filterCriteria?: ResourceFilterCriteria | undefined;
|
|
92
|
+
}
|
|
3
93
|
/**
|
|
4
94
|
* <p>Contains the details required to register the GitHub App on the GitHub Enterprise Server instance.</p>
|
|
5
95
|
* @public
|
|
@@ -314,6 +314,7 @@ export declare var ProjectCodeSecurityScanConfiguration$: StaticStructureSchema;
|
|
|
314
314
|
export declare var ProjectContinuousIntegrationScanConfiguration$: StaticStructureSchema;
|
|
315
315
|
export declare var ProjectPeriodicScanConfiguration$: StaticStructureSchema;
|
|
316
316
|
export declare var ProviderFilter$: StaticStructureSchema;
|
|
317
|
+
export declare var PurlQualifierFilter$: StaticStructureSchema;
|
|
317
318
|
export declare var Recommendation$: StaticStructureSchema;
|
|
318
319
|
export declare var Remediation$: StaticStructureSchema;
|
|
319
320
|
export declare var RepositoryAggregation$: StaticStructureSchema;
|
|
@@ -328,6 +329,8 @@ export declare var ResourceScanMetadata$: StaticStructureSchema;
|
|
|
328
329
|
export declare var ResourceState$: StaticStructureSchema;
|
|
329
330
|
export declare var ResourceStatus$: StaticStructureSchema;
|
|
330
331
|
export declare var ResourceStringFilter$: StaticStructureSchema;
|
|
332
|
+
export declare var RuntimeReachabilityFilter$: StaticStructureSchema;
|
|
333
|
+
export declare var RuntimeReachabilityReasonFilter$: StaticStructureSchema;
|
|
331
334
|
export declare var ScanStatus$: StaticStructureSchema;
|
|
332
335
|
export declare var ScopeConfiguration$: StaticStructureSchema;
|
|
333
336
|
export declare var ScopeConfigurationInput$: StaticStructureSchema;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
2
|
-
import { GetOnDemandScanStatusRequest
|
|
2
|
+
import { GetOnDemandScanStatusRequest } from "../models/models_0";
|
|
3
|
+
import { GetOnDemandScanStatusResponse } from "../models/models_1";
|
|
3
4
|
export { __MetadataBearer };
|
|
4
5
|
export interface GetOnDemandScanStatusCommandInput extends GetOnDemandScanStatusRequest {}
|
|
5
6
|
export interface GetOnDemandScanStatusCommandOutput
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
2
|
-
import { GetSbomExportRequest, GetSbomExportResponse } from "../models/
|
|
2
|
+
import { GetSbomExportRequest, GetSbomExportResponse } from "../models/models_1";
|
|
3
3
|
export { __MetadataBearer };
|
|
4
4
|
export interface GetSbomExportCommandInput extends GetSbomExportRequest {}
|
|
5
5
|
export interface GetSbomExportCommandOutput extends GetSbomExportResponse, __MetadataBearer {}
|
|
@@ -744,6 +744,45 @@ export declare const FilterAction: {
|
|
|
744
744
|
readonly SUPPRESS: "SUPPRESS";
|
|
745
745
|
};
|
|
746
746
|
export type FilterAction = (typeof FilterAction)[keyof typeof FilterAction];
|
|
747
|
+
export declare const PurlQualifierKey: {
|
|
748
|
+
readonly ARCH: "arch";
|
|
749
|
+
readonly COLLECTOR: "collector";
|
|
750
|
+
readonly DEV_DEPENDENCY: "dev_dependency";
|
|
751
|
+
readonly DISTRO: "distro";
|
|
752
|
+
readonly EPOCH: "epoch";
|
|
753
|
+
readonly GO_TOOLCHAIN: "go_toolchain";
|
|
754
|
+
readonly HARDENED: "hardened";
|
|
755
|
+
readonly PRIVATE: "private";
|
|
756
|
+
readonly RUST_TOOLCHAIN: "rust_toolchain";
|
|
757
|
+
readonly SCOPE: "scope";
|
|
758
|
+
readonly SKIP_CHROMIUM_DOWNLOAD: "skip_chromium_download";
|
|
759
|
+
readonly SOURCE: "source";
|
|
760
|
+
readonly STREAM: "stream";
|
|
761
|
+
readonly TRANSITIVE_DEPENDENCY: "transitive_dependency";
|
|
762
|
+
readonly UNRESOLVED: "unresolved";
|
|
763
|
+
readonly VENDOR: "vendor";
|
|
764
|
+
};
|
|
765
|
+
export type PurlQualifierKey = (typeof PurlQualifierKey)[keyof typeof PurlQualifierKey];
|
|
766
|
+
export declare const RuntimeReachabilityComparison: {
|
|
767
|
+
readonly EQUALS: "EQUALS";
|
|
768
|
+
readonly NOT_EQUALS: "NOT_EQUALS";
|
|
769
|
+
};
|
|
770
|
+
export type RuntimeReachabilityComparison =
|
|
771
|
+
(typeof RuntimeReachabilityComparison)[keyof typeof RuntimeReachabilityComparison];
|
|
772
|
+
export declare const RuntimeReachability: {
|
|
773
|
+
readonly NOT_REACHABLE: "NOT_REACHABLE";
|
|
774
|
+
readonly REACHABLE: "REACHABLE";
|
|
775
|
+
readonly UNKNOWN: "UNKNOWN";
|
|
776
|
+
};
|
|
777
|
+
export type RuntimeReachability = (typeof RuntimeReachability)[keyof typeof RuntimeReachability];
|
|
778
|
+
export declare const RuntimeReachabilityReason: {
|
|
779
|
+
readonly PACKAGE_IN_DOCKERFILE_WORKLOAD_PATH: "PACKAGE_IN_DOCKERFILE_WORKLOAD_PATH";
|
|
780
|
+
readonly PACKAGE_NOT_IN_DOCKERFILE_WORKLOAD_PATH: "PACKAGE_NOT_IN_DOCKERFILE_WORKLOAD_PATH";
|
|
781
|
+
readonly PROCESS_NOT_OBSERVED_IN_EC2_RUNTIME: "PROCESS_NOT_OBSERVED_IN_EC2_RUNTIME";
|
|
782
|
+
readonly PROCESS_OBSERVED_IN_EC2_RUNTIME: "PROCESS_OBSERVED_IN_EC2_RUNTIME";
|
|
783
|
+
};
|
|
784
|
+
export type RuntimeReachabilityReason =
|
|
785
|
+
(typeof RuntimeReachabilityReason)[keyof typeof RuntimeReachabilityReason];
|
|
747
786
|
export declare const ReportFormat: {
|
|
748
787
|
readonly CSV: "CSV";
|
|
749
788
|
readonly JSON: "JSON";
|
|
@@ -80,8 +80,6 @@ import {
|
|
|
80
80
|
MapComparison,
|
|
81
81
|
NetworkProtocol,
|
|
82
82
|
OnDemandResourceType,
|
|
83
|
-
OnDemandScanStatus,
|
|
84
|
-
OnDemandScanStatusReason,
|
|
85
83
|
PackageManager,
|
|
86
84
|
PackageSortBy,
|
|
87
85
|
PackageType,
|
|
@@ -89,6 +87,7 @@ import {
|
|
|
89
87
|
ProjectSelectionScope,
|
|
90
88
|
Provider,
|
|
91
89
|
ProviderComparison,
|
|
90
|
+
PurlQualifierKey,
|
|
92
91
|
RelationshipStatus,
|
|
93
92
|
ReportFormat,
|
|
94
93
|
ReportingErrorCode,
|
|
@@ -99,6 +98,9 @@ import {
|
|
|
99
98
|
ResourceType,
|
|
100
99
|
RuleSetCategory,
|
|
101
100
|
Runtime,
|
|
101
|
+
RuntimeReachability,
|
|
102
|
+
RuntimeReachabilityComparison,
|
|
103
|
+
RuntimeReachabilityReason,
|
|
102
104
|
SbomReportFormat,
|
|
103
105
|
ScanMode,
|
|
104
106
|
ScanSource,
|
|
@@ -2109,6 +2111,19 @@ export interface PortRangeFilter {
|
|
|
2109
2111
|
beginInclusive?: number | undefined;
|
|
2110
2112
|
endInclusive?: number | undefined;
|
|
2111
2113
|
}
|
|
2114
|
+
export interface PurlQualifierFilter {
|
|
2115
|
+
comparison: MapComparison | undefined;
|
|
2116
|
+
key: PurlQualifierKey | undefined;
|
|
2117
|
+
value?: string | undefined;
|
|
2118
|
+
}
|
|
2119
|
+
export interface RuntimeReachabilityFilter {
|
|
2120
|
+
comparison: RuntimeReachabilityComparison | undefined;
|
|
2121
|
+
value: RuntimeReachability | undefined;
|
|
2122
|
+
}
|
|
2123
|
+
export interface RuntimeReachabilityReasonFilter {
|
|
2124
|
+
comparison: RuntimeReachabilityComparison | undefined;
|
|
2125
|
+
value: RuntimeReachabilityReason | undefined;
|
|
2126
|
+
}
|
|
2112
2127
|
export interface PackageFilter {
|
|
2113
2128
|
name?: StringFilter | undefined;
|
|
2114
2129
|
version?: StringFilter | undefined;
|
|
@@ -2118,6 +2133,9 @@ export interface PackageFilter {
|
|
|
2118
2133
|
sourceLayerHash?: StringFilter | undefined;
|
|
2119
2134
|
sourceLambdaLayerArn?: StringFilter | undefined;
|
|
2120
2135
|
filePath?: StringFilter | undefined;
|
|
2136
|
+
runtimeReachability?: RuntimeReachabilityFilter | undefined;
|
|
2137
|
+
runtimeReachabilityReason?: RuntimeReachabilityReasonFilter | undefined;
|
|
2138
|
+
purlQualifier?: PurlQualifierFilter | undefined;
|
|
2121
2139
|
}
|
|
2122
2140
|
export interface FilterCriteria {
|
|
2123
2141
|
findingArn?: StringFilter[] | undefined;
|
|
@@ -2445,6 +2463,9 @@ export interface VulnerablePackage {
|
|
|
2445
2463
|
fixedInVersion?: string | undefined;
|
|
2446
2464
|
remediation?: string | undefined;
|
|
2447
2465
|
sourceLambdaLayerArn?: string | undefined;
|
|
2466
|
+
runtimeReachability?: RuntimeReachability | undefined;
|
|
2467
|
+
runtimeReachabilityReason?: RuntimeReachabilityReason | undefined;
|
|
2468
|
+
purl?: string | undefined;
|
|
2448
2469
|
}
|
|
2449
2470
|
export interface PackageVulnerabilityDetails {
|
|
2450
2471
|
vulnerabilityId: string | undefined;
|
|
@@ -2697,24 +2718,3 @@ export interface GetOnDemandScanStatusRequest {
|
|
|
2697
2718
|
scanId: string | undefined;
|
|
2698
2719
|
resourceType: OnDemandResourceType | undefined;
|
|
2699
2720
|
}
|
|
2700
|
-
export interface GetOnDemandScanStatusResponse {
|
|
2701
|
-
scanId: string | undefined;
|
|
2702
|
-
resourceId: string | undefined;
|
|
2703
|
-
resourceType: OnDemandResourceType | undefined;
|
|
2704
|
-
scanStatus: OnDemandScanStatus | undefined;
|
|
2705
|
-
scanStatusReason?: OnDemandScanStatusReason | undefined;
|
|
2706
|
-
startedAt: Date | undefined;
|
|
2707
|
-
completedAt?: Date | undefined;
|
|
2708
|
-
}
|
|
2709
|
-
export interface GetSbomExportRequest {
|
|
2710
|
-
reportId: string | undefined;
|
|
2711
|
-
}
|
|
2712
|
-
export interface GetSbomExportResponse {
|
|
2713
|
-
reportId?: string | undefined;
|
|
2714
|
-
format?: SbomReportFormat | undefined;
|
|
2715
|
-
status?: ExternalReportStatus | undefined;
|
|
2716
|
-
errorCode?: ReportingErrorCode | undefined;
|
|
2717
|
-
errorMessage?: string | undefined;
|
|
2718
|
-
s3Destination?: Destination | undefined;
|
|
2719
|
-
filterCriteria?: ResourceFilterCriteria | undefined;
|
|
2720
|
-
}
|
|
@@ -9,6 +9,7 @@ import {
|
|
|
9
9
|
CodeScanStatus,
|
|
10
10
|
Currency,
|
|
11
11
|
Ec2DeepInspectionStatus,
|
|
12
|
+
ExternalReportStatus,
|
|
12
13
|
FilterAction,
|
|
13
14
|
GroupKey,
|
|
14
15
|
InheritanceMode,
|
|
@@ -19,7 +20,9 @@ import {
|
|
|
19
20
|
OnDemandScanStatus,
|
|
20
21
|
OnDemandScanStatusReason,
|
|
21
22
|
Operation,
|
|
23
|
+
ReportingErrorCode,
|
|
22
24
|
ResourceType,
|
|
25
|
+
SbomReportFormat,
|
|
23
26
|
ScanType,
|
|
24
27
|
Service,
|
|
25
28
|
SortField,
|
|
@@ -64,6 +67,7 @@ import {
|
|
|
64
67
|
Cvss3,
|
|
65
68
|
Cvss4,
|
|
66
69
|
DelegatedAdminAccount,
|
|
70
|
+
Destination,
|
|
67
71
|
Ec2Configuration,
|
|
68
72
|
EcrConfiguration,
|
|
69
73
|
Epss,
|
|
@@ -73,10 +77,32 @@ import {
|
|
|
73
77
|
Finding,
|
|
74
78
|
GcpProviderDetailUpdate,
|
|
75
79
|
Member,
|
|
80
|
+
ResourceFilterCriteria,
|
|
76
81
|
Schedule,
|
|
77
82
|
StringFilter,
|
|
78
83
|
TagFilter,
|
|
79
84
|
} from "./models_0";
|
|
85
|
+
export interface GetOnDemandScanStatusResponse {
|
|
86
|
+
scanId: string | undefined;
|
|
87
|
+
resourceId: string | undefined;
|
|
88
|
+
resourceType: OnDemandResourceType | undefined;
|
|
89
|
+
scanStatus: OnDemandScanStatus | undefined;
|
|
90
|
+
scanStatusReason?: OnDemandScanStatusReason | undefined;
|
|
91
|
+
startedAt: Date | undefined;
|
|
92
|
+
completedAt?: Date | undefined;
|
|
93
|
+
}
|
|
94
|
+
export interface GetSbomExportRequest {
|
|
95
|
+
reportId: string | undefined;
|
|
96
|
+
}
|
|
97
|
+
export interface GetSbomExportResponse {
|
|
98
|
+
reportId?: string | undefined;
|
|
99
|
+
format?: SbomReportFormat | undefined;
|
|
100
|
+
status?: ExternalReportStatus | undefined;
|
|
101
|
+
errorCode?: ReportingErrorCode | undefined;
|
|
102
|
+
errorMessage?: string | undefined;
|
|
103
|
+
s3Destination?: Destination | undefined;
|
|
104
|
+
filterCriteria?: ResourceFilterCriteria | undefined;
|
|
105
|
+
}
|
|
80
106
|
export interface GitHubEnterpriseServerAppRegistrationDetail {
|
|
81
107
|
manifestCode: string | undefined;
|
|
82
108
|
}
|
|
@@ -314,6 +314,7 @@ export declare var ProjectCodeSecurityScanConfiguration$: StaticStructureSchema;
|
|
|
314
314
|
export declare var ProjectContinuousIntegrationScanConfiguration$: StaticStructureSchema;
|
|
315
315
|
export declare var ProjectPeriodicScanConfiguration$: StaticStructureSchema;
|
|
316
316
|
export declare var ProviderFilter$: StaticStructureSchema;
|
|
317
|
+
export declare var PurlQualifierFilter$: StaticStructureSchema;
|
|
317
318
|
export declare var Recommendation$: StaticStructureSchema;
|
|
318
319
|
export declare var Remediation$: StaticStructureSchema;
|
|
319
320
|
export declare var RepositoryAggregation$: StaticStructureSchema;
|
|
@@ -328,6 +329,8 @@ export declare var ResourceScanMetadata$: StaticStructureSchema;
|
|
|
328
329
|
export declare var ResourceState$: StaticStructureSchema;
|
|
329
330
|
export declare var ResourceStatus$: StaticStructureSchema;
|
|
330
331
|
export declare var ResourceStringFilter$: StaticStructureSchema;
|
|
332
|
+
export declare var RuntimeReachabilityFilter$: StaticStructureSchema;
|
|
333
|
+
export declare var RuntimeReachabilityReasonFilter$: StaticStructureSchema;
|
|
331
334
|
export declare var ScanStatus$: StaticStructureSchema;
|
|
332
335
|
export declare var ScopeConfiguration$: StaticStructureSchema;
|
|
333
336
|
export declare var ScopeConfigurationInput$: StaticStructureSchema;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-inspector2",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.1174.0",
|
|
4
4
|
"description": "AWS SDK for JavaScript Inspector2 Client for Node.js, Browser and React Native",
|
|
5
5
|
"homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/clients/client-inspector2",
|
|
6
6
|
"license": "Apache-2.0",
|