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

[BUG][OTHER] ASEA - LZA Pre-Migration Scripts - NFW Firewall Policy Requires BOTH Stateful and Stateless Rule Groups #1238

Open
SEAFork1 opened this issue Oct 15, 2024 · 0 comments
Assignees

Comments

@SEAFork1
Copy link

Bug reports which fail to provide the required information will be closed without action.

Required Basic Info

  • Accelerator Version: v1.5.11
  • Install Type: Upgrade
  • Upgrade from version: v1.5.10
  • Which State did the Main State Machine Fail in: N/A

Describe the bug
When running the convert-config command an error occurs when trying to convert our NFW config

Failure Info

  • What error messages have you identified, if any:
    statefulRuleGroups: policyData.statefulRuleGroup.map((ruleGroup: any) => ({
    ^
    TypeError: Cannot read properties of undefined (reading 'map')
    at ConvertAseaConfig.getNetworkFirewallConfig

  • What symptoms have you identified, if any: The NFW config in question does not have any Stateful firewall rule groups (just stateless)

Required files

Steps To Reproduce

  1. Create a NFW configuration with only Stateless rule groups
  2. Apply this using ASEA
  3. Run the convert-config script

Expected behavior
The script should be able to handle NFW configurations with only Stateless or Stateful rule groups defined

As a workaround we will add a Stateful rule group to this policy

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants