Output Format

Example Output

{
  "result_type": "scan",
  "plugin_id": "jenkins-rest-plugin",
  "plugin_version": "1.2.0",
  "data": {
    "type": "secret",
    "timestamp": "2026-07-15T15:10:07-04:00",
    "urn": "urn:secret:name:jenkins:a3dcb54241ac7a18/system/_/bitbucket-http-access-token:1",
    "url": "http://10.1.127.33:8080/credentials/store/system/domain/_/credential/bitbucket-http-access-token/config.xml",
    "extra": {
      "credential_id": "bitbucket-http-access-token",
      "credential_type": "UsernamePasswordCredentialsImpl",
      "display_name": "bitbucket-http-access-token",
      "domain": "_",
      "jenkins_url": "http://10.1.127.33:8080",
      "platform_type": "jenkins",
      "scope": "GLOBAL",
      "store": "system",
      "type_name": "Username with password",
      "username": "rzhang"
    }
  }
}
{
  "result_type": "scan",
  "plugin_id": "jenkins-rest-plugin",
  "plugin_version": "1.2.0",
  "data": {
    "type": "privkey",
    "timestamp": "2026-07-15T15:10:07-04:00",
    "urn": "urn:privkey:name:jenkins:a3dcb54241ac7a18/system/_/bitbucket-ssh-key:1",
    "url": "http://10.1.127.33:8080/credentials/store/system/domain/_/credential/bitbucket-ssh-key/config.xml",
    "extra": {
      "credential_id": "bitbucket-ssh-key",
      "credential_type": "BasicSSHUserPrivateKey",
      "display_name": "rzhang",
      "domain": "_",
      "jenkins_url": "http://10.1.127.33:8080",
      "platform_type": "jenkins",
      "scope": "GLOBAL",
      "store": "system",
      "type_name": "SSH Username with private key",
      "username": "rzhang"
    }
  }
}
{
  "result_type": "scan",
  "plugin_id": "jenkins-rest-plugin",
  "plugin_version": "1.2.0",
  "data": {
    "type": "secret",
    "timestamp": "2026-07-15T15:10:07-04:00",
    "urn": "urn:secret:name:jenkins:a3dcb54241ac7a18/system/_/rzhang-kubeconfig-config:1",
    "url": "http://10.1.127.33:8080/credentials/store/system/domain/_/credential/rzhang-kubeconfig-config/config.xml",
    "extra": {
      "credential_id": "rzhang-kubeconfig-config",
      "credential_type": "FileCredentialsImpl",
      "display_name": "kubeconfig.yaml",
      "domain": "_",
      "jenkins_url": "http://10.1.127.33:8080",
      "platform_type": "jenkins",
      "scope": "GLOBAL",
      "store": "system",
      "type_name": "Secret file"
    }
  }
}
{
  "result_type": "scan",
  "plugin_id": "jenkins-rest-plugin",
  "plugin_version": "1.2.0",
  "data": {
    "type": "secret",
    "timestamp": "2026-07-15T15:10:07-04:00",
    "urn": "urn:secret:name:jenkins:a3dcb54241ac7a18/system/_/rzhang-secret-token:1",
    "url": "http://10.1.127.33:8080/credentials/store/system/domain/_/credential/rzhang-secret-token/config.xml",
    "extra": {
      "credential_id": "rzhang-secret-token",
      "credential_type": "StringCredentialsImpl",
      "display_name": "rzhang-secret-token",
      "domain": "_",
      "jenkins_url": "http://10.1.127.33:8080",
      "platform_type": "jenkins",
      "scope": "GLOBAL",
      "store": "system",
      "type_name": "Secret text"
    }
  }
}
{
  "result_type": "scan",
  "plugin_id": "jenkins-rest-plugin",
  "plugin_version": "1.2.0",
  "data": {
    "type": "key",
    "timestamp": "2026-07-15T15:10:07-04:00",
    "urn": "urn:key:name:jenkins:a3dcb54241ac7a18/system/_/rzhang-p12-example:1",
    "url": "http://10.1.127.33:8080/credentials/store/system/domain/_/credential/rzhang-p12-example/config.xml",
    "extra": {
      "credential_id": "rzhang-p12-example",
      "credential_type": "CertificateCredentialsImpl",
      "display_name": "CN=apiclient",
      "domain": "_",
      "jenkins_url": "http://10.1.127.33:8080",
      "platform_type": "jenkins",
      "scope": "GLOBAL",
      "store": "system",
      "type_name": "Certificate"
    }
  }
}
{
  "result_type": "scan",
  "plugin_id": "jenkins-rest-plugin",
  "plugin_version": "1.2.0",
  "data": {
    "type": "secret",
    "timestamp": "2026-07-15T15:10:07-04:00",
    "urn": "urn:secret:name:jenkins:a3dcb54241ac7a18/system/_/1password-service-account:1",
    "url": "http://10.1.127.33:8080/credentials/store/system/domain/_/credential/1password-service-account/config.xml",
    "extra": {
      "credential_id": "1password-service-account",
      "credential_type": "StringCredentialsImpl",
      "display_name": "1password-service-account",
      "domain": "_",
      "jenkins_url": "http://10.1.127.33:8080",
      "platform_type": "jenkins",
      "scope": "GLOBAL",
      "store": "system",
      "type_name": "Secret text"
    }
  }
}
{
  "result_type": "scan",
  "plugin_id": "jenkins-rest-plugin",
  "plugin_version": "1.2.0",
  "data": {
    "type": "secret",
    "timestamp": "2026-07-15T15:10:07-04:00",
    "urn": "urn:secret:name:jenkins:a3dcb54241ac7a18/system/pmsplbbitbucket01.corporate.datacard.com/rzhang-domain-username-password:1",
    "url": "http://10.1.127.33:8080/credentials/store/system/domain/pmsplbbitbucket01.corporate.datacard.com/credential/rzhang-domain-username-password/config.xml",
    "extra": {
      "credential_id": "rzhang-domain-username-password",
      "credential_type": "UsernamePasswordCredentialsImpl",
      "display_name": "rzhang/******",
      "domain": "pmsplbbitbucket01.corporate.datacard.com",
      "jenkins_url": "http://10.1.127.33:8080",
      "platform_type": "jenkins",
      "scope": "GLOBAL",
      "store": "system",
      "type_name": "Username with password",
      "username": "rzhang"
    }
  }
}
{
  "result_type": "scan",
  "plugin_id": "jenkins-rest-plugin",
  "plugin_version": "1.2.0",
  "data": {
    "type": "secret",
    "timestamp": "2026-07-15T15:10:07-04:00",
    "urn": "urn:secret:name:jenkins:a3dcb54241ac7a18/folder_for_test_folder_credentials/folder/_/folder-username-pwd:1",
    "url": "http://10.1.127.33:8080/job/folder_for_test_folder_credentials/credentials/store/folder/domain/_/credential/folder-username-pwd/config.xml",
    "extra": {
      "credential_id": "folder-username-pwd",
      "credential_type": "UsernamePasswordCredentialsImpl",
      "display_name": "folder-rzhang/******",
      "domain": "_",
      "folder": "folder_for_test_folder_credentials",
      "jenkins_url": "http://10.1.127.33:8080",
      "platform_type": "jenkins",
      "scope": "GLOBAL",
      "store": "folder",
      "type_name": "Username with password",
      "username": "folder-rzhang"
    }
  }
}
{
  "result_type": "scan",
  "plugin_id": "jenkins-rest-plugin",
  "plugin_version": "1.2.0",
  "data": {
    "type": "secret",
    "timestamp": "2026-07-15T15:10:07-04:00",
    "urn": "urn:secret:name:jenkins:a3dcb54241ac7a18/folder_for_test_folder_credentials/sub_folder_for_test_folder_credentials/folder/_/sub-folder-username-pwd:1",
    "url": "http://10.1.127.33:8080/job/folder_for_test_folder_credentials/job/sub_folder_for_test_folder_credentials/credentials/store/folder/domain/_/credential/sub-folder-username-pwd/config.xml",
    "extra": {
      "credential_id": "sub-folder-username-pwd",
      "credential_type": "UsernamePasswordCredentialsImpl",
      "display_name": "sub-rzhang/******",
      "domain": "_",
      "folder": "folder_for_test_folder_credentials/sub_folder_for_test_folder_credentials",
      "jenkins_url": "http://10.1.127.33:8080",
      "platform_type": "jenkins",
      "scope": "GLOBAL",
      "store": "folder",
      "type_name": "Username with password",
      "username": "sub-rzhang"
    }
  }
}
{
  "result_type": "scan",
  "plugin_id": "jenkins-rest-plugin",
  "plugin_version": "1.2.0",
  "data": {
    "type": "key",
    "timestamp": "2026-07-22T10:57:57-04:00",
    "urn": "urn:key:name:jenkins:a3dcb54241ac7a18/system/_/pem-with-privatekey-no-pwd:1",
    "url": "http://10.1.127.33:8080/credentials/store/system/domain/_/credential/pem-with-privatekey-no-pwd/config.xml",
    "extra": {
      "credential_id": "pem-with-privatekey-no-pwd",
      "credential_type": "CertificateCredentialsImpl",
      "description": "Certificate with Private Key no password",
      "display_name": "CN=apiclient (Certificate with Private Key no password)",
      "domain": "_",
      "full_name": "system/_/pem-with-privatekey-no-pwd",
      "jenkins_url": "http://10.1.127.33:8080",
      "platform_type": "jenkins",
      "scope": "GLOBAL",
      "store": "system",
      "type_name": "Certificate"
    }
  }
}
{
  "result_type": "scan",
  "plugin_id": "jenkins-rest-plugin",
  "plugin_version": "1.2.0",
  "data": {
    "type": "key",
    "timestamp": "2026-07-22T10:57:57-04:00",
    "urn": "urn:key:name:jenkins:a3dcb54241ac7a18/system/_/pem-with-privatekey-with-pwd:1",
    "url": "http://10.1.127.33:8080/credentials/store/system/domain/_/credential/pem-with-privatekey-with-pwd/config.xml",
    "extra": {
      "credential_id": "pem-with-privatekey-with-pwd",
      "credential_type": "CertificateCredentialsImpl",
      "description": "Certificate with Private Key with password",
      "display_name": "CN=apiclient (Certificate with Private Key with password)",
      "domain": "_",
      "full_name": "system/_/pem-with-privatekey-with-pwd",
      "jenkins_url": "http://10.1.127.33:8080",
      "platform_type": "jenkins",
      "scope": "GLOBAL",
      "store": "system",
      "type_name": "Certificate"
    }
  }
}
{
  "result_type": "state",
  "plugin_id": "jenkins-rest-plugin",
  "plugin_version": "1.2.0",
  "data": {
    "lastScanDate": "2026-07-15T15:10:07-04:00"
  }
}