Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

30281 msgraph physical memory #32413

Merged
merged 12 commits into from
Jan 25, 2024
Original file line number Diff line number Diff line change
Expand Up @@ -303,7 +303,7 @@ def get_managed_device_physical_memory_command(client: MsGraphClient, args: dict
human_readable: str = f'Managed device {device_id} not found.'
if device:
human_readable = tableToMarkdown(name=f'Managed device {device_name}', t=device, removeNull=True,
headers=['physicalMemoryInBytes'])
headers=['PhysicalMemoryInBytes'])
return_outputs(human_readable, entry_context, device)


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -976,7 +976,7 @@ script:
execution: false
name: msgraph-device-auth-reset
arguments: []
dockerimage: demisto/crypto:1.0.0.84658
dockerimage: demisto/crypto:1.0.0.85869
script: ''
subtype: python3
type: python
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -106,10 +106,10 @@ def test_get_managed_device_physical_memory_command(mocker):
mocker.patch.object(client, 'get_managed_device_physical_memory', return_value=(response_client, '1'))
mocker.patch('MicrosoftGraphDeviceManagement.build_device_object', return_value={'ID': '1111111-1111-1111-1111-11111111',
'Name': 'Test',
'physicalMemoryInBytes': 1})
'PhysicalMemoryInBytes': 1})
outputs = mocker.patch('MicrosoftGraphDeviceManagement.return_outputs')
get_managed_device_physical_memory_command(client, {"device_id": '1'})
assert outputs.call_args.args[0] == '### Managed device Test\n|physicalMemoryInBytes|\n|---|\n| 1 |\n'
assert outputs.call_args.args[0] == '### Managed device Test\n|PhysicalMemoryInBytes|\n|---|\n| 1 |\n'


def test_get_managed_device_physical_memory_command_error(mocker):
Expand Down
7 changes: 7 additions & 0 deletions Packs/MicrosoftGraphDeviceManagement/ReleaseNotes/1_1_22.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@

#### Integrations

##### Microsoft Endpoint Manager (Intune)

- Fixed an issue where command ***msgraph-get-managed-device-physical-memory-by-id*** didn't show results in the war-room.
- Updated the Docker image to: *demisto/crypto:1.0.0.85869*.
2 changes: 1 addition & 1 deletion Packs/MicrosoftGraphDeviceManagement/pack_metadata.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "Microsoft Graph Device Management",
"description": "Microsoft Graph Device Management",
"support": "xsoar",
"currentVersion": "1.1.21",
"currentVersion": "1.1.22",
"author": "Cortex XSOAR",
"url": "https://www.paloaltonetworks.com/cortex",
"email": "",
Expand Down
Loading