Skip to content

Commit

Permalink
Make log message clearer
Browse files Browse the repository at this point in the history
  • Loading branch information
almenscorner committed Mar 20, 2024
1 parent f41d9b0 commit fefdb38
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/IntuneCD/update/Intune/ComplianceScripts.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ def __init__(self, *args, **kwargs):
"""
super().__init__(*args, **kwargs)
self.path = f"{self.path}/Compliance Policies/Scripts/"
self.config_type = "Compliance Scripts"
self.config_type = "Compliance Script Policy"
self.handle_assignment = False
self.exclude_paths = "root['detectionScriptContent']"

Expand Down
2 changes: 1 addition & 1 deletion src/IntuneCD/update/Intune/PowerShellScripts.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ def __init__(self, *args, **kwargs):
super().__init__(*args, **kwargs)
self.path = f"{self.path}/Scripts/Powershell/"
self.script_data_path = f"{self.path}Script Data/"
self.config_type = "PowerShell Script"
self.config_type = "PowerShell Script Policy"
self.assignment_endpoint = "/deviceManagement/deviceManagementScripts/"
self.assignment_extra_url = "/assign"
self.exclude_paths = ["root['assignments']", "root['scriptContent']"]
Expand Down
2 changes: 1 addition & 1 deletion src/IntuneCD/update/Intune/ReusableSettings.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ def __init__(self, *args, **kwargs):
"""
super().__init__(*args, **kwargs)
self.path = f"{self.path}/Compliance Policies/Scripts/"
self.config_type = "Compliance Script"
self.config_type = "Compliance Script Policy"
self.params = {
"$select": "id,settinginstance,displayname,description,settingDefinitionId,version"
}
Expand Down
2 changes: 1 addition & 1 deletion src/IntuneCD/update/Intune/ShellScripts.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ def __init__(self, *args, **kwargs):
super().__init__(*args, **kwargs)
self.path = f"{self.path}/Scripts/Shell/"
self.script_data_path = f"{self.path}Script Data/"
self.config_type = "Shell Script"
self.config_type = "Shell Script Policy"
self.assignment_endpoint = "/deviceManagement/deviceManagementScripts/"
self.assignment_extra_url = "/assign"
self.exclude_paths = ["root['assignments']", "root['scriptContent']"]
Expand Down

0 comments on commit fefdb38

Please sign in to comment.