Skip to content

[pull] dev from KelvinTegelaar:dev - #105

Open
pull[bot] wants to merge 1839 commits into
isgq-github01:devfrom
KelvinTegelaar:dev
Open

pull[bot] wants to merge 1839 commits into
isgq-github01:devfrom
KelvinTegelaar:dev

Conversation

@pull

@pull pull Bot commented Jun 16, 2026 •

Copy link
Copy Markdown

See Commits and Changes for more details.


Created by pull[bot] (v2.0.0-alpha.4)

Can you help keep this open source service alive? 💖 Please sponsor : )

@pull pull Bot locked and limited conversation to collaborators Jun 16, 2026
@pull pull Bot added the ⤵️ pull label Jun 16, 2026
…ethod

- Set-CIPPAuthenticationPolicy takes a generic -ExcludeGroupIds (EmailExcludeGroupIds kept as an alias)
- AuthenticationMethods baseline grades and remediates an exclude group per method

Fixes #1044

Synced from CyberDrain/CIPP@a5980d7
… grade them by content

- Run each tenant's CA template deploys in their own run, one at a time, and refuse a new one while another is running
- Remediate Now sends one request per tenant, carrying every selected standard
- Compare each named location the template defines and the policy references against the tenant location the policy is bound to, so a changed range or list variable shows as drift and remediates

Fixes #1008

Synced from CyberDrain/CIPP@c93474a
…te editor

- Match settings without a template reference by definition id at deploy and compare time
- Export policy template setting references and refresh the Intune setting catalog
- Stamp template references in the editor and limit the picker to the template's settings

Synced from CyberDrain/CIPP@0df54a6
…ain-fallback

fix(tenants): keep the cached initial domain when the domains read falls back

Synced from CyberDrain/CIPP@e5c0578
- use boolean comparisons for UseReportDB and includeDetails
- drop an -ErrorAction the Hudu module function does not accept
- stub Test-CippAccess in the Autopilot config test
- match the current PIM licence error message
- clear TenantID so the app management policy test does not depend on test order

Synced from CyberDrain/CIPP@a8b8cdc
… kit

Tenant Links, Tenant Summary and User Summary now use the shared
CippExtension building blocks and the NinjaOne adaptation the device
summary already uses, replacing the legacy card and ConvertTo-Html code.
The device summary gets padded cells, coloured chips and border-drawn
accents so it survives NinjaOne's style stripping.

Fixes the empty Secure Score impact, the US-format tenant creation date
and the wrapping OS legend. Adds a date and number format setting for
NinjaOne, matching Hudu.

Synced from CyberDrain/CIPP@9876fd5
… groups

- Exchange groups that miss join a single retry task instead of one per group
- The retry adds only the pending groups, not every group from the source user
- Name the group in the failure log

Synced from CyberDrain/CIPP@a386078
Saving with a LAPS or BitLocker switch on now creates or adopts the
NinjaOne credential fields and maps them, instead of waiting for the
next tenant sync. Mapped write-only fields are offered with the type of
the CIPP field they belong to, so the mapping page lists them.

Synced from CyberDrain/CIPP@10571d4
Standards and Secure Score sat at a third of the width and wrapped their
first column word by word. Cards now take their own column widths and
standard actions may wrap.

Synced from CyberDrain/CIPP@896fa0b
- HttpBurstMax per SKU profile: the HTTP pool size on Premium and packed hosted instances, half on multi-core Basic, 0 on single-core hosts
- hosted matrix lists B2 explicitly with the same 3 GB heap cap as the default matrix

Synced from CyberDrain/CIPP@e496cf6
Replace command visibility-based filtering with a clear-and-rebuild allowlist (cmdlets + aliases) so no provider, native program, or module auto-loading is reachable from sandboxed scripts. Also block Invoke-CippSandboxScript and New-CippCustomScriptExecution from the scheduler, and add Pester coverage for sandbox isolation and legitimate script execution.

Synced from CyberDrain/CIPP@fdc697c
…261112

chore(openapi): regenerate API spec (2026-11-12)

Synced from CyberDrain/CIPP@d6d85cd
…pdate-20261112

chore(docs): refresh published docs page snapshot (2026-11-12)

Synced from CyberDrain/CIPP@e776d4b
Replace the AddStandardsTemplate tenant-list scope check with Assert-CippTenantAccess, covering tenant adds/edits, template overwrites, and group targets. Add the same check to ExecStandardConvert, ExecStandardTemplateSchedule, ExecStandardsRun, and RemoveStandardTemplate so scoped callers cannot act on tenants or groups outside their access, including All Tenants and stored rows with broader targets. Remove the legacy v1 Invoke-AddStandardsDeploy and Invoke-RemoveStandard endpoints (and their OpenAPI entries), superseded by the v2 template-based flow. Add tests covering spoofed customerId, out-of-scope groups, All Tenants, template-import placeholder handling, and unrestricted-caller behavior.

Synced from CyberDrain/CIPP@e513033
Reserved partner groups (AdminAgents, HelpdeskAgents, SalesAgents, All Users) can no longer be mapped to a GDAP role by id, name, or stale-group correction. Centralize the reserved list in Get-CIPPGDAPReservedGroupName. Role templates and group mappings apply to every customer tenant, so Invoke-ExecGDAPRoleTemplate, Invoke-ExecAddGDAPRole, and Invoke-ExecGDAPAccessAssignment now require an unrestricted (AllTenants) role to write, while read-only actions remain available. Also escape the stale-group RowKey filter in Test-CIPPGDAPGroupMappings against OData injection. Add corresponding Pester tests.

Synced from CyberDrain/CIPP@19a32ae
Add Expand-CIPPBaselineToken, which walks a parsed template and fills %name% tokens in string values directly, instead of substituting into serialized JSON. This prevents a variable or read-record value from closing a JSON string and injecting/overriding keys like method, uri, body or cmdlet.

Update Invoke-CIPPBaselineStandard, Invoke-CIPPBaselineExoRequest, Invoke-CIPPBaselineExoBulkSweep and Invoke-CIPPBaselineGraphBulkSweep to use the new helper, and add BaselineTokenRender.Tests.ps1 covering breakout and legitimate rendering cases.

Synced from CyberDrain/CIPP@e169f8f
Add Test-CippTemplateWriteAccess to block callers whose role is limited to specific tenants from changing or removing shared template rows, since templates are global and deployed by standards to every targeted tenant. Tenant-restricted callers may still create new templates.

Apply the check across all template-editing and template-removal endpoints (CA, Intune, transport, spam filter, groups, PIM roles, DLP/retention/SIT/sensitivity-label compliance, safe links, GSA filtering/security profile, contacts, enrollment restrictions, assignment filters, app approval, app templates). Also restrict Invoke-ExecCloneTemplate to CA/Intune templates and tighten Invoke-ExecSetPackageTag to validate per-template permission and return proper status codes via Get-CippErrorStatusCode.

Update existing endpoint tests to stub the new helper and add dedicated tests for Test-CippTemplateWriteAccess and the affected endpoints.

Synced from CyberDrain/CIPP@094f36e
Add 'allowedUsers' to the list of tables exported by New-CIPPBackup, excluding bookkeeping rows (RowKey prefixed with '_') that are rebuilt on the next user sync.

Synced from CyberDrain/CIPP@c6bc19f
CIPP backups previously only preserved excluded tenant rows, losing direct tenant configuration (non-GDAP tenants) on restore. Now includes direct tenants alongside exclusions, marking restored direct tenants with RequiresRefresh since their auth token isn't part of the backup.

Adds Pester tests covering CIPP user rows, the tenants table filter, and the fields kept for direct vs. excluded tenants.

Synced from CyberDrain/CIPP@b769e90
New-CIPPAPIConfig -ResetSecret previously batched the removal of all old passwords together with adding the new one, risking an app left with no valid secret if the add failed or was delayed by credential policy propagation.

Now the new secret is added first (with retry for policy/concurrency errors), and old secrets are removed individually afterward. Any old secrets that fail to be removed are reported back as a warning instead of being silently left valid.

Invoke-ExecApiClient surfaces this warning to the caller. Adds Pester tests covering ordering, retry behavior, and failure reporting.

Synced from CyberDrain/CIPP@a0ed6ff
fix(identity): add user sponsors with POST instead of PUT

Synced from CyberDrain/CIPP@35a4abb
- retries Graph's concurrent-requests error

- returns 207/500 when a removal fails

Synced from CyberDrain/CIPP@e997c31
- New-GraphBulkRequest: check each sub-request URL against Get-AuthorisedRequest, not just the batch URI, so a crafted relative URL can't bypass tenant authorization.
- New-CIPPDeviceAction: restrict the Action parameter to a known allowlist before it's interpolated into the Graph URL.
- Invoke-ExecGDAPTrace: validate UPN as a GUID or UPN-shaped string and URL-encode it before use, preventing path traversal/query injection via the lookup URI.

Adds Pester coverage for each fix.

Synced from CyberDrain/CIPP@b54540a
Exchange gives Organization Management a delegating assignment for every
Application role. These grant no app any mailbox access, but the
Application Roles page listed them with blank app fields and Critical
ratings. Leave out the delegating assignments held by Organization
Management, and keep any other delegating assignment with a new
delegating flag, since it lets its holder grant mailbox access to apps.
The exposure report skips delegating rows, and the roles page shows the
assignee and the delegating column.

Synced from CyberDrain/CIPP@0e8a6e1
…pdate-20261114

chore(docs): refresh published docs page snapshot (2026-11-14)

Synced from CyberDrain/CIPP@4e72210
Adds an Administrative Units page under Identity Administration to create,
edit and delete units, manage their users, groups and devices, pause or
resume dynamic membership, and see where a unit is used: Entra role
assignments scoped to it (with the Roles & PIM actions and a time-bound
scoped role grant through PIM) and Exchange role assignments scoped to it.

Synced from CyberDrain/CIPP@4a55165
Apps a customer registered in their own tenant carry customer-chosen
names and were sent by name in the stats payload. Skip service
principals whose owner is the tenant they were found in, so only
third-party apps are reported.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

Synced from CyberDrain/CIPP@bee53d9
Adds AutopilotDeviceModels to the nightly Intune cache group. Each run
reads the tenant's Autopilot devices and writes manufacturer/model pairs
not yet seen to a single instance-wide table, keyed on the exact strings
so casing and spacing variants are kept. No tenant, serial or device
data is stored. Groundwork for resolving the exact strings needed for
tuple-based Autopilot registration.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

Synced from CyberDrain/CIPP@3d21429
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants