Skip to main content

Red Hat Satellite

Red Hat Satellite is a system management tool that monitors your Red Hat environments and other Linux distributions. You can bring errata, host, installed package, package, and more data from Red Hat Satellite into Brinqa to gain a unified view of your asset and software inventory, thus strengthening your cybersecurity posture.

This document details the information you must provide for the connector to authenticate with Red Hat Satellite and how to obtain that information from Red Hat. See create a data integration for step-by-step instructions on setting up the integration.

info

The Red Hat Satellite connector has been tested and verified with Red Hat Satellite v6.11. Compatibility and functionality may differ if you are using other versions of Red Hat Satellite.

Required connection settings

When setting up a data integration, select Red Hat Satellite from the Connector drop-down. If you cannot find the connector in the drop-down, make sure that you have installed it first. You must provide the following information to authenticate Red Hat Satellite with Brinqa:

  • Server URL: Your organization's Red Hat Satellite server URL. The default format is https://<servername>/.

  • Username and Access token: The Red Hat Satellite API username and access token, which must have permissions to log in to the API server and return data.

Generate a Red Hat Satellite access token

Before you create an access token, Red Hat Satellite recommends that you create an API-Only user. This user can only interact with the Red Hat Satellite API, providing the minimum role required to access the API and retrieve data. For additional information, please refer to the Red Hat Satellite documentation.

For the Red Hat Satellite connector to retrieve data from the Red Hat Satellite API, you must provide an access token. To do so, follow these steps:

  1. Log in to your organization's Red Hat Satellite server as an administrator.

  2. Navigate to Administer > Users and select the API-Only user.

  3. Click the Personal Access Tokens tab, and then click Add Personal Access Token.

  4. (Optional) Set an expiry date for the token. If not selected, the token does not expire.

  5. Click Submit.

    Your access token displays. You can not view the token again after this. Copy and save it to a secure location.

note

If you do not have permissions to create an access token, contact your Red Hat Satellite administrator. For additional information, see Red Hat Satellite documentation.

Additional settings

The Red Hat Satellite connector contains additional options for specific configuration:

  • Page size: The maximum number of records to get per API request. The default setting is 100.

  • Parallel requests: The maximum number of parallel API requests. The default setting is 1.

  • Skip certificate verification: Select this option to allow for untrusted certificates.

Types of data to retrieve

The Red Hat Satellite connector can retrieve the following types of data from the Red Hat Satellite API:

Table 1: Data retrieved from Red Hat Satellite

Connector ObjectRequiredMaps to Data Model
ErrataYesSecurity Advisory
HostYesHost
Installed PackageNoInstalled Package
PackageNoPackage
ProductNoNot mapped
RepositoryNoNot mapped
SubscriptionNoNot mapped
info

For detailed steps on how to view the data retrieved from Red Hat Satellite in the Brinqa Platform, see How to view your data.

Attribute mappings

Expand the sections below to view the mappings between the source and the Brinqa data model attributes.

Errata

Table 2: Errata attribute mappings

Source Field NameMaps to Attribute
bugs.bug_idLocal variable
bugs.hrefLocal variable
cves.cve_idcveIds, cveRecordsUid
cves.hrefLocal variable
descriptiondescription
errata_idLocal variable
hosts_applicable_countLocal variable
hosts_available_countLocal variable
iduid
issuedsourceCreatedDate
last_syncLocal variable
last_sync_wordsLocal variable
namename
organizationLocal variable
organization_idLocal variable
packagesLocal variable
pulp_idLocal variable
repository_countLocal variable
severityseverity, severityScore, sourceSeverity
solutionrecommendation
summarysummary
sync_planLocal variable
titleLocal variable
typetype, categories
updatedsourceLastModified
uuidLocal variable
info

Local variable indicates that the field is processed within a specific context, such as a particular workflow or calculation. Unlike other attributes, local variables aren't mapped to the unified data models. They only exist on the source data model.

Host

Table 3: Host attribute mappings

Source Field NameMaps to Attribute
architecture_nameLocal variable
bmc_availableLocal variable
buildLocal variable
build_statusLocal variable
build_status_labelLocal variable
capabilitiesLocal variable
certnameLocal variable
cockpit_urlLocal variable
commentLocal variable
compute_profile_idLocal variable
compute_profile_nameLocal variable
compute_resource_idLocal variable
compute_resource_nameLocal variable
diskLocal variable
domain_idLocal variable
domain_nameLocal variable
enabledLocal variable
errata_statusLocal variable
errata_status_labelLocal variable
execution_statusLocal variable
execution_status_labelLocal variable
global_statusLocal variable
global_status_labelstatus, sourceStatus
hostgroup_idLocal variable
hostgroup_nameLocal variable
hostgroup_titleLocal variable
iduid
image_fileLocal variable
image_idLocal variable
image_nameimage
infrastructure_facet.foreman_instanceLocal variable
infrastructure_facet.smart_proxy_idLocal variable
installed_atinstallDate
ipipAddresses
ip6ipAddresses
last_compileLocal variable
last_reportLocal variable
location_idLocal variable
location_namelocation
macmacAddresses
managedmanaged
medium_idLocal variable
medium_nameLocal variable
model_idLocal variable
model_namemodel
namename, hostnames
openscap_proxyLocal variable
openscap_proxy_idLocal variable
openscap_proxy_nameLocal variable
operatingsystem_idLocal variable
operatingsystem_nameoperatingSystem
organization_idLocal variable
organization_nameLocal variable
owner_idLocal variable
owner_nameowner
owner_typeLocal variable
pathLocal variable
portLocal variable
private_dns_namesprivateDnsName
provision_methodLocal variable
ptable_idLocal variable
ptable_nameLocal variable
public_dns_namespublicDnsName
puppet_ca_proxyLocal variable
puppet_ca_proxy_idLocal variable
puppet_ca_proxy_nameLocal variable
puppet_proxyLocal variable
puppet_proxy_idLocal variable
puppet_proxy_nameLocal variable
puppet_statusLocal variable
purpose_addons_statusLocal variable
purpose_addons_status_labelLocal variable
purpose_role_statusLocal variable
purpose_role_status_labelLocal variable
purpose_sla_statusLocal variable
purpose_sla_status_labelLocal variable
purpose_usage_statusLocal variable
purpose_usage_status_labelLocal variable
realm_idLocal variable
realm_nameLocal variable
sp_ipLocal variable
sp_macLocal variable
sp_nameLocal variable
sp_subnet_idLocal variable
statusLocal variable
status_categoryLocal variable
subnet6_idLocal variable
subnet6_nameLocal variable
subnet_idLocal variable
subnet_nameLocal variable
subscription_global_statusLocal variable
subscription_statusLocal variable
subscription_status_labelLocal variable
targetsLocal variable
typeLocal variable
uiduid
updated_atsourceLastModified
uptime_secondsLocal variable
use_imageLocal variable
uuidLocal variable
info

Local variable indicates that the field is processed within a specific context, such as a particular workflow or calculation. Unlike other attributes, local variables aren't mapped to the unified data models. They only exist on the source data model.

Installed Package

Table 4: Installed Package attribute mappings

Source Field NameMaps to Attribute
host_idtargets
iduid
namename
nvraLocal variable
nvreaLocal variable
info

Local variable indicates that the field is processed within a specific context, such as a particular workflow or calculation. Unlike other attributes, local variables aren't mapped to the unified data models. They only exist on the source data model.

Package

Table 5: Package attribute mappings

Source Field NameMaps to Attribute
archLocal variable
checksumLocal variable
epochLocal variable
filenamefileName
hosts_applicable_countLocal variable
hosts_available_countLocal variable
iduid
modularLocal variable
namename
nvraLocal variable
nvreaLocal variable
pulp_idLocal variable
releaseLocal variable
sourcerpmLocal variable
summarydescription
uuidLocal variable
versioncurrentVersion
info

Local variable indicates that the field is processed within a specific context, such as a particular workflow or calculation. Unlike other attributes, local variables aren't mapped to the unified data models. They only exist on the source data model.

APIs

The Red Hat Satellite connector uses the Red Hat Satellite REST API. Specifically, it uses the following endpoints

Table 6: Red Hat Satellite API Endpoints

Connector ObjectAPI Endpoints
ErrataGET /katello/api/v2/errata
HostGET /api/v2/hosts
Installed PackageGET /api/hosts/{host_id}/packages
PackageGET /katello/api/v2/packages
ProductGET /katello/api/v2/products
RepositoryGET /katello/api/v2/repositories
SubscriptionGET /katello/api/v2/subscriptions

Changelog

The Red Hat Satellite connector has undergone the following changes:

3.0.3

  • Fixed an issue where the connector was not creating a normalized hostname.

  • Added the PRIVATE_DNS_NAMES and PUBLIC_DNS_NAMES attributes to the Host object.

3.0.1

  • Made the Installed Package and Package objects optional in the integration configuration.

  • Changed the IMAGE_FILE attribute type on the Host object from boolean to string.

  • Changed the UUID attribute type on the Errata object from integer to string.

3.0.0