{"Name":"opcua","ID":"go.mondoo.com/mql/providers/opcua","Version":"14.0.0-rc.1","ConnectionTypes":["opcua"],"Connectors":[{"Name":"opcua","Use":"opcua [--endpoint \u003cendpoint\u003e]","Short":"an OPC UA device","Long":"Use the opcua provider to query resources on an Open Platform Communications Unified Architecture (OPC UA) server or device. OPC UA is a protocol for machine-to-machine communication in industrial automation.\n\nBy default the provider connects with the strongest security the server offers and\nfalls back to weaker endpoints when a session cannot be established. Use the security\nflags to pin a policy and mode, and to supply the client certificate a hardened server\nexpects.\n\nExamples:\n  cnspec shell opcua --endpoint opc.tcp://\u003chost\u003e:\u003cport\u003e\n  cnspec scan opcua --endpoint opc.tcp://\u003chost\u003e:\u003cport\u003e\n  cnspec scan opcua --endpoint opc.tcp://\u003chost\u003e:\u003cport\u003e --security-policy Basic256Sha256 --security-mode SignAndEncrypt --cert-file client.der --key-file client.key\n  cnspec scan opcua --endpoint opc.tcp://\u003chost\u003e:\u003cport\u003e --username \u003cuser\u003e --password \u003cpassword\u003e\n","Flags":[{"Long":"endpoint","Desc":"OPC UA endpoint URL of the OPC UA server in the format opc.tcp://\u003chost\u003e:\u003cport\u003e","Type":3,"Option":4},{"Long":"security-policy","Desc":"Security policy to use: None, Basic128Rsa15, Basic256, Basic256Sha256, Aes128Sha256RsaOaep, or Aes256Sha256RsaPss (default: the strongest policy the server offers)","Type":3},{"Long":"security-mode","Desc":"Message security mode to use: None, Sign, or SignAndEncrypt (default: the strongest mode the server offers)","Type":3},{"Long":"cert-file","Desc":"Path to the PEM or DER encoded client certificate to present on the secure channel","Type":3},{"Long":"key-file","Desc":"Path to the PEM or DER encoded private key that belongs to the client certificate","Type":3},{"Long":"username","Desc":"Username for OPC UA username and password authentication","Type":3},{"Long":"password","Desc":"Password for OPC UA username and password authentication","Type":3,"Option":8,"ConfigEntry":"-"}]}],"AssetUrlTrees":null,"Platforms":[{"name":"opcua","title":"OPC UA","family":["opcua"],"kind":["api"]}],"Requires":[{"ID":"go.mondoo.com/mql/providers/core","Name":"core","MinVersion":"13.0.0"}],"Root":"opcua"}