Documentation ¶
Overview ¶
Package botman provides access to the Akamai Application Security Botman APIs
Index ¶
- Variables
- type AkamaiBotCategory
- type AkamaiBotCategoryAction
- type AkamaiDefinedBot
- type BotAnalyticsCookie
- type BotAnalyticsCookieValues
- type BotCategoryException
- type BotDetection
- type BotDetectionAction
- type BotEndpointCoverageReport
- type BotMan
- type BotManagementSetting
- type ChallengeAction
- type ChallengeInterceptionRules
- type ClientFunc
- type ClientSideSecurity
- type ConditionalAction
- type CreateChallengeActionRequest
- type CreateConditionalActionRequest
- type CreateCustomBotCategoryRequest
- type CreateCustomClientRequest
- type CreateCustomDefinedBotRequest
- type CreateCustomDenyActionRequest
- type CreateRecategorizedAkamaiDefinedBotRequest
- type CreateServeAlternateActionRequest
- type CreateTransactionalEndpointRequest
- type CustomBotCategory
- type CustomBotCategoryAction
- type CustomBotCategorySequence
- type CustomBotCategorySequenceResponse
- type CustomClient
- type CustomDefinedBot
- type CustomDenyAction
- type Error
- type GetAkamaiBotCategoryActionListRequest
- type GetAkamaiBotCategoryActionListResponse
- type GetAkamaiBotCategoryActionRequest
- type GetAkamaiBotCategoryListRequest
- type GetAkamaiBotCategoryListResponse
- type GetAkamaiDefinedBotListRequest
- type GetAkamaiDefinedBotListResponse
- type GetBotAnalyticsCookieRequest
- type GetBotCategoryExceptionRequest
- type GetBotDetectionActionListRequest
- type GetBotDetectionActionListResponse
- type GetBotDetectionActionRequest
- type GetBotDetectionListRequest
- type GetBotDetectionListResponse
- type GetBotEndpointCoverageReportRequest
- type GetBotEndpointCoverageReportResponse
- type GetBotManagementSettingRequest
- type GetChallengeActionListRequest
- type GetChallengeActionListResponse
- type GetChallengeActionRequest
- type GetChallengeInterceptionRulesRequest
- type GetClientSideSecurityRequest
- type GetConditionalActionListRequest
- type GetConditionalActionListResponse
- type GetConditionalActionRequest
- type GetCustomBotCategoryActionListRequest
- type GetCustomBotCategoryActionListResponse
- type GetCustomBotCategoryActionRequest
- type GetCustomBotCategoryListRequest
- type GetCustomBotCategoryListResponse
- type GetCustomBotCategoryRequest
- type GetCustomBotCategorySequenceRequest
- type GetCustomClientListRequest
- type GetCustomClientListResponse
- type GetCustomClientRequest
- type GetCustomDefinedBotListRequest
- type GetCustomDefinedBotListResponse
- type GetCustomDefinedBotRequest
- type GetCustomDenyActionListRequest
- type GetCustomDenyActionListResponse
- type GetCustomDenyActionRequest
- type GetJavascriptInjectionRequest
- type GetRecategorizedAkamaiDefinedBotListRequest
- type GetRecategorizedAkamaiDefinedBotListResponse
- type GetRecategorizedAkamaiDefinedBotRequest
- type GetResponseActionListRequest
- type GetResponseActionListResponse
- type GetServeAlternateActionListRequest
- type GetServeAlternateActionListResponse
- type GetServeAlternateActionRequest
- type GetTransactionalEndpointListRequest
- type GetTransactionalEndpointListResponse
- type GetTransactionalEndpointProtectionRequest
- type GetTransactionalEndpointRequest
- type JavascriptInjection
- type Mock
- func (p *Mock) CreateChallengeAction(ctx context.Context, params CreateChallengeActionRequest) (map[string]interface{}, error)
- func (p *Mock) CreateConditionalAction(ctx context.Context, params CreateConditionalActionRequest) (map[string]interface{}, error)
- func (p *Mock) CreateCustomBotCategory(ctx context.Context, params CreateCustomBotCategoryRequest) (map[string]interface{}, error)
- func (p *Mock) CreateCustomClient(ctx context.Context, params CreateCustomClientRequest) (map[string]interface{}, error)
- func (p *Mock) CreateCustomDefinedBot(ctx context.Context, params CreateCustomDefinedBotRequest) (map[string]interface{}, error)
- func (p *Mock) CreateCustomDenyAction(ctx context.Context, params CreateCustomDenyActionRequest) (map[string]interface{}, error)
- func (p *Mock) CreateRecategorizedAkamaiDefinedBot(ctx context.Context, params CreateRecategorizedAkamaiDefinedBotRequest) (*RecategorizedAkamaiDefinedBotResponse, error)
- func (p *Mock) CreateServeAlternateAction(ctx context.Context, params CreateServeAlternateActionRequest) (map[string]interface{}, error)
- func (p *Mock) CreateTransactionalEndpoint(ctx context.Context, params CreateTransactionalEndpointRequest) (map[string]interface{}, error)
- func (p *Mock) GetAkamaiBotCategoryAction(ctx context.Context, params GetAkamaiBotCategoryActionRequest) (map[string]interface{}, error)
- func (p *Mock) GetAkamaiBotCategoryActionList(ctx context.Context, params GetAkamaiBotCategoryActionListRequest) (*GetAkamaiBotCategoryActionListResponse, error)
- func (p *Mock) GetAkamaiBotCategoryList(ctx context.Context, params GetAkamaiBotCategoryListRequest) (*GetAkamaiBotCategoryListResponse, error)
- func (p *Mock) GetAkamaiDefinedBotList(ctx context.Context, params GetAkamaiDefinedBotListRequest) (*GetAkamaiDefinedBotListResponse, error)
- func (p *Mock) GetBotAnalyticsCookie(ctx context.Context, params GetBotAnalyticsCookieRequest) (map[string]interface{}, error)
- func (p *Mock) GetBotAnalyticsCookieValues(ctx context.Context) (map[string]interface{}, error)
- func (p *Mock) GetBotCategoryException(ctx context.Context, params GetBotCategoryExceptionRequest) (map[string]interface{}, error)
- func (p *Mock) GetBotDetectionAction(ctx context.Context, params GetBotDetectionActionRequest) (map[string]interface{}, error)
- func (p *Mock) GetBotDetectionActionList(ctx context.Context, params GetBotDetectionActionListRequest) (*GetBotDetectionActionListResponse, error)
- func (p *Mock) GetBotDetectionList(ctx context.Context, params GetBotDetectionListRequest) (*GetBotDetectionListResponse, error)
- func (p *Mock) GetBotEndpointCoverageReport(ctx context.Context, params GetBotEndpointCoverageReportRequest) (*GetBotEndpointCoverageReportResponse, error)
- func (p *Mock) GetBotManagementSetting(ctx context.Context, params GetBotManagementSettingRequest) (map[string]interface{}, error)
- func (p *Mock) GetChallengeAction(ctx context.Context, params GetChallengeActionRequest) (map[string]interface{}, error)
- func (p *Mock) GetChallengeActionList(ctx context.Context, params GetChallengeActionListRequest) (*GetChallengeActionListResponse, error)
- func (p *Mock) GetChallengeInterceptionRules(ctx context.Context, params GetChallengeInterceptionRulesRequest) (map[string]interface{}, error)
- func (p *Mock) GetClientSideSecurity(ctx context.Context, params GetClientSideSecurityRequest) (map[string]interface{}, error)
- func (p *Mock) GetConditionalAction(ctx context.Context, params GetConditionalActionRequest) (map[string]interface{}, error)
- func (p *Mock) GetConditionalActionList(ctx context.Context, params GetConditionalActionListRequest) (*GetConditionalActionListResponse, error)
- func (p *Mock) GetCustomBotCategory(ctx context.Context, params GetCustomBotCategoryRequest) (map[string]interface{}, error)
- func (p *Mock) GetCustomBotCategoryAction(ctx context.Context, params GetCustomBotCategoryActionRequest) (map[string]interface{}, error)
- func (p *Mock) GetCustomBotCategoryActionList(ctx context.Context, params GetCustomBotCategoryActionListRequest) (*GetCustomBotCategoryActionListResponse, error)
- func (p *Mock) GetCustomBotCategoryList(ctx context.Context, params GetCustomBotCategoryListRequest) (*GetCustomBotCategoryListResponse, error)
- func (p *Mock) GetCustomBotCategorySequence(ctx context.Context, params GetCustomBotCategorySequenceRequest) (*CustomBotCategorySequenceResponse, error)
- func (p *Mock) GetCustomClient(ctx context.Context, params GetCustomClientRequest) (map[string]interface{}, error)
- func (p *Mock) GetCustomClientList(ctx context.Context, params GetCustomClientListRequest) (*GetCustomClientListResponse, error)
- func (p *Mock) GetCustomDefinedBot(ctx context.Context, params GetCustomDefinedBotRequest) (map[string]interface{}, error)
- func (p *Mock) GetCustomDefinedBotList(ctx context.Context, params GetCustomDefinedBotListRequest) (*GetCustomDefinedBotListResponse, error)
- func (p *Mock) GetCustomDenyAction(ctx context.Context, params GetCustomDenyActionRequest) (map[string]interface{}, error)
- func (p *Mock) GetCustomDenyActionList(ctx context.Context, params GetCustomDenyActionListRequest) (*GetCustomDenyActionListResponse, error)
- func (p *Mock) GetJavascriptInjection(ctx context.Context, params GetJavascriptInjectionRequest) (map[string]interface{}, error)
- func (p *Mock) GetRecategorizedAkamaiDefinedBot(ctx context.Context, params GetRecategorizedAkamaiDefinedBotRequest) (*RecategorizedAkamaiDefinedBotResponse, error)
- func (p *Mock) GetRecategorizedAkamaiDefinedBotList(ctx context.Context, params GetRecategorizedAkamaiDefinedBotListRequest) (*GetRecategorizedAkamaiDefinedBotListResponse, error)
- func (p *Mock) GetResponseActionList(ctx context.Context, params GetResponseActionListRequest) (*GetResponseActionListResponse, error)
- func (p *Mock) GetServeAlternateAction(ctx context.Context, params GetServeAlternateActionRequest) (map[string]interface{}, error)
- func (p *Mock) GetServeAlternateActionList(ctx context.Context, params GetServeAlternateActionListRequest) (*GetServeAlternateActionListResponse, error)
- func (p *Mock) GetTransactionalEndpoint(ctx context.Context, params GetTransactionalEndpointRequest) (map[string]interface{}, error)
- func (p *Mock) GetTransactionalEndpointList(ctx context.Context, params GetTransactionalEndpointListRequest) (*GetTransactionalEndpointListResponse, error)
- func (p *Mock) GetTransactionalEndpointProtection(ctx context.Context, params GetTransactionalEndpointProtectionRequest) (map[string]interface{}, error)
- func (p *Mock) RemoveChallengeAction(ctx context.Context, params RemoveChallengeActionRequest) error
- func (p *Mock) RemoveConditionalAction(ctx context.Context, params RemoveConditionalActionRequest) error
- func (p *Mock) RemoveCustomBotCategory(ctx context.Context, params RemoveCustomBotCategoryRequest) error
- func (p *Mock) RemoveCustomClient(ctx context.Context, params RemoveCustomClientRequest) error
- func (p *Mock) RemoveCustomDefinedBot(ctx context.Context, params RemoveCustomDefinedBotRequest) error
- func (p *Mock) RemoveCustomDenyAction(ctx context.Context, params RemoveCustomDenyActionRequest) error
- func (p *Mock) RemoveRecategorizedAkamaiDefinedBot(ctx context.Context, params RemoveRecategorizedAkamaiDefinedBotRequest) error
- func (p *Mock) RemoveServeAlternateAction(ctx context.Context, params RemoveServeAlternateActionRequest) error
- func (p *Mock) RemoveTransactionalEndpoint(ctx context.Context, params RemoveTransactionalEndpointRequest) error
- func (p *Mock) UpdateAkamaiBotCategoryAction(ctx context.Context, params UpdateAkamaiBotCategoryActionRequest) (map[string]interface{}, error)
- func (p *Mock) UpdateBotAnalyticsCookie(ctx context.Context, params UpdateBotAnalyticsCookieRequest) (map[string]interface{}, error)
- func (p *Mock) UpdateBotCategoryException(ctx context.Context, params UpdateBotCategoryExceptionRequest) (map[string]interface{}, error)
- func (p *Mock) UpdateBotDetectionAction(ctx context.Context, params UpdateBotDetectionActionRequest) (map[string]interface{}, error)
- func (p *Mock) UpdateBotManagementSetting(ctx context.Context, params UpdateBotManagementSettingRequest) (map[string]interface{}, error)
- func (p *Mock) UpdateChallengeAction(ctx context.Context, params UpdateChallengeActionRequest) (map[string]interface{}, error)
- func (p *Mock) UpdateChallengeInterceptionRules(ctx context.Context, params UpdateChallengeInterceptionRulesRequest) (map[string]interface{}, error)
- func (p *Mock) UpdateClientSideSecurity(ctx context.Context, params UpdateClientSideSecurityRequest) (map[string]interface{}, error)
- func (p *Mock) UpdateConditionalAction(ctx context.Context, params UpdateConditionalActionRequest) (map[string]interface{}, error)
- func (p *Mock) UpdateCustomBotCategory(ctx context.Context, params UpdateCustomBotCategoryRequest) (map[string]interface{}, error)
- func (p *Mock) UpdateCustomBotCategoryAction(ctx context.Context, params UpdateCustomBotCategoryActionRequest) (map[string]interface{}, error)
- func (p *Mock) UpdateCustomBotCategorySequence(ctx context.Context, params UpdateCustomBotCategorySequenceRequest) (*CustomBotCategorySequenceResponse, error)
- func (p *Mock) UpdateCustomClient(ctx context.Context, params UpdateCustomClientRequest) (map[string]interface{}, error)
- func (p *Mock) UpdateCustomDefinedBot(ctx context.Context, params UpdateCustomDefinedBotRequest) (map[string]interface{}, error)
- func (p *Mock) UpdateCustomDenyAction(ctx context.Context, params UpdateCustomDenyActionRequest) (map[string]interface{}, error)
- func (p *Mock) UpdateGoogleReCaptchaSecretKey(ctx context.Context, params UpdateGoogleReCaptchaSecretKeyRequest) error
- func (p *Mock) UpdateJavascriptInjection(ctx context.Context, params UpdateJavascriptInjectionRequest) (map[string]interface{}, error)
- func (p *Mock) UpdateRecategorizedAkamaiDefinedBot(ctx context.Context, params UpdateRecategorizedAkamaiDefinedBotRequest) (*RecategorizedAkamaiDefinedBotResponse, error)
- func (p *Mock) UpdateServeAlternateAction(ctx context.Context, params UpdateServeAlternateActionRequest) (map[string]interface{}, error)
- func (p *Mock) UpdateTransactionalEndpoint(ctx context.Context, params UpdateTransactionalEndpointRequest) (map[string]interface{}, error)
- func (p *Mock) UpdateTransactionalEndpointProtection(ctx context.Context, params UpdateTransactionalEndpointProtectionRequest) (map[string]interface{}, error)
- type Option
- type RecategorizedAkamaiDefinedBot
- type RecategorizedAkamaiDefinedBotResponse
- type RemoveChallengeActionRequest
- type RemoveConditionalActionRequest
- type RemoveCustomBotCategoryRequest
- type RemoveCustomClientRequest
- type RemoveCustomDefinedBotRequest
- type RemoveCustomDenyActionRequest
- type RemoveRecategorizedAkamaiDefinedBotRequest
- type RemoveServeAlternateActionRequest
- type RemoveTransactionalEndpointRequest
- type ResponseAction
- type ServeAlternateAction
- type TransactionalEndpoint
- type TransactionalEndpointProtection
- type UpdateAkamaiBotCategoryActionRequest
- type UpdateBotAnalyticsCookieRequest
- type UpdateBotCategoryExceptionRequest
- type UpdateBotDetectionActionRequest
- type UpdateBotManagementSettingRequest
- type UpdateChallengeActionRequest
- type UpdateChallengeInterceptionRulesRequest
- type UpdateClientSideSecurityRequest
- type UpdateConditionalActionRequest
- type UpdateCustomBotCategoryActionRequest
- type UpdateCustomBotCategoryRequest
- type UpdateCustomBotCategorySequenceRequest
- type UpdateCustomClientRequest
- type UpdateCustomDefinedBotRequest
- type UpdateCustomDenyActionRequest
- type UpdateGoogleReCaptchaSecretKeyRequest
- type UpdateJavascriptInjectionRequest
- type UpdateRecategorizedAkamaiDefinedBotRequest
- type UpdateServeAlternateActionRequest
- type UpdateTransactionalEndpointProtectionRequest
- type UpdateTransactionalEndpointRequest
Constants ¶
This section is empty.
Variables ¶
var ( // ErrStructValidation is returned when given struct validation failed ErrStructValidation = errors.New("struct validation") )
Functions ¶
This section is empty.
Types ¶
type AkamaiBotCategory ¶
type AkamaiBotCategory interface { // GetAkamaiBotCategoryList https://techdocs.akamai.com/bot-manager/reference/get-akamai-bot-categories GetAkamaiBotCategoryList(ctx context.Context, params GetAkamaiBotCategoryListRequest) (*GetAkamaiBotCategoryListResponse, error) }
The AkamaiBotCategory interface supports retrieving akamai bot categories
type AkamaiBotCategoryAction ¶
type AkamaiBotCategoryAction interface { // GetAkamaiBotCategoryActionList https://techdocs.akamai.com/bot-manager/reference/get-akamai-bot-category-actions GetAkamaiBotCategoryActionList(ctx context.Context, params GetAkamaiBotCategoryActionListRequest) (*GetAkamaiBotCategoryActionListResponse, error) // GetAkamaiBotCategoryAction https://techdocs.akamai.com/bot-manager/reference/get-akamai-bot-category-action GetAkamaiBotCategoryAction(ctx context.Context, params GetAkamaiBotCategoryActionRequest) (map[string]interface{}, error) // UpdateAkamaiBotCategoryAction https://techdocs.akamai.com/bot-manager/reference/put-akamai-bot-category-action UpdateAkamaiBotCategoryAction(ctx context.Context, params UpdateAkamaiBotCategoryActionRequest) (map[string]interface{}, error) }
The AkamaiBotCategoryAction interface supports retrieving and updating the actions for the akamai bot categories of a configuration
type AkamaiDefinedBot ¶
type AkamaiDefinedBot interface { // GetAkamaiDefinedBotList https://techdocs.akamai.com/bot-manager/reference/get-akamai-defined-bots GetAkamaiDefinedBotList(ctx context.Context, params GetAkamaiDefinedBotListRequest) (*GetAkamaiDefinedBotListResponse, error) }
The AkamaiDefinedBot interface supports retrieving akamai defined bots
type BotAnalyticsCookie ¶
type BotAnalyticsCookie interface { // GetBotAnalyticsCookie https://techdocs.akamai.com/bot-manager/reference/get-bot-analytics-cookie GetBotAnalyticsCookie(ctx context.Context, params GetBotAnalyticsCookieRequest) (map[string]interface{}, error) // UpdateBotAnalyticsCookie https://techdocs.akamai.com/bot-manager/reference/put-bot-analytics-cookie UpdateBotAnalyticsCookie(ctx context.Context, params UpdateBotAnalyticsCookieRequest) (map[string]interface{}, error) }
The BotAnalyticsCookie interface supports retrieving and updating bot analytics cookie settings
type BotAnalyticsCookieValues ¶
type BotAnalyticsCookieValues interface { // GetBotAnalyticsCookieValues https://techdocs.akamai.com/bot-manager/reference/get-akamai-defined-bots GetBotAnalyticsCookieValues(ctx context.Context) (map[string]interface{}, error) }
The BotAnalyticsCookieValues interface supports retrieving bot analytics cookie values for an account
type BotCategoryException ¶
type BotCategoryException interface { // GetBotCategoryException https://techdocs.akamai.com/bot-manager/reference/get-bot-category-exception GetBotCategoryException(ctx context.Context, params GetBotCategoryExceptionRequest) (map[string]interface{}, error) // UpdateBotCategoryException https://techdocs.akamai.com/bot-manager/reference/put-bot-category-exception UpdateBotCategoryException(ctx context.Context, params UpdateBotCategoryExceptionRequest) (map[string]interface{}, error) }
The BotCategoryException interface supports retrieving bot category exceptions
type BotDetection ¶
type BotDetection interface { // GetBotDetectionList todo: add link GetBotDetectionList(ctx context.Context, params GetBotDetectionListRequest) (*GetBotDetectionListResponse, error) }
The BotDetection interface supports retrieving bot detections
type BotDetectionAction ¶
type BotDetectionAction interface { // GetBotDetectionActionList todo: add link GetBotDetectionActionList(ctx context.Context, params GetBotDetectionActionListRequest) (*GetBotDetectionActionListResponse, error) // GetBotDetectionAction todo: add link GetBotDetectionAction(ctx context.Context, params GetBotDetectionActionRequest) (map[string]interface{}, error) // UpdateBotDetectionAction todo: add link UpdateBotDetectionAction(ctx context.Context, params UpdateBotDetectionActionRequest) (map[string]interface{}, error) }
The BotDetectionAction interface supports retrieving and updating the actions for bot detections of a configuration.
type BotEndpointCoverageReport ¶
type BotEndpointCoverageReport interface { // GetBotEndpointCoverageReport https://techdocs.akamai.com/bot-manager/reference/get-bot-endpoint-coverage-report GetBotEndpointCoverageReport(ctx context.Context, params GetBotEndpointCoverageReportRequest) (*GetBotEndpointCoverageReportResponse, error) }
The BotEndpointCoverageReport interface supports retrieving bot endpoint coverage report for an account or a specific configuration
type BotMan ¶
type BotMan interface { AkamaiBotCategory AkamaiBotCategoryAction AkamaiDefinedBot BotAnalyticsCookie BotAnalyticsCookieValues BotCategoryException BotDetection BotDetectionAction BotEndpointCoverageReport BotManagementSetting ChallengeAction ChallengeInterceptionRules ClientSideSecurity ConditionalAction CustomBotCategory CustomBotCategoryAction CustomBotCategorySequence CustomClient CustomDefinedBot CustomDenyAction JavascriptInjection RecategorizedAkamaiDefinedBot ResponseAction ServeAlternateAction TransactionalEndpoint TransactionalEndpointProtection }
BotMan is the botman api interface
type BotManagementSetting ¶
type BotManagementSetting interface { // GetBotManagementSetting todo: add link GetBotManagementSetting(ctx context.Context, params GetBotManagementSettingRequest) (map[string]interface{}, error) // UpdateBotManagementSetting todo: add link UpdateBotManagementSetting(ctx context.Context, params UpdateBotManagementSettingRequest) (map[string]interface{}, error) }
The BotManagementSetting interface supports retrieving and updating bot management settings
type ChallengeAction ¶
type ChallengeAction interface { // GetChallengeActionList https://techdocs.akamai.com/bot-manager/reference/get-challenge-actions GetChallengeActionList(ctx context.Context, params GetChallengeActionListRequest) (*GetChallengeActionListResponse, error) // GetChallengeAction https://techdocs.akamai.com/bot-manager/reference/get-challenge-action GetChallengeAction(ctx context.Context, params GetChallengeActionRequest) (map[string]interface{}, error) // CreateChallengeAction https://techdocs.akamai.com/bot-manager/reference/post-challenge-action CreateChallengeAction(ctx context.Context, params CreateChallengeActionRequest) (map[string]interface{}, error) // UpdateChallengeAction https://techdocs.akamai.com/bot-manager/reference/put-challenge-action UpdateChallengeAction(ctx context.Context, params UpdateChallengeActionRequest) (map[string]interface{}, error) // RemoveChallengeAction https://techdocs.akamai.com/bot-manager/reference/delete-challenge-action RemoveChallengeAction(ctx context.Context, params RemoveChallengeActionRequest) error // UpdateGoogleReCaptchaSecretKey https://techdocs.akamai.com/bot-manager/reference/put-google-recaptch-secret-key UpdateGoogleReCaptchaSecretKey(ctx context.Context, params UpdateGoogleReCaptchaSecretKeyRequest) error }
The ChallengeAction interface supports creating, retrieving, modifying and removing challenge action as well as updating google recaptcha secret key for challenge action for a configuration.
type ChallengeInterceptionRules ¶
type ChallengeInterceptionRules interface { // GetChallengeInterceptionRules https://techdocs.akamai.com/bot-manager/reference/get-challenge-interception-rules GetChallengeInterceptionRules(ctx context.Context, params GetChallengeInterceptionRulesRequest) (map[string]interface{}, error) // UpdateChallengeInterceptionRules https://techdocs.akamai.com/bot-manager/reference/put-challenge-interception-rules UpdateChallengeInterceptionRules(ctx context.Context, params UpdateChallengeInterceptionRulesRequest) (map[string]interface{}, error) }
The ChallengeInterceptionRules interface supports retrieving and updating the challenge interception rules for a configuration
type ClientFunc ¶
ClientFunc is a botman client new method, this can be used for mocking
type ClientSideSecurity ¶
type ClientSideSecurity interface { // GetClientSideSecurity https://techdocs.akamai.com/bot-manager/reference/get-client-side-security GetClientSideSecurity(ctx context.Context, params GetClientSideSecurityRequest) (map[string]interface{}, error) // UpdateClientSideSecurity https://techdocs.akamai.com/bot-manager/reference/put-client-side-security UpdateClientSideSecurity(ctx context.Context, params UpdateClientSideSecurityRequest) (map[string]interface{}, error) }
The ClientSideSecurity interface supports retrieving and updating client side security settings
type ConditionalAction ¶
type ConditionalAction interface { // GetConditionalActionList https://techdocs.akamai.com/bot-manager/reference/get-conditional-actions GetConditionalActionList(ctx context.Context, params GetConditionalActionListRequest) (*GetConditionalActionListResponse, error) // GetConditionalAction https://techdocs.akamai.com/bot-manager/reference/get-conditional-action GetConditionalAction(ctx context.Context, params GetConditionalActionRequest) (map[string]interface{}, error) // CreateConditionalAction https://techdocs.akamai.com/bot-manager/reference/post-conditional-action CreateConditionalAction(ctx context.Context, params CreateConditionalActionRequest) (map[string]interface{}, error) // UpdateConditionalAction https://techdocs.akamai.com/bot-manager/reference/put-conditional-action UpdateConditionalAction(ctx context.Context, params UpdateConditionalActionRequest) (map[string]interface{}, error) // RemoveConditionalAction https://techdocs.akamai.com/bot-manager/reference/delete-conditional-action RemoveConditionalAction(ctx context.Context, params RemoveConditionalActionRequest) error }
The ConditionalAction interface supports creating, retrieving, modifying and removing conditional action for a configuration.
type CreateChallengeActionRequest ¶
type CreateChallengeActionRequest struct { ConfigID int64 Version int64 JsonPayload json.RawMessage }
CreateChallengeActionRequest is used to create a new challenge action for a specific configuration.
func (CreateChallengeActionRequest) Validate ¶
func (v CreateChallengeActionRequest) Validate() error
Validate validates a CreateChallengeActionRequest.
type CreateConditionalActionRequest ¶
type CreateConditionalActionRequest struct { ConfigID int64 Version int64 JsonPayload json.RawMessage }
CreateConditionalActionRequest is used to create a new conditional action for a specific configuration.
func (CreateConditionalActionRequest) Validate ¶
func (v CreateConditionalActionRequest) Validate() error
Validate validates a CreateConditionalActionRequest.
type CreateCustomBotCategoryRequest ¶
type CreateCustomBotCategoryRequest struct { ConfigID int64 Version int64 JsonPayload json.RawMessage }
CreateCustomBotCategoryRequest is used to create a new custom bot category for a specific configuration.
func (CreateCustomBotCategoryRequest) Validate ¶
func (v CreateCustomBotCategoryRequest) Validate() error
Validate validates a CreateCustomBotCategoryRequest.
type CreateCustomClientRequest ¶
type CreateCustomClientRequest struct { ConfigID int64 Version int64 JsonPayload json.RawMessage }
CreateCustomClientRequest is used to create a new custom client for a specific configuration.
func (CreateCustomClientRequest) Validate ¶
func (v CreateCustomClientRequest) Validate() error
Validate validates a CreateCustomClientRequest.
type CreateCustomDefinedBotRequest ¶
type CreateCustomDefinedBotRequest struct { ConfigID int64 Version int64 JsonPayload json.RawMessage }
CreateCustomDefinedBotRequest is used to create a new custom defined bot for a specific configuration.
func (CreateCustomDefinedBotRequest) Validate ¶
func (v CreateCustomDefinedBotRequest) Validate() error
Validate validates a CreateCustomDefinedBotRequest.
type CreateCustomDenyActionRequest ¶
type CreateCustomDenyActionRequest struct { ConfigID int64 Version int64 JsonPayload json.RawMessage }
CreateCustomDenyActionRequest is used to create a new custom deny action for a specific configuration.
func (CreateCustomDenyActionRequest) Validate ¶
func (v CreateCustomDenyActionRequest) Validate() error
Validate validates a CreateCustomDenyActionRequest.
type CreateRecategorizedAkamaiDefinedBotRequest ¶
type CreateRecategorizedAkamaiDefinedBotRequest struct { ConfigID int64 `json:"-"` Version int64 `json:"-"` BotID string `json:"botId"` CategoryID string `json:"customBotCategoryId"` }
CreateRecategorizedAkamaiDefinedBotRequest is used to create a new recategorized akamai defined bot for a specific configuration.
func (CreateRecategorizedAkamaiDefinedBotRequest) Validate ¶
func (v CreateRecategorizedAkamaiDefinedBotRequest) Validate() error
Validate validates a CreateRecategorizedAkamaiDefinedBotRequest.
type CreateServeAlternateActionRequest ¶
type CreateServeAlternateActionRequest struct { ConfigID int64 Version int64 JsonPayload json.RawMessage }
CreateServeAlternateActionRequest is used to create a new serve alternate action for a specific configuration.
func (CreateServeAlternateActionRequest) Validate ¶
func (v CreateServeAlternateActionRequest) Validate() error
Validate validates a CreateServeAlternateActionRequest.
type CreateTransactionalEndpointRequest ¶
type CreateTransactionalEndpointRequest struct { ConfigID int64 Version int64 SecurityPolicyID string JsonPayload json.RawMessage }
CreateTransactionalEndpointRequest is used to create a new transactional endpoint for a specific configuration.
func (CreateTransactionalEndpointRequest) Validate ¶
func (v CreateTransactionalEndpointRequest) Validate() error
Validate validates a CreateTransactionalEndpointRequest.
type CustomBotCategory ¶
type CustomBotCategory interface { // GetCustomBotCategoryList https://techdocs.akamai.com/bot-manager/reference/get-custom-bot-categories GetCustomBotCategoryList(ctx context.Context, params GetCustomBotCategoryListRequest) (*GetCustomBotCategoryListResponse, error) // GetCustomBotCategory https://techdocs.akamai.com/bot-manager/reference/get-custom-bot-category GetCustomBotCategory(ctx context.Context, params GetCustomBotCategoryRequest) (map[string]interface{}, error) // CreateCustomBotCategory https://techdocs.akamai.com/bot-manager/reference/post-custom-bot-category CreateCustomBotCategory(ctx context.Context, params CreateCustomBotCategoryRequest) (map[string]interface{}, error) // UpdateCustomBotCategory https://techdocs.akamai.com/bot-manager/reference/put-custom-bot-category UpdateCustomBotCategory(ctx context.Context, params UpdateCustomBotCategoryRequest) (map[string]interface{}, error) // RemoveCustomBotCategory https://techdocs.akamai.com/bot-manager/reference/delete-custom-bot-category RemoveCustomBotCategory(ctx context.Context, params RemoveCustomBotCategoryRequest) error }
The CustomBotCategory interface supports creating, retrieving, modifying and removing custom bot categories for a configuration.
type CustomBotCategoryAction ¶
type CustomBotCategoryAction interface { // GetCustomBotCategoryActionList https://techdocs.akamai.com/bot-manager/reference/get-custom-bot-category-actions GetCustomBotCategoryActionList(ctx context.Context, params GetCustomBotCategoryActionListRequest) (*GetCustomBotCategoryActionListResponse, error) // GetCustomBotCategoryAction https://techdocs.akamai.com/bot-manager/reference/get-custom-bot-category-action GetCustomBotCategoryAction(ctx context.Context, params GetCustomBotCategoryActionRequest) (map[string]interface{}, error) // UpdateCustomBotCategoryAction https://techdocs.akamai.com/bot-manager/reference/put-custom-bot-category-action UpdateCustomBotCategoryAction(ctx context.Context, params UpdateCustomBotCategoryActionRequest) (map[string]interface{}, error) }
The CustomBotCategoryAction interface supports retrieving and updating the actions for the custom bot categories of a configuration
type CustomBotCategorySequence ¶
type CustomBotCategorySequence interface { // GetCustomBotCategorySequence https://techdocs.akamai.com/bot-manager/reference/get-custom-bot-category-sequence GetCustomBotCategorySequence(ctx context.Context, params GetCustomBotCategorySequenceRequest) (*CustomBotCategorySequenceResponse, error) // UpdateCustomBotCategorySequence https://techdocs.akamai.com/bot-manager/reference/put-custom-bot-category-sequence UpdateCustomBotCategorySequence(ctx context.Context, params UpdateCustomBotCategorySequenceRequest) (*CustomBotCategorySequenceResponse, error) }
The CustomBotCategorySequence interface supports retrieving and updating custom bot category sequence
type CustomBotCategorySequenceResponse ¶
type CustomBotCategorySequenceResponse struct {
Sequence []string `json:"sequence"`
}
CustomBotCategorySequenceResponse is used to retrieve custom bot category sequence
type CustomClient ¶
type CustomClient interface { // GetCustomClientList https://techdocs.akamai.com/bot-manager/reference/get-custom-clients GetCustomClientList(ctx context.Context, params GetCustomClientListRequest) (*GetCustomClientListResponse, error) // GetCustomClient https://techdocs.akamai.com/bot-manager/reference/get-custom-client GetCustomClient(ctx context.Context, params GetCustomClientRequest) (map[string]interface{}, error) // CreateCustomClient https://techdocs.akamai.com/bot-manager/reference/post-custom-clients CreateCustomClient(ctx context.Context, params CreateCustomClientRequest) (map[string]interface{}, error) // UpdateCustomClient https://techdocs.akamai.com/bot-manager/reference/put-custom-clients UpdateCustomClient(ctx context.Context, params UpdateCustomClientRequest) (map[string]interface{}, error) // RemoveCustomClient https://techdocs.akamai.com/bot-manager/reference/delete-custom-clients RemoveCustomClient(ctx context.Context, params RemoveCustomClientRequest) error }
The CustomClient interface supports creating, retrieving, modifying and removing custom clients for a configuration.
type CustomDefinedBot ¶
type CustomDefinedBot interface { // GetCustomDefinedBotList https://techdocs.akamai.com/bot-manager/reference/get-custom-defined-bots GetCustomDefinedBotList(ctx context.Context, params GetCustomDefinedBotListRequest) (*GetCustomDefinedBotListResponse, error) // GetCustomDefinedBot https://techdocs.akamai.com/bot-manager/reference/get-custom-defined-bot GetCustomDefinedBot(ctx context.Context, params GetCustomDefinedBotRequest) (map[string]interface{}, error) // CreateCustomDefinedBot https://techdocs.akamai.com/bot-manager/reference/post-custom-defined-bot CreateCustomDefinedBot(ctx context.Context, params CreateCustomDefinedBotRequest) (map[string]interface{}, error) // UpdateCustomDefinedBot https://techdocs.akamai.com/bot-manager/reference/put-custom-defined-bot UpdateCustomDefinedBot(ctx context.Context, params UpdateCustomDefinedBotRequest) (map[string]interface{}, error) // RemoveCustomDefinedBot https://techdocs.akamai.com/bot-manager/reference/delete-custom-defined-bot RemoveCustomDefinedBot(ctx context.Context, params RemoveCustomDefinedBotRequest) error }
The CustomDefinedBot interface supports creating, retrieving, modifying and removing custom defined bots for a configuration.
type CustomDenyAction ¶
type CustomDenyAction interface { // GetCustomDenyActionList https://techdocs.akamai.com/bot-manager/reference/get-custom-deny-actions GetCustomDenyActionList(ctx context.Context, params GetCustomDenyActionListRequest) (*GetCustomDenyActionListResponse, error) // GetCustomDenyAction https://techdocs.akamai.com/bot-manager/reference/get-custom-deny-action GetCustomDenyAction(ctx context.Context, params GetCustomDenyActionRequest) (map[string]interface{}, error) // CreateCustomDenyAction https://techdocs.akamai.com/bot-manager/reference/post-custom-deny-action CreateCustomDenyAction(ctx context.Context, params CreateCustomDenyActionRequest) (map[string]interface{}, error) // UpdateCustomDenyAction https://techdocs.akamai.com/bot-manager/reference/put-custom-deny-action UpdateCustomDenyAction(ctx context.Context, params UpdateCustomDenyActionRequest) (map[string]interface{}, error) // RemoveCustomDenyAction https://techdocs.akamai.com/bot-manager/reference/delete-custom-deny-action RemoveCustomDenyAction(ctx context.Context, params RemoveCustomDenyActionRequest) error }
The CustomDenyAction interface supports creating, retrieving, modifying and removing custom deny action for a configuration.
type Error ¶
type Error struct { Type string `json:"type"` Title string `json:"title"` Detail string `json:"detail"` Errors []Error `json:"errors,omitempty"` StatusCode int `json:"status,omitempty"` }
Error is a botman error interface.
type GetAkamaiBotCategoryActionListRequest ¶
type GetAkamaiBotCategoryActionListRequest struct { ConfigID int64 Version int64 SecurityPolicyID string CategoryID string }
GetAkamaiBotCategoryActionListRequest is used to retrieve the akamai bot category actions for a policy.
func (GetAkamaiBotCategoryActionListRequest) Validate ¶
func (v GetAkamaiBotCategoryActionListRequest) Validate() error
Validate validates a GetAkamaiBotCategoryActionListRequest.
type GetAkamaiBotCategoryActionListResponse ¶
type GetAkamaiBotCategoryActionListResponse struct {
Actions []map[string]interface{} `json:"actions"`
}
GetAkamaiBotCategoryActionListResponse is returned from a call to GetAkamaiBotCategoryActionList.
type GetAkamaiBotCategoryActionRequest ¶
type GetAkamaiBotCategoryActionRequest struct { ConfigID int64 Version int64 SecurityPolicyID string CategoryID string }
GetAkamaiBotCategoryActionRequest is used to retrieve the action for an akamai bot category.
func (GetAkamaiBotCategoryActionRequest) Validate ¶
func (v GetAkamaiBotCategoryActionRequest) Validate() error
Validate validates a GetAkamaiBotCategoryActionRequest.
type GetAkamaiBotCategoryListRequest ¶
type GetAkamaiBotCategoryListRequest struct {
CategoryName string
}
GetAkamaiBotCategoryListRequest is used to retrieve the akamai bot category actions for a policy.
type GetAkamaiBotCategoryListResponse ¶
type GetAkamaiBotCategoryListResponse struct {
Categories []map[string]interface{} `json:"categories"`
}
GetAkamaiBotCategoryListResponse is returned from a call to GetAkamaiBotCategoryList.
type GetAkamaiDefinedBotListRequest ¶
type GetAkamaiDefinedBotListRequest struct {
BotName string
}
GetAkamaiDefinedBotListRequest is used to retrieve the akamai bot category actions for a policy.
type GetAkamaiDefinedBotListResponse ¶
type GetAkamaiDefinedBotListResponse struct {
Bots []map[string]interface{} `json:"bots"`
}
GetAkamaiDefinedBotListResponse is returned from a call to GetAkamaiDefinedBotList.
type GetBotAnalyticsCookieRequest ¶
GetBotAnalyticsCookieRequest is used to retrieve the bot analytics cookie settings
func (GetBotAnalyticsCookieRequest) Validate ¶
func (v GetBotAnalyticsCookieRequest) Validate() error
Validate validates a GetBotAnalyticsCookieRequest.
type GetBotCategoryExceptionRequest ¶
GetBotCategoryExceptionRequest is used to retrieve bot category exceptions
func (GetBotCategoryExceptionRequest) Validate ¶
func (v GetBotCategoryExceptionRequest) Validate() error
Validate validates a GetBotCategoryExceptionRequest.
type GetBotDetectionActionListRequest ¶
type GetBotDetectionActionListRequest struct { ConfigID int64 Version int64 SecurityPolicyID string DetectionID string }
GetBotDetectionActionListRequest is used to retrieve the bot detection actions for a configuration.
func (GetBotDetectionActionListRequest) Validate ¶
func (v GetBotDetectionActionListRequest) Validate() error
Validate validates a GetBotDetectionActionListRequest.
type GetBotDetectionActionListResponse ¶
type GetBotDetectionActionListResponse struct {
Actions []map[string]interface{} `json:"actions"`
}
GetBotDetectionActionListResponse is used to retrieve the bot detection actions for a configuration.
type GetBotDetectionActionRequest ¶
type GetBotDetectionActionRequest struct { ConfigID int64 Version int64 SecurityPolicyID string DetectionID string }
GetBotDetectionActionRequest is used to retrieve the action for a bot detection.
func (GetBotDetectionActionRequest) Validate ¶
func (v GetBotDetectionActionRequest) Validate() error
Validate validates a GetBotDetectionActionRequest.
type GetBotDetectionListRequest ¶
type GetBotDetectionListRequest struct {
DetectionName string
}
GetBotDetectionListRequest is used to retrieve the akamai bot category actions for a policy.
type GetBotDetectionListResponse ¶
type GetBotDetectionListResponse struct {
Detections []map[string]interface{} `json:"detections"`
}
GetBotDetectionListResponse is returned from a call to GetBotDetectionList.
type GetBotEndpointCoverageReportRequest ¶
GetBotEndpointCoverageReportRequest is used to retrieve the akamai bot category actions for a policy.
func (GetBotEndpointCoverageReportRequest) Validate ¶
func (v GetBotEndpointCoverageReportRequest) Validate() error
Validate validates GetBotEndpointCoverageReportRequest
type GetBotEndpointCoverageReportResponse ¶
type GetBotEndpointCoverageReportResponse struct {
Operations []map[string]interface{} `json:"operations"`
}
GetBotEndpointCoverageReportResponse is returned from a call to GetBotEndpointCoverageReport.
type GetBotManagementSettingRequest ¶
GetBotManagementSettingRequest is used to retrieve the bot management settings
func (GetBotManagementSettingRequest) Validate ¶
func (v GetBotManagementSettingRequest) Validate() error
Validate validates a GetBotManagementSettingRequest.
type GetChallengeActionListRequest ¶
GetChallengeActionListRequest is used to retrieve challenge actions for a configuration.
func (GetChallengeActionListRequest) Validate ¶
func (v GetChallengeActionListRequest) Validate() error
Validate validates a GetChallengeActionListRequest.
type GetChallengeActionListResponse ¶
type GetChallengeActionListResponse struct {
ChallengeActions []map[string]interface{} `json:"challengeActions"`
}
GetChallengeActionListResponse is used to retrieve challenge actions for a configuration.
type GetChallengeActionRequest ¶
GetChallengeActionRequest is used to retrieve a specific challenge action
func (GetChallengeActionRequest) Validate ¶
func (v GetChallengeActionRequest) Validate() error
Validate validates a GetChallengeActionRequest.
type GetChallengeInterceptionRulesRequest ¶
GetChallengeInterceptionRulesRequest is used to retrieve challenge interception rules
func (GetChallengeInterceptionRulesRequest) Validate ¶
func (v GetChallengeInterceptionRulesRequest) Validate() error
Validate validates a GetChallengeInterceptionRulesRequest.
type GetClientSideSecurityRequest ¶
type GetClientSideSecurityRequest struct { ConfigID int64 `json:"configId"` Version int64 `json:"version"` }
GetClientSideSecurityRequest is used to retrieve client side security settings
func (GetClientSideSecurityRequest) Validate ¶
func (v GetClientSideSecurityRequest) Validate() error
Validate validates a GetClientSideSecurityRequest.
type GetConditionalActionListRequest ¶
GetConditionalActionListRequest is used to retrieve conditional actions for a configuration.
func (GetConditionalActionListRequest) Validate ¶
func (v GetConditionalActionListRequest) Validate() error
Validate validates a GetConditionalActionListRequest.
type GetConditionalActionListResponse ¶
type GetConditionalActionListResponse struct {
ConditionalActions []map[string]interface{} `json:"conditionalActions"`
}
GetConditionalActionListResponse is used to retrieve conditional actions for a configuration.
type GetConditionalActionRequest ¶
GetConditionalActionRequest is used to retrieve a specific conditional action
func (GetConditionalActionRequest) Validate ¶
func (v GetConditionalActionRequest) Validate() error
Validate validates a GetConditionalActionRequest.
type GetCustomBotCategoryActionListRequest ¶
type GetCustomBotCategoryActionListRequest struct { ConfigID int64 Version int64 SecurityPolicyID string CategoryID string }
GetCustomBotCategoryActionListRequest is used to retrieve the custom bot category actions for a policy.
func (GetCustomBotCategoryActionListRequest) Validate ¶
func (v GetCustomBotCategoryActionListRequest) Validate() error
Validate validates a GetCustomBotCategoryActionListRequest.
type GetCustomBotCategoryActionListResponse ¶
type GetCustomBotCategoryActionListResponse struct {
Actions []map[string]interface{} `json:"actions"`
}
GetCustomBotCategoryActionListResponse is returned from a call to GetCustomBotCategoryActionList.
type GetCustomBotCategoryActionRequest ¶
type GetCustomBotCategoryActionRequest struct { ConfigID int64 Version int64 SecurityPolicyID string CategoryID string }
GetCustomBotCategoryActionRequest is used to retrieve the action for a custom bot category
func (GetCustomBotCategoryActionRequest) Validate ¶
func (v GetCustomBotCategoryActionRequest) Validate() error
Validate validates a GetCustomBotCategoryActionRequest.
type GetCustomBotCategoryListRequest ¶
GetCustomBotCategoryListRequest is used to retrieve custom bot categories for a configuration.
func (GetCustomBotCategoryListRequest) Validate ¶
func (v GetCustomBotCategoryListRequest) Validate() error
Validate validates a GetCustomBotCategoryListRequest.
type GetCustomBotCategoryListResponse ¶
type GetCustomBotCategoryListResponse struct {
Categories []map[string]interface{} `json:"categories"`
}
GetCustomBotCategoryListResponse is used to retrieve custom bot categories for a configuration.
type GetCustomBotCategoryRequest ¶
GetCustomBotCategoryRequest is used to retrieve a specific custom bot category
func (GetCustomBotCategoryRequest) Validate ¶
func (v GetCustomBotCategoryRequest) Validate() error
Validate validates a GetCustomBotCategoryRequest.
type GetCustomBotCategorySequenceRequest ¶
GetCustomBotCategorySequenceRequest is used to retrieve custom bot category sequence
func (GetCustomBotCategorySequenceRequest) Validate ¶
func (v GetCustomBotCategorySequenceRequest) Validate() error
Validate validates a GetCustomBotCategorySequenceRequest.
type GetCustomClientListRequest ¶
GetCustomClientListRequest is used to retrieve the custom clients for a configuration.
func (GetCustomClientListRequest) Validate ¶
func (v GetCustomClientListRequest) Validate() error
Validate validates a GetCustomClientsRequest.
type GetCustomClientListResponse ¶
type GetCustomClientListResponse struct {
CustomClients []map[string]interface{} `json:"customClients"`
}
GetCustomClientListResponse is used to retrieve the custom clients for a configuration.
type GetCustomClientRequest ¶
GetCustomClientRequest is used to retrieve a specific custom client.
func (GetCustomClientRequest) Validate ¶
func (v GetCustomClientRequest) Validate() error
Validate validates a GetCustomClientRequest.
type GetCustomDefinedBotListRequest ¶
GetCustomDefinedBotListRequest is used to retrieve the custom defined bots for a configuration.
func (GetCustomDefinedBotListRequest) Validate ¶
func (v GetCustomDefinedBotListRequest) Validate() error
Validate validates a GetCustomDefinedBotsRequest.
type GetCustomDefinedBotListResponse ¶
type GetCustomDefinedBotListResponse struct {
Bots []map[string]interface{} `json:"bots"`
}
GetCustomDefinedBotListResponse is used to retrieve the custom defined bots for a configuration.
type GetCustomDefinedBotRequest ¶
GetCustomDefinedBotRequest is used to retrieve a specific custom defined bot.
func (GetCustomDefinedBotRequest) Validate ¶
func (v GetCustomDefinedBotRequest) Validate() error
Validate validates a GetCustomDefinedBotRequest.
type GetCustomDenyActionListRequest ¶
GetCustomDenyActionListRequest is used to retrieve custom deny actions for a configuration.
func (GetCustomDenyActionListRequest) Validate ¶
func (v GetCustomDenyActionListRequest) Validate() error
Validate validates a GetCustomDenyActionListRequest.
type GetCustomDenyActionListResponse ¶
type GetCustomDenyActionListResponse struct {
CustomDenyActions []map[string]interface{} `json:"customDenyActions"`
}
GetCustomDenyActionListResponse is used to retrieve custom deny actions for a configuration.
type GetCustomDenyActionRequest ¶
GetCustomDenyActionRequest is used to retrieve a specific custom deny action
func (GetCustomDenyActionRequest) Validate ¶
func (v GetCustomDenyActionRequest) Validate() error
Validate validates a GetCustomDenyActionRequest.
type GetJavascriptInjectionRequest ¶
GetJavascriptInjectionRequest is used to retrieve javascript injection settings
func (GetJavascriptInjectionRequest) Validate ¶
func (v GetJavascriptInjectionRequest) Validate() error
Validate validates a GetJavascriptInjectionRequest.
type GetRecategorizedAkamaiDefinedBotListRequest ¶
type GetRecategorizedAkamaiDefinedBotListRequest struct { ConfigID int64 Version int64 BotID string }
GetRecategorizedAkamaiDefinedBotListRequest is used to retrieve the recategorized akamai defined bots for a configuration.
func (GetRecategorizedAkamaiDefinedBotListRequest) Validate ¶
func (v GetRecategorizedAkamaiDefinedBotListRequest) Validate() error
Validate validates a GetRecategorizedAkamaiDefinedBotsRequest.
type GetRecategorizedAkamaiDefinedBotListResponse ¶
type GetRecategorizedAkamaiDefinedBotListResponse struct {
Bots []RecategorizedAkamaiDefinedBotResponse `json:"recategorizedBots"`
}
GetRecategorizedAkamaiDefinedBotListResponse is used to retrieve the recategorized akamai defined bots for a configuration.
type GetRecategorizedAkamaiDefinedBotRequest ¶
GetRecategorizedAkamaiDefinedBotRequest is used to retrieve a specific recategorized akamai defined bot
func (GetRecategorizedAkamaiDefinedBotRequest) Validate ¶
func (v GetRecategorizedAkamaiDefinedBotRequest) Validate() error
Validate validates a GetRecategorizedAkamaiDefinedBotRequest.
type GetResponseActionListRequest ¶
GetResponseActionListRequest is used to retrieve the akamai bot category actions for a policy.
func (GetResponseActionListRequest) Validate ¶
func (v GetResponseActionListRequest) Validate() error
Validate validates a GetAkamaiBotCategoryActionListRequest.
type GetResponseActionListResponse ¶
type GetResponseActionListResponse struct {
ResponseActions []map[string]interface{} `json:"responseActions"`
}
GetResponseActionListResponse is returned from a call to GetResponseActionList.
type GetServeAlternateActionListRequest ¶
GetServeAlternateActionListRequest is used to retrieve serve alternate actions for a configuration.
func (GetServeAlternateActionListRequest) Validate ¶
func (v GetServeAlternateActionListRequest) Validate() error
Validate validates a GetServeAlternateActionListRequest.
type GetServeAlternateActionListResponse ¶
type GetServeAlternateActionListResponse struct {
ServeAlternateActions []map[string]interface{} `json:"serveAlternateActions"`
}
GetServeAlternateActionListResponse is used to retrieve serve alternate actions for a configuration.
type GetServeAlternateActionRequest ¶
GetServeAlternateActionRequest is used to retrieve a specific serve alternate action
func (GetServeAlternateActionRequest) Validate ¶
func (v GetServeAlternateActionRequest) Validate() error
Validate validates a GetServeAlternateActionRequest.
type GetTransactionalEndpointListRequest ¶
type GetTransactionalEndpointListRequest struct { ConfigID int64 Version int64 SecurityPolicyID string OperationID string }
GetTransactionalEndpointListRequest is used to retrieve the transactional endpoint for a configuration.
func (GetTransactionalEndpointListRequest) Validate ¶
func (v GetTransactionalEndpointListRequest) Validate() error
Validate validates a GetTransactionalEndpointListRequest.
type GetTransactionalEndpointListResponse ¶
type GetTransactionalEndpointListResponse struct {
Operations []map[string]interface{} `json:"operations"`
}
GetTransactionalEndpointListResponse is used to retrieve the transactional endpoints for a configuration.
type GetTransactionalEndpointProtectionRequest ¶
GetTransactionalEndpointProtectionRequest is used to retrieve transactional endpoint protection settings
func (GetTransactionalEndpointProtectionRequest) Validate ¶
func (v GetTransactionalEndpointProtectionRequest) Validate() error
Validate validates a GetTransactionalEndpointProtectionRequest.
type GetTransactionalEndpointRequest ¶
type GetTransactionalEndpointRequest struct { ConfigID int64 Version int64 SecurityPolicyID string OperationID string }
GetTransactionalEndpointRequest is used to retrieve a specific transactional endpoint.
func (GetTransactionalEndpointRequest) Validate ¶
func (v GetTransactionalEndpointRequest) Validate() error
Validate validates a GetTransactionalEndpointRequest.
type JavascriptInjection ¶
type JavascriptInjection interface { // GetJavascriptInjection https://techdocs.akamai.com/bot-manager/reference/get-javascript-injection GetJavascriptInjection(ctx context.Context, params GetJavascriptInjectionRequest) (map[string]interface{}, error) // UpdateJavascriptInjection https://techdocs.akamai.com/bot-manager/reference/put-javascript-injection UpdateJavascriptInjection(ctx context.Context, params UpdateJavascriptInjectionRequest) (map[string]interface{}, error) }
The JavascriptInjection interface supports retrieving and updating the javascript injection settings for a configuration
type Mock ¶
func (*Mock) CreateChallengeAction ¶
func (*Mock) CreateConditionalAction ¶
func (*Mock) CreateCustomBotCategory ¶
func (*Mock) CreateCustomClient ¶
func (*Mock) CreateCustomDefinedBot ¶
func (*Mock) CreateCustomDenyAction ¶
func (*Mock) CreateRecategorizedAkamaiDefinedBot ¶
func (p *Mock) CreateRecategorizedAkamaiDefinedBot(ctx context.Context, params CreateRecategorizedAkamaiDefinedBotRequest) (*RecategorizedAkamaiDefinedBotResponse, error)
func (*Mock) CreateServeAlternateAction ¶
func (*Mock) CreateTransactionalEndpoint ¶
func (*Mock) GetAkamaiBotCategoryAction ¶
func (*Mock) GetAkamaiBotCategoryActionList ¶
func (p *Mock) GetAkamaiBotCategoryActionList(ctx context.Context, params GetAkamaiBotCategoryActionListRequest) (*GetAkamaiBotCategoryActionListResponse, error)
func (*Mock) GetAkamaiBotCategoryList ¶
func (p *Mock) GetAkamaiBotCategoryList(ctx context.Context, params GetAkamaiBotCategoryListRequest) (*GetAkamaiBotCategoryListResponse, error)
func (*Mock) GetAkamaiDefinedBotList ¶
func (p *Mock) GetAkamaiDefinedBotList(ctx context.Context, params GetAkamaiDefinedBotListRequest) (*GetAkamaiDefinedBotListResponse, error)
func (*Mock) GetBotAnalyticsCookie ¶
func (*Mock) GetBotAnalyticsCookieValues ¶
func (*Mock) GetBotCategoryException ¶
func (*Mock) GetBotDetectionAction ¶
func (*Mock) GetBotDetectionActionList ¶
func (p *Mock) GetBotDetectionActionList(ctx context.Context, params GetBotDetectionActionListRequest) (*GetBotDetectionActionListResponse, error)
func (*Mock) GetBotDetectionList ¶
func (p *Mock) GetBotDetectionList(ctx context.Context, params GetBotDetectionListRequest) (*GetBotDetectionListResponse, error)
func (*Mock) GetBotEndpointCoverageReport ¶
func (p *Mock) GetBotEndpointCoverageReport(ctx context.Context, params GetBotEndpointCoverageReportRequest) (*GetBotEndpointCoverageReportResponse, error)
func (*Mock) GetBotManagementSetting ¶
func (*Mock) GetChallengeAction ¶
func (*Mock) GetChallengeActionList ¶
func (p *Mock) GetChallengeActionList(ctx context.Context, params GetChallengeActionListRequest) (*GetChallengeActionListResponse, error)
func (*Mock) GetChallengeInterceptionRules ¶
func (*Mock) GetClientSideSecurity ¶
func (*Mock) GetConditionalAction ¶
func (*Mock) GetConditionalActionList ¶
func (p *Mock) GetConditionalActionList(ctx context.Context, params GetConditionalActionListRequest) (*GetConditionalActionListResponse, error)
func (*Mock) GetCustomBotCategory ¶
func (*Mock) GetCustomBotCategoryAction ¶
func (*Mock) GetCustomBotCategoryActionList ¶
func (p *Mock) GetCustomBotCategoryActionList(ctx context.Context, params GetCustomBotCategoryActionListRequest) (*GetCustomBotCategoryActionListResponse, error)
func (*Mock) GetCustomBotCategoryList ¶
func (p *Mock) GetCustomBotCategoryList(ctx context.Context, params GetCustomBotCategoryListRequest) (*GetCustomBotCategoryListResponse, error)
func (*Mock) GetCustomBotCategorySequence ¶
func (p *Mock) GetCustomBotCategorySequence(ctx context.Context, params GetCustomBotCategorySequenceRequest) (*CustomBotCategorySequenceResponse, error)
func (*Mock) GetCustomClient ¶
func (*Mock) GetCustomClientList ¶
func (p *Mock) GetCustomClientList(ctx context.Context, params GetCustomClientListRequest) (*GetCustomClientListResponse, error)
func (*Mock) GetCustomDefinedBot ¶
func (*Mock) GetCustomDefinedBotList ¶
func (p *Mock) GetCustomDefinedBotList(ctx context.Context, params GetCustomDefinedBotListRequest) (*GetCustomDefinedBotListResponse, error)
func (*Mock) GetCustomDenyAction ¶
func (*Mock) GetCustomDenyActionList ¶
func (p *Mock) GetCustomDenyActionList(ctx context.Context, params GetCustomDenyActionListRequest) (*GetCustomDenyActionListResponse, error)
func (*Mock) GetJavascriptInjection ¶
func (*Mock) GetRecategorizedAkamaiDefinedBot ¶
func (p *Mock) GetRecategorizedAkamaiDefinedBot(ctx context.Context, params GetRecategorizedAkamaiDefinedBotRequest) (*RecategorizedAkamaiDefinedBotResponse, error)
func (*Mock) GetRecategorizedAkamaiDefinedBotList ¶
func (p *Mock) GetRecategorizedAkamaiDefinedBotList(ctx context.Context, params GetRecategorizedAkamaiDefinedBotListRequest) (*GetRecategorizedAkamaiDefinedBotListResponse, error)
func (*Mock) GetResponseActionList ¶
func (p *Mock) GetResponseActionList(ctx context.Context, params GetResponseActionListRequest) (*GetResponseActionListResponse, error)
func (*Mock) GetServeAlternateAction ¶
func (*Mock) GetServeAlternateActionList ¶
func (p *Mock) GetServeAlternateActionList(ctx context.Context, params GetServeAlternateActionListRequest) (*GetServeAlternateActionListResponse, error)
func (*Mock) GetTransactionalEndpoint ¶
func (*Mock) GetTransactionalEndpointList ¶
func (p *Mock) GetTransactionalEndpointList(ctx context.Context, params GetTransactionalEndpointListRequest) (*GetTransactionalEndpointListResponse, error)
func (*Mock) GetTransactionalEndpointProtection ¶
func (*Mock) RemoveChallengeAction ¶
func (p *Mock) RemoveChallengeAction(ctx context.Context, params RemoveChallengeActionRequest) error
func (*Mock) RemoveConditionalAction ¶
func (p *Mock) RemoveConditionalAction(ctx context.Context, params RemoveConditionalActionRequest) error
func (*Mock) RemoveCustomBotCategory ¶
func (p *Mock) RemoveCustomBotCategory(ctx context.Context, params RemoveCustomBotCategoryRequest) error
func (*Mock) RemoveCustomClient ¶
func (p *Mock) RemoveCustomClient(ctx context.Context, params RemoveCustomClientRequest) error
func (*Mock) RemoveCustomDefinedBot ¶
func (p *Mock) RemoveCustomDefinedBot(ctx context.Context, params RemoveCustomDefinedBotRequest) error
func (*Mock) RemoveCustomDenyAction ¶
func (p *Mock) RemoveCustomDenyAction(ctx context.Context, params RemoveCustomDenyActionRequest) error
func (*Mock) RemoveRecategorizedAkamaiDefinedBot ¶
func (p *Mock) RemoveRecategorizedAkamaiDefinedBot(ctx context.Context, params RemoveRecategorizedAkamaiDefinedBotRequest) error
func (*Mock) RemoveServeAlternateAction ¶
func (p *Mock) RemoveServeAlternateAction(ctx context.Context, params RemoveServeAlternateActionRequest) error
func (*Mock) RemoveTransactionalEndpoint ¶
func (p *Mock) RemoveTransactionalEndpoint(ctx context.Context, params RemoveTransactionalEndpointRequest) error
func (*Mock) UpdateAkamaiBotCategoryAction ¶
func (*Mock) UpdateBotAnalyticsCookie ¶
func (*Mock) UpdateBotCategoryException ¶
func (*Mock) UpdateBotDetectionAction ¶
func (*Mock) UpdateBotManagementSetting ¶
func (*Mock) UpdateChallengeAction ¶
func (*Mock) UpdateChallengeInterceptionRules ¶
func (*Mock) UpdateClientSideSecurity ¶
func (*Mock) UpdateConditionalAction ¶
func (*Mock) UpdateCustomBotCategory ¶
func (*Mock) UpdateCustomBotCategoryAction ¶
func (*Mock) UpdateCustomBotCategorySequence ¶
func (p *Mock) UpdateCustomBotCategorySequence(ctx context.Context, params UpdateCustomBotCategorySequenceRequest) (*CustomBotCategorySequenceResponse, error)
func (*Mock) UpdateCustomClient ¶
func (*Mock) UpdateCustomDefinedBot ¶
func (*Mock) UpdateCustomDenyAction ¶
func (*Mock) UpdateGoogleReCaptchaSecretKey ¶
func (p *Mock) UpdateGoogleReCaptchaSecretKey(ctx context.Context, params UpdateGoogleReCaptchaSecretKeyRequest) error
func (*Mock) UpdateJavascriptInjection ¶
func (*Mock) UpdateRecategorizedAkamaiDefinedBot ¶
func (p *Mock) UpdateRecategorizedAkamaiDefinedBot(ctx context.Context, params UpdateRecategorizedAkamaiDefinedBotRequest) (*RecategorizedAkamaiDefinedBotResponse, error)
func (*Mock) UpdateServeAlternateAction ¶
func (*Mock) UpdateTransactionalEndpoint ¶
func (*Mock) UpdateTransactionalEndpointProtection ¶
type RecategorizedAkamaiDefinedBot ¶
type RecategorizedAkamaiDefinedBot interface { // GetRecategorizedAkamaiDefinedBotList https://techdocs.akamai.com/bot-manager/reference/get-recategorized-akamai-defined-bots GetRecategorizedAkamaiDefinedBotList(ctx context.Context, params GetRecategorizedAkamaiDefinedBotListRequest) (*GetRecategorizedAkamaiDefinedBotListResponse, error) // GetRecategorizedAkamaiDefinedBot https://techdocs.akamai.com/bot-manager/reference/get-recategorized-akamai-defined-bot GetRecategorizedAkamaiDefinedBot(ctx context.Context, params GetRecategorizedAkamaiDefinedBotRequest) (*RecategorizedAkamaiDefinedBotResponse, error) // CreateRecategorizedAkamaiDefinedBot https://techdocs.akamai.com/bot-manager/reference/post-recategorized-akamai-defined-bot CreateRecategorizedAkamaiDefinedBot(ctx context.Context, params CreateRecategorizedAkamaiDefinedBotRequest) (*RecategorizedAkamaiDefinedBotResponse, error) // UpdateRecategorizedAkamaiDefinedBot https://techdocs.akamai.com/bot-manager/reference/put-recategorized-akamai-defined-bot UpdateRecategorizedAkamaiDefinedBot(ctx context.Context, params UpdateRecategorizedAkamaiDefinedBotRequest) (*RecategorizedAkamaiDefinedBotResponse, error) // RemoveRecategorizedAkamaiDefinedBot https://techdocs.akamai.com/bot-manager/reference/delete-recategorized-akamai-defined-bot RemoveRecategorizedAkamaiDefinedBot(ctx context.Context, params RemoveRecategorizedAkamaiDefinedBotRequest) error }
The RecategorizedAkamaiDefinedBot interface supports creating, retrieving, modifying and removing recategorized akamai defined bot for a configuration.
type RecategorizedAkamaiDefinedBotResponse ¶
type RecategorizedAkamaiDefinedBotResponse struct { BotID string `json:"botId"` CategoryID string `json:"customBotCategoryId"` }
RecategorizedAkamaiDefinedBotResponse is used to retrieve a specific recategorized akamai defined bot
type RemoveChallengeActionRequest ¶
RemoveChallengeActionRequest is used to remove an existing challenge action
func (RemoveChallengeActionRequest) Validate ¶
func (v RemoveChallengeActionRequest) Validate() error
Validate validates a RemoveChallengeActionRequest.
type RemoveConditionalActionRequest ¶
RemoveConditionalActionRequest is used to remove an existing conditional action
func (RemoveConditionalActionRequest) Validate ¶
func (v RemoveConditionalActionRequest) Validate() error
Validate validates a RemoveConditionalActionRequest.
type RemoveCustomBotCategoryRequest ¶
RemoveCustomBotCategoryRequest is used to remove an existing custom bot category
func (RemoveCustomBotCategoryRequest) Validate ¶
func (v RemoveCustomBotCategoryRequest) Validate() error
Validate validates a RemoveCustomBotCategoryRequest.
type RemoveCustomClientRequest ¶
RemoveCustomClientRequest is used to remove an existing custom client.
func (RemoveCustomClientRequest) Validate ¶
func (v RemoveCustomClientRequest) Validate() error
Validate validates a RemoveCustomClientRequest.
type RemoveCustomDefinedBotRequest ¶
RemoveCustomDefinedBotRequest is used to remove an existing custom defined bot.
func (RemoveCustomDefinedBotRequest) Validate ¶
func (v RemoveCustomDefinedBotRequest) Validate() error
Validate validates a RemoveCustomDefinedBotRequest.
type RemoveCustomDenyActionRequest ¶
RemoveCustomDenyActionRequest is used to remove an existing custom deny action
func (RemoveCustomDenyActionRequest) Validate ¶
func (v RemoveCustomDenyActionRequest) Validate() error
Validate validates a RemoveCustomDenyActionRequest.
type RemoveRecategorizedAkamaiDefinedBotRequest ¶
type RemoveRecategorizedAkamaiDefinedBotRequest struct { ConfigID int64 Version int64 BotID string }
RemoveRecategorizedAkamaiDefinedBotRequest is used to remove an existing recategorized akamai defined bot
func (RemoveRecategorizedAkamaiDefinedBotRequest) Validate ¶
func (v RemoveRecategorizedAkamaiDefinedBotRequest) Validate() error
Validate validates a RemoveRecategorizedAkamaiDefinedBotRequest.
type RemoveServeAlternateActionRequest ¶
RemoveServeAlternateActionRequest is used to remove an existing serve alternate action
func (RemoveServeAlternateActionRequest) Validate ¶
func (v RemoveServeAlternateActionRequest) Validate() error
Validate validates a RemoveServeAlternateActionRequest.
type RemoveTransactionalEndpointRequest ¶
type RemoveTransactionalEndpointRequest struct { ConfigID int64 Version int64 SecurityPolicyID string OperationID string }
RemoveTransactionalEndpointRequest is used to remove an existing transactional endpoint
func (RemoveTransactionalEndpointRequest) Validate ¶
func (v RemoveTransactionalEndpointRequest) Validate() error
Validate validates a RemoveTransactionalEndpointRequest.
type ResponseAction ¶
type ResponseAction interface { // GetResponseActionList https://techdocs.akamai.com/bot-manager/reference/get-response-actions GetResponseActionList(ctx context.Context, params GetResponseActionListRequest) (*GetResponseActionListResponse, error) }
The ResponseAction interface supports retrieving response actions of a configuration
type ServeAlternateAction ¶
type ServeAlternateAction interface { // GetServeAlternateActionList https://techdocs.akamai.com/bot-manager/reference/get-serve-alternate-actions GetServeAlternateActionList(ctx context.Context, params GetServeAlternateActionListRequest) (*GetServeAlternateActionListResponse, error) // GetServeAlternateAction https://techdocs.akamai.com/bot-manager/reference/get-serve-alternate-action GetServeAlternateAction(ctx context.Context, params GetServeAlternateActionRequest) (map[string]interface{}, error) // CreateServeAlternateAction https://techdocs.akamai.com/bot-manager/reference/post-serve-alternate-action CreateServeAlternateAction(ctx context.Context, params CreateServeAlternateActionRequest) (map[string]interface{}, error) // UpdateServeAlternateAction https://techdocs.akamai.com/bot-manager/reference/put-serve-alternate-action UpdateServeAlternateAction(ctx context.Context, params UpdateServeAlternateActionRequest) (map[string]interface{}, error) // RemoveServeAlternateAction https://techdocs.akamai.com/bot-manager/reference/delete-serve-alternate-action RemoveServeAlternateAction(ctx context.Context, params RemoveServeAlternateActionRequest) error }
The ServeAlternateAction interface supports creating, retrieving, modifying and removing serve alternate action for a configuration.
type TransactionalEndpoint ¶
type TransactionalEndpoint interface { // GetTransactionalEndpointList https://techdocs.akamai.com/bot-manager/reference/get-transactional-endpoints GetTransactionalEndpointList(ctx context.Context, params GetTransactionalEndpointListRequest) (*GetTransactionalEndpointListResponse, error) // GetTransactionalEndpoint https://techdocs.akamai.com/bot-manager/reference/get-transactional-endpoint GetTransactionalEndpoint(ctx context.Context, params GetTransactionalEndpointRequest) (map[string]interface{}, error) // CreateTransactionalEndpoint https://techdocs.akamai.com/bot-manager/reference/post-transactional-endpoint CreateTransactionalEndpoint(ctx context.Context, params CreateTransactionalEndpointRequest) (map[string]interface{}, error) // UpdateTransactionalEndpoint https://techdocs.akamai.com/bot-manager/reference/put-transactional-endpoint UpdateTransactionalEndpoint(ctx context.Context, params UpdateTransactionalEndpointRequest) (map[string]interface{}, error) // RemoveTransactionalEndpoint https://techdocs.akamai.com/bot-manager/reference/delete-transactional-endpoint RemoveTransactionalEndpoint(ctx context.Context, params RemoveTransactionalEndpointRequest) error }
The TransactionalEndpoint interface supports creating, retrieving, modifying and removing transactional endpoints for a configuration.
type TransactionalEndpointProtection ¶
type TransactionalEndpointProtection interface { // GetTransactionalEndpointProtection https://techdocs.akamai.com/bot-manager/reference/get-transactional-endpoint-protection GetTransactionalEndpointProtection(ctx context.Context, params GetTransactionalEndpointProtectionRequest) (map[string]interface{}, error) // UpdateTransactionalEndpointProtection https://techdocs.akamai.com/bot-manager/reference/put-transactional-endpoint-protection UpdateTransactionalEndpointProtection(ctx context.Context, params UpdateTransactionalEndpointProtectionRequest) (map[string]interface{}, error) }
The TransactionalEndpointProtection interface supports retrieving and updating transactional endpoint protection settings for a configuration.
type UpdateAkamaiBotCategoryActionRequest ¶
type UpdateAkamaiBotCategoryActionRequest struct { ConfigID int64 Version int64 SecurityPolicyID string CategoryID string JsonPayload json.RawMessage }
UpdateAkamaiBotCategoryActionRequest is used to modify an akamai bot category action.
func (UpdateAkamaiBotCategoryActionRequest) Validate ¶
func (v UpdateAkamaiBotCategoryActionRequest) Validate() error
Validate validates an UpdateAkamaiBotCategoryActionRequest.
type UpdateBotAnalyticsCookieRequest ¶
type UpdateBotAnalyticsCookieRequest struct { ConfigID int64 Version int64 JsonPayload json.RawMessage }
UpdateBotAnalyticsCookieRequest is used to modify bot analytics cookie settings
func (UpdateBotAnalyticsCookieRequest) Validate ¶
func (v UpdateBotAnalyticsCookieRequest) Validate() error
Validate validates an UpdateBotAnalyticsCookieRequest.
type UpdateBotCategoryExceptionRequest ¶
type UpdateBotCategoryExceptionRequest struct { ConfigID int64 Version int64 SecurityPolicyID string JsonPayload json.RawMessage }
UpdateBotCategoryExceptionRequest is used to update bot category exceptions
func (UpdateBotCategoryExceptionRequest) Validate ¶
func (v UpdateBotCategoryExceptionRequest) Validate() error
Validate validates an UpdateBotCategoryExceptionRequest.
type UpdateBotDetectionActionRequest ¶
type UpdateBotDetectionActionRequest struct { ConfigID int64 Version int64 SecurityPolicyID string DetectionID string JsonPayload json.RawMessage }
UpdateBotDetectionActionRequest is used to modify a bot detection action.
func (UpdateBotDetectionActionRequest) Validate ¶
func (v UpdateBotDetectionActionRequest) Validate() error
Validate validates an UpdateBotDetectionActionRequest.
type UpdateBotManagementSettingRequest ¶
type UpdateBotManagementSettingRequest struct { ConfigID int64 Version int64 SecurityPolicyID string JsonPayload json.RawMessage }
UpdateBotManagementSettingRequest is used to modify bot management settings
func (UpdateBotManagementSettingRequest) Validate ¶
func (v UpdateBotManagementSettingRequest) Validate() error
Validate validates an UpdateBotManagementSettingRequest.
type UpdateChallengeActionRequest ¶
type UpdateChallengeActionRequest struct { ConfigID int64 Version int64 ActionID string JsonPayload json.RawMessage }
UpdateChallengeActionRequest is used to update an existing challenge action
func (UpdateChallengeActionRequest) Validate ¶
func (v UpdateChallengeActionRequest) Validate() error
Validate validates an UpdateChallengeActionRequest.
type UpdateChallengeInterceptionRulesRequest ¶
type UpdateChallengeInterceptionRulesRequest struct { ConfigID int64 Version int64 JsonPayload json.RawMessage }
UpdateChallengeInterceptionRulesRequest is used to modify challenge interception rules
func (UpdateChallengeInterceptionRulesRequest) Validate ¶
func (v UpdateChallengeInterceptionRulesRequest) Validate() error
Validate validates an UpdateChallengeInterceptionRulesRequest.
type UpdateClientSideSecurityRequest ¶
type UpdateClientSideSecurityRequest struct { ConfigID int64 `json:"-"` Version int64 `json:"-"` JsonPayload json.RawMessage `json:"-"` }
UpdateClientSideSecurityRequest is used to modify client side security settings
func (UpdateClientSideSecurityRequest) Validate ¶
func (v UpdateClientSideSecurityRequest) Validate() error
Validate validates an UpdateClientSideSecurityRequest.
type UpdateConditionalActionRequest ¶
type UpdateConditionalActionRequest struct { ConfigID int64 Version int64 ActionID string JsonPayload json.RawMessage }
UpdateConditionalActionRequest is used to update an existing conditional action
func (UpdateConditionalActionRequest) Validate ¶
func (v UpdateConditionalActionRequest) Validate() error
Validate validates an UpdateConditionalActionRequest.
type UpdateCustomBotCategoryActionRequest ¶
type UpdateCustomBotCategoryActionRequest struct { ConfigID int64 Version int64 SecurityPolicyID string CategoryID string JsonPayload json.RawMessage }
UpdateCustomBotCategoryActionRequest is used to modify an existing custom bot category action
func (UpdateCustomBotCategoryActionRequest) Validate ¶
func (v UpdateCustomBotCategoryActionRequest) Validate() error
Validate validates an UpdateCustomBotCategoryActionRequest.
type UpdateCustomBotCategoryRequest ¶
type UpdateCustomBotCategoryRequest struct { ConfigID int64 Version int64 CategoryID string JsonPayload json.RawMessage }
UpdateCustomBotCategoryRequest is used to update an existing custom bot category
func (UpdateCustomBotCategoryRequest) Validate ¶
func (v UpdateCustomBotCategoryRequest) Validate() error
Validate validates an UpdateCustomBotCategoryRequest.
type UpdateCustomBotCategorySequenceRequest ¶
type UpdateCustomBotCategorySequenceRequest struct { ConfigID int64 `json:"-"` Version int64 `json:"-"` Sequence []string `json:"sequence"` }
UpdateCustomBotCategorySequenceRequest is used to update custom bot category sequence
func (UpdateCustomBotCategorySequenceRequest) Validate ¶
func (v UpdateCustomBotCategorySequenceRequest) Validate() error
Validate validates an UpdateCustomBotCategorySequenceRequest.
type UpdateCustomClientRequest ¶
type UpdateCustomClientRequest struct { ConfigID int64 Version int64 CustomClientID string JsonPayload json.RawMessage }
UpdateCustomClientRequest is used to update details for a specific custom client.
func (UpdateCustomClientRequest) Validate ¶
func (v UpdateCustomClientRequest) Validate() error
Validate validates an UpdateCustomClientRequest.
type UpdateCustomDefinedBotRequest ¶
type UpdateCustomDefinedBotRequest struct { ConfigID int64 Version int64 BotID string JsonPayload json.RawMessage }
UpdateCustomDefinedBotRequest is used to update details for a specific custom defined bot.
func (UpdateCustomDefinedBotRequest) Validate ¶
func (v UpdateCustomDefinedBotRequest) Validate() error
Validate validates an UpdateCustomDefinedBotRequest.
type UpdateCustomDenyActionRequest ¶
type UpdateCustomDenyActionRequest struct { ConfigID int64 Version int64 ActionID string JsonPayload json.RawMessage }
UpdateCustomDenyActionRequest is used to update an existing custom deny action
func (UpdateCustomDenyActionRequest) Validate ¶
func (v UpdateCustomDenyActionRequest) Validate() error
Validate validates an UpdateCustomDenyActionRequest.
type UpdateGoogleReCaptchaSecretKeyRequest ¶
type UpdateGoogleReCaptchaSecretKeyRequest struct { ConfigID int64 `json:"-"` Version int64 `json:"-"` ActionID string `json:"-"` SecretKey string `json:"googleReCaptchaSecretKey"` }
UpdateGoogleReCaptchaSecretKeyRequest is used to update google reCaptcha secret key
func (UpdateGoogleReCaptchaSecretKeyRequest) Validate ¶
func (v UpdateGoogleReCaptchaSecretKeyRequest) Validate() error
Validate validates a UpdateGoogleReCaptchaSecretKeyRequest.
type UpdateJavascriptInjectionRequest ¶
type UpdateJavascriptInjectionRequest struct { ConfigID int64 Version int64 SecurityPolicyID string JsonPayload json.RawMessage }
UpdateJavascriptInjectionRequest is used to modify javascript injection settings
func (UpdateJavascriptInjectionRequest) Validate ¶
func (v UpdateJavascriptInjectionRequest) Validate() error
Validate validates an UpdateJavascriptInjectionRequest.
type UpdateRecategorizedAkamaiDefinedBotRequest ¶
type UpdateRecategorizedAkamaiDefinedBotRequest struct { ConfigID int64 `json:"-"` Version int64 `json:"-"` BotID string `json:"botId"` CategoryID string `json:"customBotCategoryId"` }
UpdateRecategorizedAkamaiDefinedBotRequest is used to update details for a specific recategorized akamai defined bot
func (UpdateRecategorizedAkamaiDefinedBotRequest) Validate ¶
func (v UpdateRecategorizedAkamaiDefinedBotRequest) Validate() error
Validate validates an UpdateRecategorizedAkamaiDefinedBotRequest.
type UpdateServeAlternateActionRequest ¶
type UpdateServeAlternateActionRequest struct { ConfigID int64 Version int64 ActionID string JsonPayload json.RawMessage }
UpdateServeAlternateActionRequest is used to update an existing serve alternate action
func (UpdateServeAlternateActionRequest) Validate ¶
func (v UpdateServeAlternateActionRequest) Validate() error
Validate validates an UpdateServeAlternateActionRequest.
type UpdateTransactionalEndpointProtectionRequest ¶
type UpdateTransactionalEndpointProtectionRequest struct { ConfigID int64 Version int64 JsonPayload json.RawMessage }
UpdateTransactionalEndpointProtectionRequest is used to modify transactional endpoint protection settings
func (UpdateTransactionalEndpointProtectionRequest) Validate ¶
func (v UpdateTransactionalEndpointProtectionRequest) Validate() error
Validate validates an UpdateTransactionalEndpointProtectionRequest.
type UpdateTransactionalEndpointRequest ¶
type UpdateTransactionalEndpointRequest struct { ConfigID int64 Version int64 SecurityPolicyID string OperationID string JsonPayload json.RawMessage }
UpdateTransactionalEndpointRequest is used to update details for a specific transactional endpoint
func (UpdateTransactionalEndpointRequest) Validate ¶
func (v UpdateTransactionalEndpointRequest) Validate() error
Validate validates an UpdateTransactionalEndpointRequest.
Source Files ¶
- akamai_bot_category.go
- akamai_bot_category_action.go
- akamai_defined_bot.go
- bot_analytics_cookie.go
- bot_analytics_cookie_values.go
- bot_category_exception.go
- bot_detection.go
- bot_detection_action.go
- bot_endpoint_coverage_report.go
- bot_management_setting.go
- botman.go
- challenge_action.go
- challenge_interception_rules.go
- client_side_security.go
- conditional_action.go
- custom_bot_category.go
- custom_bot_category_action.go
- custom_bot_category_sequence.go
- custom_client.go
- custom_defined_bot.go
- custom_deny_action.go
- errors.go
- javascript_injection.go
- mocks.go
- recategorized_akamai_defined_bot.go
- response_action.go
- serve_alternate_action.go
- transactional_endpoint.go
- transactional_endpoint_protection.go