/
model_evaluation_detail2.go
37 lines (36 loc) · 1.38 KB
/
model_evaluation_detail2.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
/*
* Governance Policy Management API
*
* Read and manage OPA Governance policies, policy sets and evaluations
*
* API version: 1.2.0
* Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
*/
package policymgmt
type EvaluationDetail2 struct {
// Harness account ID associated with this policy set
AccountId string `json:"account_id,omitempty"`
// Action that triggers the policy set
Action string `json:"action,omitempty"`
// Time the policy set was created
Created int64 `json:"created,omitempty"`
// Description of the policy set
Description string `json:"description,omitempty"`
Details []EvaluatedPolicy `json:"details"`
// Only enabled policy sets are evaluated when evaluating by type/action
Enabled bool `json:"enabled,omitempty"`
// Identifier of the policy set
Identifier string `json:"identifier,omitempty"`
// Name of the policy set
Name string `json:"name,omitempty"`
// Harness organization ID associated with this policy set
OrgId string `json:"org_id,omitempty"`
// Harness project ID associated with this policy set
ProjectId string `json:"project_id,omitempty"`
// The overall status for this policy set indicating whether it passed
Status string `json:"status"`
// Type of input suitable for the policy set
Type_ string `json:"type,omitempty"`
// Time the policy set was last updated
Updated int64 `json:"updated,omitempty"`
}