{"id":15019658,"url":"https://github.com/espressologiccafe/caliveapicreatorcli","last_synced_at":"2026-05-10T03:42:30.628Z","repository":{"id":214696177,"uuid":"26606881","full_name":"EspressoLogicCafe/CALiveAPICreatorCLI","owner":"EspressoLogicCafe","description":"A complete Node.js command-line interface for Layer7 Live API Creator REST API services","archived":false,"fork":false,"pushed_at":"2020-06-26T13:54:57.000Z","size":32779,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-09-04T11:58:51.455Z","etag":null,"topics":["api-client","command-line-tool","nodejs","nodejs-framework"],"latest_commit_sha":null,"homepage":"http://www.ca.com/us/products/ca-live-api-creator.html","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/EspressoLogicCafe.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"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}},"created_at":"2014-11-13T20:37:39.000Z","updated_at":"2023-10-16T14:32:47.000Z","dependencies_parsed_at":null,"dependency_job_id":"501963cd-0441-41fe-b76e-9c62b486f741","html_url":"https://github.com/EspressoLogicCafe/CALiveAPICreatorCLI","commit_stats":{"total_commits":55,"total_committers":4,"mean_commits":13.75,"dds":0.5454545454545454,"last_synced_commit":"b5b5e87443dc17ca86238ffab336a8eefdc66806"},"previous_names":["espressologiccafe/espressologiccli"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/EspressoLogicCafe/CALiveAPICreatorCLI","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/EspressoLogicCafe%2FCALiveAPICreatorCLI","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/EspressoLogicCafe%2FCALiveAPICreatorCLI/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/EspressoLogicCafe%2FCALiveAPICreatorCLI/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/EspressoLogicCafe%2FCALiveAPICreatorCLI/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/EspressoLogicCafe","download_url":"https://codeload.github.com/EspressoLogicCafe/CALiveAPICreatorCLI/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/EspressoLogicCafe%2FCALiveAPICreatorCLI/sbom","scorecard":{"id":46753,"data":{"date":"2025-08-11","repo":{"name":"github.com/EspressoLogicCafe/CALiveAPICreatorCLI","commit":"b5b5e87443dc17ca86238ffab336a8eefdc66806"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":2.2,"checks":[{"name":"Token-Permissions","score":-1,"reason":"No tokens found","details":null,"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"Dangerous-Workflow","score":-1,"reason":"no workflows found","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Code-Review","score":0,"reason":"Found 0/30 approved changesets -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Maintained","score":0,"reason":"0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"SAST","score":0,"reason":"no SAST tool detected","details":["Warn: no pull requests merged into dev branch"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}},{"name":"Binary-Artifacts","score":7,"reason":"binaries present in source code","details":["Warn: binary detected: liveapicreator-linux:1","Warn: binary detected: liveapicreator-macos:1","Warn: binary detected: liveapicreator-win.exe:1"],"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"Vulnerabilities","score":10,"reason":"0 existing vulnerabilities detected","details":null,"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}},{"name":"License","score":0,"reason":"license file not detected","details":["Warn: project does not have a license file"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'master'"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"Pinned-Dependencies","score":-1,"reason":"no dependencies found","details":null,"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}}]},"last_synced_at":"2025-08-14T22:56:07.796Z","repository_id":214696177,"created_at":"2025-08-14T22:56:07.796Z","updated_at":"2025-08-14T22:56:07.796Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":273983017,"owners_count":25202092,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-09-06T02:00:13.247Z","response_time":2576,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["api-client","command-line-tool","nodejs","nodejs-framework"],"created_at":"2024-09-24T19:53:51.433Z","updated_at":"2026-02-10T21:33:22.343Z","avatar_url":"https://github.com/EspressoLogicCafe.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\n\n# LiveAPICreatorCLI\nA command-line tool to access Layer7 Live API Creator REST API and Logic services.\nRefer to online documentation of creating and using Live API Creator [REST API](https://docops.ca.com/ca-live-api-creator/5-2/en/) \n\n## Installation\n\n```aidl\n    git clone https://github.com/EspressoLogicCafe/liveapicreator-devops.git\n    cd liveapicreator-devops\n    \n    Select one of three directories (platform: windows, linux, and macos) and copy the 'lac' and 'lacadmin' to your\n    path where you intend to run your scripts.\n```\n\n\n## Features\n\n* Log in once per server, stay \"logged in\" for the lifetime of the API key\n* Can call GET, POST, PUT and DELETE\n* Can read/write objects from/to file or stdin (suitable for pipe work!)\n\n## Command Line Service\n```sh\n  Usage: lac [options] [command]\n  \n  \n    Commands:\n  \n      login [options] \u003curl\u003e                   Login to an API Server\n      logout [options] [url]                  Logout from the current server, or a specific server\n      use \u003calias\u003e                             Use the specified server by default\n      status                                  Show the current server, and any defined server aliases\n      get [options] \u003cresource\u003e                Retrieve some data for the given resource/table/view\n      post [options] \u003cresource\u003e               Insert some data\n      put [options] \u003cresource\u003e                Update some data\n      delete [options] \u003cresource\u003e             Delete some data\n      putdata [options] \u003cresource\u003e            Update a single row with an upload to a file to a named attribute (-k \u003ckey\u003e -c \u003cattr\u003e -f foo.jpg)\n      describe [options] \u003cresource\u003e           Describe the specified resource, can be: tables[/tablename], views[/viewname], resources, functions, license, serverinfo\n      schema [options] \u003clist|swagger|export\u003e  Administer API project options for an account.\n  \n    Options:\n  \n      -h, --help     output usage information\n      -V, --version  output the version number\n\n\n```\n\n## Logon to an API Server\n```sh\n$lac login -u demouser -p mypassword http://localhost:8080/rest/default/demo/v1\nLogging in...\nThis server licensed to: Live API Creator\nLogin successful, API key will expire on: 2015-11-18T15:03:37.342Z\n```\n\n\n## See which API server (if any) you are logged into\n```sh\n$lac status\n\nYou are currently logged in to server: https://localhost:8080/rest/default/demo/v1 as user: demo\nDefined aliases:\n┌───────┬───────────────────────────────────────────────────────────┬───────┐\n│ Alias │ Server                                                    │ User  │\n├───────┼───────────────────────────────────────────────────────────┼───────┤\n│sample │ https://localhost:8080/rest/default/sample/v1             │sample │\n├───────┼───────────────────────────────────────────────────────────┼───────┤\n│ demo  │ https://localhost:8080/rest/default/demo/v1               │ demo  │\n└───────┴───────────────────────────────────────────────────────────┴───────┘\n```\n\n\n## DESCRIBE a system resource\nThis can return information about all tables, or one specific table,\nor all views/one specific view, or get information about the server\nor the server's license. The possible values for the resource are:\n\n* tables\n* tables/\u0026lt;table-name\u003e\n* views\n* views/\u0026lt;view-name\u003e\n* license\n* serverinfo\n\n```sh\n$lac describe tables\n\nDB    Table\n----  -------------------\ndemo  customer\ndemo  employee\ndemo  employee_picture\ndemo  LineItem\ndemo  product\ndemo  PurchaseOrder\ndemo  purchaseorder_audit\n```\n\n```sh\n$lac describe tables/product\n\nName            Type     Size      PK\n--------------  -------  --------  --\nproduct_number  BIGINT         19  *\nname            VARCHAR        50\nprice           DECIMAL        19\nicon            BLOB        65535\nfull_image      BLOB     16777215\n```\n\n\n## GET\n```sh\n  Usage: get \u003cresource\u003e [options]\n\n  Options:\n\n    -h, --help                       output usage information\n    -k, --pk \u003cpk\u003e                    Optional: primary key of the object to retrieve\n    -f, --sysfilter \u003csysfilter\u003e      Optional: sysfilter, e.g. \"less(balance:1000) or equal(name:'SomeName')\n    -s, --sysorder \u003csysorder\u003e        Optional: sorting sysorder, e.g. \"(balance asc,name desc_uc)\"\n    -g, --userfilter \u003cnamed filter\u003e  Optional: named filter, e.g. \"namedFilter(columnName:'SomeName')\n    -t, --userorder \u003cnamed order\u003e    Optional: named sorts, e.g. \"namedSort([columnName])\"\n    -z, --pagesize \u003cpagesize\u003e        Optional: up to how many rows to return per level\n    -m, --format \u003cformat\u003e            Optional: format of output, either text (default), json or compactjson    --truncate \u003clength\u003e\n    -a, --serverAlias \u003cserverAlias\u003e  Optional: alias of the server to use if other than the current default server\n```\n\n\n## Get a single REST endpoint (compressed format)\n```sh\n$lac get demo:employee\n\ndemo:employee/1 employee_id:1 login:sam name:Sam Yosemite\ndemo:employee/2 employee_id:2 login:mlittlelamb name:Mary Little-Lamb\ndemo:employee/3 employee_id:3 login:sconnor name:Sarah Connor\ndemo:employee/4 employee_id:4 login:jkim name:John Kim\ndemo:employee/5 employee_id:5 login:bmcmanus name:Becky McManus\netc...\n```\n\n## GET a single REST endpoint (JSON format)\n```sh\n$lac get employee/4 -m json\n[\n  {\n    \"@metadata\": {\n      \"href\": \"http://localhost:8080/rest/default/demo/v1/demo:employee/4\",\n      \"checksum\": \"A:3ed29188014675ec\",\n      \"links\": [\n        {\n          \"href\": \"http://llocalhost:8080/rest/default/demo/v1/demo:employee_picture?filter=employee_id%20%3D%204\",\n          \"rel\": \"children\",\n          \"role\": \"employee_pictureList\",\n          \"type\": \"http://localhost:8080/rest/default/demo/demo:employee_picture\"\n        },\n        {\n          \"href\": \"http://localhost:8080/rest/default/demo/v1/demo:PurchaseOrder?filter=salesrep_id%20%3D%204\",\n          \"rel\": \"children\",\n          \"role\": \"PurchaseOrderList\",\n          \"type\": \"http://llocalhost:8080/rest/default/demo/demo:PurchaseOrder\"\n        }\n      ]\n    },\n    \"employee_id\": 4,\n    \"login\": \"jkim\",\n    \"name\": \"John Kim\"\n  }\n]\n\n$lac get demo:customer --userfilter \"myFilter(custname:'Alpha and Sons')\" --userorder \"sortByName\"\n```\n\n## POST (insert) a JSON payload\n\n```sh\n$lac post --help\n\n  Usage: post \u003cresource\u003e [options]\n\n  Options:\n\n    -h, --help                       output usage information\n    -j, --json \u003cjson\u003e                JSON for the data being inserted\n    -f, --jsonfile \u003cjsonfile\u003e        Name of a file containing JSON to be inserted, or stdin to read from stdin\n    -m, --format \u003cformat\u003e            Optional: format of output, either text (default), json or compactjson\n    -a, --serverAlias \u003cserverAlias\u003e  Optional: alias of the server to use if other than the current default server\n\n$lac post customer -j '{ \"name\": \"new posted record\",\"balance\": 0,\"credit_limit\": 9000 }'\n\nPOST for customer:\nI demo:customer/new%20posted%20record name:new posted record balance:0 credit_limit:9000\nRequest took: 61ms - # objects touched: 1\n```\n\n## PUT (update) a JSON Payload\n\n```sh\n$lac put --help\n\n  Usage: put \u003cresource\u003e [options]\n\n  Options:\n\n    -h, --help                       output usage information\n    -j, --json \u003cjson\u003e                JSON string for the data being updated\n    -f, --jsonfile \u003cjsonfile\u003e        Name of a file containing JSON to be updated, or stdin to read from stdin\n    -m, --format \u003cformat\u003e            Optional: format of output, either text (default), json or compactjson\n    -a, --serverAlias \u003cserverAlias\u003e  Optional: alias of the server to use if other than the current default server\n\n$ liveapicreator put customer -j '{ \"@metadata\": {\"checksum\": \"A:693190f461f5402e\"  }, \"name\": \"new posted record\", \"credit_limit\": 8000  }'\n\nPUT for customer:\nU demo:customer/new%20posted%20record name:new posted record balance:0 credit_limit:8000\nRequest took: 42ms - # objects touched: 1\n```\nnote: you can replace the checksum value with \"override\" - but this overrides optimistic locking so use it wisely.\n\n## DELETE a REST resource\nRequired fields are the primary key (--pk \u003cpkey\u003e) and checksum (--checksum \u003cvalue\u003e)\n\n```sh\n$lac delete --help\n\n  Usage: delete \u003cresource\u003e [options]\n\n  Options:\n\n    -h, --help                       output usage information\n    -k, --pk \u003cpk\u003e                    Primary key of the object to delete\n    --checksum \u003cchecksum\u003e            Optional: checksum for the object to delete, or \"override\". If not specified, the object will be retrieved then deleted.\n    -f, --jsonfile \u003cjsonfile\u003e        Optional: name of a file containing JSON to be deleted, or stdin to read from stdin\n    -m, --format \u003cformat\u003e            Optional: format of output, either text (default), json or compactjson\n    -a, --serverAlias \u003cserverAlias\u003e  Optional: alias of the server to use if other than the current default server\n\nliveapicreator delete customer -k \"new posted record\" --checksum \"A:e86aea2e0a4e74bf\"\n```\n## Logout\n\n```sh\n$lac logout\nLogout successful\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fespressologiccafe%2Fcaliveapicreatorcli","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fespressologiccafe%2Fcaliveapicreatorcli","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fespressologiccafe%2Fcaliveapicreatorcli/lists"}