File tree Expand file tree Collapse file tree 3 files changed +33
-33
lines changed Expand file tree Collapse file tree 3 files changed +33
-33
lines changed Original file line number Diff line number Diff line change @@ -3843,19 +3843,19 @@ var doc = `{
3843
3843
"ApiKeyAuth": []
3844
3844
}
3845
3845
],
3846
- "description": "generate audit plan token",
3846
+ "description": "refresh audit plan token",
3847
3847
"tags": [
3848
3848
"instance_audit_plan"
3849
3849
],
3850
- "summary": "生成扫描任务token ",
3851
- "operationId": "generateAuditPlanTokenV1 ",
3850
+ "summary": "重置扫描任务token ",
3851
+ "operationId": "refreshAuditPlanTokenV1 ",
3852
3852
"parameters": [
3853
3853
{
3854
3854
"description": "update instance audit plan token",
3855
3855
"name": "audit_plan",
3856
3856
"in": "body",
3857
3857
"schema": {
3858
- "$ref": "#/definitions/v1.GenerateAuditPlanTokenReqV1 "
3858
+ "$ref": "#/definitions/v1.RefreshAuditPlanTokenReqV1 "
3859
3859
}
3860
3860
},
3861
3861
{
@@ -14521,14 +14521,6 @@ var doc = `{
14521
14521
}
14522
14522
}
14523
14523
},
14524
- "v1.GenerateAuditPlanTokenReqV1": {
14525
- "type": "object",
14526
- "properties": {
14527
- "expires_in_days": {
14528
- "type": "integer"
14529
- }
14530
- }
14531
- },
14532
14524
"v1.GetAbnormalAuditPlanInstancesResp": {
14533
14525
"type": "object",
14534
14526
"properties": {
@@ -17837,6 +17829,14 @@ var doc = `{
17837
17829
}
17838
17830
}
17839
17831
},
17832
+ "v1.RefreshAuditPlanTokenReqV1": {
17833
+ "type": "object",
17834
+ "properties": {
17835
+ "expires_in_days": {
17836
+ "type": "integer"
17837
+ }
17838
+ }
17839
+ },
17840
17840
"v1.RejectWorkflowReqV1": {
17841
17841
"type": "object",
17842
17842
"properties": {
Original file line number Diff line number Diff line change 3827
3827
"ApiKeyAuth": []
3828
3828
}
3829
3829
],
3830
- "description": "generate audit plan token",
3830
+ "description": "refresh audit plan token",
3831
3831
"tags": [
3832
3832
"instance_audit_plan"
3833
3833
],
3834
- "summary": "生成扫描任务token ",
3835
- "operationId": "generateAuditPlanTokenV1 ",
3834
+ "summary": "重置扫描任务token ",
3835
+ "operationId": "refreshAuditPlanTokenV1 ",
3836
3836
"parameters": [
3837
3837
{
3838
3838
"description": "update instance audit plan token",
3839
3839
"name": "audit_plan",
3840
3840
"in": "body",
3841
3841
"schema": {
3842
- "$ref": "#/definitions/v1.GenerateAuditPlanTokenReqV1 "
3842
+ "$ref": "#/definitions/v1.RefreshAuditPlanTokenReqV1 "
3843
3843
}
3844
3844
},
3845
3845
{
14505
14505
}
14506
14506
}
14507
14507
},
14508
- "v1.GenerateAuditPlanTokenReqV1": {
14509
- "type": "object",
14510
- "properties": {
14511
- "expires_in_days": {
14512
- "type": "integer"
14513
- }
14514
- }
14515
- },
14516
14508
"v1.GetAbnormalAuditPlanInstancesResp": {
14517
14509
"type": "object",
14518
14510
"properties": {
17821
17813
}
17822
17814
}
17823
17815
},
17816
+ "v1.RefreshAuditPlanTokenReqV1": {
17817
+ "type": "object",
17818
+ "properties": {
17819
+ "expires_in_days": {
17820
+ "type": "integer"
17821
+ }
17822
+ }
17823
+ },
17824
17824
"v1.RejectWorkflowReqV1": {
17825
17825
"type": "object",
17826
17826
"properties": {
Original file line number Diff line number Diff line change @@ -1510,11 +1510,6 @@ definitions:
1510
1510
$ref : ' #/definitions/v1.DatabaseSchemaObject'
1511
1511
type : array
1512
1512
type : object
1513
- v1.GenerateAuditPlanTokenReqV1 :
1514
- properties :
1515
- expires_in_days :
1516
- type : integer
1517
- type : object
1518
1513
v1.GetAbnormalAuditPlanInstancesResp :
1519
1514
properties :
1520
1515
code :
@@ -3787,6 +3782,11 @@ definitions:
3787
3782
value :
3788
3783
type : string
3789
3784
type : object
3785
+ v1.RefreshAuditPlanTokenReqV1 :
3786
+ properties :
3787
+ expires_in_days :
3788
+ type : integer
3789
+ type : object
3790
3790
v1.RejectWorkflowReqV1 :
3791
3791
properties :
3792
3792
reason :
@@ -9309,14 +9309,14 @@ paths:
9309
9309
- instance_audit_plan
9310
9310
/v1/projects/{project_name}/instance_audit_plans/{instance_audit_plan_id}/token :
9311
9311
patch :
9312
- description : generate audit plan token
9313
- operationId : generateAuditPlanTokenV1
9312
+ description : refresh audit plan token
9313
+ operationId : refreshAuditPlanTokenV1
9314
9314
parameters :
9315
9315
- description : update instance audit plan token
9316
9316
in : body
9317
9317
name : audit_plan
9318
9318
schema :
9319
- $ref : ' #/definitions/v1.GenerateAuditPlanTokenReqV1 '
9319
+ $ref : ' #/definitions/v1.RefreshAuditPlanTokenReqV1 '
9320
9320
- description : project name
9321
9321
in : path
9322
9322
name : project_name
@@ -9334,7 +9334,7 @@ paths:
9334
9334
$ref : ' #/definitions/controller.BaseRes'
9335
9335
security :
9336
9336
- ApiKeyAuth : []
9337
- summary : 生成扫描任务token
9337
+ summary : 重置扫描任务token
9338
9338
tags :
9339
9339
- instance_audit_plan
9340
9340
/v1/projects/{project_name}/instance_tips :
You can’t perform that action at this time.
0 commit comments