You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Improve README with comprehensive project documentation
Add proper project description, requirements, operating modes,
development setup, testing instructions, and contributing guidelines.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
A [Foreman](https://theforeman.org/) plugin that connects your Foreman or Red Hat Satellite instance to the [Red Hat Hybrid Cloud Console](https://cloud.redhat.com). It provides:
8
+
9
+
-**Inventory Upload** — Generate and upload host inventory reports to Red Hat cloud
10
+
-**Insights Recommendations** — Sync security, performance, and stability recommendations from Red Hat Insights
11
+
-**Remediations** — Apply Insights remediation playbooks via Remote Execution (Ansible)
12
+
-**Cloud Connector** — Enable cloud-initiated remediations through `rhcd`
13
+
-**Client Tools Forwarding** — Proxy `insights-client` requests from managed hosts
See [How_to_Install_a_Plugin](http://projects.theforeman.org/projects/foreman/wiki/How_to_Install_a_Plugin)
10
-
for how to install Foreman plugins
26
+
See [How to Install a Plugin](https://projects.theforeman.org/projects/foreman/wiki/How_to_Install_a_Plugin) in the Foreman wiki.
27
+
28
+
## Operating Modes
29
+
30
+
The plugin operates in two modes:
31
+
32
+
### Regular Mode (Cloud)
33
+
34
+
The default mode. Communicates directly with Red Hat cloud services to upload inventory, download recommendations, and forward client requests.
35
+
36
+
### IoP Mode (On-Premise)
37
+
38
+
When an IoP Smart Proxy is configured, all cloud communication is routed through the local proxy instead. HTTP proxy settings are disabled, and scheduled sync tasks are skipped. Note: "IoP" is a technical abbreviation used internally but does not officially stand for anything.
39
+
40
+
Check the current mode: `ForemanRhCloud.with_iop_smart_proxy?`
41
+
42
+
## Usage
43
+
44
+
### Inventory Upload
45
+
46
+
**UI (cloud):** Insights → Inventory Upload → select the organization → Generate and upload report
47
+
**UI (IoP):** Administer → Inventory Upload → select the organization → Generate and upload report
48
+
49
+
**CLI:**
50
+
51
+
```bash
52
+
# Generate and upload report for all organizations
In UI: Insights -> Inventory Upload -> select the organization -> Generate and upload report
102
+
## Development
20
103
21
-
From command-line:
104
+
> **Important:** foreman_rh_cloud is a Foreman plugin, not a standalone app. Edit files in this directory but run all `rake`/`rails` commands from the **Foreman root** directory.
22
105
23
-
# generate and upload report for all organizations
0 commit comments