Skip to content

Commit

Permalink
Update go.sum and remove wrong scope
Browse files Browse the repository at this point in the history
  • Loading branch information
frankshen01 committed Aug 24, 2020
1 parent a48d6ac commit 2d050c3
Show file tree
Hide file tree
Showing 138 changed files with 1,257 additions and 1,686 deletions.
14 changes: 6 additions & 8 deletions fortios/resource_antivirus_profile.go
Original file line number Diff line number Diff line change
Expand Up @@ -62,16 +62,14 @@ func resourceAntivirusProfile() *schema.Resource {
Computed: true,
},
"analytics_wl_filetype": &schema.Schema{
Type: schema.TypeInt,
ValidateFunc: validation.IntBetween(0, 4294967295),
Optional: true,
Computed: true,
Type: schema.TypeInt,
Optional: true,
Computed: true,
},
"analytics_bl_filetype": &schema.Schema{
Type: schema.TypeInt,
ValidateFunc: validation.IntBetween(0, 4294967295),
Optional: true,
Computed: true,
Type: schema.TypeInt,
Optional: true,
Computed: true,
},
"analytics_db": &schema.Schema{
Type: schema.TypeString,
Expand Down
7 changes: 3 additions & 4 deletions fortios/resource_antivirus_quarantine.go
Original file line number Diff line number Diff line change
Expand Up @@ -42,10 +42,9 @@ func resourceAntivirusQuarantine() *schema.Resource {
Computed: true,
},
"quarantine_quota": &schema.Schema{
Type: schema.TypeInt,
ValidateFunc: validation.IntBetween(0, 4294967295),
Optional: true,
Computed: true,
Type: schema.TypeInt,
Optional: true,
Computed: true,
},
"drop_infected": &schema.Schema{
Type: schema.TypeString,
Expand Down
14 changes: 6 additions & 8 deletions fortios/resource_application_group.go
Original file line number Diff line number Diff line change
Expand Up @@ -51,10 +51,9 @@ func resourceApplicationGroup() *schema.Resource {
Elem: &schema.Resource{
Schema: map[string]*schema.Schema{
"id": &schema.Schema{
Type: schema.TypeInt,
ValidateFunc: validation.IntBetween(0, 4294967295),
Optional: true,
Computed: true,
Type: schema.TypeInt,
Optional: true,
Computed: true,
},
},
},
Expand All @@ -65,10 +64,9 @@ func resourceApplicationGroup() *schema.Resource {
Elem: &schema.Resource{
Schema: map[string]*schema.Schema{
"id": &schema.Schema{
Type: schema.TypeInt,
ValidateFunc: validation.IntBetween(0, 4294967295),
Optional: true,
Computed: true,
Type: schema.TypeInt,
Optional: true,
Computed: true,
},
},
},
Expand Down
49 changes: 21 additions & 28 deletions fortios/resource_application_list.go
Original file line number Diff line number Diff line change
Expand Up @@ -101,21 +101,19 @@ func resourceApplicationList() *schema.Resource {
Elem: &schema.Resource{
Schema: map[string]*schema.Schema{
"id": &schema.Schema{
Type: schema.TypeInt,
ValidateFunc: validation.IntBetween(0, 4294967295),
Optional: true,
Computed: true,
Type: schema.TypeInt,
Optional: true,
Computed: true,
},
"risk": &schema.Schema{
Type: schema.TypeList,
Optional: true,
Elem: &schema.Resource{
Schema: map[string]*schema.Schema{
"level": &schema.Schema{
Type: schema.TypeInt,
ValidateFunc: validation.IntBetween(0, 4294967295),
Optional: true,
Computed: true,
Type: schema.TypeInt,
Optional: true,
Computed: true,
},
},
},
Expand All @@ -126,10 +124,9 @@ func resourceApplicationList() *schema.Resource {
Elem: &schema.Resource{
Schema: map[string]*schema.Schema{
"id": &schema.Schema{
Type: schema.TypeInt,
ValidateFunc: validation.IntBetween(0, 4294967295),
Optional: true,
Computed: true,
Type: schema.TypeInt,
Optional: true,
Computed: true,
},
},
},
Expand All @@ -140,10 +137,9 @@ func resourceApplicationList() *schema.Resource {
Elem: &schema.Resource{
Schema: map[string]*schema.Schema{
"id": &schema.Schema{
Type: schema.TypeInt,
ValidateFunc: validation.IntBetween(0, 4294967295),
Optional: true,
Computed: true,
Type: schema.TypeInt,
Optional: true,
Computed: true,
},
},
},
Expand All @@ -154,10 +150,9 @@ func resourceApplicationList() *schema.Resource {
Elem: &schema.Resource{
Schema: map[string]*schema.Schema{
"id": &schema.Schema{
Type: schema.TypeInt,
ValidateFunc: validation.IntBetween(0, 4294967295),
Optional: true,
Computed: true,
Type: schema.TypeInt,
Optional: true,
Computed: true,
},
},
},
Expand Down Expand Up @@ -193,10 +188,9 @@ func resourceApplicationList() *schema.Resource {
Elem: &schema.Resource{
Schema: map[string]*schema.Schema{
"id": &schema.Schema{
Type: schema.TypeInt,
ValidateFunc: validation.IntBetween(0, 4294967295),
Optional: true,
Computed: true,
Type: schema.TypeInt,
Optional: true,
Computed: true,
},
"value": &schema.Schema{
Type: schema.TypeString,
Expand Down Expand Up @@ -245,10 +239,9 @@ func resourceApplicationList() *schema.Resource {
Computed: true,
},
"session_ttl": &schema.Schema{
Type: schema.TypeInt,
ValidateFunc: validation.IntBetween(0, 4294967295),
Optional: true,
Computed: true,
Type: schema.TypeInt,
Optional: true,
Computed: true,
},
"shaper": &schema.Schema{
Type: schema.TypeString,
Expand Down
5 changes: 2 additions & 3 deletions fortios/resource_dlp_filepattern.go
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,8 @@ func resourceDlpFilepattern() *schema.Resource {

Schema: map[string]*schema.Schema{
"fosid": &schema.Schema{
Type: schema.TypeInt,
ValidateFunc: validation.IntBetween(0, 4294967295),
Required: true,
Type: schema.TypeInt,
Required: true,
},
"name": &schema.Schema{
Type: schema.TypeString,
Expand Down
21 changes: 9 additions & 12 deletions fortios/resource_dlp_sensor.go
Original file line number Diff line number Diff line change
Expand Up @@ -51,10 +51,9 @@ func resourceDlpSensor() *schema.Resource {
Elem: &schema.Resource{
Schema: map[string]*schema.Schema{
"id": &schema.Schema{
Type: schema.TypeInt,
ValidateFunc: validation.IntBetween(0, 4294967295),
Optional: true,
Computed: true,
Type: schema.TypeInt,
Optional: true,
Computed: true,
},
"name": &schema.Schema{
Type: schema.TypeString,
Expand Down Expand Up @@ -83,10 +82,9 @@ func resourceDlpSensor() *schema.Resource {
Computed: true,
},
"file_size": &schema.Schema{
Type: schema.TypeInt,
ValidateFunc: validation.IntBetween(0, 4294967295),
Optional: true,
Computed: true,
Type: schema.TypeInt,
Optional: true,
Computed: true,
},
"company_identifier": &schema.Schema{
Type: schema.TypeString,
Expand Down Expand Up @@ -115,10 +113,9 @@ func resourceDlpSensor() *schema.Resource {
Computed: true,
},
"file_type": &schema.Schema{
Type: schema.TypeInt,
ValidateFunc: validation.IntBetween(0, 4294967295),
Optional: true,
Computed: true,
Type: schema.TypeInt,
Optional: true,
Computed: true,
},
"regexp": &schema.Schema{
Type: schema.TypeString,
Expand Down
7 changes: 3 additions & 4 deletions fortios/resource_dlp_settings.go
Original file line number Diff line number Diff line change
Expand Up @@ -36,10 +36,9 @@ func resourceDlpSettings() *schema.Resource {
Computed: true,
},
"size": &schema.Schema{
Type: schema.TypeInt,
ValidateFunc: validation.IntBetween(16, 4294967295),
Optional: true,
Computed: true,
Type: schema.TypeInt,
Optional: true,
Computed: true,
},
"db_mode": &schema.Schema{
Type: schema.TypeString,
Expand Down
12 changes: 5 additions & 7 deletions fortios/resource_dnsfilter_domainfilter.go
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,8 @@ func resourceDnsfilterDomainFilter() *schema.Resource {

Schema: map[string]*schema.Schema{
"fosid": &schema.Schema{
Type: schema.TypeInt,
ValidateFunc: validation.IntBetween(0, 4294967295),
Required: true,
Type: schema.TypeInt,
Required: true,
},
"name": &schema.Schema{
Type: schema.TypeString,
Expand All @@ -50,10 +49,9 @@ func resourceDnsfilterDomainFilter() *schema.Resource {
Elem: &schema.Resource{
Schema: map[string]*schema.Schema{
"id": &schema.Schema{
Type: schema.TypeInt,
ValidateFunc: validation.IntBetween(0, 4294967295),
Optional: true,
Computed: true,
Type: schema.TypeInt,
Optional: true,
Computed: true,
},
"domain": &schema.Schema{
Type: schema.TypeString,
Expand Down
7 changes: 3 additions & 4 deletions fortios/resource_dnsfilter_profile.go
Original file line number Diff line number Diff line change
Expand Up @@ -46,10 +46,9 @@ func resourceDnsfilterProfile() *schema.Resource {
Elem: &schema.Resource{
Schema: map[string]*schema.Schema{
"domain_filter_table": &schema.Schema{
Type: schema.TypeInt,
ValidateFunc: validation.IntBetween(0, 4294967295),
Optional: true,
Computed: true,
Type: schema.TypeInt,
Optional: true,
Computed: true,
},
},
},
Expand Down
28 changes: 12 additions & 16 deletions fortios/resource_endpointcontrol_profile.go
Original file line number Diff line number Diff line change
Expand Up @@ -172,10 +172,9 @@ func resourceEndpointControlProfile() *schema.Resource {
Elem: &schema.Resource{
Schema: map[string]*schema.Schema{
"id": &schema.Schema{
Type: schema.TypeInt,
ValidateFunc: validation.IntBetween(0, 4294967295),
Optional: true,
Computed: true,
Type: schema.TypeInt,
Optional: true,
Computed: true,
},
"os_type": &schema.Schema{
Type: schema.TypeString,
Expand All @@ -197,10 +196,9 @@ func resourceEndpointControlProfile() *schema.Resource {
Elem: &schema.Resource{
Schema: map[string]*schema.Schema{
"id": &schema.Schema{
Type: schema.TypeInt,
ValidateFunc: validation.IntBetween(0, 4294967295),
Optional: true,
Computed: true,
Type: schema.TypeInt,
Optional: true,
Computed: true,
},
"app_name": &schema.Schema{
Type: schema.TypeString,
Expand Down Expand Up @@ -270,10 +268,9 @@ func resourceEndpointControlProfile() *schema.Resource {
Elem: &schema.Resource{
Schema: map[string]*schema.Schema{
"id": &schema.Schema{
Type: schema.TypeInt,
ValidateFunc: validation.IntBetween(0, 4294967295),
Optional: true,
Computed: true,
Type: schema.TypeInt,
Optional: true,
Computed: true,
},
"registry_entry": &schema.Schema{
Type: schema.TypeString,
Expand All @@ -290,10 +287,9 @@ func resourceEndpointControlProfile() *schema.Resource {
Elem: &schema.Resource{
Schema: map[string]*schema.Schema{
"id": &schema.Schema{
Type: schema.TypeInt,
ValidateFunc: validation.IntBetween(0, 4294967295),
Optional: true,
Computed: true,
Type: schema.TypeInt,
Optional: true,
Computed: true,
},
"file": &schema.Schema{
Type: schema.TypeString,
Expand Down
21 changes: 9 additions & 12 deletions fortios/resource_extendercontroller_extender.go
Original file line number Diff line number Diff line change
Expand Up @@ -45,10 +45,9 @@ func resourceExtenderControllerExtender() *schema.Resource {
Computed: true,
},
"vdom": &schema.Schema{
Type: schema.TypeInt,
ValidateFunc: validation.IntBetween(0, 4294967295),
Optional: true,
Computed: true,
Type: schema.TypeInt,
Optional: true,
Computed: true,
},
"role": &schema.Schema{
Type: schema.TypeString,
Expand All @@ -75,16 +74,14 @@ func resourceExtenderControllerExtender() *schema.Resource {
Computed: true,
},
"dial_status": &schema.Schema{
Type: schema.TypeInt,
ValidateFunc: validation.IntBetween(0, 4294967295),
Optional: true,
Computed: true,
Type: schema.TypeInt,
Optional: true,
Computed: true,
},
"conn_status": &schema.Schema{
Type: schema.TypeInt,
ValidateFunc: validation.IntBetween(0, 4294967295),
Optional: true,
Computed: true,
Type: schema.TypeInt,
Optional: true,
Computed: true,
},
"ext_name": &schema.Schema{
Type: schema.TypeString,
Expand Down
7 changes: 3 additions & 4 deletions fortios/resource_firewall_address6template.go
Original file line number Diff line number Diff line change
Expand Up @@ -49,10 +49,9 @@ func resourceFirewallAddress6Template() *schema.Resource {
Elem: &schema.Resource{
Schema: map[string]*schema.Schema{
"id": &schema.Schema{
Type: schema.TypeInt,
ValidateFunc: validation.IntBetween(0, 4294967295),
Optional: true,
Computed: true,
Type: schema.TypeInt,
Optional: true,
Computed: true,
},
"name": &schema.Schema{
Type: schema.TypeString,
Expand Down
7 changes: 3 additions & 4 deletions fortios/resource_firewall_centralsnatmap.go
Original file line number Diff line number Diff line change
Expand Up @@ -30,10 +30,9 @@ func resourceFirewallCentralSnatMap() *schema.Resource {

Schema: map[string]*schema.Schema{
"policyid": &schema.Schema{
Type: schema.TypeInt,
ValidateFunc: validation.IntBetween(0, 4294967295),
Optional: true,
Computed: true,
Type: schema.TypeInt,
Optional: true,
Computed: true,
},
"status": &schema.Schema{
Type: schema.TypeString,
Expand Down
Loading

0 comments on commit 2d050c3

Please sign in to comment.