.. This work is licensed under a Creative Commons Attribution 4.0 International License.
.. http://creativecommons.org/licenses/by/4.0
-.. Copyright (C) 2022 Nordix Foundation
+.. Copyright (C) 2022-2023 Nordix Foundation
.. DO NOT CHANGE THIS LABEL FOR RELEASE NOTES - EVEN THOUGH IT GIVES A WARNING
.. _cmhandlequerying:
"cpsPath": "//state[@cm-handle-state='ADVISED']"
}
]
+ },
+ {
+ "conditionName": "cmHandleWithTrustLevel",
+ "conditionParameters": [
+ {
+ "trustLevel": "COMPLETE"
+ }
+ ]
}
]
}
}
]
}
+
+CM Handle with Trust Level
+--------------------------
+
+With the *cmHandleWithTrustLevel* condition, we can provide just one trust level. The CM handles returned will have this trust level. Providing more than one parameter causes unexpected results. Condition parameter name is not being validated.
+
+.. code-block:: json
+
+ {
+ "cmHandleQueryParameters": [
+ {
+ "conditionName": "cmHandleWithTrustLevel",
+ "conditionParameters": [
+ {
+ "trustLevel": "COMPLETE"
+ }
+ ]
+ }
+ ]
+ }
\ No newline at end of file