thoughtspot / cs_tools

Scale your ThoughtSpot adoption with tools created by the ThoughtSpot Solutions Consulting organization.
https://thoughtspot.github.io/cs_tools/
Other
8 stars 6 forks source link

v1.5.6 | cs_tools tools scriptability export no longer exports objects owned by tsadmin #142

Closed boonhapus closed 3 months ago

boonhapus commented 3 months ago

Discussed in https://github.com/thoughtspot/cs_tools/discussions/141

Originally posted by **bmofkn** May 21, 2024 We use `cs_tools tools scriptability export --include-types` daily to bulk export the TML of all objects in our Org (passing in various types like `answer` or `liveboard`). Up until [v1.5.6](https://github.com/thoughtspot/cs_tools/tree/v1.5.6), this always included objects owned by tsadmin (the default Administrator account). All of our "canned" liveboards and answers that are exposed to our TSE customers are owned by tsadmin, thus the need to export the objects daily for backup and recovery purposes. As of v1.5.6, it seems all objects owned by tsadmin are skipped. Is there a new parameter to pass into `cs_tools tools scriptability export --include-types` that will allow tsadmin objects to be exported? Thanks!
boonhapus commented 3 months ago

I'll add an option to scriptability export like --include-system-content which will be off by default.