NASA-AMMOS / NASA-AMMOS/BSL

Current secop member leaks sample policy implementation details

Open
#294 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

sustainment
Dominant language
C
Stars
14
Forks
9
Avg merge
2d 12h
Merged PRs (30d)
33

Description

The member BSL_SecOper_s::policy_action is an enumeration specific to the sample PP for BSL. This leaks details that belong strictly within the policy provider.

Instead of having a specific member variable, the secop should contain opaque 'user data' supplied by the policy provider and accessed only by the provider.

Contributor guide

Open the contributing guide

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

Start by tracing BSL_SecOper_s::policy_action and every place the sample PP policy provider reads or writes it. Identify the secop and policy-provider entry points involved; done means the secop exposes only opaque provider-supplied user data and no longer depends on the sample PP's policy_action enumeration.

Written by the indexing model from the issue text.

Assessment

Tech stack
c
Domain
security
Issue type
Refactor
Difficulty
4/5
Estimated time
3-5 days
Activity status
Active
Clarity
Mostly clear
Newbie friendliness
50/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.