Skip to content

Commit 2753c2f

Browse files
Merge branch 'KelvinTegelaar:master' into master
2 parents 6e03599 + 73d8b96 commit 2753c2f

File tree

1,284 files changed

+360417
-77237
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

1,284 files changed

+360417
-77237
lines changed

.editorconfig

+22
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
# Editor configuration, see http://editorconfig.org
2+
root = true
3+
4+
[*]
5+
charset = utf-8
6+
indent_style = space
7+
insert_final_newline = true
8+
9+
[*.{ps1, psd1, psm1}]
10+
indent_size = 4
11+
end_of_line = crlf
12+
trim_trailing_whitespace = true
13+
14+
[*.json]
15+
indent_size = 2
16+
end_of_line = crlf
17+
trim_trailing_whitespace = true
18+
19+
[*.{md, txt}]
20+
end_of_line = crlf
21+
max_line_length = off
22+
trim_trailing_whitespace = false

.github/workflows/dev_cippckdtz.yml .github/workflows/dev_cipp4i6t3.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# Docs for the Azure Web Apps Deploy action: https://github.com/azure/functions-action
22
# More GitHub Actions for Azure: https://github.com/Azure/actions
33

4-
name: Build and deploy Powershell project to Azure Function App - cippckdtz
4+
name: Build and deploy Powershell project to Azure Function App - cipp4i6t3
55

66
on:
77
push:
@@ -24,7 +24,7 @@ jobs:
2424
uses: Azure/functions-action@v1
2525
id: fa
2626
with:
27-
app-name: 'cippckdtz'
27+
app-name: 'cipp4i6t3'
2828
slot-name: 'Production'
2929
package: ${{ env.AZURE_FUNCTIONAPP_PACKAGE_PATH }}
30-
publish-profile: ${{ secrets.AZUREAPPSERVICE_PUBLISHPROFILE_2101C7175BFB47E58240ABD1E72E81C2 }}
30+
publish-profile: ${{ secrets.AZUREAPPSERVICE_PUBLISHPROFILE_9D257A31ACA24925A112AF5FFC2BEAFE }}

.github/workflows/dev_cippy6oom.yml .github/workflows/dev_cippkwn4s.yml

+14-5
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# Docs for the Azure Web Apps Deploy action: https://github.com/azure/functions-action
22
# More GitHub Actions for Azure: https://github.com/Azure/actions
33

4-
name: Build and deploy Powershell project to Azure Function App - cippy6oom
4+
name: Build and deploy Powershell project to Azure Function App - cippkwn4s
55

66
on:
77
push:
@@ -15,16 +15,25 @@ env:
1515
jobs:
1616
deploy:
1717
runs-on: windows-latest
18-
18+
permissions:
19+
id-token: write #This is required for requesting the JWT
20+
1921
steps:
2022
- name: 'Checkout GitHub Action'
2123
uses: actions/checkout@v4
22-
24+
25+
- name: Login to Azure
26+
uses: azure/login@v2
27+
with:
28+
client-id: ${{ secrets.AZUREAPPSERVICE_CLIENTID_B6BCC8886F40482FB8B43907FCDA6596 }}
29+
tenant-id: ${{ secrets.AZUREAPPSERVICE_TENANTID_0D1C65B9099F48FABDF7F7052EA6887F }}
30+
subscription-id: ${{ secrets.AZUREAPPSERVICE_SUBSCRIPTIONID_76518AE5ECB34375A414DEEE1119C161 }}
31+
2332
- name: 'Run Azure Functions Action'
2433
uses: Azure/functions-action@v1
2534
id: fa
2635
with:
27-
app-name: 'cippy6oom'
36+
app-name: 'cippkwn4s'
2837
slot-name: 'Production'
2938
package: ${{ env.AZURE_FUNCTIONAPP_PACKAGE_PATH }}
30-
publish-profile: ${{ secrets.AZUREAPPSERVICE_PUBLISHPROFILE_B9C635E19DF6459F8995BA602EFA638A }}
39+

.github/workflows/dev_cippeln4y.yml .github/workflows/dev_cipplwwww.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# Docs for the Azure Web Apps Deploy action: https://github.com/azure/functions-action
22
# More GitHub Actions for Azure: https://github.com/Azure/actions
33

4-
name: Build and deploy Powershell project to Azure Function App - cippeln4y
4+
name: Build and deploy Powershell project to Azure Function App - cipplwwww
55

66
on:
77
push:
@@ -24,7 +24,7 @@ jobs:
2424
uses: Azure/functions-action@v1
2525
id: fa
2626
with:
27-
app-name: 'cippeln4y'
27+
app-name: 'cipplwwww'
2828
slot-name: 'Production'
2929
package: ${{ env.AZURE_FUNCTIONAPP_PACKAGE_PATH }}
30-
publish-profile: ${{ secrets.AZUREAPPSERVICE_PUBLISHPROFILE_B82C66E0F3BD4BDD9FFFB32FA83A68C9 }}
30+
publish-profile: ${{ secrets.AZUREAPPSERVICE_PUBLISHPROFILE_00A9A6DFE9244C2EA8952190FFF10F45 }}

.github/workflows/dev_cipppwrro.yml

-29
This file was deleted.

.github/workflows/ninjaone_cipp426ns.yml

-29
This file was deleted.

.vscode/extensions.json

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
{
2+
"recommendations": [
3+
"editorconfig.editorconfig"
4+
]
5+
}

Activity_AddOrUpdateTableRows/function.json

-9
This file was deleted.

Activity_AddOrUpdateTableRows/run.ps1

-12
This file was deleted.

Activity_GetAllTableRows/function.json

-9
This file was deleted.

Activity_GetAllTableRows/run.ps1

-6
This file was deleted.

AddAlertSubscription_Queue/function.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"scriptFile": "../Modules/CippEntryPoints/CippEntryPoints.psm1",
2+
"scriptFile": "../Modules/CippEntrypoints/CippEntrypoints.psm1",
33
"entryPoint": "Receive-CippQueueTrigger",
44
"bindings": [
55
{

AddChocoApp_OrchestrationStarter/function.json

-24
This file was deleted.

AddChocoApp_OrchestrationStarter/run.ps1

-21
This file was deleted.
+2-14
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,7 @@
11
param($Timer)
22

33
try {
4-
if ($CurrentlyRunning) {
5-
$Results = [pscustomobject]@{'Results' = 'Already running. Please wait for the current instance to finish' }
6-
Write-LogMessage -API 'ChocoApps' -message 'Attempted to start upload but an instance was already running.' -sev Info
7-
}
8-
else {
9-
$InstanceId = Start-NewOrchestration -FunctionName 'Applications_Orchestrator'
10-
Write-Host "Started orchestration with ID = '$InstanceId'"
11-
$Orchestrator = New-OrchestrationCheckStatusResponse -Request $Timer -InstanceId $InstanceId
12-
Write-LogMessage -API 'ChocoApps' -message 'Started uploading applications to tenants' -sev Info
13-
$Results = [pscustomobject]@{'Results' = 'Started running analysis' }
14-
}
15-
Write-Host ($Orchestrator | ConvertTo-Json)
16-
}
17-
catch {
4+
Start-ApplicationOrchestrator
5+
} catch {
186
Write-Host "AddChocoApp_OrchestratorStarterTimer Exception: $($_.Exception.Message)"
197
}

AddMSPApp/Immybot.app.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
"owner": " ",
88
"informationUrl": " ",
99
"privacyInformationUrl": " ",
10-
"fileName": "ninjarmm.intunewin",
10+
"fileName": "immybot.intunewin",
1111
"@odata.type": "#microsoft.graph.win32LobApp",
1212
"applicableArchitectures": "x86, x64",
1313

@@ -19,7 +19,7 @@
1919
"detectionRules": [
2020
{
2121
"@odata.type": "#microsoft.graph.win32LobAppFileSystemDetection",
22-
"path": "%ProgramData%\\Immyboy\\Bin",
22+
"path": "%ProgramData%\\Immybot\\Bin",
2323
"fileOrFolderName": "Immybot.exe",
2424
"check32BitOn64System": false,
2525
"detectionType": "exists"

AddMSPApp/ninjarmm.app.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,8 @@
1919
"detectionRules": [
2020
{
2121
"@odata.type": "#microsoft.graph.win32LobAppFileSystemDetection",
22-
"path": "%ProgramData%\\Syncro\\Bin",
23-
"fileOrFolderName": "Syncro.Overmind.Service.exe",
22+
"path": "%ProgramData%\\NinjaRMMAgent",
23+
"fileOrFolderName": "ninjarmm-cli.exe",
2424
"check32BitOn64System": false,
2525
"detectionType": "exists"
2626
}

Applications_GetQueue/function.json

-9
This file was deleted.

Applications_GetQueue/run.ps1

-6
This file was deleted.

Applications_Orchestrator/function.json

-9
This file was deleted.

Applications_Orchestrator/run.ps1

-25
This file was deleted.

Applications_Upload/function.json

-9
This file was deleted.

0 commit comments

Comments
 (0)