Updated on 2024-07-23 GMT+08:00

Security Group Management

Permission

API

Action

Dependencies

Creating a security group (native OpenStack API)

POST /v2.1/{project_id}/os-security-groups

ecs:securityGroups:use

vpc:securityGroups:get

vpc:securityGroups:create

vpc:securityGroups:update

Deleting a security group (native OpenStack API)

DELETE /v2.1/{project_id}/os-security-groups/{security_group_id}

ecs:securityGroups:use

vpc:securityGroups:get

vpc:securityGroups:delete

vpc:securityGroups:update

Querying details about a security group (native OpenStack API)

GET /v2.1/{project_id}/os-security-groups/{security_group_id}

ecs:securityGroups:use

vpc:securityGroups:get

Querying security groups (native OpenStack API)

GET /v2.1/{project_id}/os-security-groups

ecs:securityGroups:use

vpc:securityGroups:get

Creating a security group rule (native OpenStack API)

POST /v2.1/{project_id}/os-security-group-rules

ecs:securityGroups:use

vpc:securityGroups:get

vpc:securityGroups:update

vpc:securityGroupRules:get

vpc:securityGroupRules:create

Deleting a security group rule (native OpenStack API)

DELETE /v2.1/{project_id}/os-security-group-rules/{security_group_rule_id}

ecs:securityGroups:use

vpc:securityGroups:get

vpc:securityGroups:update

vpc:securityGroupRules:get

vpc:securityGroupRules:delete

Updating a security group (native OpenStack API)

PUT /v2.1/{project_id}/os-security-groups/{security_group_id}

ecs:securityGroups:use

vpc:securityGroups:get

vpc:securityGroups:update

Querying security groups of a specified ECS (native OpenStack API)

GET /v2.1/{project_id}/servers/{server_id}/os-security-groups

ecs:securityGroups:use

vpc:securityGroups:get

vpc:ports:get

Adding an ECS to a security group (native OpenStack API)

POST /v2.1/{project_id}/servers/{server_id}/action

ecs:securityGroups:use

ecs:servers:get

ecs:servers:list

ecs:serverVolumes:use

ecs:diskConfigs:use

ecs:serverKeypairs:get

vpc:securityGroups:get

vpc:securityGroups:create

vpc:securityGroups:update

vpc:securityGroupRules:get

vpc:networks:get

vpc:subnets:get

vpc:routers:get

vpc:ports:get

vpc:ports:update

Removing a security group (native OpenStack API)

POST /v2.1/{project_id}/servers/{server_id}/action

ecs:securityGroups:use

ecs:servers:get

ecs:servers:list

ecs:serverVolumes:use

ecs:diskConfigs:use

ecs:serverKeypairs:get

vpc:securityGroups:get

vpc:securityGroups:delete

vpc:securityGroups:update

vpc:securityGroupRules:get

vpc:networks:get

vpc:subnets:get

vpc:routers:get

vpc:ports:get

vpc:ports:update