Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add RateLimit practice as resource in TF provider #18

Open
ankek opened this issue Aug 13, 2024 · 0 comments
Open

Add RateLimit practice as resource in TF provider #18

ankek opened this issue Aug 13, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@ankek
Copy link

ankek commented Aug 13, 2024

Community Note

  • Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request
  • Please do not leave "+1" or other comments that do not add relevant new information or questions, they generate extra noise for issue followers and do not help prioritize the request
  • If you are interested in working on this issue or have submitted a pull request, please leave a comment

Description

Please, add RateLimit practice resource in Terraform provider

New or Affected Resource(s)

  • inext_web_api_practice
  • inext_web_api_asset

Potential Terraform Configuration

resource "inext_web_api_asset" "SomeName" {
  name            = "SomeName"
  practice {
    main_mode = "Learn" 
    sub_practices_modes = {
      APIAttacks       = "AccordingToPractice"
      FileSecurity     = "Disabled"
      IPS              = "AccordingToPractice" 
      SchemaValidation = "Disabled"
      Snort            = "Disabled"            
      WebBot           = "AccordingToPractice"
      **RateLimit = { configuration options here}** 
  }
}

or

resource "inext_web_api_practice" "SomeName" {
  name = "SomeName"
  ips {
    performance_impact    = "MediumOrLower"
    severity_level        = "LowOrAbove"  
    protections_from_year = "2010"  
    high_confidence       = "Prevent" 
    medium_confidence     = "Detect" 
    low_confidence        = "Detect"     
  }
  api_attacks {
    minimum_severity = "Medium" 
    advanced_setting {
      body_size            = 0
      header_size          = 0
      illegal_http_methods = false
      max_object_depth     = 0
      url_size             = 0
    }
  }
   **Rate_Limit = { configuration options here}**
}
@ankek ankek added the enhancement New feature or request label Aug 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant