fw

package
v1.4.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 21, 2025 License: Apache-2.0 Imports: 28 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// InternalDomainListOperationTimeout is the maximum amount of time to wait for eventual consistency
	AccessCodeOperationTimeout = 2 * time.Minute
)
View Source
const (
	// InternalDomainListOperationTimeout is the maximum amount of time to wait for eventual consistency
	InternalDomainListOperationTimeout = 2 * time.Minute
)
View Source
const (
	// SecurityPolicyOperationTimeout is the maximum amount of time to wait for eventual consistency
	SecurityPolicyOperationTimeout = 2 * time.Minute
)

Variables

View Source
var AtcfwAccessCodeAttrTypes = map[string]attr.Type{
	"access_key":   types.StringType,
	"activation":   timetypes.RFC3339Type{},
	"created_time": timetypes.RFC3339Type{},
	"description":  types.StringType,
	"expiration":   timetypes.RFC3339Type{},
	"name":         types.StringType,
	"policy_ids":   types.ListType{ElemType: types.Int64Type},
	"rules":        types.ListType{ElemType: types.ObjectType{AttrTypes: AtcfwAccessCodeRuleAttrTypes}},
	"updated_time": timetypes.RFC3339Type{},
	"id":           types.StringType,
}
View Source
var AtcfwAccessCodeResourceSchemaAttributes = map[string]schema.Attribute{
	"id": schema.StringAttribute{
		Computed:            true,
		MarkdownDescription: "The resource identifier.",
		PlanModifiers: []planmodifier.String{
			stringplanmodifier.UseStateForUnknown(),
		},
	},
	"access_key": schema.StringAttribute{
		Computed: true,
		PlanModifiers: []planmodifier.String{
			stringplanmodifier.UseStateForUnknown(),
		},
		MarkdownDescription: "Auto generated unique Bypass Code value",
	},
	"activation": schema.StringAttribute{
		CustomType:          timetypes.RFC3339Type{},
		Required:            true,
		MarkdownDescription: "The time when the Bypass Code object was activated.",
	},
	"created_time": schema.StringAttribute{
		CustomType:          timetypes.RFC3339Type{},
		Computed:            true,
		MarkdownDescription: "The time when the Bypass Code object was created.",
	},
	"description": schema.StringAttribute{
		Optional:            true,
		Computed:            true,
		Default:             stringdefault.StaticString(""),
		MarkdownDescription: "The brief description for an access code.",
	},
	"expiration": schema.StringAttribute{
		CustomType:          timetypes.RFC3339Type{},
		Required:            true,
		MarkdownDescription: "The time when the Bypass Code object expires.",
	},
	"name": schema.StringAttribute{
		Required:            true,
		MarkdownDescription: "The name of Bypass Code",
	},

	"policy_ids": schema.ListAttribute{
		ElementType:         types.Int64Type,
		Computed:            true,
		MarkdownDescription: "The list of SecurityPolicy object identifiers.",
	},
	"rules": schema.ListNestedAttribute{
		NestedObject: schema.NestedAttributeObject{
			Attributes: AtcfwAccessCodeRuleResourceSchemaAttributes,
		},
		Required:            true,
		MarkdownDescription: "The list of selected security rules",
	},
	"updated_time": schema.StringAttribute{
		CustomType:          timetypes.RFC3339Type{},
		Computed:            true,
		MarkdownDescription: "The time when the Bypass Code object was last updated.",
	},
}
View Source
var AtcfwAccessCodeRuleAttrTypes = map[string]attr.Type{
	"action":        types.StringType,
	"data":          types.StringType,
	"description":   types.StringType,
	"redirect_name": types.StringType,
	"type":          types.StringType,
}
View Source
var AtcfwAccessCodeRuleResourceSchemaAttributes = map[string]schema.Attribute{
	"action": schema.StringAttribute{
		Optional:            true,
		Computed:            true,
		Default:             stringdefault.StaticString(""),
		MarkdownDescription: "The action to be used in the rule.",
	},
	"data": schema.StringAttribute{
		Optional:            true,
		MarkdownDescription: "The data to be used in the rule.",
	},
	"description": schema.StringAttribute{
		Optional:            true,
		Computed:            true,
		Default:             stringdefault.StaticString(""),
		MarkdownDescription: "The brief description of the rule.",
	},
	"redirect_name": schema.StringAttribute{
		Optional:            true,
		Computed:            true,
		Default:             stringdefault.StaticString(""),
		MarkdownDescription: "The name of the redirect to be used in the rule.",
	},
	"type": schema.StringAttribute{
		Optional:            true,
		MarkdownDescription: "The type of the rule.",
	},
}
View Source
var AtcfwApplicationCriterionAttrTypes = map[string]attr.Type{
	"category":    types.StringType,
	"id":          types.StringType,
	"name":        types.StringType,
	"subcategory": types.StringType,
}
View Source
var AtcfwApplicationCriterionResourceSchemaAttributes = map[string]schema.Attribute{
	"category": schema.StringAttribute{
		Optional:            true,
		Computed:            true,
		Default:             stringdefault.StaticString(""),
		MarkdownDescription: "The category of the application.",
	},
	"id": schema.StringAttribute{
		Computed:            true,
		MarkdownDescription: "The Application Criterion object identifier.",
	},
	"name": schema.StringAttribute{
		Optional:            true,
		Computed:            true,
		Default:             stringdefault.StaticString(""),
		MarkdownDescription: "Name for the application. Since the name of application is unique it may be used as alternate key for the application. The 'name' is used for import-export workflow and should be resolved to the 'id' before continue processing Create/Update operations.",
	},
	"subcategory": schema.StringAttribute{
		Optional:            true,
		Computed:            true,
		Default:             stringdefault.StaticString(""),
		MarkdownDescription: "The subcategory of the application.",
	},
}
View Source
var AtcfwApplicationFilterAttrTypes = map[string]attr.Type{
	"created_time": timetypes.RFC3339Type{},
	"criteria":     types.ListType{ElemType: types.ObjectType{AttrTypes: AtcfwApplicationCriterionAttrTypes}},
	"description":  types.StringType,
	"id":           types.Int32Type,
	"name":         types.StringType,
	"policies":     types.ListType{ElemType: types.StringType},
	"readonly":     types.BoolType,
	"tags":         types.MapType{ElemType: types.StringType},
	"updated_time": timetypes.RFC3339Type{},
}
View Source
var AtcfwApplicationFilterResourceSchemaAttributes = map[string]schema.Attribute{
	"created_time": schema.StringAttribute{
		CustomType:          timetypes.RFC3339Type{},
		Computed:            true,
		MarkdownDescription: "The time when this Application Filter object was created.",
	},
	"criteria": schema.ListNestedAttribute{
		NestedObject: schema.NestedAttributeObject{
			Attributes: AtcfwApplicationCriterionResourceSchemaAttributes,
		},
		Required:            true,
		MarkdownDescription: "The array of key-value pairs specifying criteria for the search.",
	},
	"description": schema.StringAttribute{
		Optional:            true,
		Computed:            true,
		Default:             stringdefault.StaticString(""),
		MarkdownDescription: "The brief description for the application filter.",
	},
	"id": schema.Int32Attribute{
		Computed: true,
		PlanModifiers: []planmodifier.Int32{
			int32planmodifier.UseStateForUnknown(),
		},
		MarkdownDescription: "The Application Filter object identifier.",
	},
	"name": schema.StringAttribute{
		Required:            true,
		MarkdownDescription: "The name of the application filter.",
	},
	"policies": schema.ListAttribute{
		ElementType:         types.StringType,
		Computed:            true,
		MarkdownDescription: "The list of security policy names with which the application filter is associated.",
	},
	"readonly": schema.BoolAttribute{
		Computed:            true,
		MarkdownDescription: "True if it is a predefined application filter",
	},
	"tags": schema.MapAttribute{
		ElementType:         types.StringType,
		Optional:            true,
		Computed:            true,
		Default:             mapdefault.StaticValue(types.MapNull(types.StringType)),
		MarkdownDescription: "Enables tag support for resource where tags attribute contains user-defined key value pairs",
	},
	"updated_time": schema.StringAttribute{
		CustomType:          timetypes.RFC3339Type{},
		Computed:            true,
		MarkdownDescription: "The time when this Application Filter object was last updated.",
	},
}
View Source
var AtcfwCategoryFilterAttrTypes = map[string]attr.Type{
	"categories":   types.ListType{ElemType: types.StringType},
	"created_time": timetypes.RFC3339Type{},
	"description":  types.StringType,
	"id":           types.Int64Type,
	"name":         types.StringType,
	"policies":     types.ListType{ElemType: types.StringType},
	"tags":         types.MapType{ElemType: types.StringType},
	"updated_time": timetypes.RFC3339Type{},
}
View Source
var AtcfwCategoryFilterResourceSchemaAttributes = map[string]schema.Attribute{
	"categories": schema.ListAttribute{
		ElementType:         types.StringType,
		Required:            true,
		MarkdownDescription: "The list of content category names that falls into this category filter.",
	},
	"created_time": schema.StringAttribute{
		CustomType:          timetypes.RFC3339Type{},
		Computed:            true,
		MarkdownDescription: "The time when this Category Filter object was created.",
	},
	"description": schema.StringAttribute{
		Optional:            true,
		Computed:            true,
		Default:             stringdefault.StaticString(""),
		MarkdownDescription: "The brief description for the category filter.",
	},
	"id": schema.Int32Attribute{
		Computed: true,
		PlanModifiers: []planmodifier.Int32{
			int32planmodifier.UseStateForUnknown(),
		},
		MarkdownDescription: "The Category Filter object identifier.",
	},
	"name": schema.StringAttribute{
		Required:            true,
		MarkdownDescription: "The name of the category filter.",
	},
	"policies": schema.ListAttribute{
		ElementType:         types.StringType,
		Computed:            true,
		MarkdownDescription: "The list of security policy names with which the category filter is associated.",
	},
	"tags": schema.MapAttribute{
		ElementType:         types.StringType,
		Optional:            true,
		Computed:            true,
		Default:             mapdefault.StaticValue(types.MapNull(types.StringType)),
		MarkdownDescription: "Enables tag support for resource where tags attribute contains user-defined key value pairs",
	},
	"updated_time": schema.StringAttribute{
		CustomType:          timetypes.RFC3339Type{},
		Computed:            true,
		MarkdownDescription: "The time when this Category Filter object was last updated.",
	},
}
View Source
var AtcfwContentCategoryAttrTypes = map[string]attr.Type{
	"category_code":    types.Int32Type,
	"category_name":    types.StringType,
	"functional_group": types.StringType,
}
View Source
var AtcfwContentCategoryResourceSchemaAttributes = map[string]schema.Attribute{
	"category_code": schema.Int32Attribute{
		Optional:            true,
		MarkdownDescription: "The category code.",
	},
	"category_name": schema.StringAttribute{
		Optional:            true,
		MarkdownDescription: "The name of the category.",
	},
	"functional_group": schema.StringAttribute{
		Optional:            true,
		MarkdownDescription: "The functional group name of the category.",
	},
}
View Source
var AtcfwInternalDomainsAttrTypes = map[string]attr.Type{
	"created_time":     timetypes.RFC3339Type{},
	"description":      types.StringType,
	"id":               types.Int32Type,
	"internal_domains": internaltypes.UnorderedListOfStringType,
	"is_default":       types.BoolType,
	"name":             types.StringType,
	"tags":             types.MapType{ElemType: types.StringType},
	"tags_all":         types.MapType{ElemType: types.StringType},
	"updated_time":     timetypes.RFC3339Type{},
}
View Source
var AtcfwInternalDomainsResourceSchemaAttributes = map[string]schema.Attribute{
	"created_time": schema.StringAttribute{
		CustomType:          timetypes.RFC3339Type{},
		Computed:            true,
		MarkdownDescription: "The time when this Internal Domain list object was created.",
	},
	"description": schema.StringAttribute{
		Optional:            true,
		Default:             stringdefault.StaticString(""),
		Computed:            true,
		MarkdownDescription: "The brief description for the internal domain list.",
	},
	"id": schema.Int32Attribute{
		Computed: true,
		PlanModifiers: []planmodifier.Int32{
			int32planmodifier.UseStateForUnknown(),
		},
		MarkdownDescription: "The Internal Domain object identifier.",
	},
	"internal_domains": schema.ListAttribute{
		CustomType:          internaltypes.UnorderedListOfStringType,
		ElementType:         types.StringType,
		Optional:            true,
		MarkdownDescription: "The list of internal domains, should be unique to each other and has to be read-only from the API level.",
	},
	"is_default": schema.BoolAttribute{
		Computed:            true,
		MarkdownDescription: "True if name is 'Default Bypass Domains/CIDRs' otherwise false.",
	},
	"name": schema.StringAttribute{
		Optional: true,
		PlanModifiers: []planmodifier.String{
			stringplanmodifier.RequiresReplaceIfConfigured(),
		},
		MarkdownDescription: "The name of the internal domain list.",
	},
	"tags": schema.MapAttribute{
		ElementType:         types.StringType,
		Optional:            true,
		Computed:            true,
		Default:             mapdefault.StaticValue(types.MapNull(types.StringType)),
		MarkdownDescription: "The tags for the internal domain list in JSON format.",
	},
	"tags_all": schema.MapAttribute{
		ElementType:         types.StringType,
		Computed:            true,
		MarkdownDescription: "The tags for the internal domain list, including default tags.",
	},
	"updated_time": schema.StringAttribute{
		CustomType:          timetypes.RFC3339Type{},
		Computed:            true,
		MarkdownDescription: "The time when this Internal domain list object was last updated.",
	},
}
View Source
var AtcfwItemStructsAttrTypes = map[string]attr.Type{
	"description": types.StringType,
	"item":        types.StringType,
}
View Source
var AtcfwItemStructsResourceSchemaAttributes = map[string]schema.Attribute{
	"description": schema.StringAttribute{
		Optional:            true,
		MarkdownDescription: "The description of the item",
	},
	"item": schema.StringAttribute{
		Optional:            true,
		MarkdownDescription: "The data of the Item",
	},
}
View Source
var AtcfwNamedListAttrTypes = map[string]attr.Type{
	"confidence_level": types.StringType,
	"created_time":     timetypes.RFC3339Type{},
	"description":      types.StringType,
	"id":               types.Int32Type,
	"item_count":       types.Int32Type,
	"items":            types.ListType{ElemType: types.StringType},
	"items_described":  types.ListType{ElemType: types.ObjectType{AttrTypes: AtcfwItemStructsAttrTypes}},
	"name":             types.StringType,
	"policies":         types.ListType{ElemType: types.StringType},
	"tags":             types.MapType{ElemType: types.StringType},
	"tags_all":         types.MapType{ElemType: types.StringType},
	"threat_level":     types.StringType,
	"type":             types.StringType,
	"updated_time":     timetypes.RFC3339Type{},
}
View Source
var AtcfwNamedListResourceSchemaAttributes = map[string]schema.Attribute{
	"confidence_level": schema.StringAttribute{
		Computed:            true,
		Optional:            true,
		MarkdownDescription: "The confidence level for a custom list. The possible values are [\"LOW\", \"MEDIUM\", \"HIGH\"]",
	},
	"created_time": schema.StringAttribute{
		CustomType:          timetypes.RFC3339Type{},
		Computed:            true,
		MarkdownDescription: "The time when this Named List object was created.",
	},
	"description": schema.StringAttribute{
		Optional:            true,
		Computed:            true,
		Default:             stringdefault.StaticString(""),
		MarkdownDescription: "The brief description for the named list.",
	},
	"id": schema.Int32Attribute{
		Computed: true,
		PlanModifiers: []planmodifier.Int32{
			int32planmodifier.UseStateForUnknown(),
		},
		MarkdownDescription: "The Named List object identifier.",
	},
	"item_count": schema.Int32Attribute{
		Computed:            true,
		MarkdownDescription: "The number of items in this named list.",
	},
	"items": schema.ListAttribute{
		ElementType:         types.StringType,
		Computed:            true,
		MarkdownDescription: "The list of the FQDN or IPv4/IPv6 CIDRs to define whitelists and blacklists for additional protection.",
	},
	"items_described": schema.ListNestedAttribute{
		NestedObject: schema.NestedAttributeObject{
			Attributes: AtcfwItemStructsResourceSchemaAttributes,
		},
		Required:            true,
		MarkdownDescription: "The List of ItemStructs structure which contains the item and its description",
	},
	"name": schema.StringAttribute{
		Required:            true,
		MarkdownDescription: "The name of the named list.",
	},
	"policies": schema.ListAttribute{
		ElementType:         types.StringType,
		Computed:            true,
		MarkdownDescription: "The list of the security policy names with which the named list is associated.",
	},
	"tags": schema.MapAttribute{
		ElementType:         types.StringType,
		Optional:            true,
		Computed:            true,
		Default:             mapdefault.StaticValue(types.MapNull(types.StringType)),
		MarkdownDescription: "The tags for the named list.",
	},
	"tags_all": schema.MapAttribute{
		ElementType:         types.StringType,
		Computed:            true,
		MarkdownDescription: "The tags for the named list, including default tags.",
	},
	"threat_level": schema.StringAttribute{
		Computed:            true,
		Optional:            true,
		MarkdownDescription: "The threat level for a custom list. The possible values are [\"INFO\", \"LOW\", \"MEDIUM\", \"HIGH\"]",
	},
	"type": schema.StringAttribute{
		Computed: true,
		Optional: true,
		PlanModifiers: []planmodifier.String{
			stringplanmodifier.RequiresReplaceIfConfigured(),
		},
		MarkdownDescription: "The type of the named list, that can be \"custom_list\", \"threat_insight\", \"fast_flux\", \"dga\", \"dnsm\", \"threat_insight_nde\", \"default_allow\", \"default_block\" or \"threat_insight_nde\".",
	},
	"updated_time": schema.StringAttribute{
		CustomType:          timetypes.RFC3339Type{},
		Computed:            true,
		MarkdownDescription: "The time when this Named List object was last updated.",
	},
}
View Source
var AtcfwNetAddrDfpAssignmentAttrTypes = map[string]attr.Type{
	"addr_net":          types.StringType,
	"dfp_ids":           types.ListType{ElemType: types.Int64Type},
	"dfp_service_ids":   types.ListType{ElemType: types.StringType},
	"end":               types.StringType,
	"external_scope_id": types.StringType,
	"host_id":           types.StringType,
	"ip_space_id":       types.StringType,
	"scope_type":        types.StringType,
	"start":             types.StringType,
}
View Source
var AtcfwNetAddrDfpAssignmentResourceSchemaAttributes = map[string]schema.Attribute{
	"addr_net": schema.StringAttribute{
		Optional:            true,
		MarkdownDescription: "network address in IPv4 CIDR (address/bitmask length) string format",
	},
	"dfp_ids": schema.ListAttribute{
		ElementType:         types.Int64Type,
		Computed:            true,
		MarkdownDescription: "The list of identifiers of DFPs that have association with this scope.",
	},
	"dfp_service_ids": schema.ListAttribute{
		ElementType: types.StringType,
		Computed:    true,
	},
	"end": schema.StringAttribute{
		Optional: true,
	},
	"external_scope_id": schema.StringAttribute{
		Optional:            true,
		MarkdownDescription: "external scope ID, UUID",
	},
	"host_id": schema.StringAttribute{
		Optional:            true,
		MarkdownDescription: "Host reference, UUID",
	},
	"ip_space_id": schema.StringAttribute{
		Optional:            true,
		MarkdownDescription: "IPSpace reference, UUID",
	},
	"scope_type": schema.StringAttribute{
		Optional: true,
		Computed: true,
		Default:  stringdefault.StaticString("UNKNOWN"),
	},
	"start": schema.StringAttribute{
		Optional:            true,
		MarkdownDescription: "Start and end pair of addresses used for range scope type",
	},
}
View Source
var AtcfwNetworkListAttrTypes = map[string]attr.Type{
	"created_time": timetypes.RFC3339Type{},
	"description":  types.StringType,
	"id":           types.Int32Type,
	"items":        types.ListType{ElemType: types.StringType},
	"name":         types.StringType,
	"policy_id":    types.Int32Type,
	"updated_time": timetypes.RFC3339Type{},
}
View Source
var AtcfwNetworkListResourceSchemaAttributes = map[string]schema.Attribute{
	"created_time": schema.StringAttribute{
		CustomType:          timetypes.RFC3339Type{},
		Computed:            true,
		MarkdownDescription: "The time when this Network List object was created.",
	},
	"description": schema.StringAttribute{
		Optional:            true,
		Computed:            true,
		Default:             stringdefault.StaticString(""),
		MarkdownDescription: "The brief description for the network list.",
	},
	"id": schema.Int32Attribute{
		Computed: true,
		PlanModifiers: []planmodifier.Int32{
			int32planmodifier.UseStateForUnknown(),
		},
		MarkdownDescription: "The Network List object identifier.",
	},
	"items": schema.ListAttribute{
		ElementType:         types.StringType,
		Required:            true,
		MarkdownDescription: "The list of networks' CIDRs that are subject for malicious attacks protection.",
	},
	"name": schema.StringAttribute{
		Required:            true,
		MarkdownDescription: "The name of the network list.",
	},
	"policy_id": schema.Int32Attribute{
		Computed:            true,
		MarkdownDescription: "The identifier of the security policy with which the network list is associated.",
	},
	"updated_time": schema.StringAttribute{
		CustomType:          timetypes.RFC3339Type{},
		Computed:            true,
		MarkdownDescription: "The time when this Network List object was last updated.",
	},
}
View Source
var AtcfwPoPRegionAttrTypes = map[string]attr.Type{
	"addresses": types.ListType{ElemType: types.StringType},
	"id":        types.Int32Type,
	"location":  types.StringType,
	"region":    types.StringType,
}
View Source
var AtcfwPoPRegionResourceSchemaAttributes = map[string]schema.Attribute{
	"addresses": schema.ListAttribute{
		ElementType:         types.StringType,
		Optional:            true,
		MarkdownDescription: "PoP Region's IP addresses",
	},
	"id": schema.Int32Attribute{
		Computed:            true,
		MarkdownDescription: "The PoP Region's serial, unique ID",
	},
	"location": schema.StringAttribute{
		Optional:            true,
		MarkdownDescription: "PoP Region's location",
	},
	"region": schema.StringAttribute{
		Optional:            true,
		MarkdownDescription: "PoP Region's name",
	},
}
View Source
var AtcfwSecurityPolicyAttrTypes = map[string]attr.Type{
	"access_codes":          types.ListType{ElemType: types.StringType},
	"created_time":          timetypes.RFC3339Type{},
	"default_action":        types.StringType,
	"default_redirect_name": types.StringType,
	"description":           types.StringType,
	"dfp_services":          types.ListType{ElemType: types.StringType},
	"dfps":                  types.ListType{ElemType: types.Int64Type},
	"ecs":                   types.BoolType,
	"id":                    types.Int32Type,
	"is_default":            types.BoolType,
	"name":                  types.StringType,
	"net_address_dfps":      types.ListType{ElemType: types.ObjectType{AttrTypes: AtcfwNetAddrDfpAssignmentAttrTypes}},
	"network_lists":         types.ListType{ElemType: types.Int64Type},
	"onprem_resolve":        types.BoolType,
	"precedence":            types.Int32Type,
	"roaming_device_groups": types.ListType{ElemType: types.Int64Type},
	"rules":                 types.ListType{ElemType: types.ObjectType{AttrTypes: AtcfwSecurityPolicyRuleAttrTypes}},
	"safe_search":           types.BoolType,
	"tags":                  types.MapType{ElemType: types.StringType},
	"tags_all":              types.MapType{ElemType: types.StringType},
	"updated_time":          timetypes.RFC3339Type{},
	"user_groups":           types.ListType{ElemType: types.StringType},
}
View Source
var AtcfwSecurityPolicyResourceSchemaAttributes = map[string]schema.Attribute{
	"access_codes": schema.ListAttribute{
		ElementType:         types.StringType,
		Optional:            true,
		Computed:            true,
		MarkdownDescription: "Access codes assigned to Security Policy",
	},
	"created_time": schema.StringAttribute{
		CustomType:          timetypes.RFC3339Type{},
		Computed:            true,
		MarkdownDescription: "The time when this Security Policy object was created.",
	},
	"default_action": schema.StringAttribute{
		Optional:            true,
		Computed:            true,
		Default:             stringdefault.StaticString("action_allow"),
		MarkdownDescription: "The policy-level action gets applied when none of the policy rules apply/match. The default value for default_action is \"action_allow\".",
	},
	"default_redirect_name": schema.StringAttribute{
		Optional:            true,
		Computed:            true,
		Default:             stringdefault.StaticString(""),
		MarkdownDescription: "Name of the custom redirect, if the default_action is \"action_redirect\".",
	},
	"description": schema.StringAttribute{
		Optional:            true,
		Computed:            true,
		Default:             stringdefault.StaticString(""),
		MarkdownDescription: "The brief description for the security policy.",
	},
	"dfp_services": schema.ListAttribute{
		ElementType:         types.StringType,
		Computed:            true,
		MarkdownDescription: "The list of DNS Forwarding Proxy Services object identifiers. For Internal Use only.",
	},
	"dfps": schema.ListAttribute{
		ElementType:         types.Int64Type,
		Optional:            true,
		Computed:            true,
		Default:             listdefault.StaticValue(types.ListValueMust(types.Int64Type, []attr.Value{})),
		MarkdownDescription: "The list of DNS Forwarding Proxy object identifiers.",
	},
	"ecs": schema.BoolAttribute{
		Optional:            true,
		Computed:            true,
		Default:             booldefault.StaticBool(false),
		MarkdownDescription: "Use ECS for handling policy",
	},
	"id": schema.Int32Attribute{
		Computed: true,
		PlanModifiers: []planmodifier.Int32{
			int32planmodifier.UseStateForUnknown(),
		},
		MarkdownDescription: "The Security Policy object identifier.",
	},
	"is_default": schema.BoolAttribute{
		Computed:            true,
		Default:             booldefault.StaticBool(false),
		MarkdownDescription: "Flag that indicates whether this is a default security policy.",
	},
	"name": schema.StringAttribute{
		Required:            true,
		MarkdownDescription: "The name of the security policy.",
	},
	"net_address_dfps": schema.ListNestedAttribute{
		NestedObject: schema.NestedAttributeObject{
			Attributes: AtcfwNetAddrDfpAssignmentResourceSchemaAttributes,
		},
		Optional:            true,
		MarkdownDescription: "List of DFPs associated with this policy via network address (with corresponding network address)",
	},
	"network_lists": schema.ListAttribute{
		ElementType:         types.Int64Type,
		Optional:            true,
		Computed:            true,
		Default:             listdefault.StaticValue(types.ListValueMust(types.Int64Type, []attr.Value{})),
		MarkdownDescription: "The list of Network Lists identifiers that represents networks that you want to protect from malicious attacks.",
	},
	"onprem_resolve": schema.BoolAttribute{
		Optional:            true,
		Computed:            true,
		Default:             booldefault.StaticBool(false),
		MarkdownDescription: "Use DNS resolve on onprem side",
	},
	"precedence": schema.Int32Attribute{
		Optional:            true,
		Computed:            true,
		MarkdownDescription: "Security precedence enable selection of the highest priority policy, in cases where a query matches multiple policies.",
	},
	"roaming_device_groups": schema.ListAttribute{
		ElementType:         types.Int64Type,
		Optional:            true,
		Computed:            true,
		Default:             listdefault.StaticValue(types.ListValueMust(types.Int64Type, []attr.Value{})),
		MarkdownDescription: "The list of BloxOne Endpoint groups identifiers.",
	},
	"rules": schema.ListNestedAttribute{
		NestedObject: schema.NestedAttributeObject{
			Attributes: AtcfwSecurityPolicyRuleResourceSchemaAttributes,
		},
		Computed:            true,
		Optional:            true,
		MarkdownDescription: "The list of Security Policy Rules objects that represent the set of rules and actions that you define to balance access and constraints so you can mitigate malicious attacks and provide security for your networks.",
	},
	"safe_search": schema.BoolAttribute{
		Optional:            true,
		Computed:            true,
		Default:             booldefault.StaticBool(false),
		MarkdownDescription: "Apply automated rules to enforce safe search",
	},
	"tags": schema.MapAttribute{
		ElementType:         types.StringType,
		Optional:            true,
		Computed:            true,
		Default:             mapdefault.StaticValue(types.MapNull(types.StringType)),
		MarkdownDescription: "Enables tag support for resource where tags attribute contains user-defined key value pairs",
	},
	"tags_all": schema.MapAttribute{
		ElementType:         types.StringType,
		Computed:            true,
		MarkdownDescription: "The tags for the security policy, including default tags.",
	},
	"updated_time": schema.StringAttribute{
		CustomType:          timetypes.RFC3339Type{},
		Computed:            true,
		MarkdownDescription: "The time when this Security Policy object was last updated.",
	},
	"user_groups": schema.ListAttribute{
		ElementType:         types.StringType,
		Optional:            true,
		MarkdownDescription: "List of user groups associated with this policy",
	},
}
View Source
var AtcfwSecurityPolicyRuleAttrTypes = map[string]attr.Type{
	"action":        types.StringType,
	"data":          types.StringType,
	"list_id":       types.Int32Type,
	"policy_id":     types.Int32Type,
	"policy_name":   types.StringType,
	"redirect_name": types.StringType,
	"type":          types.StringType,
}
View Source
var AtcfwSecurityPolicyRuleResourceSchemaAttributes = map[string]schema.Attribute{
	"action": schema.StringAttribute{
		Optional:            true,
		Computed:            true,
		MarkdownDescription: "The action for the policy rule that can be either \"action_allow\" or \"action_log\" or \"action_redirect\" or \"action_block\" or \"action_allow_with_local_resolution\". \"action_allow_with_local_resolution\" only supported for application filter rule with enabled onprem_resolve flag on the Security policy.",
	},
	"data": schema.StringAttribute{
		Optional:            true,
		Computed:            true,
		MarkdownDescription: "The data source for the policy rule, that can be either a name of the predefined feed for \"named_feed\", custom list name for \"custom_list\" type, category filter name for \"category_filter\" type and application filter name for \"application_filter\" type.",
	},
	"list_id": schema.Int32Attribute{
		Computed:            true,
		MarkdownDescription: "The Custom List object identifier with which the policy rule is associated. 0 value means no custom list is associated with this policy rule.",
	},
	"policy_id": schema.Int32Attribute{
		Computed:            true,
		MarkdownDescription: "The identifier of the Security Policy object with which the policy rule is associated.",
	},
	"policy_name": schema.StringAttribute{
		Optional:            true,
		Computed:            true,
		MarkdownDescription: "The name of the security policy with which the policy rule is associated.",
	},
	"redirect_name": schema.StringAttribute{
		Optional:            true,
		Computed:            true,
		MarkdownDescription: "The name of the redirect address for redirect actions that can be either IPv4 address or a domain name.",
	},
	"type": schema.StringAttribute{
		Optional:            true,
		Computed:            true,
		MarkdownDescription: "The policy rule type that can be either \"named_feed\" or \"custom_list\" or \"category_filter\" or \"application_filter\".",
	},
}
View Source
var AtcfwThreatFeedAttrTypes = map[string]attr.Type{
	"confidence_level": types.StringType,
	"description":      types.StringType,
	"key":              types.StringType,
	"name":             types.StringType,
	"source":           types.StringType,
	"threat_level":     types.StringType,
}
View Source
var AtcfwThreatFeedResourceSchemaAttributes = map[string]schema.Attribute{
	"confidence_level": schema.StringAttribute{
		Computed:            true,
		MarkdownDescription: "The Confidence Level of the Feed.",
	},
	"description": schema.StringAttribute{
		Computed:            true,
		MarkdownDescription: "The brief description for the thread feed.",
	},
	"key": schema.StringAttribute{
		Computed:            true,
		MarkdownDescription: "The TSIG key of the threat feed.",
	},
	"name": schema.StringAttribute{
		Computed:            true,
		MarkdownDescription: "The name of the thread feed.",
	},
	"source": schema.StringAttribute{
		Optional:            true,
		Computed:            true,
		Default:             stringdefault.StaticString("Infoblox"),
		MarkdownDescription: "The source of the threat feed.",
	},
	"threat_level": schema.StringAttribute{
		Computed:            true,
		MarkdownDescription: "The Threat Level of the Feed.",
	},
}

Functions

func DataSourceFlattenAtcfwInternalDomains added in v1.3.0

func DataSourceFlattenAtcfwInternalDomains(ctx context.Context, from *fw.InternalDomains, diags *diag.Diagnostics) types.Object

func DataSourceFlattenAtcfwSecurityPolicy added in v1.3.0

func DataSourceFlattenAtcfwSecurityPolicy(ctx context.Context, from *fw.SecurityPolicy, diags *diag.Diagnostics) types.Object

func ExpandAtcfwAccessCode

func ExpandAtcfwAccessCode(ctx context.Context, o types.Object, diags *diag.Diagnostics) *fw.AccessCode

func ExpandAtcfwAccessCodeRule

func ExpandAtcfwAccessCodeRule(ctx context.Context, o types.Object, diags *diag.Diagnostics) *fw.AccessCodeRule

func ExpandAtcfwApplicationCriterion added in v1.2.0

func ExpandAtcfwApplicationCriterion(ctx context.Context, o types.Object, diags *diag.Diagnostics) *fw.ApplicationCriterion

func ExpandAtcfwApplicationFilter added in v1.2.0

func ExpandAtcfwApplicationFilter(ctx context.Context, o types.Object, diags *diag.Diagnostics) *fw.ApplicationFilter

func ExpandAtcfwCategoryFilter added in v1.2.0

func ExpandAtcfwCategoryFilter(ctx context.Context, o types.Object, diags *diag.Diagnostics) *fw.CategoryFilter

func ExpandAtcfwContentCategory added in v1.2.0

func ExpandAtcfwContentCategory(ctx context.Context, o types.Object, diags *diag.Diagnostics) *fw.ContentCategory

func ExpandAtcfwItemStructs

func ExpandAtcfwItemStructs(ctx context.Context, o types.Object, diags *diag.Diagnostics) *fw.ItemStructs

func ExpandAtcfwNetAddrDfpAssignment

func ExpandAtcfwNetAddrDfpAssignment(ctx context.Context, o types.Object, diags *diag.Diagnostics) *fw.NetAddrDfpAssignment

func ExpandAtcfwNetworkList

func ExpandAtcfwNetworkList(ctx context.Context, o types.Object, diags *diag.Diagnostics) *fw.NetworkList

func ExpandAtcfwSecurityPolicy

func ExpandAtcfwSecurityPolicy(ctx context.Context, o types.Object, diags *diag.Diagnostics) *fw.SecurityPolicy

func ExpandAtcfwSecurityPolicyRule

func ExpandAtcfwSecurityPolicyRule(ctx context.Context, o types.Object, diags *diag.Diagnostics) *fw.SecurityPolicyRule

func ExpandAtcfwThreatFeed added in v1.2.0

func ExpandAtcfwThreatFeed(ctx context.Context, o types.Object, diags *diag.Diagnostics) *fw.ThreatFeed

func ExpandThreatFeedSource added in v1.2.0

func ExpandThreatFeedSource(s types.String) *fw.ThreatFeedSource

func FlattenAtcfwAccessCode

func FlattenAtcfwAccessCode(ctx context.Context, from *fw.AccessCode, diags *diag.Diagnostics) types.Object

func FlattenAtcfwAccessCodeRule

func FlattenAtcfwAccessCodeRule(ctx context.Context, from *fw.AccessCodeRule, diags *diag.Diagnostics) types.Object

func FlattenAtcfwApplicationCriterion added in v1.2.0

func FlattenAtcfwApplicationCriterion(ctx context.Context, from *fw.ApplicationCriterion, diags *diag.Diagnostics) types.Object

func FlattenAtcfwApplicationFilter added in v1.2.0

func FlattenAtcfwApplicationFilter(ctx context.Context, from *fw.ApplicationFilter, diags *diag.Diagnostics) types.Object

func FlattenAtcfwCategoryFilter added in v1.2.0

func FlattenAtcfwCategoryFilter(ctx context.Context, from *fw.CategoryFilter, diags *diag.Diagnostics) types.Object

func FlattenAtcfwContentCategory added in v1.2.0

func FlattenAtcfwContentCategory(ctx context.Context, from *fw.ContentCategory, diags *diag.Diagnostics) types.Object

func FlattenAtcfwItemStructs

func FlattenAtcfwItemStructs(ctx context.Context, from *fw.ItemStructs, diags *diag.Diagnostics) types.Object

func FlattenAtcfwNamedList

func FlattenAtcfwNamedList(ctx context.Context, from *fw.NamedListRead, diags *diag.Diagnostics) types.Object

func FlattenAtcfwNetAddrDfpAssignment

func FlattenAtcfwNetAddrDfpAssignment(ctx context.Context, from *fw.NetAddrDfpAssignment, diags *diag.Diagnostics) types.Object

func FlattenAtcfwNetworkList

func FlattenAtcfwNetworkList(ctx context.Context, from *fw.NetworkList, diags *diag.Diagnostics) types.Object

func FlattenAtcfwPoPRegion

func FlattenAtcfwPoPRegion(ctx context.Context, from *fw.PoPRegion, diags *diag.Diagnostics) types.Object

func FlattenAtcfwSecurityPolicyRule

func FlattenAtcfwSecurityPolicyRule(ctx context.Context, from *fw.SecurityPolicyRule, diags *diag.Diagnostics) types.Object

func FlattenAtcfwThreatFeed added in v1.2.0

func FlattenAtcfwThreatFeed(ctx context.Context, from *fw.ThreatFeed, diags *diag.Diagnostics) types.Object

func FlattenThreatFeedSource added in v1.2.0

func FlattenThreatFeedSource(s *fw.ThreatFeedSource) types.String

func NewAccessCodeResource

func NewAccessCodeResource() resource.Resource

func NewAccessCodesDataSource

func NewAccessCodesDataSource() datasource.DataSource

func NewApplicationFilterResource added in v1.2.0

func NewApplicationFilterResource() resource.Resource

func NewApplicationFiltersDataSource added in v1.2.0

func NewApplicationFiltersDataSource() datasource.DataSource

func NewCategoryFilterResource added in v1.2.0

func NewCategoryFilterResource() resource.Resource

func NewCategoryFiltersDataSource added in v1.2.0

func NewCategoryFiltersDataSource() datasource.DataSource

func NewContentCategoriesDataSource added in v1.2.0

func NewContentCategoriesDataSource() datasource.DataSource

func NewInternalDomainListResource

func NewInternalDomainListResource() resource.Resource

func NewInternalDomainListsDataSource

func NewInternalDomainListsDataSource() datasource.DataSource

func NewNamedListResource

func NewNamedListResource() resource.Resource

func NewNamedListsDataSource

func NewNamedListsDataSource() datasource.DataSource

func NewNetworkListResource

func NewNetworkListResource() resource.Resource

func NewNetworkListsDataSource

func NewNetworkListsDataSource() datasource.DataSource

func NewPoPRegionDataSource

func NewPoPRegionDataSource() datasource.DataSource

func NewSecurityPoliciesDataSource

func NewSecurityPoliciesDataSource() datasource.DataSource

func NewSecurityPolicyResource

func NewSecurityPolicyResource() resource.Resource

func NewThreatFeedsDataSource added in v1.2.0

func NewThreatFeedsDataSource() datasource.DataSource

Types

type AccessCodeResource

type AccessCodeResource struct {
	// contains filtered or unexported fields
}

AccessCodeResource defines the resource implementation.

func (*AccessCodeResource) Configure

func (*AccessCodeResource) Create

func (*AccessCodeResource) Delete

func (*AccessCodeResource) ImportState

func (*AccessCodeResource) Metadata

func (*AccessCodeResource) Read

func (*AccessCodeResource) Schema

func (*AccessCodeResource) Update

type AccessCodesDataSource

type AccessCodesDataSource struct {
	// contains filtered or unexported fields
}

AccessCodesDataSource defines the data source implementation.

func (*AccessCodesDataSource) Configure

func (*AccessCodesDataSource) Metadata

func (*AccessCodesDataSource) Read

func (*AccessCodesDataSource) Schema

type ApplicationFilterResource added in v1.2.0

type ApplicationFilterResource struct {
	// contains filtered or unexported fields
}

ApplicationFilterResource defines the resource implementation.

func (*ApplicationFilterResource) Configure added in v1.2.0

func (*ApplicationFilterResource) Create added in v1.2.0

func (*ApplicationFilterResource) Delete added in v1.2.0

func (*ApplicationFilterResource) ImportState added in v1.2.0

func (*ApplicationFilterResource) Metadata added in v1.2.0

func (*ApplicationFilterResource) Read added in v1.2.0

func (*ApplicationFilterResource) Schema added in v1.2.0

func (*ApplicationFilterResource) Update added in v1.2.0

type ApplicationFiltersDataSource added in v1.2.0

type ApplicationFiltersDataSource struct {
	// contains filtered or unexported fields
}

ApplicationFiltersDataSource defines the data source implementation.

func (*ApplicationFiltersDataSource) Configure added in v1.2.0

func (*ApplicationFiltersDataSource) Metadata added in v1.2.0

func (*ApplicationFiltersDataSource) Read added in v1.2.0

func (*ApplicationFiltersDataSource) Schema added in v1.2.0

type AtcfwAccessCodeModel

type AtcfwAccessCodeModel struct {
	AccessKey   types.String      `tfsdk:"access_key"`
	Activation  timetypes.RFC3339 `tfsdk:"activation"`
	CreatedTime timetypes.RFC3339 `tfsdk:"created_time"`
	Description types.String      `tfsdk:"description"`
	Expiration  timetypes.RFC3339 `tfsdk:"expiration"`
	Name        types.String      `tfsdk:"name"`
	PolicyIds   types.List        `tfsdk:"policy_ids"`
	Rules       types.List        `tfsdk:"rules"`
	UpdatedTime timetypes.RFC3339 `tfsdk:"updated_time"`
	Id          types.String      `tfsdk:"id"`
}

func (*AtcfwAccessCodeModel) Expand

func (*AtcfwAccessCodeModel) Flatten

func (m *AtcfwAccessCodeModel) Flatten(ctx context.Context, from *fw.AccessCode, diags *diag.Diagnostics)

type AtcfwAccessCodeModelWithFilter

type AtcfwAccessCodeModelWithFilter struct {
	Filters    types.Map  `tfsdk:"filters"`
	TagFilters types.Map  `tfsdk:"tag_filters"`
	Results    types.List `tfsdk:"results"`
}

func (*AtcfwAccessCodeModelWithFilter) FlattenResults

func (m *AtcfwAccessCodeModelWithFilter) FlattenResults(ctx context.Context, from []fw.AccessCode, diags *diag.Diagnostics)

type AtcfwAccessCodeRuleModel

type AtcfwAccessCodeRuleModel struct {
	Action       types.String `tfsdk:"action"`
	Data         types.String `tfsdk:"data"`
	Description  types.String `tfsdk:"description"`
	RedirectName types.String `tfsdk:"redirect_name"`
	Type         types.String `tfsdk:"type"`
}

func (*AtcfwAccessCodeRuleModel) Expand

func (*AtcfwAccessCodeRuleModel) Flatten

func (m *AtcfwAccessCodeRuleModel) Flatten(ctx context.Context, from *fw.AccessCodeRule, diags *diag.Diagnostics)

type AtcfwApplicationCriterionModel added in v1.2.0

type AtcfwApplicationCriterionModel struct {
	Category    types.String `tfsdk:"category"`
	Id          types.String `tfsdk:"id"`
	Name        types.String `tfsdk:"name"`
	Subcategory types.String `tfsdk:"subcategory"`
}

func (*AtcfwApplicationCriterionModel) Expand added in v1.2.0

func (*AtcfwApplicationCriterionModel) Flatten added in v1.2.0

type AtcfwApplicationFilterModel added in v1.2.0

type AtcfwApplicationFilterModel struct {
	CreatedTime timetypes.RFC3339 `tfsdk:"created_time"`
	Criteria    types.List        `tfsdk:"criteria"`
	Description types.String      `tfsdk:"description"`
	Id          types.Int32       `tfsdk:"id"`
	Name        types.String      `tfsdk:"name"`
	Policies    types.List        `tfsdk:"policies"`
	Readonly    types.Bool        `tfsdk:"readonly"`
	Tags        types.Map         `tfsdk:"tags"`
	UpdatedTime timetypes.RFC3339 `tfsdk:"updated_time"`
}

func (*AtcfwApplicationFilterModel) Expand added in v1.2.0

func (*AtcfwApplicationFilterModel) Flatten added in v1.2.0

type AtcfwApplicationFilterModelWithFilter added in v1.2.0

type AtcfwApplicationFilterModelWithFilter struct {
	Filters    types.Map  `tfsdk:"filters"`
	TagFilters types.Map  `tfsdk:"tag_filters"`
	Results    types.List `tfsdk:"results"`
}

func (*AtcfwApplicationFilterModelWithFilter) FlattenResults added in v1.2.0

type AtcfwCategoryFilterModel added in v1.2.0

type AtcfwCategoryFilterModel struct {
	Categories  types.List        `tfsdk:"categories"`
	CreatedTime timetypes.RFC3339 `tfsdk:"created_time"`
	Description types.String      `tfsdk:"description"`
	Id          types.Int32       `tfsdk:"id"`
	Name        types.String      `tfsdk:"name"`
	Policies    types.List        `tfsdk:"policies"`
	Tags        types.Map         `tfsdk:"tags"`
	UpdatedTime timetypes.RFC3339 `tfsdk:"updated_time"`
}

func (*AtcfwCategoryFilterModel) Expand added in v1.2.0

func (*AtcfwCategoryFilterModel) Flatten added in v1.2.0

func (m *AtcfwCategoryFilterModel) Flatten(ctx context.Context, from *fw.CategoryFilter, diags *diag.Diagnostics)

type AtcfwCategoryFilterModelWithFilter added in v1.2.0

type AtcfwCategoryFilterModelWithFilter struct {
	Filters    types.Map  `tfsdk:"filters"`
	TagFilters types.Map  `tfsdk:"tag_filters"`
	Results    types.List `tfsdk:"results"`
}

func (*AtcfwCategoryFilterModelWithFilter) FlattenResults added in v1.2.0

func (m *AtcfwCategoryFilterModelWithFilter) FlattenResults(ctx context.Context, from []fw.CategoryFilter, diags *diag.Diagnostics)

type AtcfwContentCategoriesrModelWithFilter added in v1.2.0

type AtcfwContentCategoriesrModelWithFilter struct {
	Results types.List `tfsdk:"results"`
}

func (*AtcfwContentCategoriesrModelWithFilter) FlattenResults added in v1.2.0

type AtcfwContentCategoryModel added in v1.2.0

type AtcfwContentCategoryModel struct {
	CategoryCode    types.Int32  `tfsdk:"category_code"`
	CategoryName    types.String `tfsdk:"category_name"`
	FunctionalGroup types.String `tfsdk:"functional_group"`
}

func (*AtcfwContentCategoryModel) Expand added in v1.2.0

func (*AtcfwContentCategoryModel) Flatten added in v1.2.0

type AtcfwInternalDomainListModelWithFilter

type AtcfwInternalDomainListModelWithFilter struct {
	Filters    types.Map  `tfsdk:"filters"`
	TagFilters types.Map  `tfsdk:"tag_filters"`
	Results    types.List `tfsdk:"results"`
}

func (*AtcfwInternalDomainListModelWithFilter) FlattenResults

type AtcfwInternalDomainsModel

type AtcfwInternalDomainsModel struct {
	CreatedTime     timetypes.RFC3339                `tfsdk:"created_time"`
	Description     types.String                     `tfsdk:"description"`
	Id              types.Int32                      `tfsdk:"id"`
	InternalDomains internaltypes.UnorderedListValue `tfsdk:"internal_domains"`
	IsDefault       types.Bool                       `tfsdk:"is_default"`
	Name            types.String                     `tfsdk:"name"`
	Tags            types.Map                        `tfsdk:"tags"`
	TagsAll         types.Map                        `tfsdk:"tags_all"`
	UpdatedTime     timetypes.RFC3339                `tfsdk:"updated_time"`
}

func (*AtcfwInternalDomainsModel) Expand

func (*AtcfwInternalDomainsModel) Flatten

type AtcfwItemStructsModel

type AtcfwItemStructsModel struct {
	Description types.String `tfsdk:"description"`
	Item        types.String `tfsdk:"item"`
}

func (*AtcfwItemStructsModel) Expand

func (*AtcfwItemStructsModel) Flatten

func (m *AtcfwItemStructsModel) Flatten(ctx context.Context, from *fw.ItemStructs, diags *diag.Diagnostics)

type AtcfwNamedListModel

type AtcfwNamedListModel struct {
	ConfidenceLevel types.String      `tfsdk:"confidence_level"`
	CreatedTime     timetypes.RFC3339 `tfsdk:"created_time"`
	Description     types.String      `tfsdk:"description"`
	Id              types.Int32       `tfsdk:"id"`
	ItemCount       types.Int32       `tfsdk:"item_count"`
	Items           types.List        `tfsdk:"items"`
	ItemsDescribed  types.List        `tfsdk:"items_described"`
	Name            types.String      `tfsdk:"name"`
	Policies        types.List        `tfsdk:"policies"`
	Tags            types.Map         `tfsdk:"tags"`
	TagsAll         types.Map         `tfsdk:"tags_all"`
	ThreatLevel     types.String      `tfsdk:"threat_level"`
	Type            types.String      `tfsdk:"type"`
	UpdatedTime     timetypes.RFC3339 `tfsdk:"updated_time"`
}

func (*AtcfwNamedListModel) Expand

func (*AtcfwNamedListModel) Flatten

func (m *AtcfwNamedListModel) Flatten(ctx context.Context, from *fw.NamedList, diags *diag.Diagnostics)

func (*AtcfwNamedListModel) FlattenRead

func (m *AtcfwNamedListModel) FlattenRead(ctx context.Context, from *fw.NamedListRead, diags *diag.Diagnostics)

type AtcfwNamedListModelWithFilter

type AtcfwNamedListModelWithFilter struct {
	Filters    types.Map  `tfsdk:"filters"`
	TagFilters types.Map  `tfsdk:"tag_filters"`
	Results    types.List `tfsdk:"results"`
}

func (*AtcfwNamedListModelWithFilter) FlattenResults

func (m *AtcfwNamedListModelWithFilter) FlattenResults(ctx context.Context, from []fw.NamedListRead, diags *diag.Diagnostics)

type AtcfwNetAddrDfpAssignmentModel

type AtcfwNetAddrDfpAssignmentModel struct {
	AddrNet         types.String `tfsdk:"addr_net"`
	DfpIds          types.List   `tfsdk:"dfp_ids"`
	DfpServiceIds   types.List   `tfsdk:"dfp_service_ids"`
	End             types.String `tfsdk:"end"`
	ExternalScopeId types.String `tfsdk:"external_scope_id"`
	HostId          types.String `tfsdk:"host_id"`
	IpSpaceId       types.String `tfsdk:"ip_space_id"`
	ScopeType       types.String `tfsdk:"scope_type"`
	Start           types.String `tfsdk:"start"`
}

func (*AtcfwNetAddrDfpAssignmentModel) Expand

func (*AtcfwNetAddrDfpAssignmentModel) Flatten

type AtcfwNetworkListModel

type AtcfwNetworkListModel struct {
	CreatedTime timetypes.RFC3339 `tfsdk:"created_time"`
	Description types.String      `tfsdk:"description"`
	Id          types.Int32       `tfsdk:"id"`
	Items       types.List        `tfsdk:"items"`
	Name        types.String      `tfsdk:"name"`
	PolicyId    types.Int32       `tfsdk:"policy_id"`
	UpdatedTime timetypes.RFC3339 `tfsdk:"updated_time"`
}

func (*AtcfwNetworkListModel) Expand

func (*AtcfwNetworkListModel) Flatten

func (m *AtcfwNetworkListModel) Flatten(ctx context.Context, from *fw.NetworkList, diags *diag.Diagnostics)

type AtcfwNetworkListModelWithFilter

type AtcfwNetworkListModelWithFilter struct {
	Filters types.Map  `tfsdk:"filters"`
	Results types.List `tfsdk:"results"`
}

func (*AtcfwNetworkListModelWithFilter) FlattenResults

func (m *AtcfwNetworkListModelWithFilter) FlattenResults(ctx context.Context, from []fw.NetworkList, diags *diag.Diagnostics)

type AtcfwPoPRegionModel

type AtcfwPoPRegionModel struct {
	Addresses types.List   `tfsdk:"addresses"`
	Id        types.Int32  `tfsdk:"id"`
	Location  types.String `tfsdk:"location"`
	Region    types.String `tfsdk:"region"`
}

func (*AtcfwPoPRegionModel) Flatten

func (m *AtcfwPoPRegionModel) Flatten(ctx context.Context, from *fw.PoPRegion, diags *diag.Diagnostics)

type AtcfwPoPRegionModelWithFilter

type AtcfwPoPRegionModelWithFilter struct {
	Filters types.Map  `tfsdk:"filters"`
	Results types.List `tfsdk:"results"`
}

func (*AtcfwPoPRegionModelWithFilter) FlattenResults

func (m *AtcfwPoPRegionModelWithFilter) FlattenResults(ctx context.Context, from []fw.PoPRegion, diags *diag.Diagnostics)

type AtcfwSecurityPolicyModel

type AtcfwSecurityPolicyModel struct {
	AccessCodes         types.List        `tfsdk:"access_codes"`
	CreatedTime         timetypes.RFC3339 `tfsdk:"created_time"`
	DefaultAction       types.String      `tfsdk:"default_action"`
	DefaultRedirectName types.String      `tfsdk:"default_redirect_name"`
	Description         types.String      `tfsdk:"description"`
	DfpServices         types.List        `tfsdk:"dfp_services"`
	Dfps                types.List        `tfsdk:"dfps"`
	Ecs                 types.Bool        `tfsdk:"ecs"`
	Id                  types.Int32       `tfsdk:"id"`
	IsDefault           types.Bool        `tfsdk:"is_default"`
	Name                types.String      `tfsdk:"name"`
	NetAddressDfps      types.List        `tfsdk:"net_address_dfps"`
	NetworkLists        types.List        `tfsdk:"network_lists"`
	OnpremResolve       types.Bool        `tfsdk:"onprem_resolve"`
	Precedence          types.Int32       `tfsdk:"precedence"`
	RoamingDeviceGroups types.List        `tfsdk:"roaming_device_groups"`
	Rules               types.List        `tfsdk:"rules"`
	SafeSearch          types.Bool        `tfsdk:"safe_search"`
	Tags                types.Map         `tfsdk:"tags"`
	TagsAll             types.Map         `tfsdk:"tags_all"`
	UpdatedTime         timetypes.RFC3339 `tfsdk:"updated_time"`
	UserGroups          types.List        `tfsdk:"user_groups"`
}

func (*AtcfwSecurityPolicyModel) Expand

func (*AtcfwSecurityPolicyModel) Flatten

func (m *AtcfwSecurityPolicyModel) Flatten(ctx context.Context, from *fw.SecurityPolicy, diags *diag.Diagnostics)

type AtcfwSecurityPolicyModelWithFilter

type AtcfwSecurityPolicyModelWithFilter struct {
	Filters    types.Map  `tfsdk:"filters"`
	TagFilters types.Map  `tfsdk:"tag_filters"`
	Results    types.List `tfsdk:"results"`
}

func (*AtcfwSecurityPolicyModelWithFilter) FlattenResults

func (m *AtcfwSecurityPolicyModelWithFilter) FlattenResults(ctx context.Context, from []fw.SecurityPolicy, diags *diag.Diagnostics)

type AtcfwSecurityPolicyRuleModel

type AtcfwSecurityPolicyRuleModel struct {
	Action       types.String `tfsdk:"action"`
	Data         types.String `tfsdk:"data"`
	ListId       types.Int32  `tfsdk:"list_id"`
	PolicyId     types.Int32  `tfsdk:"policy_id"`
	PolicyName   types.String `tfsdk:"policy_name"`
	RedirectName types.String `tfsdk:"redirect_name"`
	Type         types.String `tfsdk:"type"`
}

func (*AtcfwSecurityPolicyRuleModel) Expand

func (*AtcfwSecurityPolicyRuleModel) Flatten

type AtcfwThreatFeedModel added in v1.2.0

type AtcfwThreatFeedModel struct {
	ConfidenceLevel types.String `tfsdk:"confidence_level"`
	Description     types.String `tfsdk:"description"`
	Key             types.String `tfsdk:"key"`
	Name            types.String `tfsdk:"name"`
	Source          types.String `tfsdk:"source"`
	ThreatLevel     types.String `tfsdk:"threat_level"`
}

func (*AtcfwThreatFeedModel) Expand added in v1.2.0

func (*AtcfwThreatFeedModel) Flatten added in v1.2.0

func (m *AtcfwThreatFeedModel) Flatten(ctx context.Context, from *fw.ThreatFeed, diags *diag.Diagnostics)

type AtcfwThreatFeedsModelWithFilter added in v1.2.0

type AtcfwThreatFeedsModelWithFilter struct {
	Filters types.Map  `tfsdk:"filters"`
	Results types.List `tfsdk:"results"`
}

func (*AtcfwThreatFeedsModelWithFilter) FlattenResults added in v1.2.0

func (m *AtcfwThreatFeedsModelWithFilter) FlattenResults(ctx context.Context, from []fw.ThreatFeed, diags *diag.Diagnostics)

type CategoryFilterResource added in v1.2.0

type CategoryFilterResource struct {
	// contains filtered or unexported fields
}

CategoryFilterResource defines the resource implementation.

func (*CategoryFilterResource) Configure added in v1.2.0

func (*CategoryFilterResource) Create added in v1.2.0

func (*CategoryFilterResource) Delete added in v1.2.0

func (*CategoryFilterResource) ImportState added in v1.2.0

func (*CategoryFilterResource) Metadata added in v1.2.0

func (*CategoryFilterResource) Read added in v1.2.0

func (*CategoryFilterResource) Schema added in v1.2.0

func (*CategoryFilterResource) Update added in v1.2.0

type CategoryFiltersDataSource added in v1.2.0

type CategoryFiltersDataSource struct {
	// contains filtered or unexported fields
}

CategoryFiltersDataSource defines the data source implementation.

func (*CategoryFiltersDataSource) Configure added in v1.2.0

func (*CategoryFiltersDataSource) Metadata added in v1.2.0

func (*CategoryFiltersDataSource) Read added in v1.2.0

func (*CategoryFiltersDataSource) Schema added in v1.2.0

type ContentCategoriesDataSource added in v1.2.0

type ContentCategoriesDataSource struct {
	// contains filtered or unexported fields
}

ContentCategoriesDataSource defines the data source implementation.

func (*ContentCategoriesDataSource) Configure added in v1.2.0

func (*ContentCategoriesDataSource) Metadata added in v1.2.0

func (*ContentCategoriesDataSource) Read added in v1.2.0

func (*ContentCategoriesDataSource) Schema added in v1.2.0

type InternalDomainListResource

type InternalDomainListResource struct {
	// contains filtered or unexported fields
}

InternalDomainListResource defines the resource implementation.

func (*InternalDomainListResource) Configure

func (*InternalDomainListResource) Create

func (*InternalDomainListResource) Delete

func (*InternalDomainListResource) ImportState

func (*InternalDomainListResource) Metadata

func (*InternalDomainListResource) Read

func (*InternalDomainListResource) Schema

func (*InternalDomainListResource) Update

type InternalDomainListsDataSource

type InternalDomainListsDataSource struct {
	// contains filtered or unexported fields
}

InternalDomainListsDataSource defines the data source implementation.

func (*InternalDomainListsDataSource) Configure

func (*InternalDomainListsDataSource) Metadata

func (*InternalDomainListsDataSource) Read

func (*InternalDomainListsDataSource) Schema

type NamedListResource

type NamedListResource struct {
	// contains filtered or unexported fields
}

NamedListResource defines the resource implementation.

func (*NamedListResource) Configure

func (*NamedListResource) Create

func (*NamedListResource) Delete

func (*NamedListResource) ImportState

func (*NamedListResource) Metadata

func (*NamedListResource) Read

func (*NamedListResource) Schema

func (*NamedListResource) Update

type NamedListsDataSource

type NamedListsDataSource struct {
	// contains filtered or unexported fields
}

NamedListsDataSource defines the data source implementation.

func (*NamedListsDataSource) Configure

func (*NamedListsDataSource) Metadata

func (*NamedListsDataSource) Read

func (*NamedListsDataSource) Schema

type NetworkListResource

type NetworkListResource struct {
	// contains filtered or unexported fields
}

NetworkListResource defines the resource implementation.

func (*NetworkListResource) Configure

func (*NetworkListResource) Create

func (*NetworkListResource) Delete

func (*NetworkListResource) ImportState

func (*NetworkListResource) Metadata

func (*NetworkListResource) Read

func (*NetworkListResource) Schema

func (*NetworkListResource) Update

type NetworkListsDataSource

type NetworkListsDataSource struct {
	// contains filtered or unexported fields
}

NetworkListsDataSource defines the data source implementation.

func (*NetworkListsDataSource) Configure

func (*NetworkListsDataSource) Metadata

func (*NetworkListsDataSource) Read

func (*NetworkListsDataSource) Schema

type PoPRegionDataSource

type PoPRegionDataSource struct {
	// contains filtered or unexported fields
}

PoPRegionDataSource defines the data source implementation.

func (*PoPRegionDataSource) Configure

func (*PoPRegionDataSource) Metadata

func (*PoPRegionDataSource) Read

func (*PoPRegionDataSource) Schema

type SecurityPoliciesDataSource

type SecurityPoliciesDataSource struct {
	// contains filtered or unexported fields
}

SecurityPoliciesDataSource defines the data source implementation.

func (*SecurityPoliciesDataSource) Configure

func (*SecurityPoliciesDataSource) Metadata

func (*SecurityPoliciesDataSource) Read

func (*SecurityPoliciesDataSource) Schema

type SecurityPolicyResource

type SecurityPolicyResource struct {
	// contains filtered or unexported fields
}

SecurityPolicyResource defines the resource implementation.

func (*SecurityPolicyResource) Configure

func (*SecurityPolicyResource) Create

func (*SecurityPolicyResource) Delete

func (*SecurityPolicyResource) ImportState

func (*SecurityPolicyResource) Metadata

func (*SecurityPolicyResource) Read

func (*SecurityPolicyResource) Schema

func (*SecurityPolicyResource) Update

type ThreatFeedsDataSource added in v1.2.0

type ThreatFeedsDataSource struct {
	// contains filtered or unexported fields
}

ThreatFeedsDataSource defines the data source implementation.

func (*ThreatFeedsDataSource) Configure added in v1.2.0

func (*ThreatFeedsDataSource) Metadata added in v1.2.0

func (*ThreatFeedsDataSource) Read added in v1.2.0

func (*ThreatFeedsDataSource) Schema added in v1.2.0

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL