Skip to content

Commit 771b4c9

Browse files
authored
Merge pull request #90456 from mlottner/landingpage_test
upates- post release changes
2 parents 081e5e5 + 1817ce2 commit 771b4c9

File tree

2 files changed

+18
-5
lines changed

2 files changed

+18
-5
lines changed

articles/asc-for-iot/concept-baseline.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ ms.devlang: na
1515
ms.topic: conceptual
1616
ms.tgt_pltfrm: na
1717
ms.workload: na
18-
ms.date: 09/26/2019
18+
ms.date: 10/03/2019
1919
ms.author: mlottner
2020

2121
---
@@ -29,7 +29,7 @@ A baseline establishes standard behavior for each device and makes it easier to
2929

3030
## Baseline custom checks
3131

32-
Baseline custom checks establish a custom list of checks for each device baseline using the Module identity twin of the device.
32+
Baseline custom checks establish a custom list of checks for each device baseline using the **Module identity twin** of the device.
3333

3434
## Setting baseline properties
3535

@@ -64,8 +64,8 @@ To configure baseline custom checks:
6464
| Name| Status | Valid values| Default values| Description |
6565
|----------|------------------------------------------------------------------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|---------------|---------------|
6666
|baselineCustomChecksEnabled|Required: true |Valid values: **Boolean** |Default value: **false** |Max time interval before high priority messages is sent.|
67-
|baselineCustomChecksFilePath |Required: true|Valid values: **String**, **null** |Default value: **PT5H** |Full path of the baseline xml configuration|
68-
|baselineCustomChecksFileHash |Required: true|Valid values: **String**, **null** |Default value: **PT5H** |`sha256sum` of the xml configuration file. Use the [sha256sum reference](https://linux.die.net/man/1/sha256sum) for additional information. |
67+
|baselineCustomChecksFilePath |Required: true|Valid values: **String**, **null** |Default value: **null** |Full path of the baseline xml configuration|
68+
|baselineCustomChecksFileHash |Required: true|Valid values: **String**, **null** |Default value: **null** |`sha256sum` of the xml configuration file. Use the [sha256sum reference](https://linux.die.net/man/1/sha256sum) for additional information. |
6969

7070
To review additional baseline examples, see [custom baseline example -1](https://ascforiot.blob.core.windows.net/public/custom_baseline_example_hyperv_ubuntu1804.xml) and [custom baseline example -2](https://ascforiot.blob.core.windows.net/public/oms_audits.xml).
7171

articles/asc-for-iot/how-to-send-security-messages.md

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ ms.devlang: na
1414
ms.topic: conceptual
1515
ms.tgt_pltfrm: na
1616
ms.workload: na
17-
ms.date: 09/26/2019
17+
ms.date: 10/03/2019
1818
ms.author: mlottner
1919

2020
---
@@ -200,6 +200,19 @@ async def send_security_message_async(message_content):
200200
await device_client.disconnect()
201201
```
202202

203+
#### Java API
204+
205+
```java
206+
public void SendSecurityMessage(string message)
207+
{
208+
ModuleClient client = new ModuleClient("<connection_string>", IotHubClientProtocol.MQTT);
209+
Message msg = new Message(message);
210+
msg.setAsSecurityMessage();
211+
EventCallback callback = new EventCallback();
212+
string context = "<user_context>";
213+
client.sendEventAsync(msg, callback, context);
214+
}
215+
```
203216

204217

205218
## Next steps

0 commit comments

Comments
 (0)