Offline Security Connector
Project description
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
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file offlinesec-connector-0.0.12.tar.gz.
File metadata
- Download URL: offlinesec-connector-0.0.12.tar.gz
- Upload date:
- Size: 10.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.10.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
44f95d361de1d7b26e60fc782069b0f89a4ecb3aaabfd17758cbcbad8229564b
|
|
| MD5 |
f1dd2d9a95b5432c83df19bc8cf9bdd5
|
|
| BLAKE2b-256 |
2f2637bc412c76cc8fe3981069557b4eab924e87b8224309c5ebd1163687c132
|
File details
Details for the file offlinesec_connector-0.0.12-py3-none-any.whl.
File metadata
- Download URL: offlinesec_connector-0.0.12-py3-none-any.whl
- Upload date:
- Size: 12.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.10.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b99946560b0f35f436eb90559f76403091bfcb4b40a4b65279639db1a15ed4b5
|
|
| MD5 |
d5453a3c189f47436db99073c3465f7b
|
|
| BLAKE2b-256 |
edf44d8b5769e24196dd7384c0397d4906c1ee3b21b3acf2b8c9e7e4998e15c6
|