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 a parameter to enable API discovery. #438

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

uduncanu
Copy link
Contributor

We're trying to set up many sites entirely via Terraform, and noticed while trying to set one up with APIs that there wasn't a way to actually enable API discovery without a different manual step, so I've tried to add in that functionality here.

@avikivanda
Copy link

avikivanda commented Jul 15, 2024

Now this API is not supported for enabling a API discovery. Enabling discovery is deprecated from this API. So this change is not relevant.

@warmfusion
Copy link

@avikivanda can you provide references to the deprecation notices and propose an alternative approach for us to take here?

@avikivanda
Copy link

@warmfusion Reference to API security spec : https://docs.imperva.com/bundle/advanced-api-security/page/83093.htm
Use POST /v2/discovery/sites/settings to update multiple sites at once.

@warmfusion
Copy link

Thanks @avikivanda, strange that the api documentation requires a login to view.

Do you know when Imperva might support these updated API settings in the imperva/terraform-provider-incapsula project, or are you assuming we'd provide a pull request for this behaviour?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants