{"id":25096317,"url":"https://github.com/elevated-standards/tenabletrawler","last_synced_at":"2025-04-02T01:37:26.712Z","repository":{"id":272649665,"uuid":"917308999","full_name":"Elevated-Standards/TenableTrawler","owner":"Elevated-Standards","description":"TenableTrawler (Cloud OR FedCloud) is a Python project that pulls scan results via the Tenable API, laying them into organized, POAM-ready outputs. It supports various scans and exports in formats like CSV, JSON, and YAML.","archived":false,"fork":false,"pushed_at":"2025-01-23T15:28:34.000Z","size":12621,"stargazers_count":0,"open_issues_count":2,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-07T16:39:38.748Z","etag":null,"topics":["fedramp","iso-27001","nessus","nessus-parser","nessus-scanner","poam","soc-2","stateramp","tenable","tx-ramp","vulnerability","vulnerability-scanners","vulnerability-scanning"],"latest_commit_sha":null,"homepage":"https://elevated-standards.github.io/TenableTrawler/","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Elevated-Standards.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":"2025-01-15T18:36:36.000Z","updated_at":"2025-01-24T00:44:36.000Z","dependencies_parsed_at":"2025-01-23T04:22:03.400Z","dependency_job_id":null,"html_url":"https://github.com/Elevated-Standards/TenableTrawler","commit_stats":null,"previous_names":["elevated-standards/tenabletrawler"],"tags_count":1,"template":true,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Elevated-Standards%2FTenableTrawler","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Elevated-Standards%2FTenableTrawler/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Elevated-Standards%2FTenableTrawler/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Elevated-Standards%2FTenableTrawler/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Elevated-Standards","download_url":"https://codeload.github.com/Elevated-Standards/TenableTrawler/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246741187,"owners_count":20826063,"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","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":["fedramp","iso-27001","nessus","nessus-parser","nessus-scanner","poam","soc-2","stateramp","tenable","tx-ramp","vulnerability","vulnerability-scanners","vulnerability-scanning"],"created_at":"2025-02-07T16:33:09.918Z","updated_at":"2025-04-02T01:37:26.653Z","avatar_url":"https://github.com/Elevated-Standards.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# TenableTrawler\n\nTenableTrawler (Cloud OR FedCloud) is a Python-based project designed to pull scan results using the Tenable API and different Tenable scan results into an organized output that is POAM-ready. The project includes several scripts to handle various types of scans and export the results in different formats such as CSV, JSON, and YAML.\n\n\n## Features\n\n- Fetches scan results from Tenable.io using the Tenable API.\n- Supports exporting scan results to CSV, JSON, and YAML formats.\n- Organizes scan results into a structured format suitable for POAM (Plan of Action and Milestones).\n- Includes GitHub Actions workflows to automate the fetching and exporting of scan results on a scheduled basis.\n\n## Requirements\n\n- Python 3.x\n- Tenable API Access Key and Secret Key\n- Required Python packages listed in `requirements.txt`:\n  - `pytenable`\n  - `click`\n  - `arrow`\n  - `requests`\n\n## Installation\n\n1. Fork and Clone the repository:\n\nFork First\n\n```bash\n   git clone https://github.com/YOURUSERNAME/TenableTrawler.git\n   cd TenableTrawler\n```\n\n2. Install the required Python Packages\n\n```python\npip install -r requirements.txt\n```\n\n3. Set Up a Python Virtual Environment (Optional But Recommended)\n\n```python\npython3 -m venv tenable\nsource tenable/bin/activate\n```\n\n## Usage\n\n### Running the Scripts\n\n1. Set the Tenable API Access Key and Secret Key as environment variables:\n\n```bash\nexport TIO_ACCESS_KEY='your_access_key'\nexport TIO_SECRET_KEY='your_secret_key'\n```\n\n2. Variable for timestamping file name later\n\n```bash\nYEAR=$(date +\"%Y\")\nMONTH=$(date +\"%B\")\nEND_DATE=$(date -u +\"%Y-%m-%dT%H-%M-%SZ\")\n```\n\n3. Run the desired script. For example, to run the tenable.py script:\n\n```python\n# was = Web App Scanning\n\n# cloud.tenable.com\n\npython3 src/cloud_trawler.py --download-path scans/cloud/vulmgt/${YEAR}/${MONTH}/\n\npython3 src/cloud_trawler-webapp-tio.py \\\n            --output-dir scans/cloud/was/${YEAR}/${MONTH}/ \\\n            --file-name \"${END_DATE}_findings.csv\"\n\n## fedcloud.tenable.com\n\npython3 src/fedcloud_tenabletrawler.py --download-path scans/fedcloud/vulmgt/${YEAR}/${MONTH}/\n\npython3 src/fedcloud_trawler-webapp-tio.py \\\n            --output-dir scans/fedcloud/was/${YEAR}/${MONTH}/ \\\n            --file-name \"${END_DATE}_findings.csv\"\n\n```\n\n### GitHub Actions Workflows\n\n\nThe project includes several GitHub Actions workflows to automate the fetching and exporting of scan results:\n\n- Cloud Tenable VM Scan Results: `cloud-scan-results.yml`\n- Cloud WebAppScanning Scan Results: `cloud-was-results-tio.yml`\n- FedCloud Tenable VM Scan Results: `fedcloud-scan-results.yml`\n- FedCloud WebAppScanning Scan Results: `fedcloud-was-results-tio.yml`\n\n\nThese workflows are triggered on a schedule and can also be manually triggered via the GitHub Actions interface.\n\n## Contributing\n\nContributions are welcome! Please open an issue or submit a pull request with your changes\n\n\n## License\n\nThis project is licensed under the Apache2 License.\n\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Felevated-standards%2Ftenabletrawler","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Felevated-standards%2Ftenabletrawler","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Felevated-standards%2Ftenabletrawler/lists"}