Static analysis of security context requirements

Open
#1,423 0 comments 2 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
5/5
Estimated time
Over a week
Newbie friendliness
25/100
Issue type
Feature
Clarity
Needs clarification
Activity status
Stale
Domain
security

Research direction

No files, tests, or entry points are named. Start by tracing how top-level and per-resource security-context directives and resource operation requirements are represented, then identify the deployment validation path; done would mean a defined static check for whether deployment succeeds under the current context, including the stated override and operation cases.

Written by the indexing model from the issue text.

Description

Issue-Enhancement
Summary of the new feature / enhancement

Required security context can be described in the configuration via a top level directive, but individual resources can also have their own directive to override. Resource manifests can also declare which operations require a specific security context.

There is also a future feature to allow an elevated context to create restricted child processes for resources.

So the whole result is complicated, but ideally there should be static analysis performed if the deployment would be successful under the current security context before deployment starts.

Proposed technical implementation details (optional)

No response

Dominant language
Rust
Stars
546
Forks
84
Avg merge
2d 9h
Merged PRs (30d)
25

Getting set up

Open in Codespaces

Starts the project's dev container in your browser, under your own GitHub account.

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.

More from PowerShell/DSC

All issues in PowerShell/DSC

Similar issues

More Rust issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.