Skip to main content
shafiq23
Staff & Editor
Staff & Editor
April 27, 2026

Technical Tip: Agentless deployment creates default security group inbound rule allows to any services

  • April 27, 2026
  • 0 replies
  • 19 views

Description

This article describes the creation of a default security group rule during FortiCNAPP Agentless deployment using AWS CloudFormation, which may trigger security posture alerts in external monitoring systems or FortiCNAPP’s own policies.

Scope

FortiCNAPP Agentless deployment using AWS CloudFormation.

Solution

During Agentless deployment in AWS, a dedicated VPC and security group resources are created. Due to AWS CloudFormation behavior during provisioning, the newly created VPC's default security group may be associated with the FortiCNAPP Agentless scanning cluster.

By default, AWS creates inbound and outbound rules for the default security group. The default inbound rule allows traffic from other resources associated with the same security group, which may trigger security posture alerts.

Additionally, the FortiCNAPP deployment modifies outbound rules to restrict egress traffic to TCP port 443 only. This outbound connectivity is required for the Agentless scanner service component to securely communicate with Lacework backend services and transmit collected workload metadata for analysis.

To remediate such alerts, remove the default inbound rule from the default security group after deployment. This can be done through the AWS Management Console or AWS CLI.

AWS Console:

4861c3d1.png

606cb0c8.png

AWS CLI:

aws ec2 describe-security-groups \
--group-ids sg-xxxxxxxx \
--region ap-southeast-1

aws ec2 revoke-security-group-ingress \
--group-id sg-xxxxxxxx \
--protocol -1 \
--source-group sg-xxxxxxxx \
--region ap-southeast-1

Related document:

Agentless workload scanning for AWS - single account integration using CloudFormation