Skip to content

Commit

Permalink
Merge pull request #906 from F5Networks/devel_20112023_vendorsync
Browse files Browse the repository at this point in the history
vendorsync
  • Loading branch information
RavinderReddyF5 authored Nov 20, 2023
2 parents 28e382b + 9f61618 commit 05f985e
Show file tree
Hide file tree
Showing 7 changed files with 28 additions and 1,480 deletions.
18 changes: 9 additions & 9 deletions bigip/resource_bigip_ltm_profile_http.go
Original file line number Diff line number Diff line change
Expand Up @@ -244,21 +244,21 @@ func resourceBigipLtmProfileHttp() *schema.Resource {
Description: "Specifies which HTTP methods count as being known. Removing RFC-defined methods from this list will cause the HTTP filter to not recognize them.",
},
"max_header_count": {
Type: schema.TypeInt,
Optional: true,
Computed: true,
Type: schema.TypeInt,
Optional: true,
Computed: true,
Description: "Specifies the maximum number of headers allowed in HTTP request/response.",
},
"max_header_size": {
Type: schema.TypeInt,
Optional: true,
Computed: true,
Type: schema.TypeInt,
Optional: true,
Computed: true,
Description: "Specifies the maximum header size.",
},
"unknown_method": {
Type: schema.TypeString,
Optional: true,
Computed: true,
Type: schema.TypeString,
Optional: true,
Computed: true,
Description: "Specifies whether to allow, reject or switch to pass-through mode when an unknown HTTP method is parsed.",
},
},
Expand Down
7 changes: 4 additions & 3 deletions bigip/resource_bigip_ltm_profile_http_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,13 @@ package bigip

import (
"fmt"
bigip "github.com/f5devcentral/go-bigip"
"github.com/hashicorp/terraform-plugin-sdk/v2/helper/resource"
"github.com/hashicorp/terraform-plugin-sdk/v2/terraform"
"regexp"
"strings"
"testing"

bigip "github.com/f5devcentral/go-bigip"
"github.com/hashicorp/terraform-plugin-sdk/v2/helper/resource"
"github.com/hashicorp/terraform-plugin-sdk/v2/terraform"
)

var TestHttpName = fmt.Sprintf("/%s/test-http", TestPartition)
Expand Down
4 changes: 2 additions & 2 deletions bigip/resource_bigip_ltm_profile_ssl_client.go
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ func resourceBigipLtmProfileClientSsl() *schema.Resource {
Type: schema.TypeString,
Optional: true,
Computed: true,
Description: "Client certificate file path. Default None.",
Description: "(Trusted Certificate Authorities)Specifies a client CA that the system trusts. The default is `None`",
},
"cache_size": {
Type: schema.TypeInt,
Expand Down Expand Up @@ -276,7 +276,7 @@ func resourceBigipLtmProfileClientSsl() *schema.Resource {
Type: schema.TypeString,
Optional: true,
Computed: true,
Description: "client certificate name",
Description: "(Advertised Certificate Authorities)Specifies that the CAs that the system advertises to clients is being trusted by the profile. The default is `None`",
},

"crl_file": {
Expand Down
4 changes: 4 additions & 0 deletions docs/resources/bigip_ltm_profile_client_ssl.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,10 @@ Don't insert empty fragments and No TLSv1.3 are listed as Enabled Options. `Usag

* `peer_cert_mode` - (Optional) Specifies the way the system handles client certificates.When ignore, specifies that the system ignores certificates from client systems.When require, specifies that the system requires a client to present a valid certificate.When request, specifies that the system requests a valid certificate from a client but always authenticate the client.

* `ca_file` - (Optional) (Trusted Certificate Authorities)Specifies a client CA that the system trusts. The default is `None`.

* `client_cert_ca` - (Optional)(Advertised Certificate Authorities)Specifies that the CAs that the system advertises to clients is being trusted by the profile. The default is `None`.

* `renegotiation` - (Optional) Enables or disables SSL renegotiation.When creating a new profile, the setting is provided by the parent profile

* `retain_certificate` - (Optional) When `true`, client certificate is retained in SSL session.
Expand Down
6 changes: 3 additions & 3 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ require (
github.com/Azure/azure-storage-blob-go v0.13.0
github.com/Azure/go-autorest/autorest v0.11.18
github.com/Azure/go-autorest/autorest/adal v0.9.13
github.com/f5devcentral/go-bigip v0.0.0-20231106055810-6ff3de737dbe
github.com/f5devcentral/go-bigip/f5teem v0.0.0-20231106055810-6ff3de737dbe
github.com/f5devcentral/go-bigip v0.0.0-20231120063103-95f22f4d262c
github.com/f5devcentral/go-bigip/f5teem v0.0.0-20231120063103-95f22f4d262c
github.com/google/uuid v1.3.0
github.com/hashicorp/terraform-plugin-sdk/v2 v2.25.0
github.com/stretchr/testify v1.8.4
Expand Down Expand Up @@ -77,4 +77,4 @@ require (
gopkg.in/yaml.v3 v3.0.1 // indirect
)

go 1.17
go 1.21.3
Loading

0 comments on commit 05f985e

Please sign in to comment.