Yandex Cloud
Documentation
PresentationContact UsTry it for free
© 2026 Direct Cursus Technology L.L.C.
Yandex Smart Web Security
  • Getting started
    • All guides
      • Creating a profile
      • Editing basic profile settings
      • Getting profile information
      • Deleting a profile
      • Configuring rule sets
      • Getting information about a rule set
      • Adding an exclusion rule
      • Updating an exclusion rule
      • Deleting an exclusion rule
      • Monitoring and adjusting ML WAF protection
    • Address lists
    • Viewing operations
    • Configuring monitoring
    • Setting up alerts
    • Configuring logs via Smart Web Security
    • Configuring logs via Application Load Balancer
    • Migrating to the new condition format in the API, CLI, and Terraform
    • Overview
    • Security profiles
    • WAF profiles
    • ARL (request limit)
    • Rules
    • Conditions
    • Lists
    • Managing bot traffic
    • Protecting domains
    • Response templates
    • Logging
    • Quotas and limits
  • Access management
  • Pricing policy
  • Terraform reference
  • Monitoring metrics
  • Audit Trails events
  • Release notes
  1. Step-by-step guides
  2. Cloud WAF profiles
  3. Getting profile information

Getting information about a Cloud WAF profile

Written by
Yandex Cloud
Updated at November 24, 2026
View in Markdown
Management console
Terraform
API
  1. In the management console, select the folder containing the WAF profile.

  2. Navigate to Smart Web Security.

  3. In the left-hand panel, select WAF profiles.

  4. Select the profile in question.

  5. The Overview page will show the profile details:

    • Basic profile parameters.
    • Security profiles the WAF profile is attached to.
    • Rule sets included in the profile, number of active rules in each set, anomaly and paranoia level for the OWASP set.

With Terraform, you can quickly create a cloud infrastructure in Yandex Cloud and manage it using configuration files. These files store the infrastructure description written in HashiCorp Configuration Language (HCL). If you change the configuration files, Terraform automatically detects which part of your configuration is already deployed, and what should be added or removed.

Terraform is distributed under the Business Source License. The Yandex Cloud provider for Terraform is distributed under the MPL-2.0 license.

For more information about the provider resources, see the guides on the Terraform website or its mirror.

If you do not have Terraform yet, install it and configure the Yandex Cloud provider.

To manage infrastructure using Terraform under a service account or user accounts (a Yandex account, a federated account, or a local user), authenticate using the appropriate method.

To get info about the Yandex Smart Web Security WAF profile you created with Terraform:

  1. Add the data and output sections to the Terraform configuration file:

    data "yandex_sws_waf_profile" "default" {
      name = "<WAF_profile_name>"
    }
    
    output "profile-created" {
      value = data.yandex_sws_waf_profile.default.created_at
    }
    

    Where:

    • data "yandex_sws_waf_profile": Description of the WAF profile as a data source:

      • name: WAF profile name.
    • output "profile-created": Output variable that contains information about the WAF profile creation timestamp:

      • value: Value returned by the data source.

    You can replace created_at with any other attribute to get the information you need. For more on the properties of the yandex_sws_waf_profile data source, see this provider guide.

  2. Create the resources:

    1. In the terminal, navigate to the configuration file directory.

    2. Make sure the configuration is correct using this command:

      terraform validate
      

      If the configuration is valid, you will get this message:

      Success! The configuration is valid.
      
    3. Run this command:

      terraform plan
      

      The terminal will display a list of intended changes: resources and/or output variables. No changes will be made at this step. Terraform will show any errors detected in the configuration.

    4. Apply the configuration changes:

      terraform apply
      
    5. Type yes and press Enter to confirm the changes.

    Terraform will create all required resources and display their output variables. To check the results, run this command:

    terraform output
    

    Result:

    profile-created = "2024-12-13T17:45:34Z"
    

To get information about a Yandex Smart Web Security WAF profile, use the get REST API method for the WafProfile resource or the WafProfile/Get gRPC API call.

Was the article helpful?

Previous
Editing basic profile settings
Next
Deleting a profile
© 2026 Direct Cursus Technology L.L.C.