diff --git a/VERSION b/VERSION index 46e33ab..39483cb 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -0.47.1 \ No newline at end of file +0.47.2 \ No newline at end of file diff --git a/pkg/codefresh/model/app-proxy/models_gen.go b/pkg/codefresh/model/app-proxy/models_gen.go index 469570b..051b332 100644 --- a/pkg/codefresh/model/app-proxy/models_gen.go +++ b/pkg/codefresh/model/app-proxy/models_gen.go @@ -226,6 +226,8 @@ type AccountFeatures struct { NewApplicationErrorsView *bool `json:"newApplicationErrorsView"` // Hides first release till it doesn't have attached rollout CsdpHideFirstRelease *bool `json:"csdpHideFirstRelease"` + // Supports GitLab and Bitbucket for managed runtime + CsdpGitlabAndBitbucketSupportForManagedRuntime *bool `json:"csdpGitlabAndBitbucketSupportForManagedRuntime"` } // Git integration creation args @@ -1234,6 +1236,74 @@ type ArgoHubTemplatesSlice struct { LatestVersion *ArgoHubTemplate `json:"latestVersion"` } +// Audit Edge +type AuditEdge struct { + // Node contains the actual audit record + Node *AuditEntity `json:"node"` + // Cursor + Cursor string `json:"cursor"` +} + +// Audit Entity Record +type AuditEntity struct { + // Timestamp + Timestamp *string `json:"timestamp"` + // AccountId + AccountID *string `json:"accountId"` + // AccountName + AccountName *string `json:"accountName"` + // UserId + UserID *string `json:"userId"` + // UserName + UserName *string `json:"userName"` + // Action + Action string `json:"action"` + // AuthEntityType + AuthEntityType string `json:"authEntityType"` + // EventType + EventType string `json:"eventType"` + // EntityType + EntityType string `json:"entityType"` + // EntityId + EntityID *string `json:"entityId"` + // EntityName + EntityName string `json:"entityName"` + // Runtime + Runtime *string `json:"runtime"` + // IP + IP *string `json:"ip"` + // Method + Method *string `json:"method"` + // Url + URL *string `json:"url"` + // Params + Params *string `json:"params"` + // Query + Query *string `json:"query"` + // Headers + Headers *string `json:"headers"` + // Payload + Payload *string `json:"payload"` + // Status + Status *int `json:"status"` + // Response + Response *string `json:"response"` +} + +// Args to filter audit +type AuditFilterArgs struct { + // Status + Status *int `json:"status"` +} + +// Audit Slice +type AuditSlice struct { + // Audit edges + Edges []*AuditEdge `json:"edges"` + // Slice information + PageInfo *SliceInfo `json:"pageInfo"` +} + // Auth0SSO type Auth0sso struct { // ID @@ -4827,6 +4897,8 @@ type RegisterToGitIntegrationArgs struct { AccountID *string `json:"accountId"` // Is User an Admin IsAdmin *bool `json:"isAdmin"` + // User Name + Username *string `json:"username"` } // Registry diff --git a/pkg/codefresh/model/models_gen.go b/pkg/codefresh/model/models_gen.go index 101e91c..78bf961 100644 --- a/pkg/codefresh/model/models_gen.go +++ b/pkg/codefresh/model/models_gen.go @@ -226,6 +226,8 @@ type AccountFeatures struct { NewApplicationErrorsView *bool `json:"newApplicationErrorsView"` // Hides first release till it doesn't have attached rollout CsdpHideFirstRelease *bool `json:"csdpHideFirstRelease"` + // Supports GitLab and Bitbucket for managed runtime + CsdpGitlabAndBitbucketSupportForManagedRuntime *bool `json:"csdpGitlabAndBitbucketSupportForManagedRuntime"` } // Args to add user to account @@ -1160,6 +1162,74 @@ type ArgoHubTemplatesSlice struct { LatestVersion *ArgoHubTemplate `json:"latestVersion"` } +// Audit Edge +type AuditEdge struct { + // Node contains the actual audit record + Node *AuditEntity `json:"node"` + // Cursor + Cursor string `json:"cursor"` +} + +// Audit Entity Record +type AuditEntity struct { + // Timestamp + Timestamp *string `json:"timestamp"` + // AccountId + AccountID *string `json:"accountId"` + // AccountName + AccountName *string `json:"accountName"` + // UserId + UserID *string `json:"userId"` + // UserName + UserName *string `json:"userName"` + // Action + Action string `json:"action"` + // AuthEntityType + AuthEntityType string `json:"authEntityType"` + // EventType + EventType string `json:"eventType"` + // EntityType + EntityType string `json:"entityType"` + // EntityId + EntityID *string `json:"entityId"` + // EntityName + EntityName string `json:"entityName"` + // Runtime + Runtime *string `json:"runtime"` + // IP + IP *string `json:"ip"` + // Method + Method *string `json:"method"` + // Url + URL *string `json:"url"` + // Params + Params *string `json:"params"` + // Query + Query *string `json:"query"` + // Headers + Headers *string `json:"headers"` + // Payload + Payload *string `json:"payload"` + // Status + Status *int `json:"status"` + // Response + Response *string `json:"response"` +} + +// Args to filter audit +type AuditFilterArgs struct { + // Status + Status *int `json:"status"` +} + +// Audit Slice +type AuditSlice struct { + // Audit edges + Edges []*AuditEdge `json:"edges"` + // Slice information + PageInfo *SliceInfo `json:"pageInfo"` +} + // Auth0SSO type Auth0sso struct { // ID