Hi Abdo,
I've tried to check what can be done internally.
As you suggested, there is no such option to update a policy (unfortunately).
What can be done instead, it getting the list of all existing policies, then modifying the specific policy as needed and deleting the previous policy.
I know it's not ideal, but it can be a solution for your needs for now until the API commands get updated.
Thanks,
------------------------------
Ira Miga
Imperva
Knowledge Engineer
------------------------------
Original Message:
Sent: 07-28-2020 00:00
From: abdo yousri
Subject: Update DB security policy through api
Hi Ira,
Thanks for your response, I want to block users automatically when some external condition happen. So I decided to create a policy then update it with target users frequently.
Regards,
------------------------------
abdo yousri
Original Message:
Sent: 07-26-2020 06:24
From: Ira Miga
Subject: Update DB security policy through api
Hi Abdo,
You are right, I don't see any examples of updating a DB Security Policy.
Can you give me an example of what you are trying to achieve?
I will be able to find out if that is possible then..
Thanks,
------------------------------
Ira Miga
Imperva
Knowledge Engineer
Original Message:
Sent: 07-23-2020 08:09
From: abdo yousri
Subject: Update DB security policy through api
Dear all,
I want to create one Db security policy then update it frequently through API calls.
here I can see only create and get options.
does SecureSphere API supports this option?
Your help is appreciated.
Best Regards
#APISecurity
------------------------------
abdo yousri
------------------------------