how to get details of security group

0

Hi, we would like to know is there any way to find out if the security group is in use or not or in short to which resource this security group is associated.we did tried to find out for example using aws ec2 describe-network-interfaces --filters Name=group-id,Values=<group-id> but this does not help us much.

Thanks Dilip

2 réponses
1

Hi Dilip.

This Knowledge Center article goes into more depth on what commands need to be run after the aws ec2 describe-network-interfaces command.

AWS
EXPERT
répondu il y a 2 ans
profile pictureAWS
EXPERT
vérifié il y a 2 ans
1

Hello Dilip, This will definitely show you all the resources your security group is associated with aws ec2 describe-network-interfaces --filters Name=group-id,Values=<group-id> --region <region> --output json --query 'NetworkInterfaces'

profile pictureAWS
répondu il y a 2 ans

Vous n'êtes pas connecté. Se connecter pour publier une réponse.

Une bonne réponse répond clairement à la question, contient des commentaires constructifs et encourage le développement professionnel de la personne qui pose la question.

Instructions pour répondre aux questions