models

package
v1.5.0 Latest Latest
Warning

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

Go to latest
Published: Sep 14, 2025 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ArkSecHubAddFilter

type ArkSecHubAddFilter struct {
	StoreID string                 `json:"store_id" mapstructure:"store_id" desc:"Secrets Store Id for Secrets Hub" flag:"store-id" validate:"required"`
	Data    ArkSecHubAddFilterData `json:"data" mapstructure:"data" desc:"Data for the secret store"`
	Type    string                 `` /* 143-byte string literal not displayed */
}

ArkSecHubAddFilter defines the structure for adding a filter in the Secrets Hub.

type ArkSecHubAddFilterData

type ArkSecHubAddFilterData struct {
	SafeName string `json:"safe_name" mapstructure:"safe_name" desc:"The Safe name as defined in PAM" flag:"safe-name" validate:"required"`
}

ArkSecHubAddFilterData defines the data structure for adding a filter in the Secrets Hub.

type ArkSecHubDeleteFilter

type ArkSecHubDeleteFilter struct {
	StoreID  string `json:"store_id" mapstructure:"store_id" desc:"Secrets Store Id for Secrets Hub" flag:"store-id" validate:"required"`
	FilterID string `` /* 131-byte string literal not displayed */
}

ArkSecHubDeleteFilter holds the StoreID and FilterID for the request.

type ArkSecHubFilter

type ArkSecHubFilter struct {
	ID        string              `json:"id" mapstructure:"id" desc:"The unique identifier of the secrets filter."`
	Type      string              `json:"type" mapstructure:"type" desc:"The type of the secrets filter." choices:"PAM_SAFE"`
	Data      ArkSecHubFilterData `json:"data" mapstructure:"data" desc:"Information about the PAM Safe."`
	CreatedAt string              `json:"created_at" mapstructure:"created_at" desc:"The secrets filter creation date."`
	UpdatedAt string              `json:"updated_at" mapstructure:"updated_at" desc:"The secrets filter last update date."`
	CreatedBy string              `json:"created_by" mapstructure:"created_by" desc:"The user who created the secrets filter."`
	UpdatedBy string              `json:"updated_by" mapstructure:"updated_by" desc:"The user who last updated the secrets filter."`
}

ArkSecHubFilter represents a single filter used to retrieve secrets from Ark Secrets Hub.

type ArkSecHubFilterData

type ArkSecHubFilterData struct {
	SafeName string `json:"safe_name" mapstructure:"safe_name" desc:"The Safe name as defined in PAM."`
}

ArkSecHubFilterData represents the data field in the filter.

type ArkSecHubGetFilter

type ArkSecHubGetFilter struct {
	StoreID  string `json:"store_id" mapstructure:"store_id" desc:"Secrets Store Id for Secrets Hub" flag:"store-id" validate:"required"`
	FilterID string `json:"filter_id" mapstructure:"filter_id" desc:"Filter ID for Secrets Hub" flag:"filter-id" validate:"required"`
}

ArkSecHubGetFilter holds the StoreId for the request. Get all the secrets filters related to a secret store source, by the secret store unique identifier.

type ArkSecHubGetFilters

type ArkSecHubGetFilters struct {
	StoreID string `json:"store_id" mapstructure:"store_id" desc:"Secrets Store Id for Secrets Hub" flag:"store-id" validate:"required"`
}

ArkSecHubGetFilters holds the StoreId for the request.

Jump to

Keyboard shortcuts

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