Skip to content

Security Groups

Provider: AWS
Service ID: security_groups
Rendering: Table with expandable rows containing tabbed sub-tables

Quick Example

<script>
var serviceDiscoveryRequests = serviceDiscoveryRequests || [];
serviceDiscoveryRequests.push({
    service: 'security_groups',
    provider: 'aws',
    region: 'eu-west-2',
    source: 'live',
    attributes: ['name', 'group_id', 'group_name', 'description', 'vpc_id', 'rules']
});
</script>

<div data-sd-service="security_groups" data-sd-source="live"></div>

Default Attributes

When no attributes array is specified, these columns are displayed:

attributes: ['name', 'group_id', 'group_name', 'description', 'vpc_id', 'rules']

All Attributes

Attribute Display Name Format Description
name Name text Resource display name (from tags or identifier)
group_id Group ID text From API field: GroupId
group_name Group Name text From API field: GroupName
description Description text From API field: Description
vpc_id VPC ID text From API field: VpcId. Resolved to vpc name when available
rules Rules compound_sub_table Expandable sub-table: Inbound Rules, Outbound Rules
tags Tags tags_table All tags/labels as a key-value table

= included in default view

Sub-Table: Rules

Inbound Rules

Column Display Name
protocol Protocol
port_range Port Range
source Source
description Description

Outbound Rules

Column Display Name
protocol Protocol
port_range Port Range
destination Destination
description Description

Sort Order

Results are sorted by: name, group_id