 Documentation
      ¶
      Documentation
      ¶
    
    
  
    
  
    Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetActionsStringFromPolicy ¶
GetActionsStringFromPolicy extract the admin/s3 actions from a given policy and return them in []string format
ie:
{
	"Version": "2012-10-17",
	"Statement": [{
			"Action": [
				"admin:ServerInfo",
				"admin:CreatePolicy",
				"admin:GetUser"
			],
			...
		},
		{
			"Action": [
				"s3:ListenBucketNotification",
				"s3:PutBucketNotification"
			],
			...
		}
	]
}
Will produce an array like: ["admin:ServerInfo", "admin:CreatePolicy", "admin:GetUser", "s3:ListenBucketNotification", "s3:PutBucketNotification"]\
func GetAuthorizedEndpoints ¶
GetAuthorizedEndpoints return a list of allowed endpoint based on a provided *iampolicy.Policy ie: pages the user should have access based on his current privileges
func GetOperatorMode ¶
func GetOperatorMode() bool
GetOperatorMode gets Console Operator mode status set on env variable or default one
Types ¶
type ConfigurationActionSet ¶
type ConfigurationActionSet struct {
	// contains filtered or unexported fields
}
     Click to show internal directories. 
   Click to hide internal directories.