Documentation ¶
Index ¶
- func ClearLog()
- func GetPolicyDocument() []byte
- func Run()
- func RunWithArgs(provider string, setIni bool, profile string, failsOnly bool, ...)
- type ActionCandidate
- type AzureCondition
- type AzureEntry
- type AzureIAMPolicy
- type AzurePath
- type AzurePermission
- type AzurePermissionDetail
- type AzureTemplate
- type AzureTemplateResource
- type Entry
- type GCPAPIListFile
- type GCPAPIListItem
- type GCPAPIMapMethod
- type GCPAPIMapPermission
- type GCPAPIMapService
- type GCPMethodDefinition
- type GCPResourceDefinition
- type GCPServiceDefinition
- type IAMPolicy
- type ServiceDefinition
- type ServiceDefinitionMetadata
- type ServiceHttp
- type ServiceOperation
- type ServiceStructure
- type Statement
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetPolicyDocument ¶
func GetPolicyDocument() []byte
Types ¶
type ActionCandidate ¶
type AzureCondition ¶ added in v1.1.0
type AzureEntry ¶ added in v1.1.0
type AzureIAMPolicy ¶ added in v1.1.0
type AzureIAMPolicy struct { Name string `json:"Name"` IsCustom bool `json:"IsCustom"` Description string `json:"Description"` Actions []string `json:"Actions"` DataActions []string `json:"DataActions"` NotDataActions []string `json:"NotDataActions"` AssignableScopes []string `json:"AssignableScopes"` }
type AzurePath ¶ added in v1.1.0
type AzurePath map[string]AzurePermission
type AzurePermission ¶ added in v1.1.0
type AzurePermission map[string]AzurePermissionDetail
type AzurePermissionDetail ¶ added in v1.1.0
type AzurePermissionDetail struct { Automated bool `json:"automated"` IsDataAction bool `json:"isDataAction"` Condition AzureCondition `json:"condition"` }
type AzureTemplate ¶ added in v1.1.0
type AzureTemplate struct {
Resources []AzureTemplateResource `json:"resources"`
}
type AzureTemplateResource ¶ added in v1.1.0
type Entry ¶
type Entry struct { Region string `json:"Region"` Type string `json:"Type"` Service string `json:"Service"` Method string `json:"Api"` Parameters map[string][]string URIParameters map[string]string FinalHTTPStatusCode int `json:"FinalHttpStatusCode"` AccessKey string `json:"AccessKey"` }
Entry is a single CSM entry
type GCPAPIListFile ¶ added in v1.1.0
type GCPAPIListFile struct {
Items []GCPAPIListItem `json:"items"`
}
type GCPAPIListItem ¶ added in v1.1.0
type GCPAPIMapMethod ¶ added in v1.1.0
type GCPAPIMapMethod struct {
Permissions []GCPAPIMapPermission `json:"permissions"`
}
type GCPAPIMapPermission ¶ added in v1.1.0
type GCPAPIMapPermission struct {
Name string `json:"name"`
}
type GCPAPIMapService ¶ added in v1.1.0
type GCPAPIMapService struct {
Methods map[string]GCPAPIMapMethod `json:"methods"`
}
type GCPMethodDefinition ¶ added in v1.1.0
type GCPResourceDefinition ¶ added in v1.1.0
type GCPResourceDefinition struct { Methods map[string]GCPMethodDefinition `json:"methods"` Resources map[string]GCPResourceDefinition `json:"resources"` }
type GCPServiceDefinition ¶ added in v1.1.0
type GCPServiceDefinition struct { RootURL string `json:"rootUrl"` BasePath string `json:"basePath"` RootDomain string Resources map[string]GCPResourceDefinition `json:"resources"` }
type ServiceDefinition ¶
type ServiceDefinition struct { Version string `json:"version"` Metadata ServiceDefinitionMetadata `json:"metadata"` Operations map[string]ServiceOperation `json:"operations"` Shapes map[string]ServiceStructure `json:"shapes"` }
type ServiceDefinitionMetadata ¶
type ServiceDefinitionMetadata struct { APIVersion string `json:"apiVersion"` EndpointPrefix string `json:"endpointPrefix"` JSONVersion string `json:"jsonVersion"` Protocol string `json:"protocol"` ServiceFullName string `json:"serviceFullName"` ServiceAbbreviation string `json:"serviceAbbreviation"` ServiceID string `json:"serviceId"` SignatureVersion string `json:"signatureVersion"` TargetPrefix string `json:"targetPrefix"` UID string `json:"uid"` }
type ServiceHttp ¶
type ServiceOperation ¶
type ServiceOperation struct { Http ServiceHttp `json:"http"` Input ServiceStructure `json:"input"` Output ServiceStructure `json:"output"` }
type ServiceStructure ¶
type ServiceStructure struct { Required []string `json:"required"` Shape string `json:"shape"` Type string `json:"type"` Member *ServiceStructure `json:"member"` Members map[string]ServiceStructure `json:"members"` LocationName string `json:"locationName"` QueryName string `json:"queryName"` }
Click to show internal directories.
Click to hide internal directories.