How to add managed stateful rule groups to network firewall with CloudFormation ?

1

Via the console, we can add managed stateful rule groups : how to achieve the same thing using a cloud formation template ?

For example :

PriorityName
1AbusedLegitMalwareDomainsStrictOrder
2BotNetCommandAndControlDomainsStrictOrder
3AbusedLegitBotNetCommandAndControlDomainsStrictOrder
4ThreatSignaturesBotnetStrictOrder
5ThreatSignaturesBotnetWebStrictOrder

The objective is also to have a strict order of priorities as indicated, as an example, in the table above.

Thank you in advance for your answers.

3개 답변
1

Hello,

You can use AWS::NetworkFirewall::FirewallPolicy to add managed rule groups to your Network Firewall policies. Sub-Property StatefulRuleGroupReference can be used to set Priority for each managed rule group specified in property ResourceArn. To get the ARN of the AWS managed rule group, use list-rule-groups AWS CLI. See example for reference.

AWS
지원 엔지니어
답변함 일 년 전
0

Hello,

Please follow the below link to add managed stateful rule groups to network firewall with CloudFormation: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-networkfirewall-rulegroup.html#aws-resource-networkfirewall-rulegroup--examples

AWS
지원 엔지니어
답변함 2년 전
  • Thank you for your answer, but it does not answer my question. The question is about the stateful rule groups managed by AWS, not the rules you create yourself.

0

ResourceArns for Managed Rulegroups follow the pattern: "arn:aws:network-firewall:<region>:aws-managed:stateful-rulegroup/<rulegroup-name"

For example: "arn:aws:network-firewall:ap-southeast-2:aws-managed:stateful-rulegroup/ThreatSignaturesMalwareMobileActionOrder"

Craig
답변함 10달 전

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠