Offline Security Connector
The Offline Security Connector is a package for Offline Security Client which allows direct connection to SAP systems via RFC protocol (PyRFC library). It collects all needed data for the Offline Security reports.
Advantages
- You don't need to perform manual actions in SAP anymore
- It supports password authentication, SNC and SSO configurations
Table of contents
Installation
Python installation
Install the last version of Python 3.x from here
We support only Python 3.x!
PyRFC installation
Please refer to the pyrfc doc Do not forget to download SAP NWRFC SDK from sap.com.
Published version installation (recommended)
pip3 install offlinesec-connector
or
python3 -m pip install offlinesec-connector
Check the installation script output. if you see the following message: WARNING: The scripts offlinesec_connector and offlinesec_conn_settings are installed in '/Users//Library/Python/3.8/bin' which is not on PATH.
Then add Python folder to the PATH variable:
export PATH="$PATH:/Users/<username>/Library/Python/3.8/bin"
Upgrade to the latest published version
pip3 install --upgrade offlinesec-connector
Note: It's recommended to use the last available version each time
Check what version is installed right now on your laptop
pip3 show offlinesec-connector
Quick Start
- Set Connection settings with offlinesec_conn_settings
offlinesec_conn_settings -f settings.yaml
where settings.yaml file - a file with connection settings to SAP. Please refer to the doc.
- Run the connector
offlinesec_connector -c DEV
where DEV - a connection name from the settings file Please refer to the doc
offlinesec_connector -g 'g:productions'
where 'g:productions' - a groupname from the settings file
Use Cases
Missed SAP Security Notes (Unpatched SAP security vulnerabilities)
offlinesec_connector -c DEV
Please refer to the doc
What access we need:
- S_TABU_NAM:ACTVT=03 S_TABU_NAM:TABLE=CWBNTCUST, PATCHHIST
- S_RFC:ACTVT=16 S_RFC:RFC_TYPE=FUGR S_RFC:RFC_NAME=SDTX, OCS_CRM
To run the following FMs:
- OCS_GET_INSTALLED_COMPS
- RFC_READ_TABLE
and read the following tables:
- CWBNTCUST
- PATCHHIST
Uninstall
python3 -m pip uninstall offlinesec-connector
Metadata
Release files for offlinesec-connector 0.0.12
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| offlinesec-connector-0.0.12.tar.gz | 10.4 kB | Without provenance | Details for offlinesec-connector-0.0.12.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| offlinesec_connector-0.0.12-py3-none-any.whl | Python 3 | none | any | Details for offlinesec_connector-0.0.12-py3-none-any.whl |
Total release size: 22.7 kB
Release files / offlinesec-connector-0.0.12.tar.gz
| Download URL | offlinesec-connector-0.0.12.tar.gz |
|---|---|
| Size | 10.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
44f95d361de1d7b26e60fc782069b0f89a4ecb3aaabfd17758cbcbad8229564b
|
|
BLAKE2b-256 checksum How to use checksums |
2f2637bc412c76cc8fe3981069557b4eab924e87b8224309c5ebd1163687c132
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.0.0 CPython/3.10.7
|
Release files / offlinesec_connector-0.0.12-py3-none-any.whl
| Download URL | offlinesec_connector-0.0.12-py3-none-any.whl |
|---|---|
| Size | 12.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
b99946560b0f35f436eb90559f76403091bfcb4b40a4b65279639db1a15ed4b5
|
|
BLAKE2b-256 checksum How to use checksums |
edf44d8b5769e24196dd7384c0397d4906c1ee3b21b3acf2b8c9e7e4998e15c6
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.0.0 CPython/3.10.7
|
Security for offlinesec-connector 0.0.12
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.