hi, is there a way to revert a dev project back in...
# ask-a-descoper
s
hi, is there a way to revert a dev project back in time ? (our dev project got deleted and re-created)
āœ… 1
@Doron Sharon let me know if you can help
Also - do we have a way to lock project from deleting ?
c
@Shahar Danus - when was it deleted?
g
or protection - good idea. Please file an FR: https://docs.descope.com/support/descope-fr-portal
c
Also - was it in EU or US region? We soft delete for a few days, I'll see if it's still there.
s
frankfurt
deleted around an hour ago @Chris Carper
g
Project ID?
or name?
s
project id
Peuc1365EJ8fvgZYeH6ybaHmgfurNM5a
c
tenzai-dev-archived-1774889132
Peuc1365EJ8fvgZYeH6ybaHmgfurNM5a
s
can you restore it?
c
Yes - give us a few.
Made the request with our DevOps team will update once complete.
s
Thanks alot, how much time it should take?
@Chris Carper
or @Gilad Shriki it's very urgent for us
d
Should be soon
s
Thanks alot @Doron Sharon
d
@Shahar Danus check now.
s
@Doron Sharon Thanks alot !!!!
you can change it's name to regular tenzai-dev ?
d
You can do it from the project page
image.png
s
Thanks!! looks good
d
Going forward, the right approach here is to manage projects using snapshots together with Terraform, instead of relying on manual changes or recreating projects. That way you always have a reliable way to restore previous states and keep everything version controlled and reproducible.
s
Got you, will implement it sorry for the trouble and thanks for jumping in quickly guys @Doron Sharon @Chris Carper @Gilad Shriki
d
Sure!
d
@Doron Sharon in the subject of managing infrastructure as Terraform, and project restoration - I wonder regarding the AgenticHub and MCP server supports 1. Currently, we define those manually; they are not available in the Terraform provider, and, as they are not part of the management api, we can't set them using local-resource workarounds. Currently, the only way to define such MCP servers in Descopse is by using the console api directly with a JWT to Descope console issued to an authenticated Descopse user (meaning it's not available using a management key). Am I wrong here, and are there alternative ways to define those that I may use today? (All the other aspects, like setting the auth consent flows and JWT templates, are set already by Terraform, specifically missing MCP servers and Agentic Hub policies) 2. I noticed they are missing from the project export as well. When restoring from such a snapshot, will it override the existing MCP servers' definitions and AgenticHub policies?
d
It should not override them. In any case, I’m adding @Gil Shapira and @Tal Aharoni to provide the relevant information.
šŸ™ 1
t
Hi @Dan Evgy, The MCP server and clients were just added to the management API. Their documentation will be added soon but I can share more details if you need now. For the policies it might take a bit more time. Regarding the snapshots, they are not planned to be part of the snapshots today so importing will not touch the existing ones.
d
šŸ™ Thanks, @Tal Aharoni, for the quick response I will appreciate any documentation you can share with me on that
t