Description
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
- Create a NFW configuration with only Stateless rule groups
- Apply this using ASEA
- 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