{"id":37644836,"url":"https://github.com/mainframe-renewal-project/sear","last_synced_at":"2026-03-06T13:02:09.320Z","repository":{"id":288954012,"uuid":"969652083","full_name":"Mainframe-Renewal-Project/sear","owner":"Mainframe-Renewal-Project","description":"SEAR (Security API for RACF) - A unified and standardized interface to RACF callable services.","archived":false,"fork":false,"pushed_at":"2026-03-03T12:18:03.000Z","size":2217,"stargazers_count":19,"open_issues_count":33,"forks_count":6,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-03-03T13:52:07.867Z","etag":null,"topics":["api","ibmz","ibmzsystems","mainframe","mainframe-security","racf","security","zos"],"latest_commit_sha":null,"homepage":"https://mainframe-renewal-project.github.io/sear-docs/","language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":"ambitus/racfu","license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Mainframe-Renewal-Project.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":"SECURITY.md","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":"2025-04-20T16:27:58.000Z","updated_at":"2026-01-21T16:31:46.000Z","dependencies_parsed_at":"2025-06-15T13:43:12.669Z","dependency_job_id":"42c1a36b-2472-415d-8176-2a05bf579d78","html_url":"https://github.com/Mainframe-Renewal-Project/sear","commit_stats":null,"previous_names":["emmasbox/racfu","mainframe-renewal-project/sear"],"tags_count":12,"template":false,"template_full_name":null,"purl":"pkg:github/Mainframe-Renewal-Project/sear","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Mainframe-Renewal-Project%2Fsear","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Mainframe-Renewal-Project%2Fsear/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Mainframe-Renewal-Project%2Fsear/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Mainframe-Renewal-Project%2Fsear/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Mainframe-Renewal-Project","download_url":"https://codeload.github.com/Mainframe-Renewal-Project/sear/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Mainframe-Renewal-Project%2Fsear/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30178286,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-06T12:39:21.703Z","status":"ssl_error","status_checked_at":"2026-03-06T12:36:09.819Z","response_time":250,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: 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":["api","ibmz","ibmzsystems","mainframe","mainframe-security","racf","security","zos"],"created_at":"2026-01-16T11:25:10.231Z","updated_at":"2026-03-06T13:02:09.312Z","avatar_url":"https://github.com/Mainframe-Renewal-Project.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"\n[![Build](https://img.shields.io/github/actions/workflow/status/Mainframe-Renewal-Project/sear/.github%2Fworkflows%2Fpublish-pysear.yml?label=Build)](https://github.com/Mainframe-Renewal-Project/sear/actions/workflows/publish-pysear.yml) [![PyPi version](https://img.shields.io/pypi/pyversions/pysear)](https://pypi.org/project/pysear/)\n[![PyPi status](https://img.shields.io/pypi/status/pysear)](https://pypi.org/project/pysear/)\n\n![SEAR Logo](https://raw.githubusercontent.com/Mainframe-Renewal-Project/sear/refs/heads/main/logo.svg)\n\n# Security API for RACF (SEAR)\n\nA standardized JSON interface for RACF that enables seamless exploitation by programming languages that have a foreign language interface for C/C++ and native JSON support.\n\n## Description\n\nAs automation becomes more and more prevalent, the need to manage the security environment programmatically increases. On z/OS that means managing a security product like the IBM **Resource Access Control Facility** _(RACF)_. RACF is the primary facility for managing identity, authority, and access control for z/OS. There are more than 50 callable services with assembler interfaces that are part of the RACF API. The complete set of interfaces can be found [in the IBM documentation](http://publibz.boulder.ibm.com/epubs/pdf/ich2d112.pdf).\n\nWhile there are a number of languages that can be used to manage RACF, _(from low level languages like Assembler to higher level languages like REXX)_, the need to be able to easily exploit RACF management functions using existing industry standard programming languages and even programming languages that don't exist yet is paramount. The SEAR project is focused on making RACF management functions available to all programming languages that have native JSON support and a foreign language interface for C/C++. This will make it easier to pivot to new tools and programming languages as technology, skills, and business needs continue to evolve in the foreseeable future.\n\n### Minimum z/OS \u0026 Language Versions\n\nAll versions of **z/OS** and the **IBM Open Enterprise SDK for Python** that are fully supported by IBM are supported by _SEAR_.\n\n* [z/OS Product Lifecycle](https://www.ibm.com/support/pages/lifecycle/search/?q=5655-ZOS,%205650-ZOS)\n* [IBM Open Enterprise SDK for Python Product Lifecycle](https://www.ibm.com/support/pages/lifecycle/search?q=5655-PYT)\n\n### Dependencies\n\n* **R_SecMgtOper (IRRSMO00)**: Security Management Operations.\n  * More details about the authorizations required for **IRRSMO00** can be found [in the IBM documentation](https://www.ibm.com/docs/en/zos/latest?topic=operations-racf-authorization).\n* **R_Admin (IRRSEQ00)**: RACF Administration API.\n  * More details about the authorizations required for **IRRSEQ00** can be found [in the IBM documentation](https://www.ibm.com/docs/en/zos/latest?topic=api-racf-authorization).\n* **R_Datalib (IRRSDL64)**: RACF Certificate data library.\n  * More details about the authorizations required for **IRRSDL64** can be found [in the IBM documentation](https://www.ibm.com/docs/en/zos/latest?topic=library-racf-authorization).\n* **RACF Subsystem Address Space**: This is a dependency for both **IRRSMO00** and **IRRSEQ00**.\n  * More information can be found [in the IBM documentation](https://www.ibm.com/docs/en/zos/latest?topic=considerations-racf-subsystem).\n* **z/OS Language Environment Runtime Support**: _SEAR_ is compiled using the **IBM Open XL C/C++ 2.1** compiler, which is still fairly new and requires **z/OS Language Environment** service updates for runtime support.\n  * More information can be found in section **5.2.2.2 Operational Requisites** on page **9** in the [Program Directory for IBM Open XL C/C++ 2.1 for z/OS](https://publibfp.dhe.ibm.com/epubs/pdf/i1357012.pdf).\n\n### Getting started\n\n\u003e :bulb: _Note: You can also [Download \u0026 Install SEAR from GitHub](https://github.com/Mainframe-Renewal-Project/sear/releases)_\n\n```shell\npip install pysear\n```\n\nMake sure you have the right authorizations, [detailed in the full documentation](https://mainframe-renewal-project.github.io/sear-docs/authorizations/).\n\nHow to create a simple userid using SEAR:\n```py\nfrom sear import sear\n\nresult = sear(\n    {\n        \"operation\": \"add\",\n        \"admin_type\": \"user\",\n        \"userid\": \"FDEGILIO\",\n        \"traits\": {\n            \"base:name\": \"FRANK D\",\n        },\n    },\n)\n\nprint(result.result)\n```\n\nFurther examples are located [under examples in the documentation](https://mainframe-renewal-project.github.io/sear-docs/examples/).\n\nAdditional help can be found in the following communities:\n\n* [GitHub Discussions](https://github.com/Mainframe-Renewal-Project/sear/discussions)\n* [System Z Enthusiasts discord](https://discord.gg/sze)\n\n### Build from source\n\nAlternatively to installing from Pip, _SEAR_ can be built from source on a z/OS system. _SEAR_ uses a CMake build system, and can be built via a two-step process:\n\n```shell\ncmake --preset \u003cpreset\u003e\ncmake --build --preset \u003cpreset\u003e --target \u003csear,pysear\u003e\n```\n\nThe first command will configure the build environment and generate build scripts in a directory named `build/\u003cpreset\u003e`, then the second command builds the given target.\n\nA complete list of available CMake presets can be found in [CMakePresets.json](CMakePresets.json), but the most useful are:\n\n* `default` - Does not apply any special platform handling, and should work on most platforms.\n\n* `zos` - Applies the `cmake/ibm-clang.cmake` toolchain to the build process. This compiles the project using the IBM-Clang compiler, and works only on z/OS systems.\n\n* `zos-pysear` - Inherits from the `zos` preset. Used internally as part of the Python package build process, and not generally used by hand.\n\nBuild artifacts are located within the build directory.\n\nThe CMake build process builds static libraries by default. If you instead wish to build shared libraries, append `-DBUILD_SHARED_LIBS=on` to the CMake configure step command (the first of the two) shown above.\n\n## Maintainers\n\n* Bobby Tjassens Keiser\n* Emma Skovgård\n\n## Authors of RACFu\n\nThis is a fork of RACFu\n\n* Leonard Carcaramo: \u003clcarcaramo@ibm.com\u003e\n* Elijah Swift: \u003cElijah.Swift@ibm.com\u003e\n* Frank De Gilio: \u003cdegilio@us.ibm.com\u003e\n* Joe Bostian: \u003cjbostian@ibm.com\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmainframe-renewal-project%2Fsear","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmainframe-renewal-project%2Fsear","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmainframe-renewal-project%2Fsear/lists"}