Skip to content

Commit 94a27c5

Browse files
authored
Go v2 Support (#38)
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
1 parent 8f207cb commit 94a27c5

28 files changed

+947
-989
lines changed
Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
ack_generate_info:
2-
build_date: "2025-01-23T02:34:27Z"
3-
build_hash: 2442aa071c05fcdf54841e63abd5f91d1951e152
2+
build_date: "2025-02-05T01:27:11Z"
3+
build_hash: d2d639403dd853736e63c2bc1e3ca51251fd1bd1
44
go_version: go1.23.5
5-
version: v0.41.0
6-
api_directory_checksum: 253c40e03d1f85ed44f898e1d4416f0148ca562a
5+
version: v0.41.0-16-gd2d6394-dirty
6+
api_directory_checksum: 99afa9f238f68724c7d03af6ffcc268c110e8b34
77
api_version: v1alpha1
8-
aws_sdk_go_version: v1.49.0
8+
aws_sdk_go_version: v1.32.6
99
generator_config_info:
10-
file_checksum: e3f95152cdec4d244eeacc7fd43c558eaf556772
10+
file_checksum: 67acf71903ce63ed3b9fbb8f0b22566268ef378d
1111
original_file_name: generator.yaml
1212
last_modification:
1313
reason: API generation

apis/v1alpha1/enums.go

Lines changed: 40 additions & 39 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

apis/v1alpha1/generator.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
1+
sdk_names:
2+
model_name: network-firewall
13
ignore:
24
field_paths:
35
- CreateFirewallPolicyInput.DryRun
6+
- StatefulEngineOptions.FlowTimeouts
47
resource_names:
58
- TLSInspectionConfiguration
69
resources:

apis/v1alpha1/rule_group.go

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

apis/v1alpha1/types.go

Lines changed: 3 additions & 6 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

cmd/controller/main.go

Lines changed: 8 additions & 8 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

config/crd/bases/networkfirewall.services.k8s.aws_firewalls.yaml

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -95,13 +95,10 @@ spec:
9595
description: |-
9696
Defines where Network Firewall sends logs for the firewall for one log type.
9797
This is used in LoggingConfiguration. You can send each type of log to an
98-
Amazon S3 bucket, a CloudWatch log group, or a Kinesis Data Firehose delivery
99-
stream.
98+
Amazon S3 bucket, a CloudWatch log group, or a Firehose delivery stream.
10099
101-
Network Firewall generates logs for stateful rule groups. You can save alert
102-
and flow log types. The stateful rules engine records flow logs for all network
103-
traffic that it receives. It records alert logs for traffic that matches
104-
stateful rules that have the rule action set to DROP or ALERT.
100+
Network Firewall generates logs for stateful rule groups. You can save alert,
101+
flow, and TLS log types.
105102
properties:
106103
logDestination:
107104
additionalProperties:

config/crd/bases/networkfirewall.services.k8s.aws_rulegroups.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -452,14 +452,14 @@ spec:
452452
rules:
453453
description: |-
454454
A string containing stateful rule group rules specifications in Suricata
455-
flat format, with one rule per line. Use this to import your existing Suricata
455+
flat format, with one ruleper line. Use this to import your existing Suricata
456456
compatible rule groups.
457457
458458
You must provide either this rules setting or a populated RuleGroup setting,
459459
but not both.
460460
461461
You can provide your rule group specification in Suricata flat format through
462-
this setting when you create or update your rule group. The call response
462+
this setting when you create or update your rule group. The callresponse
463463
returns a RuleGroup object that Network Firewall has populated from your
464464
string.
465465
type: string
@@ -493,7 +493,7 @@ spec:
493493
type_:
494494
description: |-
495495
Indicates whether the rule group is stateless or stateful. If the rule group
496-
is stateless, it contains stateless rules. If it is stateful, it contains
496+
is stateless, it containsstateless rules. If it is stateful, it contains
497497
stateful rules.
498498
type: string
499499
required:

generator.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
1+
sdk_names:
2+
model_name: network-firewall
13
ignore:
24
field_paths:
35
- CreateFirewallPolicyInput.DryRun
6+
- StatefulEngineOptions.FlowTimeouts
47
resource_names:
58
- TLSInspectionConfiguration
69
resources:

0 commit comments

Comments
 (0)