cmd

package
v0.1.0-beta Latest Latest
Warning

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

Go to latest
Published: Jan 28, 2021 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// AccountID is a specific account ID used for updating, getting and deleting
	AccountID string

	// PlatformID of the account object being added
	PlatformID string

	// Name name of the account object
	Name string

	// Address of the account
	Address string

	// SecretType of the account
	SecretType string

	// Secret of the account
	Secret string

	// AutomaticManagementEnabled if account will be managed
	AutomaticManagementEnabled bool

	// ManualManagementReason reason account is not being managed
	ManualManagementReason string

	// PlatformProperties for account
	PlatformProperties string

	// Search List of keywords to search for in accounts, separated by a space.
	Search string

	// SearchType Get accounts that either contain or start with the value specified in the Search parameter. Valid values: contains (default) or startswith
	SearchType string

	// Sort Property or properties by which to sort returned accounts, followed by asc (default) or desc to control sort direction. Separate multiple properties with commas, up to a maximum of three properties.
	Sort string

	// Offset of the first account that is returned in the collection of results.
	Offset int

	// Limit Maximum number of returned accounts. If not specified, the default value is 50. The maximum number that can be specified is 1000.
	Limit int

	// Filter Search for accounts filtered by safeName or modificationTime
	Filter string

	// Reason to access account
	Reason string

	// TicketingSystemName name of the ticketing system
	TicketingSystemName string

	// TicketID the ticket ID
	TicketID string

	// Version of the secret/password being retrieved
	Version int

	// ChangeEntireGroup change account group
	ChangeEntireGroup bool
)
View Source
var (
	// AppID is the application identity to filter on
	AppID string
	// Location is the folder location the Application is located in
	Location string
	// AuthType authentication method type
	AuthType string
	// AuthValue authentication method value
	AuthValue string
	// IsFolder used in path/hash authentication
	IsFolder bool
	// AllowInternalScripts allow internal script
	AllowInternalScripts bool
	// Desc app description
	Desc string
	// AccessPermittedFrom application access starting from
	AccessPermittedFrom int
	// AccessPermittedTo application access end at
	AccessPermittedTo int
	// ExpirationDate application expirey date
	ExpirationDate string
	// BusinessOwnerFName first name
	BusinessOwnerFName string
	// BusinessOwnerLName last name
	BusinessOwnerLName string
	// BusinessOwnerEmail email
	BusinessOwnerEmail string
	// BusinessOwnerPhone phone
	BusinessOwnerPhone string
	// Disabled application is disabled
	Disabled string
	// AppAuthnMethodID application authentication method ID
	AppAuthnMethodID string
)
View Source
var (
	// Account conjur account
	Account string

	// PolicyBranch branch policy is being loaded into
	PolicyBranch string

	// PolicyFilePath path to policy file
	PolicyFilePath string

	// VariableID variable ID of a secret
	VariableID string

	// NoNewLine no new line when printing secret
	NoNewLine bool

	// SecretValue variable secret value
	SecretValue string

	// ServiceID used for enabling authenticator
	ServiceID string

	// Kind resource kind variable, policy, user, host, group, etc
	Kind string

	// InspectResources inspect the resources and provide more info per resource
	InspectResources bool
)
View Source
var (
	// Username to logon PAS REST API using
	Username string
	// AuthenticationType to be used to logon PAS REST API
	AuthenticationType string
	// InsecureTLS is a boolean value whether to verify TLS or not
	InsecureTLS bool
	// BaseURL to send PAS REST API logon request to
	BaseURL string
	// NonInteractive logon
	NonInteractive bool
)
View Source
var (
	// SafeName is the name of the safe to create
	SafeName string
	// Description is the description for the safe to create
	Description string
	// OLACEnabled is the boolean value of whether object-level access is enabled
	OLACEnabled bool
	// ManagingCPM is the name of the CPM User that manages accounts in the safe
	ManagingCPM string
	// NumberOfVersionsRetention is the number of password versions to retain for accounts within
	NumberOfVersionsRetention int
	// NumberOfDaysRetention is the number of days to retain older password versions for
	NumberOfDaysRetention int
	// AutoPurgeEnabled is a boolean value as to whether to remove non-compliant accounts automatically
	AutoPurgeEnabled bool
	// SafeLocation is the location the safe will be created in the Secure Digital Vault (default: \\)
	SafeLocation string
	// TargetSafeName is used by the Update Safe endpoint to refer to
	TargetSafeName string
	// UseAccounts use account inside of safe
	UseAccounts bool
	// RetrieveAccounts retrieve accounts inside of safe
	RetrieveAccounts bool
	// ListAccounts list accounts inside of safe
	ListAccounts bool
	// AddAccounts add account inside of safe
	AddAccounts bool
	// UpdateAccountContent update account content inside of safe
	UpdateAccountContent bool
	// UpdateAccountProperties update account properties inside of safe
	UpdateAccountProperties bool
	// InitiateCPMAccountManagementOperations init a cpm account action in safe
	InitiateCPMAccountManagementOperations bool
	// SpecifyNextAccountContent specify next account content in safe
	SpecifyNextAccountContent bool
	// ManageSafe manage this safe
	ManageSafe bool
	// ManageSafeMembers manage members of this safe
	ManageSafeMembers bool
	// BackupSafe backup the safe
	BackupSafe bool
	// ViewAuditLog view audit logs of this safe
	ViewAuditLog bool
	// ViewSafeMembers view member so this safe
	ViewSafeMembers bool
	// AccessWithoutConfirmation access safe without confirmation
	AccessWithoutConfirmation bool
	// CreateFolders create folders in safe
	CreateFolders bool
	// DeleteFolders delete folders in safe
	DeleteFolders bool
	// MoveAccountsAndFolders move accounts and folders
	MoveAccountsAndFolders bool
	// MemberName name of the member being added to a safe
	MemberName string
	//SearchIn search in Vault or Domain
	SearchIn string
	// MembershipExpirationDate when membership will expire
	MembershipExpirationDate string
)
View Source
var Safe string

Safe is the safe name to filter on

View Source
var (
	// UserID is the id of a user
	UserID int
)
View Source
var (
	// Verbose logging
	Verbose bool
)

Functions

func Execute

func Execute()

Execute adds all child commands to the root command and sets flags appropriately. This is called by main.main(). It only needs to happen once to the rootCmd.

func GetCMD

func GetCMD() *cobra.Command

GetCMD returns the root cmd

Types

This section is empty.

Jump to

Keyboard shortcuts

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