{"id":22449087,"url":"https://github.com/whitehatboy005/json2yaml-cve","last_synced_at":"2025-10-16T06:30:37.687Z","repository":{"id":265354967,"uuid":"895829867","full_name":"whitehatboy005/JSON2YAML-CVE","owner":"whitehatboy005","description":"JSON2YAML is a Python-based utility that simplifies the process of converting CVE (Common Vulnerabilities and Exposures) data from JSON format into well-structured YAML files. This tool allows security analysts and developers to easily manage, analyze, and integrate CVE data into their vulnerability management systems.","archived":false,"fork":false,"pushed_at":"2025-02-10T13:22:43.000Z","size":13,"stargazers_count":10,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-08T21:35:35.631Z","etag":null,"topics":["convertor","cves","json","json2yaml","nuclei-templates","python3","template"],"latest_commit_sha":null,"homepage":"","language":"Python","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/whitehatboy005.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","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-11-29T02:02:09.000Z","updated_at":"2025-02-28T07:38:38.000Z","dependencies_parsed_at":"2024-12-27T13:18:12.373Z","dependency_job_id":"f614745d-5521-4f4b-a5e0-c4cb0897d3f1","html_url":"https://github.com/whitehatboy005/JSON2YAML-CVE","commit_stats":null,"previous_names":["whitehatboy005/json2yaml-cve"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/whitehatboy005/JSON2YAML-CVE","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/whitehatboy005%2FJSON2YAML-CVE","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/whitehatboy005%2FJSON2YAML-CVE/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/whitehatboy005%2FJSON2YAML-CVE/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/whitehatboy005%2FJSON2YAML-CVE/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/whitehatboy005","download_url":"https://codeload.github.com/whitehatboy005/JSON2YAML-CVE/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/whitehatboy005%2FJSON2YAML-CVE/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279162590,"owners_count":26117240,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-10-16T02:00:06.019Z","response_time":53,"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":["convertor","cves","json","json2yaml","nuclei-templates","python3","template"],"created_at":"2024-12-06T05:07:37.168Z","updated_at":"2025-10-16T06:30:37.682Z","avatar_url":"https://github.com/whitehatboy005.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# 🔁 JSON2YAML\n**JSON2YAML** is a Python-based utility that simplifies the process of converting CVE (Common Vulnerabilities and Exposures) data from JSON format into well-structured YAML files. This tool allows security analysts and developers to easily manage, analyze, and integrate CVE data into their vulnerability management systems.\n\nWith **JSON2YAML**, you can seamlessly convert detailed CVE records into a readable YAML format, making it easier to work with tools that require YAML files or to maintain your own vulnerability databases.\n\n## 📌 Features:\n- **Automatic CVE Parsing:** Automatically extracts the CVE number from the provided JSON data and uses it as the filename for the YAML output.\n- **Structured Output:** Converts raw CVE JSON data into a neatly formatted YAML file, retaining important information such as descriptions, CVSS scores, references, and affected software.\n- **Error Handling:** Provides error messages when the required CVE data is missing or improperly formatted.\n- **Easy-to-Use:** A simple, command-line based tool that converts individual CVEs or batches of CVE data quickly and efficiently.\n#\n## Example Input:\n**Provide a JSON file with CVE details such as ID, description, CVSS score, references, and affected products.**\n![Screenshot 2024-12-04 082124](https://github.com/user-attachments/assets/18e24f94-0912-4d3f-b9bc-1e9706c39b98)\n\n## JSON2YAML conversion\n![Screenshot 2024-12-04 082034](https://github.com/user-attachments/assets/ac9575aa-8cbd-4422-abaa-96b84b0a1e27)\n\n## Example Output:\n**A neatly formatted YAML file with structured CVE information.**\n![Screenshot 2024-12-04 082205](https://github.com/user-attachments/assets/edd6b840-7cd7-4c0c-9fa2-499bf5e0efb5)\n\n#\n## ⚙️ Installation\n## Clone the Repository\n```bash\ngit clone https://github.com/whitehatboy005/JSON2YAML-CVE\ncd JSON2YAML-CVE\n```\n## Install Dependencies\n```bash\npip install -r requirements.txt\n```\n## Usage:\n**To convert a CVE JSON file to YAML, run the script:**\n```bash\npython json2yaml.py\n```\n- **Input the path to your JSON file when prompted.**\n- **The script will automatically generate a YAML file named after the CVE ID.**\n\n## 👨‍💻 Contribution:\n**Contributions are welcome! If you have any suggestions for improvements or bug fixes, feel free to submit a pull request.**\n\n## 📝 License:\nThis project is licensed under the terms of the [MIT license](LICENSE.md).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwhitehatboy005%2Fjson2yaml-cve","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwhitehatboy005%2Fjson2yaml-cve","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwhitehatboy005%2Fjson2yaml-cve/lists"}