Documentation ¶
Index ¶
- func PossibleValuesForStandardSupportedCloud() []string
- func PossibleValuesForStandardType() []string
- func ValidateScopedSecurityStandardID(input interface{}, key string) (warnings []string, errors []error)
- type CreateOrUpdateOperationResponse
- type DeleteOperationResponse
- type GetOperationResponse
- type ListCompleteResult
- type ListCustomPager
- type ListOperationResponse
- type PartialAssessmentProperties
- type ScopedSecurityStandardId
- type SecurityStandard
- type SecurityStandardOperationPredicate
- type SecurityStandardsClient
- func (c SecurityStandardsClient) CreateOrUpdate(ctx context.Context, id ScopedSecurityStandardId, input SecurityStandard) (result CreateOrUpdateOperationResponse, err error)
- func (c SecurityStandardsClient) Delete(ctx context.Context, id ScopedSecurityStandardId) (result DeleteOperationResponse, err error)
- func (c SecurityStandardsClient) Get(ctx context.Context, id ScopedSecurityStandardId) (result GetOperationResponse, err error)
- func (c SecurityStandardsClient) List(ctx context.Context, id commonids.ScopeId) (result ListOperationResponse, err error)
- func (c SecurityStandardsClient) ListComplete(ctx context.Context, id commonids.ScopeId) (ListCompleteResult, error)
- func (c SecurityStandardsClient) ListCompleteMatchingPredicate(ctx context.Context, id commonids.ScopeId, ...) (result ListCompleteResult, err error)
- type StandardMetadata
- type StandardProperties
- type StandardSupportedCloud
- type StandardType
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForStandardSupportedCloud ¶
func PossibleValuesForStandardSupportedCloud() []string
func PossibleValuesForStandardType ¶
func PossibleValuesForStandardType() []string
func ValidateScopedSecurityStandardID ¶
func ValidateScopedSecurityStandardID(input interface{}, key string) (warnings []string, errors []error)
ValidateScopedSecurityStandardID checks that 'input' can be parsed as a Scoped Security Standard ID
Types ¶
type CreateOrUpdateOperationResponse ¶
type CreateOrUpdateOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *SecurityStandard }
type DeleteOperationResponse ¶
type GetOperationResponse ¶
type GetOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *SecurityStandard }
type ListCompleteResult ¶
type ListCompleteResult struct { LatestHttpResponse *http.Response Items []SecurityStandard }
type ListCustomPager ¶
func (*ListCustomPager) NextPageLink ¶
func (p *ListCustomPager) NextPageLink() *odata.Link
type ListOperationResponse ¶
type ListOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]SecurityStandard }
type PartialAssessmentProperties ¶
type PartialAssessmentProperties struct {
AssessmentKey *string `json:"assessmentKey,omitempty"`
}
type ScopedSecurityStandardId ¶
ScopedSecurityStandardId is a struct representing the Resource ID for a Scoped Security Standard
func NewScopedSecurityStandardID ¶
func NewScopedSecurityStandardID(scope string, standardId string) ScopedSecurityStandardId
NewScopedSecurityStandardID returns a new ScopedSecurityStandardId struct
func ParseScopedSecurityStandardID ¶
func ParseScopedSecurityStandardID(input string) (*ScopedSecurityStandardId, error)
ParseScopedSecurityStandardID parses 'input' into a ScopedSecurityStandardId
func ParseScopedSecurityStandardIDInsensitively ¶
func ParseScopedSecurityStandardIDInsensitively(input string) (*ScopedSecurityStandardId, error)
ParseScopedSecurityStandardIDInsensitively parses 'input' case-insensitively into a ScopedSecurityStandardId note: this method should only be used for API response data and not user input
func (*ScopedSecurityStandardId) FromParseResult ¶
func (id *ScopedSecurityStandardId) FromParseResult(input resourceids.ParseResult) error
func (ScopedSecurityStandardId) ID ¶
func (id ScopedSecurityStandardId) ID() string
ID returns the formatted Scoped Security Standard ID
func (ScopedSecurityStandardId) Segments ¶
func (id ScopedSecurityStandardId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Scoped Security Standard ID
func (ScopedSecurityStandardId) String ¶
func (id ScopedSecurityStandardId) String() string
String returns a human-readable description of this Scoped Security Standard ID
type SecurityStandard ¶
type SecurityStandard struct { Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Properties *StandardProperties `json:"properties,omitempty"` Type *string `json:"type,omitempty"` }
type SecurityStandardOperationPredicate ¶
func (SecurityStandardOperationPredicate) Matches ¶
func (p SecurityStandardOperationPredicate) Matches(input SecurityStandard) bool
type SecurityStandardsClient ¶
type SecurityStandardsClient struct {
Client *resourcemanager.Client
}
func NewSecurityStandardsClientWithBaseURI ¶
func NewSecurityStandardsClientWithBaseURI(sdkApi sdkEnv.Api) (*SecurityStandardsClient, error)
func (SecurityStandardsClient) CreateOrUpdate ¶
func (c SecurityStandardsClient) CreateOrUpdate(ctx context.Context, id ScopedSecurityStandardId, input SecurityStandard) (result CreateOrUpdateOperationResponse, err error)
CreateOrUpdate ...
func (SecurityStandardsClient) Delete ¶
func (c SecurityStandardsClient) Delete(ctx context.Context, id ScopedSecurityStandardId) (result DeleteOperationResponse, err error)
Delete ...
func (SecurityStandardsClient) Get ¶
func (c SecurityStandardsClient) Get(ctx context.Context, id ScopedSecurityStandardId) (result GetOperationResponse, err error)
Get ...
func (SecurityStandardsClient) List ¶
func (c SecurityStandardsClient) List(ctx context.Context, id commonids.ScopeId) (result ListOperationResponse, err error)
List ...
func (SecurityStandardsClient) ListComplete ¶
func (c SecurityStandardsClient) ListComplete(ctx context.Context, id commonids.ScopeId) (ListCompleteResult, error)
ListComplete retrieves all the results into a single object
func (SecurityStandardsClient) ListCompleteMatchingPredicate ¶
func (c SecurityStandardsClient) ListCompleteMatchingPredicate(ctx context.Context, id commonids.ScopeId, predicate SecurityStandardOperationPredicate) (result ListCompleteResult, err error)
ListCompleteMatchingPredicate retrieves all the results and then applies the predicate
type StandardMetadata ¶
type StandardMetadata struct { CreatedBy *string `json:"createdBy,omitempty"` CreatedOn *string `json:"createdOn,omitempty"` LastUpdatedBy *string `json:"lastUpdatedBy,omitempty"` LastUpdatedOn *string `json:"lastUpdatedOn,omitempty"` }
func (*StandardMetadata) GetCreatedOnAsTime ¶
func (o *StandardMetadata) GetCreatedOnAsTime() (*time.Time, error)
func (*StandardMetadata) GetLastUpdatedOnAsTime ¶
func (o *StandardMetadata) GetLastUpdatedOnAsTime() (*time.Time, error)
func (*StandardMetadata) SetCreatedOnAsTime ¶
func (o *StandardMetadata) SetCreatedOnAsTime(input time.Time)
func (*StandardMetadata) SetLastUpdatedOnAsTime ¶
func (o *StandardMetadata) SetLastUpdatedOnAsTime(input time.Time)
type StandardProperties ¶
type StandardProperties struct { Assessments *[]PartialAssessmentProperties `json:"assessments,omitempty"` CloudProviders *[]StandardSupportedCloud `json:"cloudProviders,omitempty"` Description *string `json:"description,omitempty"` DisplayName *string `json:"displayName,omitempty"` Metadata *StandardMetadata `json:"metadata,omitempty"` PolicySetDefinitionId *string `json:"policySetDefinitionId,omitempty"` StandardType *StandardType `json:"standardType,omitempty"` }
type StandardSupportedCloud ¶
type StandardSupportedCloud string
const ( StandardSupportedCloudAWS StandardSupportedCloud = "AWS" StandardSupportedCloudAzure StandardSupportedCloud = "Azure" StandardSupportedCloudGCP StandardSupportedCloud = "GCP" )
func (*StandardSupportedCloud) UnmarshalJSON ¶
func (s *StandardSupportedCloud) UnmarshalJSON(bytes []byte) error
type StandardType ¶
type StandardType string
const ( StandardTypeCompliance StandardType = "Compliance" StandardTypeCustom StandardType = "Custom" StandardTypeDefault StandardType = "Default" )
func (*StandardType) UnmarshalJSON ¶
func (s *StandardType) UnmarshalJSON(bytes []byte) error