Versions in this module Expand all Collapse all v2 v2.0.0 Nov 7, 2024 Changes in this version + const AuditLogActorTypeAdmin + const AuditLogActorTypeCloudflare + const AuditLogActorTypeUser + const CertificateCADigicert + const CertificateCAGoogle + const CertificateCALetsEncrypt + const CertificateRequestTypeKeylessCertificate + const CertificateRequestTypeOriginECC + const CertificateRequestTypeOriginRSA + const CloudflareTunnelStatusDegraded + const CloudflareTunnelStatusDown + const CloudflareTunnelStatusHealthy + const CloudflareTunnelStatusInactive + const CloudflareTunnelTunTypeCNI + const CloudflareTunnelTunTypeCfdTunnel + const CloudflareTunnelTunTypeGRE + const CloudflareTunnelTunTypeIPSec + const CloudflareTunnelTunTypeWARPConnector + const MemberStatusAccepted + const MemberStatusPending + const SortDirectionAsc + const SortDirectionDesc + type ASN = shared.ASN + type ASNParam = shared.ASNParam + type AuditLog = shared.AuditLog + type AuditLogAction = shared.AuditLogAction + type AuditLogActor = shared.AuditLogActor + type AuditLogActorType = shared.AuditLogActorType + type AuditLogOwner = shared.AuditLogOwner + type AuditLogResource = shared.AuditLogResource + type BrandProtectionService struct + Options []option.RequestOption + func NewBrandProtectionService(opts ...option.RequestOption) (r *BrandProtectionService) + func (r *BrandProtectionService) Submit(ctx context.Context, accountID string, body BrandProtectionSubmitParams, ...) (res *Submit, err error) + func (r *BrandProtectionService) URLInfo(ctx context.Context, accountID string, query BrandProtectionURLInfoParams, ...) (res *Info, err error) + type BrandProtectionSubmitParams struct + URL param.Field[string] + func (r BrandProtectionSubmitParams) MarshalJSON() (data []byte, err error) + type BrandProtectionSubmitResponseEnvelope struct + Errors []shared.ResponseInfo + JSON brandProtectionSubmitResponseEnvelopeJSON + Messages []shared.ResponseInfo + Result Submit + Success BrandProtectionSubmitResponseEnvelopeSuccess + func (r *BrandProtectionSubmitResponseEnvelope) UnmarshalJSON(data []byte) (err error) + type BrandProtectionSubmitResponseEnvelopeSuccess bool + const BrandProtectionSubmitResponseEnvelopeSuccessTrue + func (r BrandProtectionSubmitResponseEnvelopeSuccess) IsKnown() bool + type BrandProtectionURLInfoParams struct + URL param.Field[string] + URLIDParam param.Field[BrandProtectionURLInfoParamsURLIDParam] + func (r BrandProtectionURLInfoParams) URLQuery() (v url.Values) + type BrandProtectionURLInfoParamsURLIDParam struct + URLID param.Field[int64] + func (r BrandProtectionURLInfoParamsURLIDParam) URLQuery() (v url.Values) + type BrandProtectionURLInfoResponseEnvelope struct + Errors []shared.ResponseInfo + JSON brandProtectionURLInfoResponseEnvelopeJSON + Messages []shared.ResponseInfo + Result Info + Success BrandProtectionURLInfoResponseEnvelopeSuccess + func (r *BrandProtectionURLInfoResponseEnvelope) UnmarshalJSON(data []byte) (err error) + type BrandProtectionURLInfoResponseEnvelopeSuccess bool + const BrandProtectionURLInfoResponseEnvelopeSuccessTrue + func (r BrandProtectionURLInfoResponseEnvelopeSuccess) IsKnown() bool + type CertificateCA = shared.CertificateCA + type CertificateRequestType = shared.CertificateRequestType + type CloudflareTunnel = shared.CloudflareTunnel + type CloudflareTunnelConnection = shared.CloudflareTunnelConnection + type CloudflareTunnelStatus = shared.CloudflareTunnelStatus + type CloudflareTunnelTunType = shared.CloudflareTunnelTunType + type Error = apierror.Error + type ErrorData = shared.ErrorData + type Info struct + Categorizations []InfoCategorization + JSON infoJSON + ModelResults []URLInfoModelResults + RuleMatches []RuleMatch + ScanStatus ScanStatus + ScreenshotDownloadSignature string + ScreenshotPath string + URL string + func (r *Info) UnmarshalJSON(data []byte) (err error) + type InfoCategorization struct + Category string + JSON infoCategorizationJSON + VerificationStatus string + func (r *InfoCategorization) UnmarshalJSON(data []byte) (err error) + type MemberParam = shared.MemberParam + type MemberRoleParam = shared.MemberRoleParam + type MemberRolesPermissionsParam = shared.MemberRolesPermissionsParam + type MemberStatus = shared.MemberStatus + type MemberUserParam = shared.MemberUserParam + type Permission = shared.Permission + type PermissionGrant = shared.PermissionGrant + type PermissionGrantParam = shared.PermissionGrantParam + type ResponseInfo = shared.ResponseInfo + type Role = shared.Role + type RuleMatch struct + Banning bool + Blocking bool + Description string + JSON ruleMatchJSON + Name string + func (r *RuleMatch) UnmarshalJSON(data []byte) (err error) + type ScanStatus struct + JSON scanStatusJSON + LastProcessed string + ScanComplete bool + StatusCode int64 + SubmissionID int64 + func (r *ScanStatus) UnmarshalJSON(data []byte) (err error) + type SortDirection = shared.SortDirection + type Submit struct + ExcludedURLs []SubmitExcludedURL + JSON submitJSON + SkippedURLs []SubmitSkippedURL + SubmittedURLs []SubmitSubmittedURL + func (r *Submit) UnmarshalJSON(data []byte) (err error) + type SubmitExcludedURL struct + JSON submitExcludedURLJSON + URL string + func (r *SubmitExcludedURL) UnmarshalJSON(data []byte) (err error) + type SubmitSkippedURL struct + JSON submitSkippedURLJSON + URL string + URLID int64 + func (r *SubmitSkippedURL) UnmarshalJSON(data []byte) (err error) + type SubmitSubmittedURL struct + JSON submitSubmittedURLJSON + URL string + URLID int64 + func (r *SubmitSubmittedURL) UnmarshalJSON(data []byte) (err error) + type URLInfoModelResults struct + JSON urlInfoModelResultsJSON + ModelName string + ModelScore float64 + func (r *URLInfoModelResults) UnmarshalJSON(data []byte) (err error)