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
This commit was created on GitHub.com and signed with GitHub’s verified signature.
Add initial prompts to MCP server.
Add file_contexts querying class.
Change MCP server to use standalone FastMCP package. The FastMCP server in
the mcp package is a legacy version. FastMCP depends on the mcp package, so
this change is not expected to be problematic for users or distros.
This commit was created on GitHub.com and signed with GitHub’s verified signature.
Notable Changes
Add MCP server to provide LLMs the ability to analyze policy.
The source distribution is now a Python sdist and can be installed
using pip.
Notes
Since the source distribution is Python sdist, the policyrep C extension is already cythonized. Cython is not needed unless you want to regenerate the C code. However, because of the generated code, the source distribution is much larger.
This SETools requires Python 3.6+ and libsepol 3.2+
User Visible Changes
Added support for old Boolean name substitution in seinfo and sesearch.
Added sechecker tool which is a configuration file driven analysis tool.
Development Related Changes
Updated policy representation to handle policydb version 33, compressed
filename transitions.
Changed apol tab registry to use metaclasses rather than having a multiple static
dictionaries in the code.
Fixed bug in queries where checks that permissions were part of the specified
object class would incorrectly raise exceptions when the object class
criteria is a regex.
Added type annotations to the code and added static type checking for
continuous integration tests.
Reduced aggressiveness of default compiler flags. Since the C code is generated
by Cython, there typically isn't anything SETools can do when Cython causes
compiler warnings.