@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 +1 -1
- package/v1alpha1/audit.pb.ts +0 -31
- package/v1alpha1/domain.pb.ts +0 -1
package/package.json
CHANGED
package/v1alpha1/audit.pb.ts
CHANGED
|
@@ -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
|
}
|