{"id":28905053,"url":"https://github.com/theforeman/foreman_rh_cloud","last_synced_at":"2026-01-19T17:04:16.430Z","repository":{"id":37926788,"uuid":"195832193","full_name":"theforeman/foreman_rh_cloud","owner":"theforeman","description":"a plugin to Foreman that generates, and uploads reports to the Red Hat cloud","archived":false,"fork":false,"pushed_at":"2026-01-09T20:07:01.000Z","size":3873,"stargazers_count":8,"open_issues_count":18,"forks_count":50,"subscribers_count":7,"default_branch":"develop","last_synced_at":"2026-01-13T07:29:46.995Z","etag":null,"topics":["foreman","hacktoberfest","theforeman"],"latest_commit_sha":null,"homepage":"","language":"Ruby","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/theforeman.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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2019-07-08T14:44:36.000Z","updated_at":"2026-01-09T20:04:14.000Z","dependencies_parsed_at":"2023-09-25T22:48:05.822Z","dependency_job_id":"54bc1690-a402-459b-b2ff-ec40f1d90141","html_url":"https://github.com/theforeman/foreman_rh_cloud","commit_stats":{"total_commits":502,"total_committers":37,"mean_commits":"13.567567567567568","dds":0.5398406374501992,"last_synced_commit":"adc3aa2d80ff25cab5cc2467b2593693c2fdf534"},"previous_names":["theforeman/foreman_inventory_upload"],"tags_count":178,"template":false,"template_full_name":null,"purl":"pkg:github/theforeman/foreman_rh_cloud","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/theforeman%2Fforeman_rh_cloud","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/theforeman%2Fforeman_rh_cloud/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/theforeman%2Fforeman_rh_cloud/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/theforeman%2Fforeman_rh_cloud/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/theforeman","download_url":"https://codeload.github.com/theforeman/foreman_rh_cloud/tar.gz/refs/heads/develop","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/theforeman%2Fforeman_rh_cloud/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28577085,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-19T16:29:19.148Z","status":"ssl_error","status_checked_at":"2026-01-19T16:29:17.772Z","response_time":67,"last_error":"SSL_read: 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":["foreman","hacktoberfest","theforeman"],"created_at":"2025-06-21T13:06:00.649Z","updated_at":"2026-01-19T17:04:16.425Z","avatar_url":"https://github.com/theforeman.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![Ruby tests](https://github.com/theforeman/foreman_rh_cloud/actions/workflows/ruby_tests.yml/badge.svg)](https://github.com/theforeman/foreman_rh_cloud/actions/workflows/ruby_tests.yml)\n[![JS](https://github.com/theforeman/foreman_rh_cloud/actions/workflows/js_tests.yml/badge.svg)](https://github.com/theforeman/foreman_rh_cloud/actions/workflows/js_tests.yml)\n[![Ask DeepWiki](https://deepwiki.com/badge.svg)](https://deepwiki.com/theforeman/foreman_rh_cloud)\n\n# ForemanRhCloud\n\n## Installation\n\nSee [How_to_Install_a_Plugin](http://projects.theforeman.org/projects/foreman/wiki/How_to_Install_a_Plugin)\nfor how to install Foreman plugins\n\n## Project overview\nSee our [wiki](https://deepwiki.com/theforeman/foreman_rh_cloud)\n\n### In Satellite\n\n#### Inventory upload\n\nIn UI: Insights -\u003e Inventory Upload -\u003e select the organization -\u003e Generate and upload report\n\nFrom command-line:\n\n    # generate and upload report for all organizations\n    /usr/sbin/foreman-rake rh_cloud_inventory:report:generate_upload\n\n    # generate and upload report for specific organization\n    export organization_id=1\n    /usr/sbin/foreman-rake rh_cloud_inventory:report:generate_upload\n\n    # generate report for specific organization (don't upload)\n    export organization_id=1\n    export target=/var/lib/foreman/red_hat_inventory/generated_reports/\n    /usr/sbin/foreman-rake rh_cloud_inventory:report:generate\n\n    # upload previously generated report (needs to be named 'report_for_#{organization_id}.tar.gz')\n    export organization_id=1\n    export target=/var/lib/foreman/red_hat_inventory/generated_reports/\n    /usr/sbin/foreman-rake rh_cloud_inventory:report:upload\n\n#### Fetch hosts remediation data\n\nIn UI: Insights -\u003e Recommendations -\u003e Sync recommendations (under the vertical ellipsis)\n\nFrom command-line:\n\n    /usr/sbin/foreman-rake rh_cloud_insights:sync\n\n#### Synchronize inventory status\n\nIn UI: Insights -\u003e Inventory Upload -\u003e Sync all inventory status\n\nFrom command-line:\n\n    # all organizations\n    /usr/sbin/foreman-rake rh_cloud_inventory:sync\n\n    # specific organization with id 1\n    export organization_id=1\n    /usr/sbin/foreman-rake rh_cloud_inventory:sync\n\n## TODO\n\n*Todo list here*\n\n## Design\n\n### Endpoints\n\n| purpose                       | url    | ENV setting for the **bold** part\n| ------------------------------| -------| -----------\n| Inventory uploads             | **https://cert.cloud.redhat.com/api/ingress/v1/upload**    | SATELLITE_INVENTORY_UPLOAD_URL\n| Query inventory hosts list    | **https://cloud.redhat.com** /api/inventory/v1/hosts?tags=  | SATELLITE_RH_CLOUD_URL\n| Query insights hits           | **https://cloud.redhat.com** /api/insights/v1/export/hits/  | SATELLITE_RH_CLOUD_URL\n| Query insights rules          | **https://cloud.redhat.com** /api/insights/v1/rule/?impacting=true\u0026rule_status=enabled\u0026has_playbook=true\u0026limit=\u0026offset=  | SATELLITE_RH_CLOUD_URL\n| Query insights resolutions    | **https://cloud.redhat.com** /api/remediations/v1/resolutions| SATELLITE_RH_CLOUD_URL\n| Forward insights-client `/static` requests    | **https://cloud.redhat.com** /api/static    | SATELLITE_RH_CLOUD_URL\n| Forward insights-client legacy `/platform` requests    | **https://cert.cloud.redhat.com** /api    | SATELLITE_CERT_RH_CLOUD_URL\n| Forward insights-client legacy `/redhat_access/r/insights` requests    | **https://cert-api.access.redhat.com** /r/insights    | SATELLITE_LEGACY_INSIGHTS_URL\n\n\n## Contributing\n\nFork and send a Pull Request. Thanks!\n\n## Copyright\n\nCopyright (c) 2013 - 2024 - The Foreman Team\n\nThis program is free software: you can redistribute it and/or modify\nit under the terms of the GNU General Public License as published by\nthe Free Software Foundation, either version 3 of the License, or\n(at your option) any later version.\n\nThis program is distributed in the hope that it will be useful,\nbut WITHOUT ANY WARRANTY; without even the implied warranty of\nMERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the\nGNU General Public License for more details.\n\nYou should have received a copy of the GNU General Public License\nalong with this program.  If not, see \u003chttp://www.gnu.org/licenses/\u003e.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftheforeman%2Fforeman_rh_cloud","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftheforeman%2Fforeman_rh_cloud","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftheforeman%2Fforeman_rh_cloud/lists"}