Hi Lucas, thank you for posting your question in the Lacework Community!
Could you please share which Lacework CloudFormation Stack Template you are referring to?
The Lacework Polygraph will not lose behavior data unless it has been manually reset by the Lacework Engineering team.
Please let me know if you have any further questions that I could help out with.
Hello Lucas,
Thanks for reaching out and posting the question in the community.
First of all, Kudos to you for proactively keeping up with the changes in naming convention and maintaining your cloud hygiene!
Regarding your inquiry, Lacework Polygraph will remember your cloud resources and its learned behavior if you run the stack to integrate the same cloud accounts again.
At a high level, you should perform the steps in below order with minimal time gap to reduce potential data loss:
1. Delete the stack in AWS environment
2. In Lacework UI, delete the Cloud Accounts integrations under Settings> Integrations
3. Click Add New
4. Select Integration Type and respective method (CloudFormation) to integrate
5. Run CloudFormation Template
6. Add appropriate parameters and run the template
Hoping this is helpful for you. Please feel free to reach in case of any additional questions.
Thank you!
----
Yashesh Shah - CSDA Lacework
Hello,
I was referring to the CloudTrail+Configuration template.
Thank you for your answers and for the procedure. Made it today, hope everything will be fine.
Have a nice day !
Lucas