Skip to content

[pull] dev from KelvinTegelaar:dev - #134

Open
pull[bot] wants to merge 9906 commits into
ComputusAustralis:devfrom
KelvinTegelaar:dev
Open

pull[bot] wants to merge 9906 commits into
ComputusAustralis:devfrom
KelvinTegelaar:dev

Conversation

@pull

@pull pull Bot commented Jul 13, 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 Jul 13, 2026
@pull pull Bot added the ⤵️ pull label Jul 13, 2026
…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
Alerts and ticket-producing actions can now raise tickets in NinjaOne
Ticketing beside HaloPSA and Syncro, using the existing NinjaOne
integration's instance and tenant-to-organisation mapping.

NinjaOne refuses ticket writes for the client-credentials token
(user_context_required), so ticketing runs as a signed-in technician:
a Connect button on the integration page starts the Authorization Code
flow through the existing /authredirect popup relay, ExecExtensionOAuth
owns state and the token exchange, and the refresh token is stored as
an extension secret. Documentation sync keeps the app-only token.

- New-NinjaOneTicket: form, status, priority and both description
  bodies from the integration settings; optional consolidation that
  comments on the open ticket for a repeat title; requester from the
  organisation's end users by email (Link Tickets to affected Users);
  device via the tenant sync's NinjaOneDeviceMap or by serial
- Get-NinjaOneTicketFields feeds the form and status pickers
- New-CippExtAlert dispatches to NinjaOne when ticketing is enabled;
  unmapped tenants are skipped with a warning
- Alerts carry an AffectedDevice: webhook alerts from the mapped Entra
  device or sign-in device, scheduled tasks from their device
  parameters; the scheduler's PSA user/device resolution no longer
  requires HaloPSA
- Saving the extension config warns when more than one ticketing
  integration is enabled

Synced from CyberDrain/CIPP@d783a2d
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
- Log a warning when a oneoff run is held by accepted or denied deviations
- Grey out Remediate Now for Accepted, Partially Accepted and Denied - Delete Pending rows

Fixes #1280

Synced from CyberDrain/CIPP@c104f1b
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