plus3it / plus3it/postman-api-formula

[BUG] Invalid User Subject in Postman fapolicyd Ruleset

Open Beginner friendly
#4 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Jinja
Stars
0
Forks
0
PR merge metrics
No merged PRs in 30d

Description

Component:

Security Hardening Baseline / fapolicyd Rules Templates

Severity:

High (Causes fapolicyd.service to crash on startup/reload)

Symptom:

When compiling the master rules database, the parser errors out with an unknown user exception:

    fapolicyd[XXXXX]: [ ERROR ]: user all is unknown
    fapolicyd[XXXXX]: [ ERROR ]: Subject is missing in line 20
    systemd[1]: fapolicyd.service: Control process exited, code=exited, status=1/FAILURE

Root Cause:

The rule attempts to match all users by assigning uid=all. The fapolicyd engine interprets uid= as an explicit lookup for a literal username or ID in /etc/passwd. Because no user named "all" exists, the engine flags it as a fatal missing subject error.

Broken Syntax Example:

    allow perm=any uid=all : dir=/opt/Postman/

Remediation Fix:

To apply a rule globally to all users, remove the uid= prefix entirely and use the native wildcard keyword all. Update the source rule file to:

    allow perm=any all : dir=/opt/Postman/

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Find the source fapolicyd rules file for the Postman installation and inspect the rule matching /opt/Postman/. Replace the invalid uid=all form with the native all subject syntax shown in the issue. Compile the master rules database and verify that fapolicyd.service starts or reloads without the unknown-user and missing-subject errors.

Written by the indexing model from the issue text.

Assessment

Tech stack
postman
Domain
security
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
70/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.