@daocloud-proto/ghippo 0.42.0-dev7 → 0.42.0-rc1

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@daocloud-proto/ghippo",
3
- "version":"0.42.0-dev7",
3
+ "version":"0.42.0-rc1",
4
4
  "description": "",
5
5
  "author": "",
6
6
  "license": "ISC"
@@ -29,34 +29,6 @@ export type Pagination = {
29
29
  pageSize?: number
30
30
  }
31
31
 
32
- export type ListCSPAuditsRequest = {
33
- accountName?: string
34
- start?: string
35
- end?: string
36
- gproduct?: string
37
- resourceType?: string
38
- resourceName?: string
39
- verb?: string
40
- page?: number
41
- pageSize?: number
42
- }
43
-
44
- export type ListCSPAuditsResponse = {
45
- items?: CSPAuditInfo[]
46
- pagination?: Pagination
47
- }
48
-
49
- export type CSPAuditInfo = {
50
- createdAt?: string
51
- resourceType?: string
52
- resourceName?: string
53
- gproduct?: string
54
- verb?: string
55
- operator?: string
56
- ip?: string
57
- status?: StatusType
58
- }
59
-
60
32
  export type GetAutoClearAuditTimeRequest = {
61
33
  }
62
34
 
@@ -128,7 +100,4 @@ export class Audit {
128
100
  static GetAuditResourceReport(req: GetAuditResourceReportRequest, initReq?: fm.InitReq): Promise<GetAuditResourceReportResponse> {
129
101
  return fm.fetchReq<GetAuditResourceReportRequest, GetAuditResourceReportResponse>(`/apis/ghippo.io/v1alpha1/audits/reports/resources?${fm.renderURLSearchParams(req, [])}`, {...initReq, method: "GET"})
130
102
  }
131
- static ListCSPAudits(req: ListCSPAuditsRequest, initReq?: fm.InitReq): Promise<ListCSPAuditsResponse> {
132
- return fm.fetchReq<ListCSPAuditsRequest, ListCSPAuditsResponse>(`/apis/ghippo.io/v1alpha1/csp-audits?${fm.renderURLSearchParams(req, [])}`, {...initReq, method: "GET"})
133
- }
134
103
  }
@@ -19,7 +19,6 @@ export type Alipay = {
19
19
  appPrivateKey?: string
20
20
  alipayPublicKey?: string
21
21
  isProduction?: boolean
22
- subject?: string
23
22
  }
24
23
 
25
24
  export class Domain {