{"Name":"elasticsearch","ID":"go.mondoo.com/mql/v13/providers/elasticsearch","Version":"13.0.1","ConnectionTypes":["elasticsearch"],"CrossProviderTypes":null,"Connectors":[{"Name":"elasticsearch","Use":"elasticsearch [host]","Short":"an Elasticsearch cluster","Long":"Use the elasticsearch provider to query an Elasticsearch cluster.\n\nThe provider connects to the cluster's REST API and runs read-only requests to\ninventory the cluster version and health, its security posture, and its users,\nroles, role mappings, and API keys, so you can audit the cluster's security\nposture.\n\nExamples:\n  cnspec shell elasticsearch localhost --user elastic --ask-pass\n  cnspec scan elasticsearch es.contoso.com --api-key API_KEY\n","Flags":[{"Long":"host","Desc":"Elasticsearch hostname or IP address","Type":3},{"Long":"port","Default":"9200","Desc":"Elasticsearch REST API port","Type":2},{"Long":"scheme","Default":"https","Desc":"Connection scheme: http or https","Type":3},{"Long":"user","Short":"u","Desc":"User name for basic authentication","Type":3},{"Long":"password","Short":"p","Desc":"Set the connection password","Type":3,"Option":8,"ConfigEntry":"-"},{"Long":"ask-pass","Default":"false","Desc":"Prompt for the connection password","Type":1,"ConfigEntry":"-"},{"Long":"api-key","Desc":"API key to authenticate with (base64 of id:api_key)","Type":3,"Option":8,"ConfigEntry":"-"},{"Long":"tls-ca","Desc":"Path to the trusted CA certificate for TLS verification","Type":3},{"Long":"tls-insecure","Default":"false","Desc":"Skip TLS certificate verification (testing only)","Type":1}]}],"AssetUrlTrees":null,"Platforms":[{"name":"elasticsearch","title":"Elasticsearch","family":["elasticsearch"],"kind":["api"],"runtime":["elasticsearch"]}]}