{"id":20445895,"url":"https://github.com/rapid7/insightvm-sql-queries","last_synced_at":"2026-01-28T05:19:59.876Z","repository":{"id":62380298,"uuid":"553165842","full_name":"rapid7/insightvm-sql-queries","owner":"rapid7","description":"InsightVM helpful SQL queries","archived":false,"fork":false,"pushed_at":"2025-02-17T15:20:43.000Z","size":221,"stargazers_count":64,"open_issues_count":2,"forks_count":23,"subscribers_count":63,"default_branch":"master","last_synced_at":"2025-03-05T08:45:32.216Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":null,"has_issues":false,"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/rapid7.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":"2022-10-17T20:26:05.000Z","updated_at":"2025-02-17T15:20:46.000Z","dependencies_parsed_at":"2024-01-30T21:44:29.448Z","dependency_job_id":"a2a9fc10-b5e0-4f8d-8381-729c4ed10ea4","html_url":"https://github.com/rapid7/insightvm-sql-queries","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/rapid7/insightvm-sql-queries","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rapid7%2Finsightvm-sql-queries","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rapid7%2Finsightvm-sql-queries/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rapid7%2Finsightvm-sql-queries/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rapid7%2Finsightvm-sql-queries/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rapid7","download_url":"https://codeload.github.com/rapid7/insightvm-sql-queries/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rapid7%2Finsightvm-sql-queries/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28840088,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-28T02:10:51.810Z","status":"ssl_error","status_checked_at":"2026-01-28T02:10:50.806Z","response_time":57,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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-15T10:15:37.466Z","updated_at":"2026-01-28T05:19:54.868Z","avatar_url":"https://github.com/rapid7.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# A collection of SQL queries for InsightVM\n\nThis repository is intended to serve as a place to store and share example SQL queries for use in InsightVM. These queries are sorted into two separate folders based on their use with the reporting data model, versus the data warehouse.\n\nPlease be sure to test these queries and verify their results before usage. Queries may need updates depending on your environment and desired output.\n\n## Navigating This Repo\n\nNavigate to the `sql-query-export` or `data-warehouse-sql-queries` folders to browse the available queries. If you're unsure what a query does based on its title, simply click on the title to see the full query, along with its description at the very top.\n\nIf you'd like to use a particular query, simply copy the query text that falls after the `Copy the SQL query below` instructions in the `.sql` file.\n\n## Reporting Data Model\n\nThe Reporting Data Model is a dimensional model that allows customized reporting in InsightVM using the PostgreSQL relational database management system. To view the schema for this model, check out our documentation for both facts and dimensions.\n\nhttps://docs.rapid7.com/insightvm/understanding-the-reporting-data-model-facts/\nhttps://docs.rapid7.com/insightvm/understanding-the-reporting-data-model-dimensions\n\n## Data Warehouse\n\nThere is also the option of configuring the Security Console to export data into an external Data Warehouse. This allows for a richer dataset and improved ability to integrate with other internal reporting systems. To learn more about configuring the Data Warehouse, as well as its schema, check out the resources below.\n\nhttps://docs.rapid7.com/insightvm/configuring-data-warehousing-settings/\nhttps://help.rapid7.com/nexpose/en-us/warehouse/warehouse-schema.html\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frapid7%2Finsightvm-sql-queries","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frapid7%2Finsightvm-sql-queries","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frapid7%2Finsightvm-sql-queries/lists"}