Skip to content

Commit 25fbe41

Browse files
Merge branch 'interface-rewrite' into dev
2 parents 440d435 + d0fe6be commit 25fbe41

File tree

232 files changed

+4319
-1717
lines changed

Some content is hidden

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

232 files changed

+4319
-1717
lines changed
Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
# Docs for the Azure Web Apps Deploy action: https://github.com/azure/functions-action
2+
# More GitHub Actions for Azure: https://github.com/Azure/actions
3+
4+
name: Build and deploy Powershell project to Azure Function App - cippjta72
5+
6+
on:
7+
push:
8+
branches:
9+
- interface-rewrite
10+
workflow_dispatch:
11+
12+
env:
13+
AZURE_FUNCTIONAPP_PACKAGE_PATH: '.' # set this to the path to your web app project, defaults to the repository root
14+
15+
jobs:
16+
deploy:
17+
runs-on: windows-latest
18+
19+
steps:
20+
- name: 'Checkout GitHub Action'
21+
uses: actions/checkout@v4
22+
23+
- name: 'Run Azure Functions Action'
24+
uses: Azure/functions-action@v1
25+
id: fa
26+
with:
27+
app-name: 'cippjta72'
28+
slot-name: 'Production'
29+
package: ${{ env.AZURE_FUNCTIONAPP_PACKAGE_PATH }}
30+
publish-profile: ${{ secrets.AZUREAPPSERVICE_PUBLISHPROFILE_6472818415124CAB84BCDF49D430C471 }}
Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
# Docs for the Azure Web Apps Deploy action: https://github.com/azure/functions-action
2+
# More GitHub Actions for Azure: https://github.com/Azure/actions
3+
4+
name: Build and deploy Powershell project to Azure Function App - cipptulwz
5+
6+
on:
7+
push:
8+
branches:
9+
- interface-rewrite
10+
workflow_dispatch:
11+
12+
env:
13+
AZURE_FUNCTIONAPP_PACKAGE_PATH: '.' # set this to the path to your web app project, defaults to the repository root
14+
15+
jobs:
16+
deploy:
17+
runs-on: windows-latest
18+
19+
steps:
20+
- name: 'Checkout GitHub Action'
21+
uses: actions/checkout@v4
22+
23+
- name: 'Run Azure Functions Action'
24+
uses: Azure/functions-action@v1
25+
id: fa
26+
with:
27+
app-name: 'cipptulwz'
28+
slot-name: 'Production'
29+
package: ${{ env.AZURE_FUNCTIONAPP_PACKAGE_PATH }}
30+
publish-profile: ${{ secrets.AZUREAPPSERVICE_PUBLISHPROFILE_8DF25C53CFA64C388F9B6AC94A9780B9 }}
Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
# Docs for the Azure Web Apps Deploy action: https://github.com/azure/functions-action
2+
# More GitHub Actions for Azure: https://github.com/Azure/actions
3+
4+
name: Build and deploy Powershell project to Azure Function App - cippufcig
5+
6+
on:
7+
push:
8+
branches:
9+
- interface-rewrite
10+
workflow_dispatch:
11+
12+
env:
13+
AZURE_FUNCTIONAPP_PACKAGE_PATH: '.' # set this to the path to your web app project, defaults to the repository root
14+
15+
jobs:
16+
deploy:
17+
runs-on: windows-latest
18+
19+
steps:
20+
- name: 'Checkout GitHub Action'
21+
uses: actions/checkout@v4
22+
23+
- name: 'Run Azure Functions Action'
24+
uses: Azure/functions-action@v1
25+
id: fa
26+
with:
27+
app-name: 'cippufcig'
28+
slot-name: 'Production'
29+
package: ${{ env.AZURE_FUNCTIONAPP_PACKAGE_PATH }}
30+
publish-profile: ${{ secrets.AZUREAPPSERVICE_PUBLISHPROFILE_5A94D19FE6B44070B777EDECF3EF5BFE }}
Lines changed: 93 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,93 @@
1+
name: Generate Release Notes and Upload
2+
3+
on:
4+
push:
5+
branches:
6+
- pre-release
7+
8+
permissions:
9+
contents: write
10+
11+
jobs:
12+
release:
13+
if: github.event.repository.fork == false && github.event_name == 'push'
14+
name: Generate Release Notes and Upload to Azure
15+
runs-on: ubuntu-latest
16+
17+
steps:
18+
# Checkout the repository
19+
- name: Checkout Code
20+
uses: actions/checkout@v3
21+
22+
# Read and Trim Version
23+
- name: Read and Trim Version
24+
id: get_version
25+
run: |
26+
if [ ! -f version_latest.txt ]; then
27+
echo "Error: version_latest.txt not found!"
28+
exit 1
29+
fi
30+
VERSION=$(cat version_latest.txt | tr -d '[:space:]')
31+
if [ -z "$VERSION" ]; then
32+
echo "Error: version_latest.txt is empty after trimming!"
33+
exit 1
34+
fi
35+
echo "version=$VERSION" >> $GITHUB_OUTPUT
36+
37+
# Exit if Tag Already Exists
38+
- name: Check if Tag Exists
39+
id: tag_check
40+
run: |
41+
git fetch --tags
42+
if git rev-parse "refs/tags/${{ steps.get_version.outputs.version }}" >/dev/null 2>&1; then
43+
echo "tag_exists=true" >> $GITHUB_ENV
44+
echo "Tag ${{ steps.get_version.outputs.version }} already exists. Exiting workflow successfully."
45+
else
46+
echo "tag_exists=false" >> $GITHUB_ENV
47+
fi
48+
49+
# Generate Release Notes
50+
- name: Generate Release Notes
51+
id: changelog
52+
if: env.tag_exists == 'false'
53+
uses: mikepenz/[email protected]
54+
env:
55+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
56+
57+
# Create a new release tag
58+
- name: Create GitHub Release
59+
if: env.tag_exists == 'false'
60+
uses: ncipollo/[email protected]
61+
with:
62+
tag: ${{ steps.get_version.outputs.version }}
63+
name: "v${{ steps.get_version.outputs.version }}"
64+
draft: false
65+
prerelease: true
66+
body: ${{ steps.changelog.outputs.changelog }}
67+
env:
68+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
69+
70+
# Create ZIP File in a New Source Directory
71+
- name: Prepare and Zip Release Files
72+
if: env.tag_exists == 'false'
73+
run: |
74+
mkdir -p src/releases
75+
zip -r src/releases/release_${{ steps.get_version.outputs.version }}.zip . \
76+
--exclude "./src/releases/*" \
77+
--exclude ".*" \
78+
--exclude ".*/**"
79+
zip -r src/releases/beta.zip . \
80+
--exclude "./src/releases/*" \
81+
--exclude ".*" \
82+
--exclude ".*/**"
83+
84+
# Upload to Azure Blob Storage
85+
- name: Azure Blob Upload with Destination folder defined
86+
if: env.tag_exists == 'false'
87+
uses: LanceMcCarthy/[email protected]
88+
with:
89+
connection_string: ${{ secrets.AZURE_CONNECTION_STRING }}
90+
container_name: cipp-api
91+
source_folder: src/releases/
92+
destination_folder: /
93+
delete_if_exists: true

CIPPTimers.json

Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
[
22
{
3+
"Id": "c0c48d71-7918-4828-bc25-0e8c28a171a2",
34
"Command": "Start-DurableCleanup",
45
"Description": "Timer function to cleanup durable functions",
56
"Cron": "0 */15 * * * *",
@@ -8,6 +9,7 @@
89
"IsSystem": true
910
},
1011
{
12+
"Id": "76dc2e2e-eb89-47f7-bd9f-8aaebfe854c7",
1113
"Command": "Start-UserTasksOrchestrator",
1214
"Description": "Orchestrator to process user scheduled tasks",
1315
"Cron": "0 */15 * * * *",
@@ -16,13 +18,15 @@
1618
"PreferredProcessor": "usertasks"
1719
},
1820
{
21+
"Id": "168decf3-7ddd-471e-ab46-8b40be0f18ae",
1922
"Command": "Start-CIPPProcessorQueue",
2023
"Description": "Timer to handle user initiated tasks",
2124
"Cron": "0 */15 * * * *",
2225
"Priority": 1,
2326
"RunOnProcessor": true
2427
},
2528
{
29+
"Id": "44a40668-ed71-403c-8c26-b32e320086ad",
2630
"Command": "Start-AuditLogOrchestrator",
2731
"Description": "Orchestrator to process audit logs",
2832
"Cron": "0 */15 * * * *",
@@ -32,6 +36,7 @@
3236
"IsSystem": true
3337
},
3438
{
39+
"Id": "03475c86-4314-4d7b-90f2-5a0639e3899b",
3540
"Command": "Start-AuditLogSearchCreation",
3641
"Description": "Timer to create audit log searches",
3742
"Cron": "0 */30 * * * *",
@@ -41,20 +46,23 @@
4146
"IsSystem": true
4247
},
4348
{
49+
"Id": "5ff6c500-e420-4a3b-8532-ace2e4da4f7d",
4450
"Command": "Start-ApplicationOrchestrator",
4551
"Description": "Orchestrator to process application uploads",
4652
"Cron": "0 0 */12 * * *",
4753
"Priority": 2,
4854
"RunOnProcessor": true
4955
},
5056
{
57+
"Id": "5b3bb926-d107-471e-8787-3b22b0d4dbbe",
5158
"Command": "Start-WebhookOrchestrator",
5259
"Description": "Orchestrator to process webhooks",
5360
"Cron": "0 */15 * * * *",
5461
"Priority": 3,
5562
"RunOnProcessor": true
5663
},
5764
{
65+
"Id": "9b0c8e50-f798-49db-9a8b-dbcc0fcadeea",
5866
"Command": "Start-StandardsOrchestrator",
5967
"Description": "Orchestrator to process standards",
6068
"Cron": "0 0 */4 * * *",
@@ -63,27 +71,31 @@
6371
"PreferredProcessor": "standards"
6472
},
6573
{
74+
"Id": "5113c66d-c040-42df-9565-39dff90ddd55",
6675
"Command": "Start-CIPPGraphSubscriptionCleanupTimer",
6776
"Description": "Orchestrator to cleanup old Graph subscriptions",
6877
"Cron": "0 0 0 * * *",
6978
"Priority": 5,
7079
"RunOnProcessor": true
7180
},
7281
{
82+
"Id": "97145a1d-28f0-4bb2-b929-5a43517d23cc",
7383
"Command": "Start-SchedulerOrchestrator",
7484
"Description": "Orchestrator to process system scheduled tasks",
7585
"Cron": "0 0 * * * *",
7686
"Priority": 6,
7787
"RunOnProcessor": true
7888
},
7989
{
90+
"Id": "ed7b5241-1cb9-499b-8f5b-1013ba5764b4",
8091
"Command": "Set-CIPPGDAPInviteGroups",
8192
"Description": "Orchestrator to map the groups for GDAP invites",
8293
"Cron": "0 0 */3 * * *",
8394
"Priority": 5,
8495
"RunOnProcessor": true
8596
},
8697
{
98+
"Id": "4ca242d0-8dc8-4256-b0ed-186599f4233f",
8799
"Command": "Start-UpdateTokensTimer",
88100
"Description": "Orchestrator to update tokens",
89101
"Cron": "0 0 0 * * 0",
@@ -92,6 +104,7 @@
92104
"IsSystem": true
93105
},
94106
{
107+
"Id": "ebe981b6-4417-406e-a1a5-7b8279058841",
95108
"Command": "Start-CIPPGraphSubscriptionRenewalTimer",
96109
"Description": "Orchestrator to renew Graph subscriptions",
97110
"Cron": "0 15 * * * *",
@@ -100,13 +113,27 @@
100113
"IsSystem": true
101114
},
102115
{
116+
"Id": "c2ebde3f-fa35-45aa-8a6b-91c835050b79",
103117
"Command": "Start-DomainOrchestrator",
104118
"Description": "Orchestrator to process domains",
105119
"Cron": "0 0 0 * * *",
106120
"Priority": 10,
107121
"RunOnProcessor": true
108122
},
109123
{
124+
"Id": "f82345da-e370-4b15-8167-be148cfd04af",
125+
"Command": "Get-Tenants",
126+
"Parameters": {
127+
"TriggerRefresh": true
128+
},
129+
"Description": "Update tenants",
130+
"Cron": "0 0 23 * * *",
131+
"Priority": 10,
132+
"RunOnProcessor": true,
133+
"IsSystem": true
134+
},
135+
{
136+
"Id": "d9ff3af4-bd34-40d6-b12a-8fa24463f331",
110137
"Command": "Start-UpdatePermissionsOrchestrator",
111138
"Description": "Orchestrator to update CPV permissions",
112139
"Cron": "0 0 0 * * *",
@@ -115,27 +142,31 @@
115142
"IsSystem": true
116143
},
117144
{
145+
"Id": "467787cf-01c5-4d20-8097-c2eef691a20e",
118146
"Command": "Start-BillingTimer",
119147
"Description": "Timer to process billing",
120148
"Cron": "0 0 0 * * *",
121149
"Priority": 12,
122150
"RunOnProcessor": true
123151
},
124152
{
153+
"Id": "80070b4f-95ed-4e5f-be4c-9e339306d4aa",
125154
"Command": "Start-BPAOrchestrator",
126155
"Description": "Orchestrator to process BPA reports",
127156
"Cron": "0 0 3 * * *",
128157
"Priority": 10,
129158
"RunOnProcessor": true
130159
},
131160
{
161+
"Id": "54c39540-fe91-4795-8613-ac4295751a51",
132162
"Command": "Start-ExtensionOrchestrator",
133163
"Description": "Orchestrator to process extensions",
134164
"Cron": "0 0 */2 * * *",
135165
"Priority": 12,
136166
"RunOnProcessor": true
137167
},
138168
{
169+
"Id": "3fb9745b-08c9-411b-bfac-dc48087489d5",
139170
"Command": "Start-CIPPStatsTimer",
140171
"Description": "Timer to process CIPP stats",
141172
"Cron": "0 0 0 * * *",
@@ -144,11 +175,24 @@
144175
"IsSystem": true
145176
},
146177
{
178+
"Id": "f74a4540-c811-4037-997c-0d32d7d5742f",
147179
"Command": "Start-TableCleanup",
148180
"Description": "Timer to cleanup tables",
149181
"Cron": "0 0 23 * * *",
150182
"Priority": 20,
151183
"RunOnProcessor": true,
152184
"IsSystem": true
185+
},
186+
{
187+
"Id": "e87db59d-3386-4a51-8274-da9aeb6793e3",
188+
"Command": "Get-Tenants",
189+
"Parameters": {
190+
"CleanOld": true
191+
},
192+
"Description": "Timer to cleanup old tenants",
193+
"Cron": "0 0 0 * * *",
194+
"Priority": 20,
195+
"RunOnProcessor": true,
196+
"IsSystem": true
153197
}
154198
]

Config/59bd753c-4204-4b3a-b84b-850d4b69f494.IntuneTemplate.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,5 @@
33
"Description": "",
44
"RAWJson": "{\r\n \"name\": \"LAPS\",\r\n \"description\": \"\",\r\n \"settings\": [\r\n {\r\n \"id\": \"0\",\r\n \"settingInstance\": {\r\n \"@odata.type\": \"#microsoft.graph.deviceManagementConfigurationChoiceSettingInstance\",\r\n \"settingDefinitionId\": \"device_vendor_msft_laps_policies_backupdirectory\",\r\n \"settingInstanceTemplateReference\": {\r\n \"settingInstanceTemplateId\": \"a3270f64-e493-499d-8900-90290f61ed8a\"\r\n },\r\n \"choiceSettingValue\": {\r\n \"value\": \"device_vendor_msft_laps_policies_backupdirectory_1\",\r\n \"settingValueTemplateReference\": {\r\n \"settingValueTemplateId\": \"4d90f03d-e14c-43c4-86da-681da96a2f92\",\r\n \"useTemplateDefault\": false\r\n },\r\n \"children\": [\r\n {\r\n \"@odata.type\": \"#microsoft.graph.deviceManagementConfigurationSimpleSettingInstance\",\r\n \"settingDefinitionId\": \"device_vendor_msft_laps_policies_passwordagedays_aad\",\r\n \"settingInstanceTemplateReference\": null,\r\n \"simpleSettingValue\": {\r\n \"@odata.type\": \"#microsoft.graph.deviceManagementConfigurationIntegerSettingValue\",\r\n \"settingValueTemplateReference\": null,\r\n \"value\": 30\r\n }\r\n }\r\n ]\r\n }\r\n }\r\n },\r\n {\r\n \"id\": \"1\",\r\n \"settingInstance\": {\r\n \"@odata.type\": \"#microsoft.graph.deviceManagementConfigurationChoiceSettingInstance\",\r\n \"settingDefinitionId\": \"device_vendor_msft_laps_policies_passwordcomplexity\",\r\n \"settingInstanceTemplateReference\": {\r\n \"settingInstanceTemplateId\": \"8a7459e8-1d1c-458a-8906-7b27d216de52\"\r\n },\r\n \"choiceSettingValue\": {\r\n \"value\": \"device_vendor_msft_laps_policies_passwordcomplexity_4\",\r\n \"settingValueTemplateReference\": {\r\n \"settingValueTemplateId\": \"aa883ab5-625e-4e3b-b830-a37a4bb8ce01\",\r\n \"useTemplateDefault\": false\r\n },\r\n \"children\": []\r\n }\r\n }\r\n }\r\n ],\r\n \"platforms\": \"windows10\",\r\n \"technologies\": \"mdm\",\r\n \"templateReference\": {\r\n \"templateId\": \"adc46e5a-f4aa-4ff6-aeff-4f27bc525796_1\",\r\n \"templateFamily\": \"endpointSecurityAccountProtection\",\r\n \"templateDisplayName\": \"Local admin password solution (Windows LAPS)\",\r\n \"templateDisplayVersion\": \"Version 1\"\r\n }\r\n}",
55
"Type": "Catalog",
6-
"GUID": "59bd753c-4204-4b3a-b84b-850d4b69f494"
6+
"GUID": "59bd753c-4204-4b3a-b84b-850d4b69f494.IntuneTemplate.json"
77
}

Config/b79d0123-3105-4c5d-9f15-62cc7a7eb7e1.IntuneTemplate.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,5 @@
33
"Description": "Configures the first profile on a device to always use the e-mail address of the currently logged on user.",
44
"RAWJson": "{\"name\":\"Automatic configuration of Outlook\",\"description\":\"\",\"platforms\":\"windows10\",\"technologies\":\"mdm\",\"roleScopeTagIds\":[\"0\"],\"settings\":[{\"@odata.type\":\"#microsoft.graph.deviceManagementConfigurationSetting\",\"settingInstance\":{\"@odata.type\":\"#microsoft.graph.deviceManagementConfigurationChoiceSettingInstance\",\"settingDefinitionId\":\"user_vendor_msft_policy_config_outlk16v2~policy~l_microsoftofficeoutlook~l_toolsaccounts~l_exchangesettings_l_automaticallyconfigureprofilebasedonactiveonce\",\"choiceSettingValue\":{\"@odata.type\":\"#microsoft.graph.deviceManagementConfigurationChoiceSettingValue\",\"value\":\"user_vendor_msft_policy_config_outlk16v2~policy~l_microsoftofficeoutlook~l_toolsaccounts~l_exchangesettings_l_automaticallyconfigureprofilebasedonactiveonce_1\",\"children\":[]}}}]}",
55
"Type": "Catalog",
6-
"GUID": "b79d0123-3105-4c5d-9f15-62cc7a7eb7e1"
6+
"GUID": "b79d0123-3105-4c5d-9f15-62cc7a7eb7e1.IntuneTemplate.json"
77
}

0 commit comments

Comments
 (0)