{"id":21638077,"url":"https://github.com/purecloudlabs/cxascode-analysis-scripts","last_synced_at":"2026-03-11T05:01:58.326Z","repository":{"id":260167529,"uuid":"874435411","full_name":"purecloudlabs/cxascode-analysis-scripts","owner":"purecloudlabs","description":"CX as Code and Terraform Log Analysis Scripts","archived":false,"fork":false,"pushed_at":"2025-05-30T18:12:20.000Z","size":825,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-05-31T02:19:55.097Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Jupyter Notebook","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/purecloudlabs.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-10-17T20:25:55.000Z","updated_at":"2025-05-30T18:12:24.000Z","dependencies_parsed_at":"2025-03-19T11:46:04.592Z","dependency_job_id":null,"html_url":"https://github.com/purecloudlabs/cxascode-analysis-scripts","commit_stats":null,"previous_names":["purecloudlabs/cxascode-analysis-scripts"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/purecloudlabs/cxascode-analysis-scripts","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/purecloudlabs%2Fcxascode-analysis-scripts","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/purecloudlabs%2Fcxascode-analysis-scripts/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/purecloudlabs%2Fcxascode-analysis-scripts/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/purecloudlabs%2Fcxascode-analysis-scripts/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/purecloudlabs","download_url":"https://codeload.github.com/purecloudlabs/cxascode-analysis-scripts/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/purecloudlabs%2Fcxascode-analysis-scripts/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30372125,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-10T21:41:54.280Z","status":"online","status_checked_at":"2026-03-11T02:00:07.027Z","response_time":84,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-25T04:08:07.275Z","updated_at":"2026-03-11T05:01:58.300Z","avatar_url":"https://github.com/purecloudlabs.png","language":"Jupyter Notebook","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Introduction\nAs the support team for CX as Code, we are sometimes pulled in to examine a customer's environment or one of our own internal environments to understand what is happening in their Terraform/CX as Code environment.\n\nAs a result of these requests, we have written several Python and Jupyter Notebook scripts to process and analyze the data.  We are releasing these into our lab environment \"AS-IS\" with no guarantee of support.  Our goal is to share these scripts so that the large CX as Code community can use them as they see fit.\n\n# Installation\n\nAll requirements were captured in a Python `requirements.txt` file.  The libraries can be\ninstalled using `pip install -r requirements.txt`.\n\n# Configuration\nAll paths used in these notebooks are read from commonlib/config.Config class.  This class will read and write based on three environment variables:\n\n```\nexport TERRAFORM_LOG_PATH=\"\"  #Location of the log file\nexport NORMALIZED_TERRAFORM_LOG_PATH=\"\" #Output path fo the normalized Terraform log data\nexport NORMALIZED_GENESYS_SDK_PATH=\"\"   #Output path ot the normalized SDK data\n```\n\n# Additional notes\nThe `sdk-plan-notebooks` directory contains two files: `plan-analysis.ipynb` and `sdk-notebook.ipynb`.  \n\nThe `plan-analysis.ipynb` file is a Jupyter notebook that will take the STDOUT from the running of `terraform plan` or `tofu` plan and parse the results to identify long plan resolution times, drift detection, etc...\n\nThe `sdk-notebook.ipynb' will parse the output from a STDOUT run of a `TF_DEBUG=json terraform apply --auto-approve` and will break down the API calls being made in the plan. \n\nThe `notebooks/common-lib` contains Python functions used to carry out various functions in processing.\n\nThe `generator` folder is a small Python script used to generate a large number of resources.  This was so we could use it to create enough to parse and log the output.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpurecloudlabs%2Fcxascode-analysis-scripts","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpurecloudlabs%2Fcxascode-analysis-scripts","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpurecloudlabs%2Fcxascode-analysis-scripts/lists"}