Skip to main content

Policy Weaver for Microsoft Fabric

Project description

Policy Weaver

Overview

Microsoft Fabric Mirroring is a managed, friction-free way of synchronizing data from a diverse set of data & analytic platforms to Fabric via OneLake. The data in proprietary formats are being automatically transformed in a queryable format (Delta Parquet) in OneLake in near real-time (using the data sources CDC capabilities) withouth the need to setting up the transformation jobs. With Mirroring, the data is kept in sync between source system and Fabric Onelake, enabling further use of the delta parquet tables with all Fabric workloads.

While Fabric Mirroring provides all the capabilities required to automatically keep data in sync, data access policies defined by the source system are out-of-scope and must be handled manually when the relicated delta parquet tables in Fabric are being used. Manually handling of these data access policies presents a challenge for ensuring consistent security across the data estate while reducing risks or vulnerabilities associated with out-of-sync security policies.

The Policy Weaver project addresses these challenges by automating the synchronzation of data access policies from source to Fabric in a transparent and auditable mmaner. It is made available as a Python library and can be run either within Fabric with a Notebook or from anywhere with a Python runtime.

Designed as a pluggable framework, Policy Weaver provides connectors that handle the export of access policies from a configured source before applying them to the mirror data within Fabric.

Policy Weaver will initially supports the following sources:

Note: Policy Weaver is limited to read-only policies for now. Support for row filter and column-masking policies will be added in a future version.

For more information on prerequisites and instructions on getting started, please see the Getting Started documentation.

OneLake Data Access Roles Overview

Policy Weaver uses OneLake Data Access Roles, currently in public preview, to coalesce source system security policies into access policies that apply uniformly across the Fabric platform. With Data Access Roles, security policies are defined as role-based access controls (RBAC) on the data stored in OneLake.

When data is accessed from anywhere within Fabric, the defined RBAC policies are enforced. This means that data whether is accessed from a Fabric Notebook, SQL Endpoint or Semantic model the security policies defined by the source system are enforced consistently as expected.

For more details on OneLake Security concepts and how OneLake Access roles relate, please see official Microsoft documentation: OneLake Security Overview

Contributing

This project welcomes contributions and suggestions. Most contributions require you to agree to a Contributor License Agreement (CLA) declaring that you have the right to, and actually do, grant us the rights to use your contribution. For details, visit https://cla.opensource.microsoft.com.

When you submit a pull request, a CLA bot will automatically determine whether you need to provide a CLA and decorate the PR appropriately (e.g., status check, comment). Simply follow the instructions provided by the bot. You will only need to do this once across all repos using our CLA.

This project has adopted the Microsoft Open Source Code of Conduct. For more information see the Code of Conduct FAQ or contact opencode@microsoft.com with any additional questions or comments.

Trademarks

This project may contain trademarks or logos for projects, products, or services. Authorized use of Microsoft trademarks or logos is subject to and must follow Microsoft's Trademark & Brand Guidelines. Use of Microsoft trademarks or logos in modified versions of this project must not cause confusion or imply Microsoft sponsorship. Any use of third-party trademarks or logos are subject to those third-party's policies.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

policy_weaver-0.2.0.tar.gz (15.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

policy_weaver-0.2.0-py3-none-any.whl (18.4 kB view details)

Uploaded Python 3

File details

Details for the file policy_weaver-0.2.0.tar.gz.

File metadata

  • Download URL: policy_weaver-0.2.0.tar.gz
  • Upload date:
  • Size: 15.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for policy_weaver-0.2.0.tar.gz
Algorithm Hash digest
SHA256 8fc5d93b5b2eedb1834befd5457264bb92f8f9ddd1e55d44d9beceab7ecfd637
MD5 d9d517a529a056e58f925faa4d1bfcc6
BLAKE2b-256 aa7b0284d7cac391ac9f3a502ea6d532326d69919f896deb3cd137489c902671

See more details on using hashes here.

Provenance

The following attestation bundles were made for policy_weaver-0.2.0.tar.gz:

Publisher: python-publish.yml on microsoft/Policy-Weaver

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file policy_weaver-0.2.0-py3-none-any.whl.

File metadata

  • Download URL: policy_weaver-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 18.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for policy_weaver-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 585d7382121a5ee0123040154c68884633f9a907ededbcab4123d80f249762a7
MD5 071d36c500fdaab5673fbc1f6821b53c
BLAKE2b-256 8e89605dc3d5ff5ec484a15d2dc0c8f12e2b3f272a41bd548202101ea7b6d292

See more details on using hashes here.

Provenance

The following attestation bundles were made for policy_weaver-0.2.0-py3-none-any.whl:

Publisher: python-publish.yml on microsoft/Policy-Weaver

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page