Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

New RP Palo Alto #22700

Merged
merged 74 commits into from
Aug 10, 2023
Merged
Changes from 1 commit
Commits
Show all changes
74 commits
Select commit Hold shift + click to select a range
d36ebb9
Adds NGFW and Local Rule Stack resources - Some API issues and incomp…
jackofallops Jun 27, 2023
291d64d
update validations
jackofallops Jun 29, 2023
ecbd39c
remove default_mode
jackofallops Jul 3, 2023
6289ec4
rules added
jackofallops Jul 7, 2023
02f4845
add local rule stack certs
jackofallops Jul 10, 2023
e06aeeb
add update for certificate
jackofallops Jul 10, 2023
acd9d28
add fqdnlistts
jackofallops Jul 11, 2023
8414440
add prefix lists
jackofallops Jul 11, 2023
c5d91be
switch validation to cidr from str
jackofallops Jul 11, 2023
83b2348
pad out rule stack tests
jackofallops Jul 11, 2023
6706e99
needs sdk tweak for RuleStacks to Rulestacks
jackofallops Jul 11, 2023
0ae8227
add data source and local workaround for service casing bug
jackofallops Jul 12, 2023
ae95ea9
vhub testing
jackofallops Jul 13, 2023
7bcbf9e
add palo alto nva, some docs etc
jackofallops Jul 18, 2023
74f3ab9
cert resource tweaks
jackofallops Jul 18, 2023
6abbf5d
various resoruce tweaks
jackofallops Jul 18, 2023
a23cb6e
workarounds ahoy
jackofallops Jul 20, 2023
bf9c48e
split firewalls, add associations
jackofallops Jul 24, 2023
34ef666
add locking around rulestack changes for etag guardrail...
jackofallops Jul 24, 2023
b0f78a8
fix resourcenames in vnet panorama test
jackofallops Jul 24, 2023
1d595af
add missing location to test
jackofallops Jul 25, 2023
2166be9
go mod
jackofallops Jul 25, 2023
6efe9da
update category requirements
jackofallops Jul 25, 2023
dfa398b
set location on create, add more vnet tests
jackofallops Jul 25, 2023
e47fe0b
update rule complete test
jackofallops Jul 25, 2023
b3f0286
add category name validation, fixup tests
jackofallops Jul 26, 2023
d7c125b
lint and goimports
jackofallops Jul 27, 2023
3096dd0
linting
jackofallops Jul 27, 2023
216f56f
go mod vendor
jackofallops Jul 27, 2023
ba58863
update panorama tests for env var config
jackofallops Jul 27, 2023
ed83393
tflint
jackofallops Jul 27, 2023
cd47b6d
rework cert associations, add docs
jackofallops Jul 27, 2023
e308351
make rulestack one word throughout, add more docs
jackofallops Jul 27, 2023
dffaf8f
more docs, test fixes
jackofallops Jul 28, 2023
e8bf01b
egress inconsistent plan attempted fix
jackofallops Jul 28, 2023
45f20b0
switch to meta client
jackofallops Jul 28, 2023
529b969
read model checks
jackofallops Jul 28, 2023
94b748f
review feedback changes
jackofallops Jul 28, 2023
3318f58
go imports
jackofallops Jul 31, 2023
0dd59ed
terrafmt
jackofallops Jul 31, 2023
02b4619
rebase and go mod
jackofallops Jul 31, 2023
e8184b0
net appliance api version bump
jackofallops Jul 31, 2023
ac28d13
add panorama update methods
jackofallops Jul 31, 2023
35a83fc
vhub panorama tests
jackofallops Jul 31, 2023
0162ce3
template type fix
jackofallops Jul 31, 2023
d2b5fa3
typos
jackofallops Jul 31, 2023
3b7f945
test fixes after making action required
jackofallops Jul 31, 2023
4ede10b
more test fixes post review rework
jackofallops Jul 31, 2023
363c464
missed initialising the meta client
jackofallops Jul 31, 2023
e4f2845
don't poll on rs creation, only change
jackofallops Aug 1, 2023
2a7a6d6
typos and test fixes
jackofallops Aug 2, 2023
9c53ecc
set location into state on read for panorama resources
jackofallops Aug 2, 2023
73b821f
go mod
jackofallops Aug 2, 2023
3a20414
fix inconsistent plan in network_profile
jackofallops Aug 2, 2023
13f4627
test fixes, review freedback, possible fix for inconsistent plan
jackofallops Aug 3, 2023
49ddf96
egress fixes
jackofallops Aug 4, 2023
26c3875
move egress config up to template and restore read to 5m
jackofallops Aug 7, 2023
f1a5046
test fixes, update cert source, add docs, review feedback
jackofallops Aug 8, 2023
18b3092
add examples
jackofallops Aug 8, 2023
3709adb
file renames, linting and formatting
jackofallops Aug 8, 2023
3fb482e
remove comments on docs gen
jackofallops Aug 8, 2023
826b814
terrafmt
jackofallops Aug 8, 2023
cb03787
terrafmt
jackofallops Aug 8, 2023
bfe6ef2
update tests for keyvault refs
jackofallops Aug 8, 2023
454f337
Missed template config
jackofallops Aug 8, 2023
93a9a70
remove None from secservices
jackofallops Aug 9, 2023
afaba4c
update doc for rulestack te remove None on sec services.
jackofallops Aug 9, 2023
714df6b
fix rule update bug
jackofallops Aug 9, 2023
76bb258
update CI confg for supported locations
jackofallops Aug 9, 2023
f7d81f0
update docs for optional to req'd
jackofallops Aug 9, 2023
4d02d63
review feedback and bug fix in destination and source processing
jackofallops Aug 9, 2023
367496e
rename keyvault to key_vault
jackofallops Aug 9, 2023
7a11912
whitespace fix
jackofallops Aug 9, 2023
6f7b168
goimports
jackofallops Aug 9, 2023
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
test fixes after making action required
jackofallops committed Aug 8, 2023
commit 3b7f9450238da4ec25e734d80ba74fc1da81bf5b
Original file line number Diff line number Diff line change
@@ -32,7 +32,6 @@ func (d LocalRulestackDataSource) basic(data acceptance.TestData) string {
data "azurerm_palo_alto_local_rulestack" "test"{
name = azurerm_palo_alto_local_rulestack.test.name
resource_group_name = azurerm_palo_alto_local_rulestack.test.resource_group_name
location = azurerm_palo_alto_local_rulestack.test.location
}

`, LocalRulestackResource{}.complete(data))
Original file line number Diff line number Diff line change
@@ -400,12 +400,12 @@ resource "azurerm_palo_alto_local_rulestack_certificate" "untrust" {
certificate_signer_id = "https://example.com/acctest-untrust-cert"
}

resource "azurerm_local_rulestack_outbound_trust_certificate_association" "test" {
resource "azurerm_palo_alto_local_rulestack_outbound_trust_certificate_association" "test" {
rulestack_id = azurerm_palo_alto_local_rulestack.test.id
certificate_id = azurerm_palo_alto_local_rulestack_certificate.trust.id
}

resource "azurerm_local_rulestack_outbound_untrust_certificate_association" "test" {
resource "azurerm_palo_alto_local_rulestack_outbound_untrust_certificate_association" "test" {
rulestack_id = azurerm_palo_alto_local_rulestack.test.id
certificate_id = azurerm_palo_alto_local_rulestack_certificate.untrust.id
}
Original file line number Diff line number Diff line change
@@ -301,6 +301,7 @@ resource "azurerm_palo_alto_local_rulestack_rule" "test" {
name = "testacc-palr-%[1]d"
rulestack_id = azurerm_palo_alto_local_rulestack.test.id
priority = 1001
action = "DenySilent"

applications = ["any"]

Original file line number Diff line number Diff line change
@@ -375,6 +375,7 @@ resource "azurerm_palo_alto_local_rulestack_rule" "test" {
name = "testacc-palr-%[1]d"
rulestack_id = azurerm_palo_alto_local_rulestack.test.id
priority = 1001
action = "Allow"

applications = ["any"]