{"id":43724642,"url":"https://github.com/felipebz/zpa-cli","last_synced_at":"2026-02-05T08:36:38.243Z","repository":{"id":47742708,"uuid":"172584038","full_name":"felipebz/zpa-cli","owner":"felipebz","description":"Command-line interface for ZPA.","archived":false,"fork":false,"pushed_at":"2026-02-02T15:55:49.000Z","size":650,"stargazers_count":27,"open_issues_count":1,"forks_count":10,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-02-02T18:11:12.574Z","etag":null,"topics":["plsql","plsql-analyzer","sql-analyzer","static-code-analysis"],"latest_commit_sha":null,"homepage":"https://zpa.felipebz.com","language":"Kotlin","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"lgpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/felipebz.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null},"funding":{"github":"felipebz"}},"created_at":"2019-02-25T21:00:42.000Z","updated_at":"2026-02-02T15:46:01.000Z","dependencies_parsed_at":"2025-12-30T23:01:58.860Z","dependency_job_id":null,"html_url":"https://github.com/felipebz/zpa-cli","commit_stats":null,"previous_names":[],"tags_count":10,"template":false,"template_full_name":null,"purl":"pkg:github/felipebz/zpa-cli","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/felipebz%2Fzpa-cli","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/felipebz%2Fzpa-cli/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/felipebz%2Fzpa-cli/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/felipebz%2Fzpa-cli/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/felipebz","download_url":"https://codeload.github.com/felipebz/zpa-cli/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/felipebz%2Fzpa-cli/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29117274,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-05T05:31:32.482Z","status":"ssl_error","status_checked_at":"2026-02-05T05:31:29.075Z","response_time":65,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["plsql","plsql-analyzer","sql-analyzer","static-code-analysis"],"created_at":"2026-02-05T08:36:37.543Z","updated_at":"2026-02-05T08:36:38.238Z","avatar_url":"https://github.com/felipebz.png","language":"Kotlin","readme":"# ZPA CLI\n\n[![Build](https://github.com/felipebz/zpa-cli/actions/workflows/build.yml/badge.svg?branch=main)](https://github.com/felipebz/zpa-cli/actions/workflows/build.yml)\n\nThis is a command-line interface to the [Z PL/SQL Analyzer](https://github.com/felipebz/zpa). It is a code analyzer for Oracle PL/SQL and Oracle Forms projects.\n\n## Downloading\n\nOfficial releases are available for download on the [\"Releases\" page](https://github.com/felipebz/zpa-cli/releases).\n\n## Requirements\n\n* Java 17 or newer\n\n## Usage\n\nCurrently, the zpa-cli supports these options:\n\n* `--sources`: **[required]** Path to the folder containing the files to be analyzed.\n* `--forms-metadata`: Path to the Oracle Forms [metadata file](https://github.com/felipebz/zpa/wiki/Oracle-Forms-support).\n* `--extensions`: File extensions to analyze, separated by comma. The default value is `sql,pkg,pks,pkb,fun,pcd,tgg,prc,tpb,trg,typ,tab,tps`.\n* `--output-format`: Format of the output. The default value is `console`.  \n* `--output-file`: Path to the output file.\n* `--config`: Path to the configuration file. The file format must comply with the [provided JSON schema](schema.json).\n  You can refer to the example [zpa-config-example.json](zpa-config-example.json) for guidance. If the configuration\n  file is not provided, only the rules marked as \"activated by default\" will be executed.\n\nOutput formats:\n* `console`: writes the analysis result on the standard output\n* `sq-generic-issue-import`: generates a XML file using the [\"Generic Issue Data\" format](https://docs.sonarqube.org/latest/analysis/generic-issue/) that can be used in SonarCloud or in a SonarQube server (as an alternative to the dedicated [Z PL/SQL Analyzer Plugin](https://github.com/felipebz/zpa)).\n\n### Example\n\nRunning an analysis:\n\n`./zpa-cli/bin/zpa-cli --sources . --output-file zpa-issues.json --output-format sq-generic-issue-import`\n\nThen you can send the results to a SonarCloud or SonarQube server setting the `sonar.externalIssuesReportPaths` property:\n\n```\nsonar-scanner \n  -Dsonar.organization=$SONARCLOUD_ORGANIZATION \\\n  -Dsonar.projectKey=myproject \\\n  -Dsonar.sources=. \\\n  -Dsonar.host.url=https://sonarcloud.io \\\n  -Dsonar.externalIssuesReportPaths=zpa-issues.json\n```\n\nCheck the [demo project on SonarCloud](https://sonarcloud.io/project/issues?id=utPLSQL-zpa-demo\u0026resolved=false)!\n\n## Contributing\n\nPlease read our [contributing guidelines](CONTRIBUTING.md) to see how you can contribute to this project.\n","funding_links":["https://github.com/sponsors/felipebz"],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffelipebz%2Fzpa-cli","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffelipebz%2Fzpa-cli","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffelipebz%2Fzpa-cli/lists"}