fix all unit tests; added mock function for Invoke-MgGraphRequest #3691
run_pipeline.yaml
on: push
Lint
/
MegaLint YAML Check
26s
Lint
/
PowerShell Check
1m 0s
Syntax
/
Markdown Syntax Checks
27s
Security
/
MegaLint Gitleaks
45s
Security
/
MegaLint Checkov
1m 16s
Unit
/
PowerShell Unit Tests
48s
Unit
/
OPA Unit Tests
22s
Annotations
10 errors and 4 warnings
Unit / PowerShell Unit Tests
[-] Describe Format-RiskyApplications failed
|
Unit / PowerShell Unit Tests
[-] returns a list of applications with valid properties 35ms (32ms|3ms)
|
Unit / PowerShell Unit Tests
[-] excludes ResourceAccess objects with property Type='Scope' 35ms (35ms|1ms)
|
Unit / PowerShell Unit Tests
[-] correctly formats federated credentials if they exist 35ms (34ms|1ms)
|
Unit / PowerShell Unit Tests
[-] sets the list of federated credentials to null if no credentials exist 33ms (32ms|1ms)
|
Unit / PowerShell Unit Tests
[-] excludes applications without risky permissions 32ms (31ms|1ms)
|
Unit / PowerShell Unit Tests
[-] returns a list of service principals with valid properties 35ms (32ms|2ms)
|
Unit / PowerShell Unit Tests
[-] excludes service principals with no risky permissions 47ms (46ms|1ms)
|
Unit / PowerShell Unit Tests
[-] excludes permissions not included in the RiskyPermissions.json mapping 35ms (34ms|1ms)
|
Unit / PowerShell Unit Tests
[-] Describe Get-ThirdPartyRiskyServicePrincipals failed
|
Lint / MegaLint YAML Check
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Security / MegaLint Gitleaks
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Security / MegaLint Checkov
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Unit / OPA Unit Tests
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|