microsoft / microsoft/mxc

Allow additional Process Container capabilities in the Rust SDK just like in the TypeScript SDK

Open
#637 1 comment 0 reactions 1 assignee Claimed by @bbonaby View on GitHub
Area-SDK-Api Container-Process OS-Windows Priority1
Dominant language
Rust
Stars
1.3k
Forks
79
Avg merge
2d 7h
Merged PRs (30d)
117

Description

### Description of the new feature / enhancement

Having read both the TypeScript SDK and the Rust SDK, it seems like there's no way to expose additional Windows Process Container capabilities for the Rust SDK while having such way to do it in [TypeScript](https://github.com/microsoft/mxc/blob/0e7c3ddb59da273c64ce9a4dd270697ca806db50/sdk/src/types.ts#L154) whereas on macOS extraMachLookups is exposed in the Rust SDK as impl methods of [SandboxRequest.](https://github.com/microsoft/mxc/blob/0e7c3ddb59da273c64ce9a4dd270697ca806db50/src/core/mxc-sdk/src/policy.rs#L587)

### Proposed technical implementation details

Additional methods in SandboxRequest that allows setting it, so it would likely be `processcontainer_capabilities` and `set_processcontainer_capabilities`

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.