Versions in this module Expand all Collapse all v3 v3.1.0 Sep 24, 2024 v3.0.1 Sep 23, 2024 Changes in this version + const AuditLogActorTypeAdmin + const AuditLogActorTypeCloudflare + const AuditLogActorTypeUser + const CertificateCADigicert + const CertificateCAGoogle + const CertificateCALetsEncrypt + const CertificateCASSLCom + 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 + const SubscriptionFrequencyMonthly + const SubscriptionFrequencyQuarterly + const SubscriptionFrequencyWeekly + const SubscriptionFrequencyYearly + const SubscriptionStateAwaitingPayment + const SubscriptionStateCancelled + const SubscriptionStateExpired + const SubscriptionStateFailed + const SubscriptionStatePaid + const SubscriptionStateProvisioned + const SubscriptionStateTrial + type ASN = shared.ASN + type ASNGetParams struct + AccountID param.Field[string] + type ASNGetResponseEnvelope struct + Errors []shared.ResponseInfo + JSON asnGetResponseEnvelopeJSON + Messages []shared.ResponseInfo + Result shared.ASN + Success ASNGetResponseEnvelopeSuccess + func (r *ASNGetResponseEnvelope) UnmarshalJSON(data []byte) (err error) + type ASNGetResponseEnvelopeSuccess bool + const ASNGetResponseEnvelopeSuccessTrue + func (r ASNGetResponseEnvelopeSuccess) IsKnown() bool + type ASNParam = shared.ASNParam + type ASNService struct + Options []option.RequestOption + Subnets *ASNSubnetService + func NewASNService(opts ...option.RequestOption) (r *ASNService) + func (r *ASNService) Get(ctx context.Context, asn shared.ASNParam, query ASNGetParams, ...) (res *shared.ASN, err error) + type ASNSubnetGetParams struct + AccountID param.Field[string] + type ASNSubnetGetResponse struct + ASN shared.ASN + Count float64 + IPCountTotal int64 + JSON asnSubnetGetResponseJSON + Page float64 + PerPage float64 + Subnets []string + func (r *ASNSubnetGetResponse) UnmarshalJSON(data []byte) (err error) + type ASNSubnetService struct + Options []option.RequestOption + func NewASNSubnetService(opts ...option.RequestOption) (r *ASNSubnetService) + func (r *ASNSubnetService) Get(ctx context.Context, asn shared.ASNParam, query ASNSubnetGetParams, ...) (res *ASNSubnetGetResponse, err error) + type AttackSurfaceReportIssueClassParams struct + AccountID param.Field[string] + Dismissed param.Field[bool] + IssueClass param.Field[[]string] + IssueClassNeq param.Field[[]string] + IssueType param.Field[[]IssueType] + IssueTypeNeq param.Field[[]IssueType] + Product param.Field[[]string] + ProductNeq param.Field[[]string] + Severity param.Field[[]SeverityQueryParam] + SeverityNeq param.Field[[]SeverityQueryParam] + Subject param.Field[[]string] + SubjectNeq param.Field[[]string] + func (r AttackSurfaceReportIssueClassParams) URLQuery() (v url.Values) + type AttackSurfaceReportIssueClassResponse struct + Count int64 + JSON attackSurfaceReportIssueClassResponseJSON + Value string + func (r *AttackSurfaceReportIssueClassResponse) UnmarshalJSON(data []byte) (err error) + type AttackSurfaceReportIssueClassResponseEnvelope struct + Errors []shared.ResponseInfo + JSON attackSurfaceReportIssueClassResponseEnvelopeJSON + Messages []shared.ResponseInfo + Result []AttackSurfaceReportIssueClassResponse + Success AttackSurfaceReportIssueClassResponseEnvelopeSuccess + func (r *AttackSurfaceReportIssueClassResponseEnvelope) UnmarshalJSON(data []byte) (err error) + type AttackSurfaceReportIssueClassResponseEnvelopeSuccess bool + const AttackSurfaceReportIssueClassResponseEnvelopeSuccessTrue + func (r AttackSurfaceReportIssueClassResponseEnvelopeSuccess) IsKnown() bool + type AttackSurfaceReportIssueDismissParams struct + AccountID param.Field[string] + Dismiss param.Field[bool] + func (r AttackSurfaceReportIssueDismissParams) MarshalJSON() (data []byte, err error) + type AttackSurfaceReportIssueDismissResponse struct + Errors []shared.ResponseInfo + JSON attackSurfaceReportIssueDismissResponseJSON + Messages []shared.ResponseInfo + Success AttackSurfaceReportIssueDismissResponseSuccess + func (r *AttackSurfaceReportIssueDismissResponse) UnmarshalJSON(data []byte) (err error) + type AttackSurfaceReportIssueDismissResponseSuccess bool + const AttackSurfaceReportIssueDismissResponseSuccessTrue + func (r AttackSurfaceReportIssueDismissResponseSuccess) IsKnown() bool + type AttackSurfaceReportIssueListParams struct + AccountID param.Field[string] + Dismissed param.Field[bool] + IssueClass param.Field[[]string] + IssueClassNeq param.Field[[]string] + IssueType param.Field[[]IssueType] + IssueTypeNeq param.Field[[]IssueType] + Page param.Field[int64] + PerPage param.Field[int64] + Product param.Field[[]string] + ProductNeq param.Field[[]string] + Severity param.Field[[]SeverityQueryParam] + SeverityNeq param.Field[[]SeverityQueryParam] + Subject param.Field[[]string] + SubjectNeq param.Field[[]string] + func (r AttackSurfaceReportIssueListParams) URLQuery() (v url.Values) + type AttackSurfaceReportIssueListResponse struct + Errors []shared.ResponseInfo + JSON attackSurfaceReportIssueListResponseJSON + Messages []shared.ResponseInfo + Result AttackSurfaceReportIssueListResponseResult + Success AttackSurfaceReportIssueListResponseSuccess + func (r *AttackSurfaceReportIssueListResponse) UnmarshalJSON(data []byte) (err error) + type AttackSurfaceReportIssueListResponseResult struct + Count int64 + Issues []AttackSurfaceReportIssueListResponseResultIssue + JSON attackSurfaceReportIssueListResponseResultJSON + Page int64 + PerPage int64 + func (r *AttackSurfaceReportIssueListResponseResult) UnmarshalJSON(data []byte) (err error) + type AttackSurfaceReportIssueListResponseResultIssue struct + Dismissed bool + ID string + IssueClass string + IssueType IssueType + JSON attackSurfaceReportIssueListResponseResultIssueJSON + Payload interface{} + ResolveLink string + ResolveText string + Severity AttackSurfaceReportIssueListResponseResultIssuesSeverity + Since time.Time + Subject string + Timestamp time.Time + func (r *AttackSurfaceReportIssueListResponseResultIssue) UnmarshalJSON(data []byte) (err error) + type AttackSurfaceReportIssueListResponseResultIssuesSeverity string + const AttackSurfaceReportIssueListResponseResultIssuesSeverityCritical + const AttackSurfaceReportIssueListResponseResultIssuesSeverityLow + const AttackSurfaceReportIssueListResponseResultIssuesSeverityModerate + func (r AttackSurfaceReportIssueListResponseResultIssuesSeverity) IsKnown() bool + type AttackSurfaceReportIssueListResponseSuccess bool + const AttackSurfaceReportIssueListResponseSuccessTrue + func (r AttackSurfaceReportIssueListResponseSuccess) IsKnown() bool + type AttackSurfaceReportIssueService struct + Options []option.RequestOption + func NewAttackSurfaceReportIssueService(opts ...option.RequestOption) (r *AttackSurfaceReportIssueService) + func (r *AttackSurfaceReportIssueService) Class(ctx context.Context, params AttackSurfaceReportIssueClassParams, ...) (res *[]AttackSurfaceReportIssueClassResponse, err error) + func (r *AttackSurfaceReportIssueService) Dismiss(ctx context.Context, issueID string, ...) (res *AttackSurfaceReportIssueDismissResponse, err error) + func (r *AttackSurfaceReportIssueService) List(ctx context.Context, params AttackSurfaceReportIssueListParams, ...) (res *pagination.V4PagePagination[AttackSurfaceReportIssueListResponse], ...) + func (r *AttackSurfaceReportIssueService) ListAutoPaging(ctx context.Context, params AttackSurfaceReportIssueListParams, ...) *pagination.V4PagePaginationAutoPager[AttackSurfaceReportIssueListResponse] + func (r *AttackSurfaceReportIssueService) Severity(ctx context.Context, params AttackSurfaceReportIssueSeverityParams, ...) (res *[]AttackSurfaceReportIssueSeverityResponse, err error) + func (r *AttackSurfaceReportIssueService) Type(ctx context.Context, params AttackSurfaceReportIssueTypeParams, ...) (res *[]AttackSurfaceReportIssueTypeResponse, err error) + type AttackSurfaceReportIssueSeverityParams struct + AccountID param.Field[string] + Dismissed param.Field[bool] + IssueClass param.Field[[]string] + IssueClassNeq param.Field[[]string] + IssueType param.Field[[]IssueType] + IssueTypeNeq param.Field[[]IssueType] + Product param.Field[[]string] + ProductNeq param.Field[[]string] + Severity param.Field[[]SeverityQueryParam] + SeverityNeq param.Field[[]SeverityQueryParam] + Subject param.Field[[]string] + SubjectNeq param.Field[[]string] + func (r AttackSurfaceReportIssueSeverityParams) URLQuery() (v url.Values) + type AttackSurfaceReportIssueSeverityResponse struct + Count int64 + JSON attackSurfaceReportIssueSeverityResponseJSON + Value string + func (r *AttackSurfaceReportIssueSeverityResponse) UnmarshalJSON(data []byte) (err error) + type AttackSurfaceReportIssueSeverityResponseEnvelope struct + Errors []shared.ResponseInfo + JSON attackSurfaceReportIssueSeverityResponseEnvelopeJSON + Messages []shared.ResponseInfo + Result []AttackSurfaceReportIssueSeverityResponse + Success AttackSurfaceReportIssueSeverityResponseEnvelopeSuccess + func (r *AttackSurfaceReportIssueSeverityResponseEnvelope) UnmarshalJSON(data []byte) (err error) + type AttackSurfaceReportIssueSeverityResponseEnvelopeSuccess bool + const AttackSurfaceReportIssueSeverityResponseEnvelopeSuccessTrue + func (r AttackSurfaceReportIssueSeverityResponseEnvelopeSuccess) IsKnown() bool + type AttackSurfaceReportIssueTypeGetParams struct + AccountID param.Field[string] + type AttackSurfaceReportIssueTypeGetResponseEnvelope struct + Errors []shared.ResponseInfo + JSON attackSurfaceReportIssueTypeGetResponseEnvelopeJSON + Messages []shared.ResponseInfo + Result []string + Success AttackSurfaceReportIssueTypeGetResponseEnvelopeSuccess + func (r *AttackSurfaceReportIssueTypeGetResponseEnvelope) UnmarshalJSON(data []byte) (err error) + type AttackSurfaceReportIssueTypeGetResponseEnvelopeSuccess bool + const AttackSurfaceReportIssueTypeGetResponseEnvelopeSuccessTrue + func (r AttackSurfaceReportIssueTypeGetResponseEnvelopeSuccess) IsKnown() bool + type AttackSurfaceReportIssueTypeParams struct + AccountID param.Field[string] + Dismissed param.Field[bool] + IssueClass param.Field[[]string] + IssueClassNeq param.Field[[]string] + IssueType param.Field[[]IssueType] + IssueTypeNeq param.Field[[]IssueType] + Product param.Field[[]string] + ProductNeq param.Field[[]string] + Severity param.Field[[]SeverityQueryParam] + SeverityNeq param.Field[[]SeverityQueryParam] + Subject param.Field[[]string] + SubjectNeq param.Field[[]string] + func (r AttackSurfaceReportIssueTypeParams) URLQuery() (v url.Values) + type AttackSurfaceReportIssueTypeResponse struct + Count int64 + JSON attackSurfaceReportIssueTypeResponseJSON + Value string + func (r *AttackSurfaceReportIssueTypeResponse) UnmarshalJSON(data []byte) (err error) + type AttackSurfaceReportIssueTypeResponseEnvelope struct + Errors []shared.ResponseInfo + JSON attackSurfaceReportIssueTypeResponseEnvelopeJSON + Messages []shared.ResponseInfo + Result []AttackSurfaceReportIssueTypeResponse + Success AttackSurfaceReportIssueTypeResponseEnvelopeSuccess + func (r *AttackSurfaceReportIssueTypeResponseEnvelope) UnmarshalJSON(data []byte) (err error) + type AttackSurfaceReportIssueTypeResponseEnvelopeSuccess bool + const AttackSurfaceReportIssueTypeResponseEnvelopeSuccessTrue + func (r AttackSurfaceReportIssueTypeResponseEnvelopeSuccess) IsKnown() bool + type AttackSurfaceReportIssueTypeService struct + Options []option.RequestOption + func NewAttackSurfaceReportIssueTypeService(opts ...option.RequestOption) (r *AttackSurfaceReportIssueTypeService) + func (r *AttackSurfaceReportIssueTypeService) Get(ctx context.Context, query AttackSurfaceReportIssueTypeGetParams, ...) (res *[]string, err error) + type AttackSurfaceReportService struct + IssueTypes *AttackSurfaceReportIssueTypeService + Issues *AttackSurfaceReportIssueService + Options []option.RequestOption + func NewAttackSurfaceReportService(opts ...option.RequestOption) (r *AttackSurfaceReportService) + 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 CertificateCA = shared.CertificateCA + type CertificateRequestType = shared.CertificateRequestType + type CloudflareTunnel = shared.CloudflareTunnel + type CloudflareTunnelConnection = shared.CloudflareTunnelConnection + type CloudflareTunnelStatus = shared.CloudflareTunnelStatus + type CloudflareTunnelTunType = shared.CloudflareTunnelTunType + type DNS struct + Count float64 + JSON dnsJSON + Page float64 + PerPage float64 + ReverseRecords []DNSReverseRecord + func (r *DNS) UnmarshalJSON(data []byte) (err error) + type DNSListParams struct + AccountID param.Field[string] + IPV4 param.Field[string] + Page param.Field[float64] + PerPage param.Field[float64] + StartEndParams param.Field[DNSListParamsStartEndParams] + func (r DNSListParams) URLQuery() (v url.Values) + type DNSListParamsStartEndParams struct + End param.Field[time.Time] + Start param.Field[time.Time] + func (r DNSListParamsStartEndParams) URLQuery() (v url.Values) + type DNSListResponse struct + Errors []shared.ResponseInfo + JSON dnsListResponseJSON + Messages []shared.ResponseInfo + Result DNS + Success DNSListResponseSuccess + func (r *DNSListResponse) UnmarshalJSON(data []byte) (err error) + type DNSListResponseSuccess bool + const DNSListResponseSuccessTrue + func (r DNSListResponseSuccess) IsKnown() bool + type DNSReverseRecord struct + FirstSeen time.Time + Hostname interface{} + JSON dnsReverseRecordJSON + LastSeen time.Time + func (r *DNSReverseRecord) UnmarshalJSON(data []byte) (err error) + type DNSService struct + Options []option.RequestOption + func NewDNSService(opts ...option.RequestOption) (r *DNSService) + func (r *DNSService) List(ctx context.Context, params DNSListParams, opts ...option.RequestOption) (res *pagination.V4PagePagination[DNSListResponse], err error) + func (r *DNSService) ListAutoPaging(ctx context.Context, params DNSListParams, opts ...option.RequestOption) *pagination.V4PagePaginationAutoPager[DNSListResponse] + type Domain struct + AdditionalInformation DomainAdditionalInformation + Application DomainApplication + ContentCategories []interface{} + Domain string + InheritedContentCategories []DomainInheritedContentCategory + InheritedFrom string + InheritedRiskTypes []DomainInheritedRiskType + JSON domainJSON + PopularityRank int64 + ResolvesToRefs []DomainResolvesToRef + RiskScore float64 + RiskTypes []interface{} + func (r *Domain) UnmarshalJSON(data []byte) (err error) + type DomainAdditionalInformation struct + JSON domainAdditionalInformationJSON + SuspectedMalwareFamily string + func (r *DomainAdditionalInformation) UnmarshalJSON(data []byte) (err error) + type DomainApplication struct + ID int64 + JSON domainApplicationJSON + Name string + func (r *DomainApplication) UnmarshalJSON(data []byte) (err error) + type DomainBulkGetParams struct + AccountID param.Field[string] + Domain param.Field[interface{}] + func (r DomainBulkGetParams) URLQuery() (v url.Values) + type DomainBulkGetResponse struct + AdditionalInformation DomainBulkGetResponseAdditionalInformation + Application DomainBulkGetResponseApplication + ContentCategories []interface{} + Domain string + InheritedContentCategories []DomainBulkGetResponseInheritedContentCategory + InheritedFrom string + InheritedRiskTypes []DomainBulkGetResponseInheritedRiskType + JSON domainBulkGetResponseJSON + PopularityRank int64 + RiskScore float64 + RiskTypes []interface{} + func (r *DomainBulkGetResponse) UnmarshalJSON(data []byte) (err error) + type DomainBulkGetResponseAdditionalInformation struct + JSON domainBulkGetResponseAdditionalInformationJSON + SuspectedMalwareFamily string + func (r *DomainBulkGetResponseAdditionalInformation) UnmarshalJSON(data []byte) (err error) + type DomainBulkGetResponseApplication struct + ID int64 + JSON domainBulkGetResponseApplicationJSON + Name string + func (r *DomainBulkGetResponseApplication) UnmarshalJSON(data []byte) (err error) + type DomainBulkGetResponseEnvelope struct + Errors []shared.ResponseInfo + JSON domainBulkGetResponseEnvelopeJSON + Messages []shared.ResponseInfo + Result []DomainBulkGetResponse + ResultInfo DomainBulkGetResponseEnvelopeResultInfo + Success DomainBulkGetResponseEnvelopeSuccess + func (r *DomainBulkGetResponseEnvelope) UnmarshalJSON(data []byte) (err error) + type DomainBulkGetResponseEnvelopeResultInfo struct + Count float64 + JSON domainBulkGetResponseEnvelopeResultInfoJSON + Page float64 + PerPage float64 + TotalCount float64 + func (r *DomainBulkGetResponseEnvelopeResultInfo) UnmarshalJSON(data []byte) (err error) + type DomainBulkGetResponseEnvelopeSuccess bool + const DomainBulkGetResponseEnvelopeSuccessTrue + func (r DomainBulkGetResponseEnvelopeSuccess) IsKnown() bool + type DomainBulkGetResponseInheritedContentCategory struct + ID int64 + JSON domainBulkGetResponseInheritedContentCategoryJSON + Name string + SuperCategoryID int64 + func (r *DomainBulkGetResponseInheritedContentCategory) UnmarshalJSON(data []byte) (err error) + type DomainBulkGetResponseInheritedRiskType struct + ID int64 + JSON domainBulkGetResponseInheritedRiskTypeJSON + Name string + SuperCategoryID int64 + func (r *DomainBulkGetResponseInheritedRiskType) UnmarshalJSON(data []byte) (err error) + type DomainBulkService struct + Options []option.RequestOption + func NewDomainBulkService(opts ...option.RequestOption) (r *DomainBulkService) + func (r *DomainBulkService) Get(ctx context.Context, params DomainBulkGetParams, opts ...option.RequestOption) (res *[]DomainBulkGetResponse, err error) + type DomainGetParams struct + AccountID param.Field[string] + Domain param.Field[string] + func (r DomainGetParams) URLQuery() (v url.Values) + type DomainGetResponseEnvelope struct + Errors []shared.ResponseInfo + JSON domainGetResponseEnvelopeJSON + Messages []shared.ResponseInfo + Result Domain + Success DomainGetResponseEnvelopeSuccess + func (r *DomainGetResponseEnvelope) UnmarshalJSON(data []byte) (err error) + type DomainGetResponseEnvelopeSuccess bool + const DomainGetResponseEnvelopeSuccessTrue + func (r DomainGetResponseEnvelopeSuccess) IsKnown() bool + type DomainHistory struct + Categorizations []DomainHistoryCategorization + Domain string + JSON domainHistoryJSON + func (r *DomainHistory) UnmarshalJSON(data []byte) (err error) + type DomainHistoryCategorization struct + Categories []interface{} + End time.Time + JSON domainHistoryCategorizationJSON + Start time.Time + func (r *DomainHistoryCategorization) UnmarshalJSON(data []byte) (err error) + type DomainHistoryGetParams struct + AccountID param.Field[string] + Domain param.Field[string] + func (r DomainHistoryGetParams) URLQuery() (v url.Values) + type DomainHistoryGetResponseEnvelope struct + Errors []shared.ResponseInfo + JSON domainHistoryGetResponseEnvelopeJSON + Messages []shared.ResponseInfo + Result []DomainHistory + ResultInfo DomainHistoryGetResponseEnvelopeResultInfo + Success DomainHistoryGetResponseEnvelopeSuccess + func (r *DomainHistoryGetResponseEnvelope) UnmarshalJSON(data []byte) (err error) + type DomainHistoryGetResponseEnvelopeResultInfo struct + Count float64 + JSON domainHistoryGetResponseEnvelopeResultInfoJSON + Page float64 + PerPage float64 + TotalCount float64 + func (r *DomainHistoryGetResponseEnvelopeResultInfo) UnmarshalJSON(data []byte) (err error) + type DomainHistoryGetResponseEnvelopeSuccess bool + const DomainHistoryGetResponseEnvelopeSuccessTrue + func (r DomainHistoryGetResponseEnvelopeSuccess) IsKnown() bool + type DomainHistoryService struct + Options []option.RequestOption + func NewDomainHistoryService(opts ...option.RequestOption) (r *DomainHistoryService) + func (r *DomainHistoryService) Get(ctx context.Context, params DomainHistoryGetParams, ...) (res *[]DomainHistory, err error) + type DomainInheritedContentCategory struct + ID int64 + JSON domainInheritedContentCategoryJSON + Name string + SuperCategoryID int64 + func (r *DomainInheritedContentCategory) UnmarshalJSON(data []byte) (err error) + type DomainInheritedRiskType struct + ID int64 + JSON domainInheritedRiskTypeJSON + Name string + SuperCategoryID int64 + func (r *DomainInheritedRiskType) UnmarshalJSON(data []byte) (err error) + type DomainResolvesToRef struct + ID string + JSON domainResolvesToRefJSON + Value string + func (r *DomainResolvesToRef) UnmarshalJSON(data []byte) (err error) + type DomainService struct + Bulks *DomainBulkService + Options []option.RequestOption + func NewDomainService(opts ...option.RequestOption) (r *DomainService) + func (r *DomainService) Get(ctx context.Context, params DomainGetParams, opts ...option.RequestOption) (res *Domain, err error) + type Error = apierror.Error + type ErrorData = shared.ErrorData + type IP struct + BelongsToRef IPBelongsToRef + IP string + JSON ipJSON + RiskTypes []interface{} + func (r *IP) UnmarshalJSON(data []byte) (err error) + type IPBelongsToRef struct + Country string + Description string + ID string + JSON ipBelongsToRefJSON + Type IPBelongsToRefType + Value string + func (r *IPBelongsToRef) UnmarshalJSON(data []byte) (err error) + type IPBelongsToRefType string + const IPBelongsToRefTypeHostingProvider + const IPBelongsToRefTypeISP + const IPBelongsToRefTypeOrganization + func (r IPBelongsToRefType) IsKnown() bool + type IPGetParams struct + AccountID param.Field[string] + IPV4 param.Field[string] + IPV6 param.Field[string] + func (r IPGetParams) URLQuery() (v url.Values) + type IPGetResponseEnvelope struct + Errors []shared.ResponseInfo + JSON ipGetResponseEnvelopeJSON + Messages []shared.ResponseInfo + Result []IP + ResultInfo IPGetResponseEnvelopeResultInfo + Success IPGetResponseEnvelopeSuccess + func (r *IPGetResponseEnvelope) UnmarshalJSON(data []byte) (err error) + type IPGetResponseEnvelopeResultInfo struct + Count float64 + JSON ipGetResponseEnvelopeResultInfoJSON + Page float64 + PerPage float64 + TotalCount float64 + func (r *IPGetResponseEnvelopeResultInfo) UnmarshalJSON(data []byte) (err error) + type IPGetResponseEnvelopeSuccess bool + const IPGetResponseEnvelopeSuccessTrue + func (r IPGetResponseEnvelopeSuccess) IsKnown() bool + type IPList struct + Description string + ID int64 + JSON ipListJSON + Name string + func (r *IPList) UnmarshalJSON(data []byte) (err error) + type IPListGetParams struct + AccountID param.Field[string] + type IPListGetResponseEnvelope struct + Errors []shared.ResponseInfo + JSON ipListGetResponseEnvelopeJSON + Messages []shared.ResponseInfo + Result []IPList + ResultInfo IPListGetResponseEnvelopeResultInfo + Success IPListGetResponseEnvelopeSuccess + func (r *IPListGetResponseEnvelope) UnmarshalJSON(data []byte) (err error) + type IPListGetResponseEnvelopeResultInfo struct + Count float64 + JSON ipListGetResponseEnvelopeResultInfoJSON + Page float64 + PerPage float64 + TotalCount float64 + func (r *IPListGetResponseEnvelopeResultInfo) UnmarshalJSON(data []byte) (err error) + type IPListGetResponseEnvelopeSuccess bool + const IPListGetResponseEnvelopeSuccessTrue + func (r IPListGetResponseEnvelopeSuccess) IsKnown() bool + type IPListService struct + Options []option.RequestOption + func NewIPListService(opts ...option.RequestOption) (r *IPListService) + func (r *IPListService) Get(ctx context.Context, query IPListGetParams, opts ...option.RequestOption) (res *[]IPList, err error) + type IPService struct + Options []option.RequestOption + func NewIPService(opts ...option.RequestOption) (r *IPService) + func (r *IPService) Get(ctx context.Context, params IPGetParams, opts ...option.RequestOption) (res *[]IP, err error) + type IndicatorFeedDataParams struct + AccountID param.Field[string] + type IndicatorFeedDownloadGetParams struct + AccountID param.Field[string] + type IndicatorFeedDownloadGetResponse struct + FileID int64 + Filename string + JSON indicatorFeedDownloadGetResponseJSON + Status string + func (r *IndicatorFeedDownloadGetResponse) UnmarshalJSON(data []byte) (err error) + type IndicatorFeedDownloadGetResponseEnvelope struct + Errors []shared.ResponseInfo + JSON indicatorFeedDownloadGetResponseEnvelopeJSON + Messages []shared.ResponseInfo + Result IndicatorFeedDownloadGetResponse + Success IndicatorFeedDownloadGetResponseEnvelopeSuccess + func (r *IndicatorFeedDownloadGetResponseEnvelope) UnmarshalJSON(data []byte) (err error) + type IndicatorFeedDownloadGetResponseEnvelopeSuccess bool + const IndicatorFeedDownloadGetResponseEnvelopeSuccessTrue + func (r IndicatorFeedDownloadGetResponseEnvelopeSuccess) IsKnown() bool + type IndicatorFeedDownloadService struct + Options []option.RequestOption + func NewIndicatorFeedDownloadService(opts ...option.RequestOption) (r *IndicatorFeedDownloadService) + func (r *IndicatorFeedDownloadService) Get(ctx context.Context, feedID int64, query IndicatorFeedDownloadGetParams, ...) (res *IndicatorFeedDownloadGetResponse, err error) + type IndicatorFeedGetParams struct + AccountID param.Field[string] + type IndicatorFeedGetResponse struct + CreatedOn time.Time + Description string + ID int64 + IsAttributable bool + IsDownloadable bool + IsPublic bool + JSON indicatorFeedGetResponseJSON + LatestUploadStatus IndicatorFeedGetResponseLatestUploadStatus + ModifiedOn time.Time + Name string + ProviderID string + ProviderName string + func (r *IndicatorFeedGetResponse) UnmarshalJSON(data []byte) (err error) + type IndicatorFeedGetResponseEnvelope struct + Errors []shared.ResponseInfo + JSON indicatorFeedGetResponseEnvelopeJSON + Messages []shared.ResponseInfo + Result IndicatorFeedGetResponse + Success IndicatorFeedGetResponseEnvelopeSuccess + func (r *IndicatorFeedGetResponseEnvelope) UnmarshalJSON(data []byte) (err error) + type IndicatorFeedGetResponseEnvelopeSuccess bool + const IndicatorFeedGetResponseEnvelopeSuccessTrue + func (r IndicatorFeedGetResponseEnvelopeSuccess) IsKnown() bool + type IndicatorFeedGetResponseLatestUploadStatus string + const IndicatorFeedGetResponseLatestUploadStatusComplete + const IndicatorFeedGetResponseLatestUploadStatusError + const IndicatorFeedGetResponseLatestUploadStatusLoading + const IndicatorFeedGetResponseLatestUploadStatusMirroring + const IndicatorFeedGetResponseLatestUploadStatusProvisioning + const IndicatorFeedGetResponseLatestUploadStatusUnifying + func (r IndicatorFeedGetResponseLatestUploadStatus) IsKnown() bool + type IndicatorFeedListParams struct + AccountID param.Field[string] + type IndicatorFeedListResponse struct + CreatedOn time.Time + Description string + ID int64 + IsAttributable bool + IsDownloadable bool + IsPublic bool + JSON indicatorFeedListResponseJSON + ModifiedOn time.Time + Name string + func (r *IndicatorFeedListResponse) UnmarshalJSON(data []byte) (err error) + type IndicatorFeedNewParams struct + AccountID param.Field[string] + Description param.Field[string] + Name param.Field[string] + func (r IndicatorFeedNewParams) MarshalJSON() (data []byte, err error) + type IndicatorFeedNewResponse struct + CreatedOn time.Time + Description string + ID int64 + IsAttributable bool + IsDownloadable bool + IsPublic bool + JSON indicatorFeedNewResponseJSON + ModifiedOn time.Time + Name string + func (r *IndicatorFeedNewResponse) UnmarshalJSON(data []byte) (err error) + type IndicatorFeedNewResponseEnvelope struct + Errors []shared.ResponseInfo + JSON indicatorFeedNewResponseEnvelopeJSON + Messages []shared.ResponseInfo + Result IndicatorFeedNewResponse + Success IndicatorFeedNewResponseEnvelopeSuccess + func (r *IndicatorFeedNewResponseEnvelope) UnmarshalJSON(data []byte) (err error) + type IndicatorFeedNewResponseEnvelopeSuccess bool + const IndicatorFeedNewResponseEnvelopeSuccessTrue + func (r IndicatorFeedNewResponseEnvelopeSuccess) IsKnown() bool + type IndicatorFeedPermissionDeleteParams struct + AccountID param.Field[string] + AccountTag param.Field[string] + FeedID param.Field[int64] + func (r IndicatorFeedPermissionDeleteParams) MarshalJSON() (data []byte, err error) + type IndicatorFeedPermissionDeleteResponse struct + JSON indicatorFeedPermissionDeleteResponseJSON + Success bool + func (r *IndicatorFeedPermissionDeleteResponse) UnmarshalJSON(data []byte) (err error) + type IndicatorFeedPermissionDeleteResponseEnvelope struct + Errors []shared.ResponseInfo + JSON indicatorFeedPermissionDeleteResponseEnvelopeJSON + Messages []shared.ResponseInfo + Result IndicatorFeedPermissionDeleteResponse + Success IndicatorFeedPermissionDeleteResponseEnvelopeSuccess + func (r *IndicatorFeedPermissionDeleteResponseEnvelope) UnmarshalJSON(data []byte) (err error) + type IndicatorFeedPermissionDeleteResponseEnvelopeSuccess bool + const IndicatorFeedPermissionDeleteResponseEnvelopeSuccessTrue + func (r IndicatorFeedPermissionDeleteResponseEnvelopeSuccess) IsKnown() bool + type IndicatorFeedPermissionListParams struct + AccountID param.Field[string] + type IndicatorFeedPermissionListResponse struct + Description string + ID int64 + IsAttributable bool + IsDownloadable bool + IsPublic bool + JSON indicatorFeedPermissionListResponseJSON + Name string + func (r *IndicatorFeedPermissionListResponse) UnmarshalJSON(data []byte) (err error) + type IndicatorFeedPermissionListResponseEnvelope struct + Errors []shared.ResponseInfo + JSON indicatorFeedPermissionListResponseEnvelopeJSON + Messages []shared.ResponseInfo + Result []IndicatorFeedPermissionListResponse + Success IndicatorFeedPermissionListResponseEnvelopeSuccess + func (r *IndicatorFeedPermissionListResponseEnvelope) UnmarshalJSON(data []byte) (err error) + type IndicatorFeedPermissionListResponseEnvelopeSuccess bool + const IndicatorFeedPermissionListResponseEnvelopeSuccessTrue + func (r IndicatorFeedPermissionListResponseEnvelopeSuccess) IsKnown() bool + type IndicatorFeedPermissionNewParams struct + AccountID param.Field[string] + AccountTag param.Field[string] + FeedID param.Field[int64] + func (r IndicatorFeedPermissionNewParams) MarshalJSON() (data []byte, err error) + type IndicatorFeedPermissionNewResponse struct + JSON indicatorFeedPermissionNewResponseJSON + Success bool + func (r *IndicatorFeedPermissionNewResponse) UnmarshalJSON(data []byte) (err error) + type IndicatorFeedPermissionNewResponseEnvelope struct + Errors []shared.ResponseInfo + JSON indicatorFeedPermissionNewResponseEnvelopeJSON + Messages []shared.ResponseInfo + Result IndicatorFeedPermissionNewResponse + Success IndicatorFeedPermissionNewResponseEnvelopeSuccess + func (r *IndicatorFeedPermissionNewResponseEnvelope) UnmarshalJSON(data []byte) (err error) + type IndicatorFeedPermissionNewResponseEnvelopeSuccess bool + const IndicatorFeedPermissionNewResponseEnvelopeSuccessTrue + func (r IndicatorFeedPermissionNewResponseEnvelopeSuccess) IsKnown() bool + type IndicatorFeedPermissionService struct + Options []option.RequestOption + func NewIndicatorFeedPermissionService(opts ...option.RequestOption) (r *IndicatorFeedPermissionService) + func (r *IndicatorFeedPermissionService) Delete(ctx context.Context, params IndicatorFeedPermissionDeleteParams, ...) (res *IndicatorFeedPermissionDeleteResponse, err error) + func (r *IndicatorFeedPermissionService) List(ctx context.Context, query IndicatorFeedPermissionListParams, ...) (res *[]IndicatorFeedPermissionListResponse, err error) + func (r *IndicatorFeedPermissionService) New(ctx context.Context, params IndicatorFeedPermissionNewParams, ...) (res *IndicatorFeedPermissionNewResponse, err error) + type IndicatorFeedService struct + Downloads *IndicatorFeedDownloadService + Options []option.RequestOption + Permissions *IndicatorFeedPermissionService + Snapshots *IndicatorFeedSnapshotService + func NewIndicatorFeedService(opts ...option.RequestOption) (r *IndicatorFeedService) + func (r *IndicatorFeedService) Data(ctx context.Context, feedID int64, query IndicatorFeedDataParams, ...) (res *string, err error) + func (r *IndicatorFeedService) Get(ctx context.Context, feedID int64, query IndicatorFeedGetParams, ...) (res *IndicatorFeedGetResponse, err error) + func (r *IndicatorFeedService) List(ctx context.Context, query IndicatorFeedListParams, ...) (res *pagination.SinglePage[IndicatorFeedListResponse], err error) + func (r *IndicatorFeedService) ListAutoPaging(ctx context.Context, query IndicatorFeedListParams, ...) *pagination.SinglePageAutoPager[IndicatorFeedListResponse] + func (r *IndicatorFeedService) New(ctx context.Context, params IndicatorFeedNewParams, ...) (res *IndicatorFeedNewResponse, err error) + func (r *IndicatorFeedService) Update(ctx context.Context, feedID int64, params IndicatorFeedUpdateParams, ...) (res *IndicatorFeedUpdateResponse, err error) + type IndicatorFeedSnapshotService struct + Options []option.RequestOption + func NewIndicatorFeedSnapshotService(opts ...option.RequestOption) (r *IndicatorFeedSnapshotService) + func (r *IndicatorFeedSnapshotService) Update(ctx context.Context, feedID int64, params IndicatorFeedSnapshotUpdateParams, ...) (res *IndicatorFeedSnapshotUpdateResponse, err error) + type IndicatorFeedSnapshotUpdateParams struct + AccountID param.Field[string] + Source param.Field[string] + func (r IndicatorFeedSnapshotUpdateParams) MarshalMultipart() (data []byte, contentType string, err error) + type IndicatorFeedSnapshotUpdateResponse struct + FileID int64 + Filename string + JSON indicatorFeedSnapshotUpdateResponseJSON + Status string + func (r *IndicatorFeedSnapshotUpdateResponse) UnmarshalJSON(data []byte) (err error) + type IndicatorFeedSnapshotUpdateResponseEnvelope struct + Errors []shared.ResponseInfo + JSON indicatorFeedSnapshotUpdateResponseEnvelopeJSON + Messages []shared.ResponseInfo + Result IndicatorFeedSnapshotUpdateResponse + Success IndicatorFeedSnapshotUpdateResponseEnvelopeSuccess + func (r *IndicatorFeedSnapshotUpdateResponseEnvelope) UnmarshalJSON(data []byte) (err error) + type IndicatorFeedSnapshotUpdateResponseEnvelopeSuccess bool + const IndicatorFeedSnapshotUpdateResponseEnvelopeSuccessTrue + func (r IndicatorFeedSnapshotUpdateResponseEnvelopeSuccess) IsKnown() bool + type IndicatorFeedUpdateParams struct + AccountID param.Field[string] + Description param.Field[string] + IsAttributable param.Field[bool] + IsDownloadable param.Field[bool] + IsPublic param.Field[bool] + Name param.Field[string] + func (r IndicatorFeedUpdateParams) MarshalJSON() (data []byte, err error) + type IndicatorFeedUpdateResponse struct + CreatedOn time.Time + Description string + ID int64 + IsAttributable bool + IsDownloadable bool + IsPublic bool + JSON indicatorFeedUpdateResponseJSON + ModifiedOn time.Time + Name string + func (r *IndicatorFeedUpdateResponse) UnmarshalJSON(data []byte) (err error) + type IndicatorFeedUpdateResponseEnvelope struct + Errors []shared.ResponseInfo + JSON indicatorFeedUpdateResponseEnvelopeJSON + Messages []shared.ResponseInfo + Result IndicatorFeedUpdateResponse + Success IndicatorFeedUpdateResponseEnvelopeSuccess + func (r *IndicatorFeedUpdateResponseEnvelope) UnmarshalJSON(data []byte) (err error) + type IndicatorFeedUpdateResponseEnvelopeSuccess bool + const IndicatorFeedUpdateResponseEnvelopeSuccessTrue + func (r IndicatorFeedUpdateResponseEnvelopeSuccess) IsKnown() bool + type IntelService struct + ASN *ASNService + AttackSurfaceReport *AttackSurfaceReportService + DNS *DNSService + DomainHistory *DomainHistoryService + Domains *DomainService + IPLists *IPListService + IPs *IPService + IndicatorFeeds *IndicatorFeedService + Miscategorizations *MiscategorizationService + Options []option.RequestOption + Sinkholes *SinkholeService + Whois *WhoisService + func NewIntelService(opts ...option.RequestOption) (r *IntelService) + type IssueType string + const IssueTypeComplianceViolation + const IssueTypeEmailSecurity + const IssueTypeExposedInfrastructure + const IssueTypeInsecureConfiguration + const IssueTypeWeakAuthentication + func (r IssueType) IsKnown() bool + type MemberParam = shared.MemberParam + type MemberRoleParam = shared.MemberRoleParam + type MemberRolesPermissionsParam = shared.MemberRolesPermissionsParam + type MemberStatus = shared.MemberStatus + type MemberUserParam = shared.MemberUserParam + type MiscategorizationNewParams struct + AccountID param.Field[string] + ContentAdds param.Field[[]int64] + ContentRemoves param.Field[[]int64] + IP param.Field[string] + IndicatorType param.Field[MiscategorizationNewParamsIndicatorType] + SecurityAdds param.Field[[]int64] + SecurityRemoves param.Field[[]int64] + URL param.Field[string] + func (r MiscategorizationNewParams) MarshalJSON() (data []byte, err error) + type MiscategorizationNewParamsIndicatorType string + const MiscategorizationNewParamsIndicatorTypeDomain + const MiscategorizationNewParamsIndicatorTypeIPV4 + const MiscategorizationNewParamsIndicatorTypeIPV6 + const MiscategorizationNewParamsIndicatorTypeURL + func (r MiscategorizationNewParamsIndicatorType) IsKnown() bool + type MiscategorizationNewResponse struct + Errors []shared.ResponseInfo + JSON miscategorizationNewResponseJSON + Messages []shared.ResponseInfo + Success MiscategorizationNewResponseSuccess + func (r *MiscategorizationNewResponse) UnmarshalJSON(data []byte) (err error) + type MiscategorizationNewResponseSuccess bool + const MiscategorizationNewResponseSuccessTrue + func (r MiscategorizationNewResponseSuccess) IsKnown() bool + type MiscategorizationService struct + Options []option.RequestOption + func NewMiscategorizationService(opts ...option.RequestOption) (r *MiscategorizationService) + func (r *MiscategorizationService) New(ctx context.Context, params MiscategorizationNewParams, ...) (res *MiscategorizationNewResponse, err error) + type Permission = shared.Permission + type PermissionGrant = shared.PermissionGrant + type PermissionGrantParam = shared.PermissionGrantParam + type RatePlan = shared.RatePlan + type RatePlanParam = shared.RatePlanParam + type ResponseInfo = shared.ResponseInfo + type Role = shared.Role + type SeverityQueryParam string + const SeverityQueryParamCritical + const SeverityQueryParamLow + const SeverityQueryParamModerate + func (r SeverityQueryParam) IsKnown() bool + type Sinkhole struct + AccountTag string + CreatedOn time.Time + ID int64 + JSON sinkholeJSON + ModifiedOn time.Time + Name string + R2Bucket string + R2ID string + func (r *Sinkhole) UnmarshalJSON(data []byte) (err error) + type SinkholeListParams struct + AccountID param.Field[string] + type SinkholeService struct + Options []option.RequestOption + func NewSinkholeService(opts ...option.RequestOption) (r *SinkholeService) + func (r *SinkholeService) List(ctx context.Context, query SinkholeListParams, opts ...option.RequestOption) (res *pagination.SinglePage[Sinkhole], err error) + func (r *SinkholeService) ListAutoPaging(ctx context.Context, query SinkholeListParams, opts ...option.RequestOption) *pagination.SinglePageAutoPager[Sinkhole] + type SortDirection = shared.SortDirection + type Subscription = shared.Subscription + type SubscriptionFrequency = shared.SubscriptionFrequency + type SubscriptionParam = shared.SubscriptionParam + type SubscriptionState = shared.SubscriptionState + type WhoisGetParams struct + AccountID param.Field[string] + Domain param.Field[string] + func (r WhoisGetParams) URLQuery() (v url.Values) + type WhoisGetResponse struct + AdministrativeCity string + AdministrativeCountry string + AdministrativeEmail string + AdministrativeFax string + AdministrativeFaxExt string + AdministrativeID string + AdministrativeName string + AdministrativeOrg string + AdministrativePhone string + AdministrativePhoneExt string + AdministrativePostalCode string + AdministrativeProvince string + AdministrativeReferralURL string + AdministrativeStreet string + BillingCity string + BillingCountry string + BillingEmail string + BillingFax string + BillingFaxExt string + BillingID string + BillingName string + BillingOrg string + BillingPhone string + BillingPhoneExt string + BillingPostalCode string + BillingProvince string + BillingReferralURL string + BillingStreet string + CreatedDate time.Time + CreatedDateRaw string + DNSSEC bool + Domain string + ExpirationDate time.Time + ExpirationDateRaw string + Extension string + Found bool + ID string + JSON whoisGetResponseJSON + Nameservers []string + Punycode string + Registrant string + RegistrantCity string + RegistrantCountry string + RegistrantEmail string + RegistrantFax string + RegistrantFaxExt string + RegistrantID string + RegistrantName string + RegistrantOrg string + RegistrantPhone string + RegistrantPhoneExt string + RegistrantPostalCode string + RegistrantProvince string + RegistrantReferralURL string + RegistrantStreet string + Registrar string + RegistrarCity string + RegistrarCountry string + RegistrarEmail string + RegistrarFax string + RegistrarFaxExt string + RegistrarID string + RegistrarName string + RegistrarOrg string + RegistrarPhone string + RegistrarPhoneExt string + RegistrarPostalCode string + RegistrarProvince string + RegistrarReferralURL string + RegistrarStreet string + Status []string + TechnicalCity string + TechnicalCountry string + TechnicalEmail string + TechnicalFax string + TechnicalFaxExt string + TechnicalID string + TechnicalName string + TechnicalOrg string + TechnicalPhone string + TechnicalPhoneExt string + TechnicalPostalCode string + TechnicalProvince string + TechnicalReferralURL string + TechnicalStreet string + UpdatedDate time.Time + UpdatedDateRaw string + WhoisServer string + func (r *WhoisGetResponse) UnmarshalJSON(data []byte) (err error) + type WhoisGetResponseEnvelope struct + Errors []shared.ResponseInfo + JSON whoisGetResponseEnvelopeJSON + Messages []shared.ResponseInfo + Result WhoisGetResponse + Success WhoisGetResponseEnvelopeSuccess + func (r *WhoisGetResponseEnvelope) UnmarshalJSON(data []byte) (err error) + type WhoisGetResponseEnvelopeSuccess bool + const WhoisGetResponseEnvelopeSuccessTrue + func (r WhoisGetResponseEnvelopeSuccess) IsKnown() bool + type WhoisService struct + Options []option.RequestOption + func NewWhoisService(opts ...option.RequestOption) (r *WhoisService) + func (r *WhoisService) Get(ctx context.Context, params WhoisGetParams, opts ...option.RequestOption) (res *WhoisGetResponse, err error) Other modules containing this package github.com/cloudflare/cloudflare-go/v2