shared

package
v0.2.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 1, 2024 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AdditionalClaims

type AdditionalClaims struct {
}

AdditionalClaims - map of claims to include in the JWT

type CryptoSignature

type CryptoSignature struct {
	Excluded   any `json:"excluded,omitempty"`
	Signatures any `json:"signatures,omitempty"`
}

func (*CryptoSignature) GetExcluded

func (o *CryptoSignature) GetExcluded() any

func (*CryptoSignature) GetSignatures

func (o *CryptoSignature) GetSignatures() any

type Discovery

type Discovery struct {
}

Discovery - discovery config settings for OPAs linked to the system. (in case of conflict with system-type defined setting, this value takes precedence)

type Extra

type Extra struct {
}

Extra - extra deployment settings

type GitV1GitRepoConfig

type GitV1GitRepoConfig struct {
	// Commit SHA. Only one of reference or commit can be set at any time
	Commit string `json:"commit"`
	// Credentials are looked under the key <name>/<creds>
	Credentials string `json:"credentials"`
	// Path to limit the import to
	Path string `json:"path"`
	// Remote reference. Only one of reference or commit can be set at any time
	Reference      string               `json:"reference"`
	SSHCredentials *GitV1SSHCredentials `json:"ssh_credentials,omitempty"`
	// Repository URL
	URL string `json:"url"`
}

func (*GitV1GitRepoConfig) GetCommit

func (o *GitV1GitRepoConfig) GetCommit() string

func (*GitV1GitRepoConfig) GetCredentials

func (o *GitV1GitRepoConfig) GetCredentials() string

func (*GitV1GitRepoConfig) GetPath

func (o *GitV1GitRepoConfig) GetPath() string

func (*GitV1GitRepoConfig) GetReference

func (o *GitV1GitRepoConfig) GetReference() string

func (*GitV1GitRepoConfig) GetSSHCredentials

func (o *GitV1GitRepoConfig) GetSSHCredentials() *GitV1SSHCredentials

func (*GitV1GitRepoConfig) GetURL

func (o *GitV1GitRepoConfig) GetURL() string

type GitV1SSHCredentials

type GitV1SSHCredentials struct {
	// Passphrase is looked under the key passphrase/<pass>
	Passphrase string `json:"passphrase"`
	// PrivateKey is looked under the key private-key/<key>
	PrivateKey string `json:"private_key"`
}

func (*GitV1SSHCredentials) GetPassphrase

func (o *GitV1SSHCredentials) GetPassphrase() string

func (*GitV1SSHCredentials) GetPrivateKey

func (o *GitV1SSHCredentials) GetPrivateKey() string

type GitV1SourceControlConfig

type GitV1SourceControlConfig struct {
	Origin GitV1GitRepoConfig `json:"origin"`
}

func (*GitV1SourceControlConfig) GetOrigin

type KeysConfig

type KeysConfig struct {
	Algorithm  string `json:"algorithm"`
	Key        string `json:"key"`
	PrivateKey string `json:"private_key"`
	Scope      string `json:"scope"`
}

func (*KeysConfig) GetAlgorithm

func (o *KeysConfig) GetAlgorithm() string

func (*KeysConfig) GetKey

func (o *KeysConfig) GetKey() string

func (*KeysConfig) GetPrivateKey

func (o *KeysConfig) GetPrivateKey() string

func (*KeysConfig) GetScope

func (o *KeysConfig) GetScope() string

type LibrariesV1CreateLibraryRequest

type LibrariesV1CreateLibraryRequest struct {
	Description   string                          `json:"description"`
	ReadOnly      bool                            `json:"read_only"`
	SourceControl *LibrariesV1SourceControlConfig `json:"source_control,omitempty"`
}

func (*LibrariesV1CreateLibraryRequest) GetDescription

func (o *LibrariesV1CreateLibraryRequest) GetDescription() string

func (*LibrariesV1CreateLibraryRequest) GetReadOnly

func (o *LibrariesV1CreateLibraryRequest) GetReadOnly() bool

func (*LibrariesV1CreateLibraryRequest) GetSourceControl

type LibrariesV1LibraryEntityExpanded

type LibrariesV1LibraryEntityExpanded struct {
	Datasources   []SystemsV1DatasourceConfig     `json:"datasources"`
	Description   string                          `json:"description"`
	ID            string                          `json:"id"`
	Metadata      *MetaV2ObjectMeta               `json:"metadata,omitempty"`
	Policies      []SystemsV1PolicyConfig         `json:"policies"`
	ReadOnly      bool                            `json:"read_only"`
	SourceControl *LibrariesV1SourceControlConfig `json:"source_control,omitempty"`
	UsedBy        []LibrariesV1SystemUsingLibrary `json:"used_by,omitempty"`
}

func (*LibrariesV1LibraryEntityExpanded) GetDatasources

func (*LibrariesV1LibraryEntityExpanded) GetDescription

func (o *LibrariesV1LibraryEntityExpanded) GetDescription() string

func (*LibrariesV1LibraryEntityExpanded) GetID

func (*LibrariesV1LibraryEntityExpanded) GetMetadata

func (*LibrariesV1LibraryEntityExpanded) GetPolicies

func (*LibrariesV1LibraryEntityExpanded) GetReadOnly

func (o *LibrariesV1LibraryEntityExpanded) GetReadOnly() bool

func (*LibrariesV1LibraryEntityExpanded) GetSourceControl

func (*LibrariesV1LibraryEntityExpanded) GetUsedBy

type LibrariesV1LibraryResponse

type LibrariesV1LibraryResponse struct {
	Result LibrariesV1LibraryEntityExpanded `json:"result"`
}

func (*LibrariesV1LibraryResponse) GetResult

type LibrariesV1SourceControlConfig

type LibrariesV1SourceControlConfig struct {
	LibraryOrigin        *GitV1GitRepoConfig `json:"library_origin,omitempty"`
	Origin               *GitV1GitRepoConfig `json:"origin,omitempty"`
	UseWorkspaceSettings bool                `json:"use_workspace_settings"`
}

func (*LibrariesV1SourceControlConfig) GetLibraryOrigin

func (o *LibrariesV1SourceControlConfig) GetLibraryOrigin() *GitV1GitRepoConfig

func (*LibrariesV1SourceControlConfig) GetOrigin

func (*LibrariesV1SourceControlConfig) GetUseWorkspaceSettings

func (o *LibrariesV1SourceControlConfig) GetUseWorkspaceSettings() bool

type LibrariesV1SystemBundle

type LibrariesV1SystemBundle struct {
	BundleID string `json:"bundle_id"`
	Version  int64  `json:"version"`
}

func (*LibrariesV1SystemBundle) GetBundleID

func (o *LibrariesV1SystemBundle) GetBundleID() string

func (*LibrariesV1SystemBundle) GetVersion

func (o *LibrariesV1SystemBundle) GetVersion() int64

type LibrariesV1SystemUsingLibrary

type LibrariesV1SystemUsingLibrary struct {
	Bundles  []LibrariesV1SystemBundle `json:"bundles,omitempty"`
	SystemID string                    `json:"system_id"`
}

func (*LibrariesV1SystemUsingLibrary) GetBundles

func (*LibrariesV1SystemUsingLibrary) GetSystemID

func (o *LibrariesV1SystemUsingLibrary) GetSystemID() string

type MetaV1ErrorResponse

type MetaV1ErrorResponse struct {
	Code      string   `json:"code"`
	Errors    []string `json:"errors,omitempty"`
	Message   string   `json:"message"`
	RequestID *string  `json:"request_id,omitempty"`
}

func (*MetaV1ErrorResponse) GetCode

func (o *MetaV1ErrorResponse) GetCode() string

func (*MetaV1ErrorResponse) GetErrors

func (o *MetaV1ErrorResponse) GetErrors() []string

func (*MetaV1ErrorResponse) GetMessage

func (o *MetaV1ErrorResponse) GetMessage() string

func (*MetaV1ErrorResponse) GetRequestID

func (o *MetaV1ErrorResponse) GetRequestID() *string

type MetaV1ObjectMeta

type MetaV1ObjectMeta struct {
	CreatedAt           *time.Time `json:"created_at,omitempty"`
	CreatedBy           *string    `json:"created_by,omitempty"`
	CreatedThrough      *string    `json:"created_through,omitempty"`
	LastModifiedAt      *time.Time `json:"last_modified_at,omitempty"`
	LastModifiedBy      *string    `json:"last_modified_by,omitempty"`
	LastModifiedThrough *string    `json:"last_modified_through,omitempty"`
}

func (*MetaV1ObjectMeta) GetCreatedAt

func (o *MetaV1ObjectMeta) GetCreatedAt() *time.Time

func (*MetaV1ObjectMeta) GetCreatedBy

func (o *MetaV1ObjectMeta) GetCreatedBy() *string

func (*MetaV1ObjectMeta) GetCreatedThrough

func (o *MetaV1ObjectMeta) GetCreatedThrough() *string

func (*MetaV1ObjectMeta) GetLastModifiedAt

func (o *MetaV1ObjectMeta) GetLastModifiedAt() *time.Time

func (*MetaV1ObjectMeta) GetLastModifiedBy

func (o *MetaV1ObjectMeta) GetLastModifiedBy() *string

func (*MetaV1ObjectMeta) GetLastModifiedThrough

func (o *MetaV1ObjectMeta) GetLastModifiedThrough() *string

func (MetaV1ObjectMeta) MarshalJSON

func (m MetaV1ObjectMeta) MarshalJSON() ([]byte, error)

func (*MetaV1ObjectMeta) UnmarshalJSON

func (m *MetaV1ObjectMeta) UnmarshalJSON(data []byte) error

type MetaV1Status

type MetaV1Status struct {
	Code      string    `json:"code"`
	Message   string    `json:"message"`
	Timestamp time.Time `json:"timestamp"`
}

func (*MetaV1Status) GetCode

func (o *MetaV1Status) GetCode() string

func (*MetaV1Status) GetMessage

func (o *MetaV1Status) GetMessage() string

func (*MetaV1Status) GetTimestamp

func (o *MetaV1Status) GetTimestamp() time.Time

func (MetaV1Status) MarshalJSON

func (m MetaV1Status) MarshalJSON() ([]byte, error)

func (*MetaV1Status) UnmarshalJSON

func (m *MetaV1Status) UnmarshalJSON(data []byte) error

type MetaV2ObjectMeta

type MetaV2ObjectMeta struct {
	CreatedAt           *time.Time `json:"created_at,omitempty"`
	CreatedBy           *string    `json:"created_by,omitempty"`
	CreatedThrough      *string    `json:"created_through,omitempty"`
	LastModifiedAt      *time.Time `json:"last_modified_at,omitempty"`
	LastModifiedBy      *string    `json:"last_modified_by,omitempty"`
	LastModifiedThrough *string    `json:"last_modified_through,omitempty"`
}

func (*MetaV2ObjectMeta) GetCreatedAt

func (o *MetaV2ObjectMeta) GetCreatedAt() *time.Time

func (*MetaV2ObjectMeta) GetCreatedBy

func (o *MetaV2ObjectMeta) GetCreatedBy() *string

func (*MetaV2ObjectMeta) GetCreatedThrough

func (o *MetaV2ObjectMeta) GetCreatedThrough() *string

func (*MetaV2ObjectMeta) GetLastModifiedAt

func (o *MetaV2ObjectMeta) GetLastModifiedAt() *time.Time

func (*MetaV2ObjectMeta) GetLastModifiedBy

func (o *MetaV2ObjectMeta) GetLastModifiedBy() *string

func (*MetaV2ObjectMeta) GetLastModifiedThrough

func (o *MetaV2ObjectMeta) GetLastModifiedThrough() *string

func (MetaV2ObjectMeta) MarshalJSON

func (m MetaV2ObjectMeta) MarshalJSON() ([]byte, error)

func (*MetaV2ObjectMeta) UnmarshalJSON

func (m *MetaV2ObjectMeta) UnmarshalJSON(data []byte) error

type PoliciesV1PoliciesPutRequest

type PoliciesV1PoliciesPutRequest struct {
	// module file name to rego (and also data.json/data.yaml if enabled for the tenant) contents dictionary
	Modules   map[string]string `json:"modules"`
	Signature *CryptoSignature  `json:"signature,omitempty"`
}

func (*PoliciesV1PoliciesPutRequest) GetModules

func (o *PoliciesV1PoliciesPutRequest) GetModules() map[string]string

func (*PoliciesV1PoliciesPutRequest) GetSignature

func (o *PoliciesV1PoliciesPutRequest) GetSignature() *CryptoSignature

type PoliciesV1PolicyDeleteResponse

type PoliciesV1PolicyDeleteResponse struct {
	RequestID *string `json:"request_id,omitempty"`
}

func (*PoliciesV1PolicyDeleteResponse) GetRequestID

func (o *PoliciesV1PolicyDeleteResponse) GetRequestID() *string

type PoliciesV1PolicyGetResponse

type PoliciesV1PolicyGetResponse struct {
	RequestID *string `json:"request_id,omitempty"`
	Result    any     `json:"result"`
}

func (*PoliciesV1PolicyGetResponse) GetRequestID

func (o *PoliciesV1PolicyGetResponse) GetRequestID() *string

func (*PoliciesV1PolicyGetResponse) GetResult

func (o *PoliciesV1PolicyGetResponse) GetResult() any

type PoliciesV1PolicyPutResponse

type PoliciesV1PolicyPutResponse struct {
	RequestID *string `json:"request_id,omitempty"`
}

func (*PoliciesV1PolicyPutResponse) GetRequestID

func (o *PoliciesV1PolicyPutResponse) GetRequestID() *string

type PoliciesV1RuleCounts

type PoliciesV1RuleCounts struct {
	// number of allow rules
	Allow int `json:"allow"`
	// number of deny rules
	Deny int `json:"deny"`
	// number of enforce rules
	Enforce int `json:"enforce"`
	// number of ignore rules
	Ignore int `json:"ignore"`
	// number of monitor rules
	Monitor int `json:"monitor"`
	// number of notify rules
	Notify int `json:"notify"`
	// number of unclassified rules
	Other int `json:"other"`
	// number of test rules
	Test int `json:"test"`
	// total number of rules
	Total int `json:"total"`
}

func (*PoliciesV1RuleCounts) GetAllow

func (o *PoliciesV1RuleCounts) GetAllow() int

func (*PoliciesV1RuleCounts) GetDeny

func (o *PoliciesV1RuleCounts) GetDeny() int

func (*PoliciesV1RuleCounts) GetEnforce

func (o *PoliciesV1RuleCounts) GetEnforce() int

func (*PoliciesV1RuleCounts) GetIgnore

func (o *PoliciesV1RuleCounts) GetIgnore() int

func (*PoliciesV1RuleCounts) GetMonitor

func (o *PoliciesV1RuleCounts) GetMonitor() int

func (*PoliciesV1RuleCounts) GetNotify

func (o *PoliciesV1RuleCounts) GetNotify() int

func (*PoliciesV1RuleCounts) GetOther

func (o *PoliciesV1RuleCounts) GetOther() int

func (*PoliciesV1RuleCounts) GetTest

func (o *PoliciesV1RuleCounts) GetTest() int

func (*PoliciesV1RuleCounts) GetTotal

func (o *PoliciesV1RuleCounts) GetTotal() int

type SecretsV1Secret

type SecretsV1Secret struct {
	Description string           `json:"description"`
	ID          string           `json:"id"`
	Metadata    MetaV1ObjectMeta `json:"metadata"`
	Name        string           `json:"name"`
}

func (*SecretsV1Secret) GetDescription

func (o *SecretsV1Secret) GetDescription() string

func (*SecretsV1Secret) GetID

func (o *SecretsV1Secret) GetID() string

func (*SecretsV1Secret) GetMetadata

func (o *SecretsV1Secret) GetMetadata() MetaV1ObjectMeta

func (*SecretsV1Secret) GetName

func (o *SecretsV1Secret) GetName() string

type SecretsV1SecretsDeleteResponse

type SecretsV1SecretsDeleteResponse struct {
	RequestID *string `json:"request_id,omitempty"`
}

func (*SecretsV1SecretsDeleteResponse) GetRequestID

func (o *SecretsV1SecretsDeleteResponse) GetRequestID() *string

type SecretsV1SecretsGetResponse

type SecretsV1SecretsGetResponse struct {
	RequestID *string          `json:"request_id,omitempty"`
	Result    *SecretsV1Secret `json:"result,omitempty"`
}

func (*SecretsV1SecretsGetResponse) GetRequestID

func (o *SecretsV1SecretsGetResponse) GetRequestID() *string

func (*SecretsV1SecretsGetResponse) GetResult

type SecretsV1SecretsPutRequest

type SecretsV1SecretsPutRequest struct {
	Description string `json:"description"`
	Name        string `json:"name"`
	Secret      string `json:"secret"`
}

func (*SecretsV1SecretsPutRequest) GetDescription

func (o *SecretsV1SecretsPutRequest) GetDescription() string

func (*SecretsV1SecretsPutRequest) GetName

func (o *SecretsV1SecretsPutRequest) GetName() string

func (*SecretsV1SecretsPutRequest) GetSecret

func (o *SecretsV1SecretsPutRequest) GetSecret() string

type SecretsV1SecretsPutResponse

type SecretsV1SecretsPutResponse struct {
	RequestID *string `json:"request_id,omitempty"`
}

func (*SecretsV1SecretsPutResponse) GetRequestID

func (o *SecretsV1SecretsPutResponse) GetRequestID() *string

type Security

type Security struct {
	Bearer string `security:"scheme,type=http,subtype=bearer,name=Authorization"`
}

func (*Security) GetBearer

func (o *Security) GetBearer() string

type StacksV1SourceControlConfig

type StacksV1SourceControlConfig struct {
	Origin               *GitV1GitRepoConfig `json:"origin,omitempty"`
	StackOrigin          *GitV1GitRepoConfig `json:"stack_origin,omitempty"`
	UseWorkspaceSettings bool                `json:"use_workspace_settings"`
}

func (*StacksV1SourceControlConfig) GetOrigin

func (*StacksV1SourceControlConfig) GetStackOrigin

func (o *StacksV1SourceControlConfig) GetStackOrigin() *GitV1GitRepoConfig

func (*StacksV1SourceControlConfig) GetUseWorkspaceSettings

func (o *StacksV1SourceControlConfig) GetUseWorkspaceSettings() bool

type StacksV1StackConfig

type StacksV1StackConfig struct {
	Authz *SystemsV1AuthzConfig `json:"authz,omitempty"`
	// datasources created for the stack
	Datasources []SystemsV1DatasourceConfig `json:"datasources,omitempty"`
	Description string                      `json:"description"`
	// current stack deployment errors
	Errors map[string]SystemsV1AgentErrors `json:"errors,omitempty"`
	ID     string                          `json:"id"`
	// IDs of systems matching the stack
	MatchingSystems []string         `json:"matching_systems,omitempty"`
	Metadata        MetaV1ObjectMeta `json:"metadata"`
	// A history of any migrations performed on this stack
	MigrationHistory []SystemsV1MigrationRecord `json:"migration_history,omitempty"`
	// minimum running OPA version for any of the matching systems
	MinimumOpaVersion *string                      `json:"minimum_opa_version,omitempty"`
	Name              string                       `json:"name"`
	Policies          []SystemsV1PolicyConfig      `json:"policies"`
	ReadOnly          bool                         `json:"read_only"`
	SourceControl     *StacksV1SourceControlConfig `json:"source_control,omitempty"`
	Status            string                       `json:"status"`
	Type              string                       `json:"type"`
	// stack type parameter values (for template.* types)
	TypeParameters *StacksV1StackConfigTypeParameters `json:"type_parameters,omitempty"`
}

func (*StacksV1StackConfig) GetAuthz

func (*StacksV1StackConfig) GetDatasources

func (o *StacksV1StackConfig) GetDatasources() []SystemsV1DatasourceConfig

func (*StacksV1StackConfig) GetDescription

func (o *StacksV1StackConfig) GetDescription() string

func (*StacksV1StackConfig) GetErrors

func (o *StacksV1StackConfig) GetErrors() map[string]SystemsV1AgentErrors

func (*StacksV1StackConfig) GetID

func (o *StacksV1StackConfig) GetID() string

func (*StacksV1StackConfig) GetMatchingSystems

func (o *StacksV1StackConfig) GetMatchingSystems() []string

func (*StacksV1StackConfig) GetMetadata

func (o *StacksV1StackConfig) GetMetadata() MetaV1ObjectMeta

func (*StacksV1StackConfig) GetMigrationHistory

func (o *StacksV1StackConfig) GetMigrationHistory() []SystemsV1MigrationRecord

func (*StacksV1StackConfig) GetMinimumOpaVersion

func (o *StacksV1StackConfig) GetMinimumOpaVersion() *string

func (*StacksV1StackConfig) GetName

func (o *StacksV1StackConfig) GetName() string

func (*StacksV1StackConfig) GetPolicies

func (o *StacksV1StackConfig) GetPolicies() []SystemsV1PolicyConfig

func (*StacksV1StackConfig) GetReadOnly

func (o *StacksV1StackConfig) GetReadOnly() bool

func (*StacksV1StackConfig) GetSourceControl

func (o *StacksV1StackConfig) GetSourceControl() *StacksV1SourceControlConfig

func (*StacksV1StackConfig) GetStatus

func (o *StacksV1StackConfig) GetStatus() string

func (*StacksV1StackConfig) GetType

func (o *StacksV1StackConfig) GetType() string

func (*StacksV1StackConfig) GetTypeParameters

type StacksV1StackConfigTypeParameters

type StacksV1StackConfigTypeParameters struct {
}

StacksV1StackConfigTypeParameters - stack type parameter values (for template.* types)

type StacksV1StacksDeleteResponse

type StacksV1StacksDeleteResponse struct {
	RequestID *string `json:"request_id,omitempty"`
}

func (*StacksV1StacksDeleteResponse) GetRequestID

func (o *StacksV1StacksDeleteResponse) GetRequestID() *string

type StacksV1StacksGetResponse

type StacksV1StacksGetResponse struct {
	Result StacksV1StackConfig `json:"result"`
}

func (*StacksV1StacksGetResponse) GetResult

type StacksV1StacksPostRequest

type StacksV1StacksPostRequest struct {
	Description   string                       `json:"description"`
	Name          string                       `json:"name"`
	ReadOnly      bool                         `json:"read_only"`
	SourceControl *StacksV1SourceControlConfig `json:"source_control,omitempty"`
	Type          string                       `json:"type"`
	// stack type parameter values (for template.* types)
	TypeParameters *TypeParameters `json:"type_parameters,omitempty"`
}

func (*StacksV1StacksPostRequest) GetDescription

func (o *StacksV1StacksPostRequest) GetDescription() string

func (*StacksV1StacksPostRequest) GetName

func (o *StacksV1StacksPostRequest) GetName() string

func (*StacksV1StacksPostRequest) GetReadOnly

func (o *StacksV1StacksPostRequest) GetReadOnly() bool

func (*StacksV1StacksPostRequest) GetSourceControl

func (*StacksV1StacksPostRequest) GetType

func (o *StacksV1StacksPostRequest) GetType() string

func (*StacksV1StacksPostRequest) GetTypeParameters

func (o *StacksV1StacksPostRequest) GetTypeParameters() *TypeParameters

type StacksV1StacksPostResponse

type StacksV1StacksPostResponse struct {
	Result StacksV1StackConfig `json:"result"`
}

func (*StacksV1StacksPostResponse) GetResult

type StacksV1StacksPutRequest

type StacksV1StacksPutRequest struct {
	Description   string                       `json:"description"`
	Name          string                       `json:"name"`
	ReadOnly      bool                         `json:"read_only"`
	SourceControl *StacksV1SourceControlConfig `json:"source_control,omitempty"`
	Type          string                       `json:"type"`
	// stack type parameter values (for template.* types)
	TypeParameters *StacksV1StacksPutRequestTypeParameters `json:"type_parameters,omitempty"`
}

func (*StacksV1StacksPutRequest) GetDescription

func (o *StacksV1StacksPutRequest) GetDescription() string

func (*StacksV1StacksPutRequest) GetName

func (o *StacksV1StacksPutRequest) GetName() string

func (*StacksV1StacksPutRequest) GetReadOnly

func (o *StacksV1StacksPutRequest) GetReadOnly() bool

func (*StacksV1StacksPutRequest) GetSourceControl

func (*StacksV1StacksPutRequest) GetType

func (o *StacksV1StacksPutRequest) GetType() string

func (*StacksV1StacksPutRequest) GetTypeParameters

type StacksV1StacksPutRequestTypeParameters

type StacksV1StacksPutRequestTypeParameters struct {
}

StacksV1StacksPutRequestTypeParameters - stack type parameter values (for template.* types)

type StacksV1StacksPutResponse

type StacksV1StacksPutResponse struct {
}

type SystemsV1AgentErrors

type SystemsV1AgentErrors struct {
	// list of system errors
	Errors []MetaV1Status `json:"errors"`
	// true if the the system is waiting for error to be resolved
	Waiting bool `json:"waiting"`
}

func (*SystemsV1AgentErrors) GetErrors

func (o *SystemsV1AgentErrors) GetErrors() []MetaV1Status

func (*SystemsV1AgentErrors) GetWaiting

func (o *SystemsV1AgentErrors) GetWaiting() bool

type SystemsV1AllowedMapping

type SystemsV1AllowedMapping struct {
	Expected any `json:"expected,omitempty"`
	// when set to true, decision is Allowed when the mapped property IS NOT equal to the expected value
	Negated *bool `default:"false" json:"negated"`
	// dot-separated decision property path
	Path string `json:"path"`
}

func (*SystemsV1AllowedMapping) GetExpected

func (o *SystemsV1AllowedMapping) GetExpected() any

func (*SystemsV1AllowedMapping) GetNegated

func (o *SystemsV1AllowedMapping) GetNegated() *bool

func (*SystemsV1AllowedMapping) GetPath

func (o *SystemsV1AllowedMapping) GetPath() string

func (SystemsV1AllowedMapping) MarshalJSON

func (s SystemsV1AllowedMapping) MarshalJSON() ([]byte, error)

func (*SystemsV1AllowedMapping) UnmarshalJSON

func (s *SystemsV1AllowedMapping) UnmarshalJSON(data []byte) error

type SystemsV1AuthzConfig

type SystemsV1AuthzConfig struct {
	// a list of role binding configs
	RoleBindings []SystemsV1V1RoleBindingConfig `json:"role_bindings,omitempty"`
}

func (*SystemsV1AuthzConfig) GetRoleBindings

func (o *SystemsV1AuthzConfig) GetRoleBindings() []SystemsV1V1RoleBindingConfig

type SystemsV1AwsMetadataCredentialService

type SystemsV1AwsMetadataCredentialService struct {
	// the AWS region to use for the AWS signing service credential method
	AwsRegion string `json:"aws_region"`
	// the IAM role to use for the AWS signing service credential method
	IamRole *string `json:"iam_role,omitempty"`
}

func (*SystemsV1AwsMetadataCredentialService) GetAwsRegion

func (*SystemsV1AwsMetadataCredentialService) GetIamRole

type SystemsV1AwsProfileCredentialService

type SystemsV1AwsProfileCredentialService struct {
	// the AWS region to use for the AWS signing service credential method
	AwsRegion string `json:"aws_region"`
	// the path to the shared credentials file
	Path *string `json:"path,omitempty"`
	// AWS Profile to extract credentials from the credentials file
	Profile *string `json:"profile,omitempty"`
}

func (*SystemsV1AwsProfileCredentialService) GetAwsRegion

func (o *SystemsV1AwsProfileCredentialService) GetAwsRegion() string

func (*SystemsV1AwsProfileCredentialService) GetPath

func (*SystemsV1AwsProfileCredentialService) GetProfile

type SystemsV1AwsSigningAuthPlugin

type SystemsV1AwsSigningAuthPlugin struct {
	EnvironmentCredentials any                                    `json:"environment_credentials,omitempty"`
	MetadataCredentials    *SystemsV1AwsMetadataCredentialService `json:"metadata_credentials,omitempty"`
	ProfileCredentials     *SystemsV1AwsProfileCredentialService  `json:"profile_credentials,omitempty"`
	// the AWS service to sign requests with, eg execute-api or s3 (default: s3)
	Service                *string                                   `json:"service,omitempty"`
	WebIdentityCredentials *SystemsV1AwsWebIdentityCredentialService `json:"web_identity_credentials,omitempty"`
}

func (*SystemsV1AwsSigningAuthPlugin) GetEnvironmentCredentials

func (o *SystemsV1AwsSigningAuthPlugin) GetEnvironmentCredentials() any

func (*SystemsV1AwsSigningAuthPlugin) GetMetadataCredentials

func (*SystemsV1AwsSigningAuthPlugin) GetProfileCredentials

func (*SystemsV1AwsSigningAuthPlugin) GetService

func (o *SystemsV1AwsSigningAuthPlugin) GetService() *string

func (*SystemsV1AwsSigningAuthPlugin) GetWebIdentityCredentials

type SystemsV1AwsWebIdentityCredentialService

type SystemsV1AwsWebIdentityCredentialService struct {
	// the AWS region to use for the sts regional endpoint (default: global)
	AwsRegion string `json:"aws_region"`
	// the session name used to identify the assumed role session (default: open-policy-agent)
	SessionName string `json:"session_name"`
}

func (*SystemsV1AwsWebIdentityCredentialService) GetAwsRegion

func (*SystemsV1AwsWebIdentityCredentialService) GetSessionName

type SystemsV1AzureManagedIdentitiesAuthPlugin

type SystemsV1AzureManagedIdentitiesAuthPlugin struct {
	// API version to use
	APIVersion string `json:"api_version"`
	// optional client ID of the managed identity you would like the token for, required if your VM has multiple user-assigned managed identities
	ClientID string `json:"client_id"`
	// request endpoint
	Endpoint string `json:"endpoint"`
	// optional Azure Resource ID of the managed identity you would like the token for, required, if your VM has multiple user-assigned managed identities
	MiResID string `json:"mi_res_id"`
	// optional object ID of the managed identity you would like the token for, required if your VM has multiple user-assigned managed identities
	ObjectID string `json:"object_id"`
	// app ID URI of the target resource
	Resource string `json:"resource"`
}

func (*SystemsV1AzureManagedIdentitiesAuthPlugin) GetAPIVersion

func (*SystemsV1AzureManagedIdentitiesAuthPlugin) GetClientID

func (*SystemsV1AzureManagedIdentitiesAuthPlugin) GetEndpoint

func (*SystemsV1AzureManagedIdentitiesAuthPlugin) GetMiResID

func (*SystemsV1AzureManagedIdentitiesAuthPlugin) GetObjectID

func (*SystemsV1AzureManagedIdentitiesAuthPlugin) GetResource

type SystemsV1BearerAuthPlugin

type SystemsV1BearerAuthPlugin struct {
	// bearer token scheme to specify
	Scheme *string `json:"scheme,omitempty"`
	// enables token-based authentication and supplies the bearer token to authenticate with
	Token string `json:"token"`
	// enables token-based authentication and supplies the path to the bearer token to authenticate with
	TokenPath string `json:"token_path"`
}

func (*SystemsV1BearerAuthPlugin) GetScheme

func (o *SystemsV1BearerAuthPlugin) GetScheme() *string

func (*SystemsV1BearerAuthPlugin) GetToken

func (o *SystemsV1BearerAuthPlugin) GetToken() string

func (*SystemsV1BearerAuthPlugin) GetTokenPath

func (o *SystemsV1BearerAuthPlugin) GetTokenPath() string

type SystemsV1BundleDistributionS3Config

type SystemsV1BundleDistributionS3Config struct {
	// access key id and secret access key are looked under the key <name>/<access_keys>
	AccessKeys *string `json:"access_keys,omitempty"`
	// bucket name
	Bucket string `json:"bucket"`
	// context bundle path. The name must not use template variables
	ContextPath *string `default:"context-{policy_path}" json:"context_path"`
	// discovery bundle path. Template variables can be used in the name
	DiscoveryPath *string `default:"discovery.tgz" json:"discovery_path"`
	// AWS endpoint
	Endpoint       *string                                            `json:"endpoint,omitempty"`
	OpaCredentials *SystemsV1BundleDistributionS3ConfigOpaCredentials `json:"opa_credentials,omitempty"`
	// policy bundle path. Template variables can be used in the name
	PolicyPath *string `default:"bundle.tgz" json:"policy_path"`
	// AWS region
	Region string `json:"region"`
	// AWS role
	RoleArn *string `json:"role_arn,omitempty"`
}

func (*SystemsV1BundleDistributionS3Config) GetAccessKeys

func (o *SystemsV1BundleDistributionS3Config) GetAccessKeys() *string

func (*SystemsV1BundleDistributionS3Config) GetBucket

func (*SystemsV1BundleDistributionS3Config) GetContextPath

func (o *SystemsV1BundleDistributionS3Config) GetContextPath() *string

func (*SystemsV1BundleDistributionS3Config) GetDiscoveryPath

func (o *SystemsV1BundleDistributionS3Config) GetDiscoveryPath() *string

func (*SystemsV1BundleDistributionS3Config) GetEndpoint

func (o *SystemsV1BundleDistributionS3Config) GetEndpoint() *string

func (*SystemsV1BundleDistributionS3Config) GetOpaCredentials

func (*SystemsV1BundleDistributionS3Config) GetPolicyPath

func (o *SystemsV1BundleDistributionS3Config) GetPolicyPath() *string

func (*SystemsV1BundleDistributionS3Config) GetRegion

func (*SystemsV1BundleDistributionS3Config) GetRoleArn

func (SystemsV1BundleDistributionS3Config) MarshalJSON

func (s SystemsV1BundleDistributionS3Config) MarshalJSON() ([]byte, error)

func (*SystemsV1BundleDistributionS3Config) UnmarshalJSON

func (s *SystemsV1BundleDistributionS3Config) UnmarshalJSON(data []byte) error

type SystemsV1BundleDistributionS3ConfigOpaCredentials

type SystemsV1BundleDistributionS3ConfigOpaCredentials struct {
	EnvironmentCredentials *SystemsV1BundleDistributionS3ConfigOpaCredentialsEnvironmentCredentials `json:"environment_credentials,omitempty"`
	MetadataCredentials    *SystemsV1BundleDistributionS3ConfigOpaCredentialsMetadataCredentials    `json:"metadata_credentials,omitempty"`
	WebIdentityCredentials *SystemsV1BundleDistributionS3ConfigOpaCredentialsWebIdentityCredentials `json:"web_identity_credentials,omitempty"`
}

func (*SystemsV1BundleDistributionS3ConfigOpaCredentials) GetEnvironmentCredentials

func (*SystemsV1BundleDistributionS3ConfigOpaCredentials) GetMetadataCredentials

func (*SystemsV1BundleDistributionS3ConfigOpaCredentials) GetWebIdentityCredentials

type SystemsV1BundleDistributionS3ConfigOpaCredentialsEnvironmentCredentials

type SystemsV1BundleDistributionS3ConfigOpaCredentialsEnvironmentCredentials struct {
}

type SystemsV1BundleDistributionS3ConfigOpaCredentialsMetadataCredentials

type SystemsV1BundleDistributionS3ConfigOpaCredentialsMetadataCredentials struct {
	AwsRegion string  `json:"aws_region"`
	IamRole   *string `json:"iam_role,omitempty"`
}

func (*SystemsV1BundleDistributionS3ConfigOpaCredentialsMetadataCredentials) GetAwsRegion

func (*SystemsV1BundleDistributionS3ConfigOpaCredentialsMetadataCredentials) GetIamRole

type SystemsV1BundleDistributionS3ConfigOpaCredentialsWebIdentityCredentials

type SystemsV1BundleDistributionS3ConfigOpaCredentialsWebIdentityCredentials struct {
	AwsRegion   string `json:"aws_region"`
	SessionName string `json:"session_name"`
}

func (*SystemsV1BundleDistributionS3ConfigOpaCredentialsWebIdentityCredentials) GetAwsRegion

func (*SystemsV1BundleDistributionS3ConfigOpaCredentialsWebIdentityCredentials) GetSessionName

type SystemsV1BundleDownloadConfig

type SystemsV1BundleDownloadConfig struct {
	// enabled delta bundles on bundle download
	DeltaBundles *bool `default:"false" json:"delta_bundles"`
}

func (*SystemsV1BundleDownloadConfig) GetDeltaBundles

func (o *SystemsV1BundleDownloadConfig) GetDeltaBundles() *bool

func (SystemsV1BundleDownloadConfig) MarshalJSON

func (s SystemsV1BundleDownloadConfig) MarshalJSON() ([]byte, error)

func (*SystemsV1BundleDownloadConfig) UnmarshalJSON

func (s *SystemsV1BundleDownloadConfig) UnmarshalJSON(data []byte) error

type SystemsV1BundleRegistryConfig

type SystemsV1BundleRegistryConfig struct {
	// when checked, bundles will be activated regardless of their compatibility with currently running agents
	DisableBundleCompatibilityCheck *bool                                `json:"disable_bundle_compatibility_check,omitempty"`
	DistributionS3                  *SystemsV1BundleDistributionS3Config `json:"distribution_s3,omitempty"`
	// extra bundle entry points to use when compiling bundles
	Entrypoints []string `json:"entrypoints,omitempty"`
	// manual deployment mode to prevent automatic deployment of new bundles
	ManualDeployment *bool `json:"manual_deployment,omitempty"`
	// Override of manual deployment mode flag per bundle type
	ManualDeploymentOverrides map[string]bool `json:"manual_deployment_overrides,omitempty"`
	// maximum number of all bundles to store
	MaxBundles *int64 `json:"max_bundles,omitempty"`
	// maximum number of previously deployed bundles to store
	MaxDeployedBundles *int64 `json:"max_deployed_bundles,omitempty"`
	// OPA optimization level to use when building bundles
	OptimizationLevel *int `json:"optimization_level,omitempty"`
}

func (*SystemsV1BundleRegistryConfig) GetDisableBundleCompatibilityCheck

func (o *SystemsV1BundleRegistryConfig) GetDisableBundleCompatibilityCheck() *bool

func (*SystemsV1BundleRegistryConfig) GetDistributionS3

func (*SystemsV1BundleRegistryConfig) GetEntrypoints

func (o *SystemsV1BundleRegistryConfig) GetEntrypoints() []string

func (*SystemsV1BundleRegistryConfig) GetManualDeployment

func (o *SystemsV1BundleRegistryConfig) GetManualDeployment() *bool

func (*SystemsV1BundleRegistryConfig) GetManualDeploymentOverrides

func (o *SystemsV1BundleRegistryConfig) GetManualDeploymentOverrides() map[string]bool

func (*SystemsV1BundleRegistryConfig) GetMaxBundles

func (o *SystemsV1BundleRegistryConfig) GetMaxBundles() *int64

func (*SystemsV1BundleRegistryConfig) GetMaxDeployedBundles

func (o *SystemsV1BundleRegistryConfig) GetMaxDeployedBundles() *int64

func (*SystemsV1BundleRegistryConfig) GetOptimizationLevel

func (o *SystemsV1BundleRegistryConfig) GetOptimizationLevel() *int

type SystemsV1ClientTLSAuthPlugin

type SystemsV1ClientTLSAuthPlugin struct {
	// the path to the client certificate to authenticate with
	Cert string `json:"cert"`
	// the path to the private key of the client certificate
	PrivateKey string `json:"private_key"`
	// the passphrase to use for the private key
	PrivateKeyPassphrase *string `json:"private_key_passphrase,omitempty"`
}

func (*SystemsV1ClientTLSAuthPlugin) GetCert

func (o *SystemsV1ClientTLSAuthPlugin) GetCert() string

func (*SystemsV1ClientTLSAuthPlugin) GetPrivateKey

func (o *SystemsV1ClientTLSAuthPlugin) GetPrivateKey() string

func (*SystemsV1ClientTLSAuthPlugin) GetPrivateKeyPassphrase

func (o *SystemsV1ClientTLSAuthPlugin) GetPrivateKeyPassphrase() *string

type SystemsV1ColumnMapping

type SystemsV1ColumnMapping struct {
	// column key (also the search key)
	Key string `json:"key"`
	// dot-separated decision property path
	Path string `json:"path"`
	// column type: one of "string", "boolean", "date", "integer", "float"
	Type *string `default:"string" json:"type"`
}

func (*SystemsV1ColumnMapping) GetKey

func (o *SystemsV1ColumnMapping) GetKey() string

func (*SystemsV1ColumnMapping) GetPath

func (o *SystemsV1ColumnMapping) GetPath() string

func (*SystemsV1ColumnMapping) GetType

func (o *SystemsV1ColumnMapping) GetType() *string

func (SystemsV1ColumnMapping) MarshalJSON

func (s SystemsV1ColumnMapping) MarshalJSON() ([]byte, error)

func (*SystemsV1ColumnMapping) UnmarshalJSON

func (s *SystemsV1ColumnMapping) UnmarshalJSON(data []byte) error

type SystemsV1DatasourceConfig

type SystemsV1DatasourceConfig struct {
	// datasource category
	Category string `json:"category"`
	// datasource ID
	ID string `json:"id"`
	// optional datasources can be deleted without being recreated automatically
	Optional *bool         `json:"optional,omitempty"`
	Status   *MetaV1Status `json:"status,omitempty"`
}

func (*SystemsV1DatasourceConfig) GetCategory

func (o *SystemsV1DatasourceConfig) GetCategory() string

func (*SystemsV1DatasourceConfig) GetID

func (o *SystemsV1DatasourceConfig) GetID() string

func (*SystemsV1DatasourceConfig) GetOptional

func (o *SystemsV1DatasourceConfig) GetOptional() *bool

func (*SystemsV1DatasourceConfig) GetStatus

func (o *SystemsV1DatasourceConfig) GetStatus() *MetaV1Status

type SystemsV1EnforcementConfig

type SystemsV1EnforcementConfig struct {
	// true if the policy is enforced
	Enforced bool `json:"enforced"`
	// enforcement type e.g. opa, test, mask
	Type string `json:"type"`
}

func (*SystemsV1EnforcementConfig) GetEnforced

func (o *SystemsV1EnforcementConfig) GetEnforced() bool

func (*SystemsV1EnforcementConfig) GetType

func (o *SystemsV1EnforcementConfig) GetType() string

type SystemsV1ExternalBundleConfig

type SystemsV1ExternalBundleConfig struct {
	// externally configured bundles, use name of bundle as key
	Bundles map[string]SystemsV1OpaConfigBundleDeclaration `json:"bundles,omitempty"`
	// externally configured services
	Services []SystemsV1OpaConfigServiceDeclaration `json:"services"`
}

func (*SystemsV1ExternalBundleConfig) GetBundles

func (*SystemsV1ExternalBundleConfig) GetServices

type SystemsV1GcpMetadataAuthPlugin

type SystemsV1GcpMetadataAuthPlugin struct {
	// the access token metadata path to use
	AccessTokenPath string `json:"access_token_path"`
	// the audience to use when fetching identity tokens
	Audience string `json:"audience"`
	// the metadata endpoint to use
	Endpoint string `json:"endpoint"`
	// the identity token metadata path to use
	IDTokenPath string `json:"id_token_path"`
	// the set of scopes to use when fetching access token
	Scopes []string `json:"scopes"`
}

func (*SystemsV1GcpMetadataAuthPlugin) GetAccessTokenPath

func (o *SystemsV1GcpMetadataAuthPlugin) GetAccessTokenPath() string

func (*SystemsV1GcpMetadataAuthPlugin) GetAudience

func (o *SystemsV1GcpMetadataAuthPlugin) GetAudience() string

func (*SystemsV1GcpMetadataAuthPlugin) GetEndpoint

func (o *SystemsV1GcpMetadataAuthPlugin) GetEndpoint() string

func (*SystemsV1GcpMetadataAuthPlugin) GetIDTokenPath

func (o *SystemsV1GcpMetadataAuthPlugin) GetIDTokenPath() string

func (*SystemsV1GcpMetadataAuthPlugin) GetScopes

func (o *SystemsV1GcpMetadataAuthPlugin) GetScopes() []string

type SystemsV1KeyConfig

type SystemsV1KeyConfig struct {
	// name of the signing algorithm
	Algorithm *string `json:"algorithm,omitempty"`
	// PEM encoded public key to use for signature verification
	Key *string `json:"key,omitempty"`
	// PEM encoded private key to use for signing
	PrivateKey *string `json:"private_key,omitempty"`
	// scope to use for bundle signature verification
	Scope *string `json:"scope,omitempty"`
}

func (*SystemsV1KeyConfig) GetAlgorithm

func (o *SystemsV1KeyConfig) GetAlgorithm() *string

func (*SystemsV1KeyConfig) GetKey

func (o *SystemsV1KeyConfig) GetKey() *string

func (*SystemsV1KeyConfig) GetPrivateKey

func (o *SystemsV1KeyConfig) GetPrivateKey() *string

func (*SystemsV1KeyConfig) GetScope

func (o *SystemsV1KeyConfig) GetScope() *string

type SystemsV1MigrationRecord

type SystemsV1MigrationRecord struct {
	From           string    `json:"from"`
	InitiatedBy    string    `json:"initiated_by"`
	InitiatingUser string    `json:"initiating_user"`
	MigratedAt     time.Time `json:"migrated_at"`
	Recovered      *bool     `json:"recovered,omitempty"`
	To             string    `json:"to"`
}

func (*SystemsV1MigrationRecord) GetFrom

func (o *SystemsV1MigrationRecord) GetFrom() string

func (*SystemsV1MigrationRecord) GetInitiatedBy

func (o *SystemsV1MigrationRecord) GetInitiatedBy() string

func (*SystemsV1MigrationRecord) GetInitiatingUser

func (o *SystemsV1MigrationRecord) GetInitiatingUser() string

func (*SystemsV1MigrationRecord) GetMigratedAt

func (o *SystemsV1MigrationRecord) GetMigratedAt() time.Time

func (*SystemsV1MigrationRecord) GetRecovered

func (o *SystemsV1MigrationRecord) GetRecovered() *bool

func (*SystemsV1MigrationRecord) GetTo

func (o *SystemsV1MigrationRecord) GetTo() string

func (SystemsV1MigrationRecord) MarshalJSON

func (s SystemsV1MigrationRecord) MarshalJSON() ([]byte, error)

func (*SystemsV1MigrationRecord) UnmarshalJSON

func (s *SystemsV1MigrationRecord) UnmarshalJSON(data []byte) error

type SystemsV1Module

type SystemsV1Module struct {
	// module name
	Name string `json:"name"`
	// module is a placeholder
	Placeholder *bool `default:"false" json:"placeholder"`
	// true if module is read-only
	ReadOnly bool                  `json:"read_only"`
	Rules    *PoliciesV1RuleCounts `json:"rules,omitempty"`
}

func (*SystemsV1Module) GetName

func (o *SystemsV1Module) GetName() string

func (*SystemsV1Module) GetPlaceholder

func (o *SystemsV1Module) GetPlaceholder() *bool

func (*SystemsV1Module) GetReadOnly

func (o *SystemsV1Module) GetReadOnly() bool

func (*SystemsV1Module) GetRules

func (o *SystemsV1Module) GetRules() *PoliciesV1RuleCounts

func (SystemsV1Module) MarshalJSON

func (s SystemsV1Module) MarshalJSON() ([]byte, error)

func (*SystemsV1Module) UnmarshalJSON

func (s *SystemsV1Module) UnmarshalJSON(data []byte) error

type SystemsV1Oauth2ClientCredentialsAuthPlugin

type SystemsV1Oauth2ClientCredentialsAuthPlugin struct {
	// map of claims to include in the JWT
	AdditionalClaims AdditionalClaims `json:"additional_claims"`
	// map of additional headers to send to token endpoint at the OAuth2 authorization server
	AdditionalHeaders map[string]string `json:"additional_headers,omitempty"`
	// map of additional body parameters to send token endpoint at the OAuth2 authorization server
	AdditionalParameters map[string]string `json:"additional_parameters,omitempty"`
	// the client ID to use for authentication
	ClientID string `json:"client_id"`
	// the client secret to use for authentication
	ClientSecret string `json:"client_secret"`
	// defaults to client_credentials
	GrantType string `json:"grant_type"`
	// include a uniquely generated jti claim in any issued JWT
	IncludeJtiClaim bool `json:"include_jti_claim"`
	// optional list of scopes to request for the token
	Scopes []string `json:"scopes,omitempty"`
	// reference to private key used for signing the JWT
	SigningKey string `json:"signing_key"`
	// certificate thumbprint to use for x5t header generation
	Thumbprint string `json:"thumbprint"`
	// URL pointing to the token endpoint at the OAuth2 authorization server
	TokenURL string `json:"token_url"`
}

func (*SystemsV1Oauth2ClientCredentialsAuthPlugin) GetAdditionalClaims

func (*SystemsV1Oauth2ClientCredentialsAuthPlugin) GetAdditionalHeaders

func (o *SystemsV1Oauth2ClientCredentialsAuthPlugin) GetAdditionalHeaders() map[string]string

func (*SystemsV1Oauth2ClientCredentialsAuthPlugin) GetAdditionalParameters

func (o *SystemsV1Oauth2ClientCredentialsAuthPlugin) GetAdditionalParameters() map[string]string

func (*SystemsV1Oauth2ClientCredentialsAuthPlugin) GetClientID

func (*SystemsV1Oauth2ClientCredentialsAuthPlugin) GetClientSecret

func (*SystemsV1Oauth2ClientCredentialsAuthPlugin) GetGrantType

func (*SystemsV1Oauth2ClientCredentialsAuthPlugin) GetIncludeJtiClaim

func (o *SystemsV1Oauth2ClientCredentialsAuthPlugin) GetIncludeJtiClaim() bool

func (*SystemsV1Oauth2ClientCredentialsAuthPlugin) GetScopes

func (*SystemsV1Oauth2ClientCredentialsAuthPlugin) GetSigningKey

func (*SystemsV1Oauth2ClientCredentialsAuthPlugin) GetThumbprint

func (*SystemsV1Oauth2ClientCredentialsAuthPlugin) GetTokenURL

type SystemsV1OpaConfigBundleDeclaration

type SystemsV1OpaConfigBundleDeclaration struct {
	// persist activated bundles to disk
	Persist *bool                   `json:"persist,omitempty"`
	Polling *SystemsV1PollingConfig `json:"polling,omitempty"`
	// resource path to use to download bundle from configured service
	Resource *string `json:"resource,omitempty"`
	// name of service to use to contact remote server
	Service string                       `json:"service"`
	Signing *SystemsV1VerificationConfig `json:"signing,omitempty"`
	// size limit for individual files contained in the bundle
	SizeLimitBytes *int64 `json:"size_limit_bytes,omitempty"`
}

func (*SystemsV1OpaConfigBundleDeclaration) GetPersist

func (o *SystemsV1OpaConfigBundleDeclaration) GetPersist() *bool

func (*SystemsV1OpaConfigBundleDeclaration) GetPolling

func (*SystemsV1OpaConfigBundleDeclaration) GetResource

func (o *SystemsV1OpaConfigBundleDeclaration) GetResource() *string

func (*SystemsV1OpaConfigBundleDeclaration) GetService

func (*SystemsV1OpaConfigBundleDeclaration) GetSigning

func (*SystemsV1OpaConfigBundleDeclaration) GetSizeLimitBytes

func (o *SystemsV1OpaConfigBundleDeclaration) GetSizeLimitBytes() *int64

type SystemsV1OpaConfigServiceDeclaration

type SystemsV1OpaConfigServiceDeclaration struct {
	// allow insecure TLS
	AllowInsecureTLS *bool                                            `json:"allow_insecure_tls,omitempty"`
	Credentials      *SystemsV1OpaConfigServiceDeclarationCredentials `json:"credentials,omitempty"`
	// HTTP headers to include in the requests to the service
	Headers map[string]string `json:"headers,omitempty"`
	// keys is a dictionary mapping the key name to the actual key and optionally the algorithm and scope.
	Keys map[string]KeysConfig `json:"keys,omitempty"`
	// unique name for each service, referred to by plugins
	Name string `json:"name"`
	// amount of time to wait for a server's response headers after fully writing the request
	ResponseHeaderTimeoutSeconds *int64                    `json:"response_header_timeout_seconds,omitempty"`
	TLS                          *SystemsV1ServerTLSConfig `json:"tls,omitempty"`
	// optional parameter that allows to use an “OCI” service type
	Type *string `json:"type,omitempty"`
	// base URL to contact the service with
	URL string `json:"url"`
}

func (*SystemsV1OpaConfigServiceDeclaration) GetAllowInsecureTLS

func (o *SystemsV1OpaConfigServiceDeclaration) GetAllowInsecureTLS() *bool

func (*SystemsV1OpaConfigServiceDeclaration) GetCredentials

func (*SystemsV1OpaConfigServiceDeclaration) GetHeaders

func (*SystemsV1OpaConfigServiceDeclaration) GetKeys

func (*SystemsV1OpaConfigServiceDeclaration) GetName

func (*SystemsV1OpaConfigServiceDeclaration) GetResponseHeaderTimeoutSeconds

func (o *SystemsV1OpaConfigServiceDeclaration) GetResponseHeaderTimeoutSeconds() *int64

func (*SystemsV1OpaConfigServiceDeclaration) GetTLS

func (*SystemsV1OpaConfigServiceDeclaration) GetType

func (*SystemsV1OpaConfigServiceDeclaration) GetURL

type SystemsV1OpaConfigServiceDeclarationCredentials

type SystemsV1OpaConfigServiceDeclarationCredentials struct {
	AzureManagedIdentity *SystemsV1AzureManagedIdentitiesAuthPlugin  `json:"azure_managed_identity,omitempty"`
	Bearer               *SystemsV1BearerAuthPlugin                  `json:"bearer,omitempty"`
	ClientTLS            *SystemsV1ClientTLSAuthPlugin               `json:"client_tls,omitempty"`
	GcpMetadata          *SystemsV1GcpMetadataAuthPlugin             `json:"gcp_metadata,omitempty"`
	Oauth2               *SystemsV1Oauth2ClientCredentialsAuthPlugin `json:"oauth2,omitempty"`
	// authenticate using a custom plugin
	Plugin    *string                        `json:"plugin,omitempty"`
	S3Signing *SystemsV1AwsSigningAuthPlugin `json:"s3_signing,omitempty"`
}

func (*SystemsV1OpaConfigServiceDeclarationCredentials) GetAzureManagedIdentity

func (*SystemsV1OpaConfigServiceDeclarationCredentials) GetBearer

func (*SystemsV1OpaConfigServiceDeclarationCredentials) GetClientTLS

func (*SystemsV1OpaConfigServiceDeclarationCredentials) GetGcpMetadata

func (*SystemsV1OpaConfigServiceDeclarationCredentials) GetOauth2

func (*SystemsV1OpaConfigServiceDeclarationCredentials) GetPlugin

func (*SystemsV1OpaConfigServiceDeclarationCredentials) GetS3Signing

type SystemsV1PolicyConfig

type SystemsV1PolicyConfig struct {
	// policy on when to (re)generate the policy
	Created     *string                    `json:"created,omitempty"`
	Enforcement SystemsV1EnforcementConfig `json:"enforcement"`
	// policy ID (path)
	ID string `json:"id"`
	// rego modules policy consists of
	Modules []SystemsV1Module     `json:"modules,omitempty"`
	Rules   *PoliciesV1RuleCounts `json:"rules,omitempty"`
	// policy type e.g. validating/rules
	Type string `json:"type"`
}

func (*SystemsV1PolicyConfig) GetCreated

func (o *SystemsV1PolicyConfig) GetCreated() *string

func (*SystemsV1PolicyConfig) GetEnforcement

func (*SystemsV1PolicyConfig) GetID

func (o *SystemsV1PolicyConfig) GetID() string

func (*SystemsV1PolicyConfig) GetModules

func (o *SystemsV1PolicyConfig) GetModules() []SystemsV1Module

func (*SystemsV1PolicyConfig) GetRules

func (*SystemsV1PolicyConfig) GetType

func (o *SystemsV1PolicyConfig) GetType() string

type SystemsV1PollingConfig

type SystemsV1PollingConfig struct {
	// maximum amount of time the server should wait before issuing a timeout if there’s no update available
	LongPollingTimeoutSeconds *int64 `json:"long_polling_timeout_seconds,omitempty"`
	// maximum amount of time to wait between bundle downloads
	MaxDelaySeconds *int64 `json:"max_delay_seconds,omitempty"`
	// minimum amount of time to wait between bundle downloads
	MinDelaySeconds *int64 `json:"min_delay_seconds,omitempty"`
}

func (*SystemsV1PollingConfig) GetLongPollingTimeoutSeconds

func (o *SystemsV1PollingConfig) GetLongPollingTimeoutSeconds() *int64

func (*SystemsV1PollingConfig) GetMaxDelaySeconds

func (o *SystemsV1PollingConfig) GetMaxDelaySeconds() *int64

func (*SystemsV1PollingConfig) GetMinDelaySeconds

func (o *SystemsV1PollingConfig) GetMinDelaySeconds() *int64

type SystemsV1ReasonMapping

type SystemsV1ReasonMapping struct {
	// dot-separated decision property path
	Path string `json:"path"`
}

func (*SystemsV1ReasonMapping) GetPath

func (o *SystemsV1ReasonMapping) GetPath() string

type SystemsV1RuleDecisionMappings

type SystemsV1RuleDecisionMappings struct {
	Allowed *SystemsV1AllowedMapping `json:"allowed,omitempty"`
	// decision mappings for additional columns
	Columns []SystemsV1ColumnMapping `json:"columns,omitempty"`
	Reason  *SystemsV1ReasonMapping  `json:"reason,omitempty"`
}

func (*SystemsV1RuleDecisionMappings) GetAllowed

func (*SystemsV1RuleDecisionMappings) GetColumns

func (*SystemsV1RuleDecisionMappings) GetReason

type SystemsV1ServerTLSConfig

type SystemsV1ServerTLSConfig struct {
	// the path to the root CA certificate. If not provided, this defaults to TLS using the host’s root CA set
	CaCert *string `json:"ca_cert,omitempty"`
	// require system certificate appended with root CA certificate
	SystemCaRequired *bool `json:"system_ca_required,omitempty"`
}

func (*SystemsV1ServerTLSConfig) GetCaCert

func (o *SystemsV1ServerTLSConfig) GetCaCert() *string

func (*SystemsV1ServerTLSConfig) GetSystemCaRequired

func (o *SystemsV1ServerTLSConfig) GetSystemCaRequired() *bool

type SystemsV1SystemConfig

type SystemsV1SystemConfig struct {
	Authz          SystemsV1AuthzConfig           `json:"authz"`
	BundleDownload *SystemsV1BundleDownloadConfig `json:"bundle_download,omitempty"`
	BundleRegistry *SystemsV1BundleRegistryConfig `json:"bundle_registry,omitempty"`
	// only put data in the context bundle
	ContextBundleDataOnly *bool `json:"context_bundle_data_only,omitempty"`
	// list of path prefixes for policies/datasources that go into the second (context) bundle
	ContextBundleRoots []string `json:"context_bundle_roots,omitempty"`
	// datasources created for the system
	Datasources []SystemsV1DatasourceConfig `json:"datasources,omitempty"`
	// location of key attributes and additional columns in the decisions grouped by policy entry point path
	DecisionMappings     map[string]SystemsV1RuleDecisionMappings `json:"decision_mappings,omitempty"`
	DeploymentParameters *SystemsV1SystemDeploymentParameters     `json:"deployment_parameters,omitempty"`
	// description for the system
	Description *string `json:"description,omitempty"`
	// error/warning configuration: one of "all", "errors", "none"
	ErrorSetting *string `json:"error_setting,omitempty"`
	// current deployment errors
	Errors          map[string]SystemsV1AgentErrors `json:"errors,omitempty"`
	ExternalBundles *SystemsV1ExternalBundleConfig  `json:"external_bundles,omitempty"`
	// optional parameter to map Styra DAS system ID to external IDs used by a customer. (mapping can be retrieved with TranslateExternalIds operation)
	ExternalID *string `json:"external_id,omitempty"`
	// when set, stacks that are not linked to this system will be filtered out of its bundles
	FilterStacks *bool `json:"filter_stacks,omitempty"`
	// system ID
	ID string `json:"id"`
	// optional parameter to specify the Kafka topic where the decision logs for this system should be published (ignored if Kafka is not configured for the workspace for decision export)
	KafkaTopic *string `json:"kafka_topic,omitempty"`
	// IDs of stacks matching the system
	MatchingStacks []string         `json:"matching_stacks,omitempty"`
	Metadata       MetaV1ObjectMeta `json:"metadata"`
	// A history of any migrations performed on this system
	MigrationHistory []SystemsV1MigrationRecord `json:"migration_history,omitempty"`
	// minimum running OPA version for the systems
	MinimumOpaVersion *string `json:"minimum_opa_version,omitempty"`
	// enable mock OPAs for this system
	MockOpaEnabled *bool `json:"mock_opa_enabled,omitempty"`
	// system name
	Name string `json:"name"`
	// policies created for the system
	Policies []SystemsV1PolicyConfig `json:"policies"`
	// prevents users from modifying policies using Styra UIs
	ReadOnly      *bool                     `default:"false" json:"read_only"`
	SourceControl *GitV1SourceControlConfig `json:"source_control,omitempty"`
	// system status
	Status string `json:"status"`
	// tokens created for the system
	Tokens []TokensV1Token `json:"tokens,omitempty"`
	// system type e.g. kubernetes
	Type string `json:"type"`
	// system type parameter values (for template.* types)
	TypeParameters *SystemsV1SystemConfigTypeParameters `json:"type_parameters,omitempty"`
	// uninstallation instructions by installation method (deprecated)
	Uninstall map[string]string `json:"uninstall,omitempty"`
}

func (*SystemsV1SystemConfig) GetAuthz

func (*SystemsV1SystemConfig) GetBundleDownload

func (o *SystemsV1SystemConfig) GetBundleDownload() *SystemsV1BundleDownloadConfig

func (*SystemsV1SystemConfig) GetBundleRegistry

func (o *SystemsV1SystemConfig) GetBundleRegistry() *SystemsV1BundleRegistryConfig

func (*SystemsV1SystemConfig) GetContextBundleDataOnly

func (o *SystemsV1SystemConfig) GetContextBundleDataOnly() *bool

func (*SystemsV1SystemConfig) GetContextBundleRoots

func (o *SystemsV1SystemConfig) GetContextBundleRoots() []string

func (*SystemsV1SystemConfig) GetDatasources

func (o *SystemsV1SystemConfig) GetDatasources() []SystemsV1DatasourceConfig

func (*SystemsV1SystemConfig) GetDecisionMappings

func (o *SystemsV1SystemConfig) GetDecisionMappings() map[string]SystemsV1RuleDecisionMappings

func (*SystemsV1SystemConfig) GetDeploymentParameters

func (o *SystemsV1SystemConfig) GetDeploymentParameters() *SystemsV1SystemDeploymentParameters

func (*SystemsV1SystemConfig) GetDescription

func (o *SystemsV1SystemConfig) GetDescription() *string

func (*SystemsV1SystemConfig) GetErrorSetting

func (o *SystemsV1SystemConfig) GetErrorSetting() *string

func (*SystemsV1SystemConfig) GetErrors

func (*SystemsV1SystemConfig) GetExternalBundles

func (o *SystemsV1SystemConfig) GetExternalBundles() *SystemsV1ExternalBundleConfig

func (*SystemsV1SystemConfig) GetExternalID

func (o *SystemsV1SystemConfig) GetExternalID() *string

func (*SystemsV1SystemConfig) GetFilterStacks

func (o *SystemsV1SystemConfig) GetFilterStacks() *bool

func (*SystemsV1SystemConfig) GetID

func (o *SystemsV1SystemConfig) GetID() string

func (*SystemsV1SystemConfig) GetKafkaTopic

func (o *SystemsV1SystemConfig) GetKafkaTopic() *string

func (*SystemsV1SystemConfig) GetMatchingStacks

func (o *SystemsV1SystemConfig) GetMatchingStacks() []string

func (*SystemsV1SystemConfig) GetMetadata

func (o *SystemsV1SystemConfig) GetMetadata() MetaV1ObjectMeta

func (*SystemsV1SystemConfig) GetMigrationHistory

func (o *SystemsV1SystemConfig) GetMigrationHistory() []SystemsV1MigrationRecord

func (*SystemsV1SystemConfig) GetMinimumOpaVersion

func (o *SystemsV1SystemConfig) GetMinimumOpaVersion() *string

func (*SystemsV1SystemConfig) GetMockOpaEnabled

func (o *SystemsV1SystemConfig) GetMockOpaEnabled() *bool

func (*SystemsV1SystemConfig) GetName

func (o *SystemsV1SystemConfig) GetName() string

func (*SystemsV1SystemConfig) GetPolicies

func (o *SystemsV1SystemConfig) GetPolicies() []SystemsV1PolicyConfig

func (*SystemsV1SystemConfig) GetReadOnly

func (o *SystemsV1SystemConfig) GetReadOnly() *bool

func (*SystemsV1SystemConfig) GetSourceControl

func (o *SystemsV1SystemConfig) GetSourceControl() *GitV1SourceControlConfig

func (*SystemsV1SystemConfig) GetStatus

func (o *SystemsV1SystemConfig) GetStatus() string

func (*SystemsV1SystemConfig) GetTokens

func (o *SystemsV1SystemConfig) GetTokens() []TokensV1Token

func (*SystemsV1SystemConfig) GetType

func (o *SystemsV1SystemConfig) GetType() string

func (*SystemsV1SystemConfig) GetTypeParameters

func (*SystemsV1SystemConfig) GetUninstall

func (o *SystemsV1SystemConfig) GetUninstall() map[string]string

func (SystemsV1SystemConfig) MarshalJSON

func (s SystemsV1SystemConfig) MarshalJSON() ([]byte, error)

func (*SystemsV1SystemConfig) UnmarshalJSON

func (s *SystemsV1SystemConfig) UnmarshalJSON(data []byte) error

type SystemsV1SystemConfigTypeParameters

type SystemsV1SystemConfigTypeParameters struct {
}

SystemsV1SystemConfigTypeParameters - system type parameter values (for template.* types)

type SystemsV1SystemDeploymentParameters

type SystemsV1SystemDeploymentParameters struct {
	// true to fail close
	DenyOnOpaFail *bool `default:"false" json:"deny_on_opa_fail"`
	// discovery config settings for OPAs linked to the system. (in case of conflict with system-type defined setting, this value takes precedence)
	Discovery *Discovery `json:"discovery,omitempty"`
	// extra deployment settings
	Extra *Extra `json:"extra,omitempty"`
	// HTTP proxy URL
	HTTPProxy *string `json:"http_proxy,omitempty"`
	// HTTPS proxy URL
	HTTPSProxy *string `json:"https_proxy,omitempty"`
	// minimum Kubernetes version expected (where applicable)
	KubernetesVersion *string `json:"kubernetes_version,omitempty"`
	// Custom name for mutating webhook (useful for changing webhook order of execution)
	MutatingWebhookName *string `json:"mutating_webhook_name,omitempty"`
	// Kubernetes namespace the system is deployed to
	Namespace *string `json:"namespace,omitempty"`
	// URLs that should be excluded from proxying
	NoProxy *string `json:"no_proxy,omitempty"`
	// Kubernetes webhook timeout (where applicable)
	TimeoutSeconds *int `json:"timeout_seconds,omitempty"`
	// trusted CA certificates
	TrustedCaCerts []string `json:"trusted_ca_certs,omitempty"`
	// trusted container registry
	TrustedContainerRegistry *string `json:"trusted_container_registry,omitempty"`
}

func (*SystemsV1SystemDeploymentParameters) GetDenyOnOpaFail

func (o *SystemsV1SystemDeploymentParameters) GetDenyOnOpaFail() *bool

func (*SystemsV1SystemDeploymentParameters) GetDiscovery

func (*SystemsV1SystemDeploymentParameters) GetExtra

func (*SystemsV1SystemDeploymentParameters) GetHTTPProxy

func (o *SystemsV1SystemDeploymentParameters) GetHTTPProxy() *string

func (*SystemsV1SystemDeploymentParameters) GetHTTPSProxy

func (o *SystemsV1SystemDeploymentParameters) GetHTTPSProxy() *string

func (*SystemsV1SystemDeploymentParameters) GetKubernetesVersion

func (o *SystemsV1SystemDeploymentParameters) GetKubernetesVersion() *string

func (*SystemsV1SystemDeploymentParameters) GetMutatingWebhookName

func (o *SystemsV1SystemDeploymentParameters) GetMutatingWebhookName() *string

func (*SystemsV1SystemDeploymentParameters) GetNamespace

func (o *SystemsV1SystemDeploymentParameters) GetNamespace() *string

func (*SystemsV1SystemDeploymentParameters) GetNoProxy

func (*SystemsV1SystemDeploymentParameters) GetTimeoutSeconds

func (o *SystemsV1SystemDeploymentParameters) GetTimeoutSeconds() *int

func (*SystemsV1SystemDeploymentParameters) GetTrustedCaCerts

func (o *SystemsV1SystemDeploymentParameters) GetTrustedCaCerts() []string

func (*SystemsV1SystemDeploymentParameters) GetTrustedContainerRegistry

func (o *SystemsV1SystemDeploymentParameters) GetTrustedContainerRegistry() *string

func (SystemsV1SystemDeploymentParameters) MarshalJSON

func (s SystemsV1SystemDeploymentParameters) MarshalJSON() ([]byte, error)

func (*SystemsV1SystemDeploymentParameters) UnmarshalJSON

func (s *SystemsV1SystemDeploymentParameters) UnmarshalJSON(data []byte) error

type SystemsV1SystemsDeleteResponse

type SystemsV1SystemsDeleteResponse struct {
	RequestID *string `json:"request_id,omitempty"`
}

func (*SystemsV1SystemsDeleteResponse) GetRequestID

func (o *SystemsV1SystemsDeleteResponse) GetRequestID() *string

type SystemsV1SystemsGetResponse

type SystemsV1SystemsGetResponse struct {
	RequestID *string               `json:"request_id,omitempty"`
	Result    SystemsV1SystemConfig `json:"result"`
}

func (*SystemsV1SystemsGetResponse) GetRequestID

func (o *SystemsV1SystemsGetResponse) GetRequestID() *string

func (*SystemsV1SystemsGetResponse) GetResult

type SystemsV1SystemsPostRequest

type SystemsV1SystemsPostRequest struct {
	BundleDownload *SystemsV1BundleDownloadConfig `json:"bundle_download,omitempty"`
	BundleRegistry *SystemsV1BundleRegistryConfig `json:"bundle_registry,omitempty"`
	// only put data in the context bundle
	ContextBundleDataOnly *bool `json:"context_bundle_data_only,omitempty"`
	// list of path prefixes for policies/datasources that go into the second (context) bundle
	ContextBundleRoots []string `json:"context_bundle_roots,omitempty"`
	// location of key attributes and additional columns in the decisions grouped by policy entry point path
	DecisionMappings     map[string]SystemsV1RuleDecisionMappings `json:"decision_mappings,omitempty"`
	DeploymentParameters *SystemsV1SystemDeploymentParameters     `json:"deployment_parameters,omitempty"`
	// description for the system
	Description *string `json:"description,omitempty"`
	// error/warning configuration: one of "all", "errors", "none"
	ErrorSetting    *string                        `json:"error_setting,omitempty"`
	ExternalBundles *SystemsV1ExternalBundleConfig `json:"external_bundles,omitempty"`
	// optional parameter to map Styra DAS system ID to external IDs used by a customer. (mapping can be retrieved with TranslateExternalIds operation)
	ExternalID *string `json:"external_id,omitempty"`
	// when set, stacks that are not linked to this system will be filtered out of its bundles
	FilterStacks *bool `json:"filter_stacks,omitempty"`
	// optional parameter to specify the Kafka topic where the decision logs for this system should be published (ignored if Kafka is not configured for the workspace for decision export)
	KafkaTopic *string `json:"kafka_topic,omitempty"`
	// enable mock OPAs for this system
	MockOpaEnabled *bool `json:"mock_opa_enabled,omitempty"`
	// system name
	Name string `json:"name"`
	// prevents users from modifying policies using Styra UIs
	ReadOnly      *bool                     `default:"false" json:"read_only"`
	SourceControl *GitV1SourceControlConfig `json:"source_control,omitempty"`
	// system type e.g. kubernetes
	Type string `json:"type"`
	// system type parameter values (for template.* types)
	TypeParameters *SystemsV1SystemsPostRequestTypeParameters `json:"type_parameters,omitempty"`
}

func (*SystemsV1SystemsPostRequest) GetBundleDownload

func (*SystemsV1SystemsPostRequest) GetBundleRegistry

func (*SystemsV1SystemsPostRequest) GetContextBundleDataOnly

func (o *SystemsV1SystemsPostRequest) GetContextBundleDataOnly() *bool

func (*SystemsV1SystemsPostRequest) GetContextBundleRoots

func (o *SystemsV1SystemsPostRequest) GetContextBundleRoots() []string

func (*SystemsV1SystemsPostRequest) GetDecisionMappings

func (*SystemsV1SystemsPostRequest) GetDeploymentParameters

func (*SystemsV1SystemsPostRequest) GetDescription

func (o *SystemsV1SystemsPostRequest) GetDescription() *string

func (*SystemsV1SystemsPostRequest) GetErrorSetting

func (o *SystemsV1SystemsPostRequest) GetErrorSetting() *string

func (*SystemsV1SystemsPostRequest) GetExternalBundles

func (*SystemsV1SystemsPostRequest) GetExternalID

func (o *SystemsV1SystemsPostRequest) GetExternalID() *string

func (*SystemsV1SystemsPostRequest) GetFilterStacks

func (o *SystemsV1SystemsPostRequest) GetFilterStacks() *bool

func (*SystemsV1SystemsPostRequest) GetKafkaTopic

func (o *SystemsV1SystemsPostRequest) GetKafkaTopic() *string

func (*SystemsV1SystemsPostRequest) GetMockOpaEnabled

func (o *SystemsV1SystemsPostRequest) GetMockOpaEnabled() *bool

func (*SystemsV1SystemsPostRequest) GetName

func (o *SystemsV1SystemsPostRequest) GetName() string

func (*SystemsV1SystemsPostRequest) GetReadOnly

func (o *SystemsV1SystemsPostRequest) GetReadOnly() *bool

func (*SystemsV1SystemsPostRequest) GetSourceControl

func (*SystemsV1SystemsPostRequest) GetType

func (o *SystemsV1SystemsPostRequest) GetType() string

func (*SystemsV1SystemsPostRequest) GetTypeParameters

func (SystemsV1SystemsPostRequest) MarshalJSON

func (s SystemsV1SystemsPostRequest) MarshalJSON() ([]byte, error)

func (*SystemsV1SystemsPostRequest) UnmarshalJSON

func (s *SystemsV1SystemsPostRequest) UnmarshalJSON(data []byte) error

type SystemsV1SystemsPostRequestTypeParameters

type SystemsV1SystemsPostRequestTypeParameters struct {
}

SystemsV1SystemsPostRequestTypeParameters - system type parameter values (for template.* types)

type SystemsV1SystemsPostResponse

type SystemsV1SystemsPostResponse struct {
	RequestID *string               `json:"request_id,omitempty"`
	Result    SystemsV1SystemConfig `json:"result"`
}

func (*SystemsV1SystemsPostResponse) GetRequestID

func (o *SystemsV1SystemsPostResponse) GetRequestID() *string

func (*SystemsV1SystemsPostResponse) GetResult

type SystemsV1SystemsPutRequest

type SystemsV1SystemsPutRequest struct {
	BundleDownload *SystemsV1BundleDownloadConfig `json:"bundle_download,omitempty"`
	BundleRegistry *SystemsV1BundleRegistryConfig `json:"bundle_registry,omitempty"`
	// only put data in the context bundle
	ContextBundleDataOnly *bool `json:"context_bundle_data_only,omitempty"`
	// list of path prefixes for policies/datasources that go into the second (context) bundle
	ContextBundleRoots []string `json:"context_bundle_roots,omitempty"`
	// location of key attributes and additional columns in the decisions grouped by policy entry point path
	DecisionMappings     map[string]SystemsV1RuleDecisionMappings `json:"decision_mappings,omitempty"`
	DeploymentParameters *SystemsV1SystemDeploymentParameters     `json:"deployment_parameters,omitempty"`
	// description for the system
	Description *string `json:"description,omitempty"`
	// error/warning configuration: one of "all", "errors", "none"
	ErrorSetting    *string                        `json:"error_setting,omitempty"`
	ExternalBundles *SystemsV1ExternalBundleConfig `json:"external_bundles,omitempty"`
	// optional parameter to map Styra DAS system ID to external IDs used by a customer. (mapping can be retrieved with TranslateExternalIds operation)
	ExternalID *string `json:"external_id,omitempty"`
	// when set, stacks that are not linked to this system will be filtered out of its bundles
	FilterStacks *bool `json:"filter_stacks,omitempty"`
	// optional parameter to specify the Kafka topic where the decision logs for this system should be published (ignored if Kafka is not configured for the workspace for decision export)
	KafkaTopic *string `json:"kafka_topic,omitempty"`
	// enable mock OPAs for this system
	MockOpaEnabled *bool `json:"mock_opa_enabled,omitempty"`
	// system name
	Name string `json:"name"`
	// prevents users from modifying policies using Styra UIs
	ReadOnly      *bool                     `default:"false" json:"read_only"`
	SourceControl *GitV1SourceControlConfig `json:"source_control,omitempty"`
	// system type e.g. kubernetes
	Type string `json:"type"`
	// system type parameter values (for template.* types)
	TypeParameters *SystemsV1SystemsPutRequestTypeParameters `json:"type_parameters,omitempty"`
}

func (*SystemsV1SystemsPutRequest) GetBundleDownload

func (*SystemsV1SystemsPutRequest) GetBundleRegistry

func (*SystemsV1SystemsPutRequest) GetContextBundleDataOnly

func (o *SystemsV1SystemsPutRequest) GetContextBundleDataOnly() *bool

func (*SystemsV1SystemsPutRequest) GetContextBundleRoots

func (o *SystemsV1SystemsPutRequest) GetContextBundleRoots() []string

func (*SystemsV1SystemsPutRequest) GetDecisionMappings

func (*SystemsV1SystemsPutRequest) GetDeploymentParameters

func (*SystemsV1SystemsPutRequest) GetDescription

func (o *SystemsV1SystemsPutRequest) GetDescription() *string

func (*SystemsV1SystemsPutRequest) GetErrorSetting

func (o *SystemsV1SystemsPutRequest) GetErrorSetting() *string

func (*SystemsV1SystemsPutRequest) GetExternalBundles

func (*SystemsV1SystemsPutRequest) GetExternalID

func (o *SystemsV1SystemsPutRequest) GetExternalID() *string

func (*SystemsV1SystemsPutRequest) GetFilterStacks

func (o *SystemsV1SystemsPutRequest) GetFilterStacks() *bool

func (*SystemsV1SystemsPutRequest) GetKafkaTopic

func (o *SystemsV1SystemsPutRequest) GetKafkaTopic() *string

func (*SystemsV1SystemsPutRequest) GetMockOpaEnabled

func (o *SystemsV1SystemsPutRequest) GetMockOpaEnabled() *bool

func (*SystemsV1SystemsPutRequest) GetName

func (o *SystemsV1SystemsPutRequest) GetName() string

func (*SystemsV1SystemsPutRequest) GetReadOnly

func (o *SystemsV1SystemsPutRequest) GetReadOnly() *bool

func (*SystemsV1SystemsPutRequest) GetSourceControl

func (*SystemsV1SystemsPutRequest) GetType

func (o *SystemsV1SystemsPutRequest) GetType() string

func (*SystemsV1SystemsPutRequest) GetTypeParameters

func (SystemsV1SystemsPutRequest) MarshalJSON

func (s SystemsV1SystemsPutRequest) MarshalJSON() ([]byte, error)

func (*SystemsV1SystemsPutRequest) UnmarshalJSON

func (s *SystemsV1SystemsPutRequest) UnmarshalJSON(data []byte) error

type SystemsV1SystemsPutRequestTypeParameters

type SystemsV1SystemsPutRequestTypeParameters struct {
}

SystemsV1SystemsPutRequestTypeParameters - system type parameter values (for template.* types)

type SystemsV1SystemsPutResponse

type SystemsV1SystemsPutResponse struct {
	RequestID *string               `json:"request_id,omitempty"`
	Result    SystemsV1SystemConfig `json:"result"`
}

func (*SystemsV1SystemsPutResponse) GetRequestID

func (o *SystemsV1SystemsPutResponse) GetRequestID() *string

func (*SystemsV1SystemsPutResponse) GetResult

type SystemsV1V1RoleBindingConfig

type SystemsV1V1RoleBindingConfig struct {
	// role binding ID
	ID string `json:"id"`
	// role name
	RoleName string `json:"role_name"`
}

func (*SystemsV1V1RoleBindingConfig) GetID

func (*SystemsV1V1RoleBindingConfig) GetRoleName

func (o *SystemsV1V1RoleBindingConfig) GetRoleName() string

type SystemsV1VerificationConfig

type SystemsV1VerificationConfig struct {
	// files in the bundle to exclude during verification
	ExcludeFiles []string `json:"exclude_files,omitempty"`
	// name of the key to use for bundle signature verification
	Keyid *string `json:"keyid,omitempty"`
	// information about necessary public signing keys
	PublicKeys map[string]SystemsV1KeyConfig `json:"public_keys,omitempty"`
	// scope to use for bundle signature verification
	Scope *string `json:"scope,omitempty"`
}

func (*SystemsV1VerificationConfig) GetExcludeFiles

func (o *SystemsV1VerificationConfig) GetExcludeFiles() []string

func (*SystemsV1VerificationConfig) GetKeyid

func (o *SystemsV1VerificationConfig) GetKeyid() *string

func (*SystemsV1VerificationConfig) GetPublicKeys

func (o *SystemsV1VerificationConfig) GetPublicKeys() map[string]SystemsV1KeyConfig

func (*SystemsV1VerificationConfig) GetScope

func (o *SystemsV1VerificationConfig) GetScope() *string

type TokensV1Token

type TokensV1Token struct {
	AllowPathPatterns []string         `json:"allow_path_patterns"`
	Description       string           `json:"description"`
	Expires           *time.Time       `json:"expires,omitempty"`
	ID                string           `json:"id"`
	Metadata          MetaV1ObjectMeta `json:"metadata"`
	Token             *string          `json:"token,omitempty"`
	TTL               string           `json:"ttl"`
	Uses              *int64           `json:"uses,omitempty"`
}

func (*TokensV1Token) GetAllowPathPatterns

func (o *TokensV1Token) GetAllowPathPatterns() []string

func (*TokensV1Token) GetDescription

func (o *TokensV1Token) GetDescription() string

func (*TokensV1Token) GetExpires

func (o *TokensV1Token) GetExpires() *time.Time

func (*TokensV1Token) GetID

func (o *TokensV1Token) GetID() string

func (*TokensV1Token) GetMetadata

func (o *TokensV1Token) GetMetadata() MetaV1ObjectMeta

func (*TokensV1Token) GetTTL

func (o *TokensV1Token) GetTTL() string

func (*TokensV1Token) GetToken

func (o *TokensV1Token) GetToken() *string

func (*TokensV1Token) GetUses

func (o *TokensV1Token) GetUses() *int64

func (TokensV1Token) MarshalJSON

func (t TokensV1Token) MarshalJSON() ([]byte, error)

func (*TokensV1Token) UnmarshalJSON

func (t *TokensV1Token) UnmarshalJSON(data []byte) error

type TypeParameters

type TypeParameters struct {
}

TypeParameters - stack type parameter values (for template.* types)

Source Files

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL