@alicloud/sas20181203 2.15.0 → 2.16.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/client.d.ts CHANGED
@@ -20199,6 +20199,56 @@ export declare class ListCheckStandardResponse extends $tea.Model {
20199
20199
  [key: string]: any;
20200
20200
  });
20201
20201
  }
20202
+ export declare class ListCheckTypesRequest extends $tea.Model {
20203
+ currentPage?: number;
20204
+ lang?: string;
20205
+ pageSize?: number;
20206
+ riskId?: number;
20207
+ uuid?: string;
20208
+ static names(): {
20209
+ [key: string]: string;
20210
+ };
20211
+ static types(): {
20212
+ [key: string]: any;
20213
+ };
20214
+ constructor(map?: {
20215
+ [key: string]: any;
20216
+ });
20217
+ }
20218
+ export declare class ListCheckTypesResponseBody extends $tea.Model {
20219
+ code?: string;
20220
+ count?: number;
20221
+ data?: ListCheckTypesResponseBodyData[];
20222
+ httpStatusCode?: number;
20223
+ message?: string;
20224
+ requestId?: string;
20225
+ success?: boolean;
20226
+ static names(): {
20227
+ [key: string]: string;
20228
+ };
20229
+ static types(): {
20230
+ [key: string]: any;
20231
+ };
20232
+ constructor(map?: {
20233
+ [key: string]: any;
20234
+ });
20235
+ }
20236
+ export declare class ListCheckTypesResponse extends $tea.Model {
20237
+ headers: {
20238
+ [key: string]: string;
20239
+ };
20240
+ statusCode: number;
20241
+ body: ListCheckTypesResponseBody;
20242
+ static names(): {
20243
+ [key: string]: string;
20244
+ };
20245
+ static types(): {
20246
+ [key: string]: any;
20247
+ };
20248
+ constructor(map?: {
20249
+ [key: string]: any;
20250
+ });
20251
+ }
20202
20252
  export declare class ListClientAlertModeRequest extends $tea.Model {
20203
20253
  mode?: string;
20204
20254
  static names(): {
@@ -29093,6 +29143,89 @@ export declare class UpdateJenkinsImageRegistryPersistenceDayResponse extends $t
29093
29143
  [key: string]: any;
29094
29144
  });
29095
29145
  }
29146
+ export declare class UpdateOpaStrategyNewRequest extends $tea.Model {
29147
+ alarmDetail?: UpdateOpaStrategyNewRequestAlarmDetail;
29148
+ clusterId?: string;
29149
+ clusterName?: string;
29150
+ description?: string;
29151
+ imageName?: string[];
29152
+ label?: string[];
29153
+ maliciousImage?: boolean;
29154
+ ruleAction?: number;
29155
+ scopes?: UpdateOpaStrategyNewRequestScopes[];
29156
+ strategyId?: number;
29157
+ strategyName?: string;
29158
+ strategyTemplateId?: number;
29159
+ unScanedImage?: boolean;
29160
+ whiteList?: string[];
29161
+ static names(): {
29162
+ [key: string]: string;
29163
+ };
29164
+ static types(): {
29165
+ [key: string]: any;
29166
+ };
29167
+ constructor(map?: {
29168
+ [key: string]: any;
29169
+ });
29170
+ }
29171
+ export declare class UpdateOpaStrategyNewShrinkRequest extends $tea.Model {
29172
+ alarmDetailShrink?: string;
29173
+ clusterId?: string;
29174
+ clusterName?: string;
29175
+ description?: string;
29176
+ imageName?: string[];
29177
+ label?: string[];
29178
+ maliciousImage?: boolean;
29179
+ ruleAction?: number;
29180
+ scopes?: UpdateOpaStrategyNewShrinkRequestScopes[];
29181
+ strategyId?: number;
29182
+ strategyName?: string;
29183
+ strategyTemplateId?: number;
29184
+ unScanedImage?: boolean;
29185
+ whiteList?: string[];
29186
+ static names(): {
29187
+ [key: string]: string;
29188
+ };
29189
+ static types(): {
29190
+ [key: string]: any;
29191
+ };
29192
+ constructor(map?: {
29193
+ [key: string]: any;
29194
+ });
29195
+ }
29196
+ export declare class UpdateOpaStrategyNewResponseBody extends $tea.Model {
29197
+ code?: string;
29198
+ data?: string[];
29199
+ httpStatusCode?: number;
29200
+ message?: string;
29201
+ requestId?: string;
29202
+ success?: boolean;
29203
+ static names(): {
29204
+ [key: string]: string;
29205
+ };
29206
+ static types(): {
29207
+ [key: string]: any;
29208
+ };
29209
+ constructor(map?: {
29210
+ [key: string]: any;
29211
+ });
29212
+ }
29213
+ export declare class UpdateOpaStrategyNewResponse extends $tea.Model {
29214
+ headers: {
29215
+ [key: string]: string;
29216
+ };
29217
+ statusCode: number;
29218
+ body: UpdateOpaStrategyNewResponseBody;
29219
+ static names(): {
29220
+ [key: string]: string;
29221
+ };
29222
+ static types(): {
29223
+ [key: string]: any;
29224
+ };
29225
+ constructor(map?: {
29226
+ [key: string]: any;
29227
+ });
29228
+ }
29096
29229
  export declare class UpdateOssScanConfigRequest extends $tea.Model {
29097
29230
  bucketNameList?: string[];
29098
29231
  enable?: number;
@@ -38753,6 +38886,19 @@ export declare class ListCheckStandardResponseBodyStandards extends $tea.Model {
38753
38886
  [key: string]: any;
38754
38887
  });
38755
38888
  }
38889
+ export declare class ListCheckTypesResponseBodyData extends $tea.Model {
38890
+ checkType?: string;
38891
+ checkTypeDisName?: string;
38892
+ static names(): {
38893
+ [key: string]: string;
38894
+ };
38895
+ static types(): {
38896
+ [key: string]: any;
38897
+ };
38898
+ constructor(map?: {
38899
+ [key: string]: any;
38900
+ });
38901
+ }
38756
38902
  export declare class ListClientAlertModeResponseBodyData extends $tea.Model {
38757
38903
  count?: number;
38758
38904
  uuids?: string[];
@@ -41524,6 +41670,128 @@ export declare class UpdateImageEventOperationResponseBodyData extends $tea.Mode
41524
41670
  [key: string]: any;
41525
41671
  });
41526
41672
  }
41673
+ export declare class UpdateOpaStrategyNewRequestAlarmDetailBaselineItem extends $tea.Model {
41674
+ id?: string;
41675
+ name?: string;
41676
+ static names(): {
41677
+ [key: string]: string;
41678
+ };
41679
+ static types(): {
41680
+ [key: string]: any;
41681
+ };
41682
+ constructor(map?: {
41683
+ [key: string]: any;
41684
+ });
41685
+ }
41686
+ export declare class UpdateOpaStrategyNewRequestAlarmDetailBaseline extends $tea.Model {
41687
+ item?: UpdateOpaStrategyNewRequestAlarmDetailBaselineItem[];
41688
+ riskLevel?: string[];
41689
+ static names(): {
41690
+ [key: string]: string;
41691
+ };
41692
+ static types(): {
41693
+ [key: string]: any;
41694
+ };
41695
+ constructor(map?: {
41696
+ [key: string]: any;
41697
+ });
41698
+ }
41699
+ export declare class UpdateOpaStrategyNewRequestAlarmDetailMaliciousFileItem extends $tea.Model {
41700
+ id?: string;
41701
+ name?: string;
41702
+ static names(): {
41703
+ [key: string]: string;
41704
+ };
41705
+ static types(): {
41706
+ [key: string]: any;
41707
+ };
41708
+ constructor(map?: {
41709
+ [key: string]: any;
41710
+ });
41711
+ }
41712
+ export declare class UpdateOpaStrategyNewRequestAlarmDetailMaliciousFile extends $tea.Model {
41713
+ item?: UpdateOpaStrategyNewRequestAlarmDetailMaliciousFileItem[];
41714
+ riskLevel?: string[];
41715
+ static names(): {
41716
+ [key: string]: string;
41717
+ };
41718
+ static types(): {
41719
+ [key: string]: any;
41720
+ };
41721
+ constructor(map?: {
41722
+ [key: string]: any;
41723
+ });
41724
+ }
41725
+ export declare class UpdateOpaStrategyNewRequestAlarmDetailVulItem extends $tea.Model {
41726
+ id?: string;
41727
+ name?: string;
41728
+ static names(): {
41729
+ [key: string]: string;
41730
+ };
41731
+ static types(): {
41732
+ [key: string]: any;
41733
+ };
41734
+ constructor(map?: {
41735
+ [key: string]: any;
41736
+ });
41737
+ }
41738
+ export declare class UpdateOpaStrategyNewRequestAlarmDetailVul extends $tea.Model {
41739
+ item?: UpdateOpaStrategyNewRequestAlarmDetailVulItem[];
41740
+ riskLevel?: string[];
41741
+ static names(): {
41742
+ [key: string]: string;
41743
+ };
41744
+ static types(): {
41745
+ [key: string]: any;
41746
+ };
41747
+ constructor(map?: {
41748
+ [key: string]: any;
41749
+ });
41750
+ }
41751
+ export declare class UpdateOpaStrategyNewRequestAlarmDetail extends $tea.Model {
41752
+ baseline?: UpdateOpaStrategyNewRequestAlarmDetailBaseline;
41753
+ maliciousFile?: UpdateOpaStrategyNewRequestAlarmDetailMaliciousFile;
41754
+ vul?: UpdateOpaStrategyNewRequestAlarmDetailVul;
41755
+ static names(): {
41756
+ [key: string]: string;
41757
+ };
41758
+ static types(): {
41759
+ [key: string]: any;
41760
+ };
41761
+ constructor(map?: {
41762
+ [key: string]: any;
41763
+ });
41764
+ }
41765
+ export declare class UpdateOpaStrategyNewRequestScopes extends $tea.Model {
41766
+ ackPolicyInstanceId?: string;
41767
+ allNamespace?: number;
41768
+ clusterId?: string;
41769
+ namespaceList?: string[];
41770
+ static names(): {
41771
+ [key: string]: string;
41772
+ };
41773
+ static types(): {
41774
+ [key: string]: any;
41775
+ };
41776
+ constructor(map?: {
41777
+ [key: string]: any;
41778
+ });
41779
+ }
41780
+ export declare class UpdateOpaStrategyNewShrinkRequestScopes extends $tea.Model {
41781
+ ackPolicyInstanceId?: string;
41782
+ allNamespace?: number;
41783
+ clusterId?: string;
41784
+ namespaceList?: string[];
41785
+ static names(): {
41786
+ [key: string]: string;
41787
+ };
41788
+ static types(): {
41789
+ [key: string]: any;
41790
+ };
41791
+ constructor(map?: {
41792
+ [key: string]: any;
41793
+ });
41794
+ }
41527
41795
  export declare class VerifyCheckInstanceResultResponseBodyData extends $tea.Model {
41528
41796
  failInstances?: string[];
41529
41797
  operateCode?: string;
@@ -42867,6 +43135,8 @@ export default class Client extends OpenApi {
42867
43135
  listCheckResult(request: ListCheckResultRequest): Promise<ListCheckResultResponse>;
42868
43136
  listCheckStandardWithOptions(request: ListCheckStandardRequest, runtime: $Util.RuntimeOptions): Promise<ListCheckStandardResponse>;
42869
43137
  listCheckStandard(request: ListCheckStandardRequest): Promise<ListCheckStandardResponse>;
43138
+ listCheckTypesWithOptions(request: ListCheckTypesRequest, runtime: $Util.RuntimeOptions): Promise<ListCheckTypesResponse>;
43139
+ listCheckTypes(request: ListCheckTypesRequest): Promise<ListCheckTypesResponse>;
42870
43140
  listClientAlertModeWithOptions(request: ListClientAlertModeRequest, runtime: $Util.RuntimeOptions): Promise<ListClientAlertModeResponse>;
42871
43141
  listClientAlertMode(request: ListClientAlertModeRequest): Promise<ListClientAlertModeResponse>;
42872
43142
  listClientUserDefineRuleTypesWithOptions(runtime: $Util.RuntimeOptions): Promise<ListClientUserDefineRuleTypesResponse>;
@@ -43425,6 +43695,8 @@ export default class Client extends OpenApi {
43425
43695
  updateJenkinsImageRegistryName(request: UpdateJenkinsImageRegistryNameRequest): Promise<UpdateJenkinsImageRegistryNameResponse>;
43426
43696
  updateJenkinsImageRegistryPersistenceDayWithOptions(request: UpdateJenkinsImageRegistryPersistenceDayRequest, runtime: $Util.RuntimeOptions): Promise<UpdateJenkinsImageRegistryPersistenceDayResponse>;
43427
43697
  updateJenkinsImageRegistryPersistenceDay(request: UpdateJenkinsImageRegistryPersistenceDayRequest): Promise<UpdateJenkinsImageRegistryPersistenceDayResponse>;
43698
+ updateOpaStrategyNewWithOptions(tmpReq: UpdateOpaStrategyNewRequest, runtime: $Util.RuntimeOptions): Promise<UpdateOpaStrategyNewResponse>;
43699
+ updateOpaStrategyNew(request: UpdateOpaStrategyNewRequest): Promise<UpdateOpaStrategyNewResponse>;
43428
43700
  updateOssScanConfigWithOptions(request: UpdateOssScanConfigRequest, runtime: $Util.RuntimeOptions): Promise<UpdateOssScanConfigResponse>;
43429
43701
  updateOssScanConfig(request: UpdateOssScanConfigRequest): Promise<UpdateOssScanConfigResponse>;
43430
43702
  updateSelectionKeyByTypeWithOptions(request: UpdateSelectionKeyByTypeRequest, runtime: $Util.RuntimeOptions): Promise<UpdateSelectionKeyByTypeResponse>;