Output Format

Example Output

{
  "result_type": "scan",
  "plugin_id": "nutanix-pc-plugin",
  "plugin_version": "1.0.0",
  "data": {
    "type": "cert",
    "timestamp": "2026-08-10T18:06:56+05:30",
    "urn": "urn:cert:sha256:aee8f6bf9cb9e12fdabb0aa17a13e6edcf634018e25dd0bfb3956eae96449455",
    "url": "https://pc.example.com:9440",
    "extra": {
      "api_source": "tls-handshake",
      "cert_index": 0,
      "cert_type": "tls-server-certificate",
      "cluster_name": "PrismCentral",
      "cluster_uuid": "0806a141-8916-471b-99fd-b5119ff280ef",
      "name": "prism.nutanix.local",
      "origin": "nutanix-pc",
      "platform_type": "nutanix"
    },
    "cert_pem": "MIID9DCC..."
  }
}
{
  "result_type": "scan",
  "plugin_id": "nutanix-pc-plugin",
  "plugin_version": "1.0.0",
  "data": {
    "type": "cert",
    "timestamp": "2026-08-10T18:06:58+05:30",
    "urn": "urn:cert:sha256:ba969a18b65b61c83051f7da0c0857699bf75dd9eb685337432bb6aea7eb8fae",
    "url": "https://pc.example.com:9440/api/clustermgmt/v4.3/config/clusters/000645cc-2b3a-3b1c-06a8-7cc255ec3615/ssl-certificate",
    "extra": {
      "api_source": "v4",
      "api_version": "v4.3",
      "cert_index": 0,
      "cert_type": "ssl-certificate",
      "cluster_name": "ExampleCluster",
      "cluster_uuid": "000645cc-2b3a-3b1c-06a8-7cc255ec3615",
      "has_ca_chain": false,
      "has_private_key": false,
      "name": "prism.nutanix.local",
      "origin": "nutanix-pc",
      "platform_type": "nutanix",
      "private_key_algorithm": "RSA_2048"
    },
    "cert_pem": "MIID9DCC..."
  }
}
{
  "result_type": "scan",
  "plugin_id": "nutanix-pc-plugin",
  "plugin_version": "1.0.0",
  "data": {
    "type": "secret",
    "timestamp": "2026-08-10T18:07:00+05:30",
    "urn": "urn:secret:name:nutanix-kms-example-server-id:",
    "url": "https://pc.example.com:9440/api/security/v4.1/config/key-management-servers/example-server-id",
    "extra": {
      "api_source": "v4",
      "api_version": "v4.1",
      "description": "Key Management Server configuration",
      "has_dek_key": true,
      "id": "example-server-id",
      "kms_provider": "NATIVE",
      "name": "nutanix-kms-example-server-id",
      "origin": "nutanix-pc",
      "platform_type": "nutanix"
    }
  }
}
{
  "result_type": "state",
  "plugin_id": "nutanix-pc-plugin",
  "plugin_version": "1.0.0",
  "data": {
    "lastScanDate": "2026-08-10T12:37:03Z"
  }
}