Create security profile groups (original) (raw)

This page explains how to createsecurity profile groupsby using the Google Cloud console or the Google Cloud CLI.

To check the progress of the operations listed on this page, make sure that your user role has the followingCompute Network User(roles/compute.networkUser) permissions:

Before you begin

Roles

To get the permissions that you need to create security profile groups, ask your administrator to grant you the necessaryIAM roles on your organization or project. For more information about granting roles, seeManage access.

Each security profile group can contain up to one security profile of each of the following types:

Organization-level security profile groups

To create an organization-level security profile group, use the Google Cloud console or the gcloud CLI.

When you create a security profile group, you can specify the name of the security profile group as a string or as a unique URL identifier. To construct the unique URL for a security profile group, use the following format:

organizations/ORGANIZATION_ID/locations/global/securityProfileGroups/NAME

If you use a unique URL identifier for the security profile group name, the organization and the location of the security profile group are already included in the URL identifier. However, if you use only the security profile group name, you must specify the organization and the location separately. For more information about unique URL identifiers, seesecurity profile group specifications.

Permissions required for this task

To perform this task, you must have been granted the following permissions_or_ one of the following IAM roles on your organization.

Permissions

Roles

Console

  1. In the Google Cloud console, go to the Security profiles page.
    Go to Security profiles
  2. In the project selector menu, select your organization.
  3. Select the Security profile groups tab.

Configure a security profile group:

  1. Click Create profile group.
  2. Enter a name in the Name field.
  3. Optional: Enter a description in the Description field.
  4. To create a security profile group for Cloud Next Generation Firewall Enterprise, in the Purpose section, select Cloud NGFW Enterprise.
  5. In the Threat prevention profile list or the URL filtering profilelist, select the security profile that you want to add to this security profile group.
  6. Click Create.

gcloud

To create a security profile group, use the gcloud network-security security-profile-groups createcommand:

gcloud network-security security-profile-groups create NAME
--organization ORGANIZATION_ID
--location LOCATION
--billing-project QUOTA_PROJECT_ID
--url-filtering-profile SECURITY_PROFILE_URL
--threat-prevention-profile SECURITY_PROFILE_URL
--description DESCRIPTION

Replace the following:

Project-level security profile groups

To create a project-level security profile group, use the gcloud CLI.

When you create a security profile group, you can specify the name of the security profile group as a string or as a unique URL identifier. To construct the unique URL for a security profile group , use the following format:

projects/PROJECT_ID/locations/global/securityProfileGroups/NAME

If you use a unique URL identifier for the security profile group name, the project, and the location of the security profile group are already included in the URL identifier. However, if you use only the security profile group name, you must specify the project, and the location separately. For more information about unique URL identifiers, seesecurity profile group specifications.

Permissions required for this task

To perform this task, you must have been granted the following permissions_or_ one of the following IAM roles on your project.

Permissions

Roles

gcloud

To create a security profile group, use the gcloud network-security security-profile-groups createcommand:

gcloud beta network-security security-profile-groups create NAME
--project PROJECT_ID
--location LOCATION
--url-filtering-profile SECURITY_PROFILE_URL
--threat-prevention-profile SECURITY_PROFILE_URL
--description DESCRIPTION

Replace the following:

What's next