{"id":7742933,"name":"stackql/stackql-assert","ecosystem":"actions","description":"Run StackQL query to test and audit your infrastructure.","homepage":null,"licenses":"mit","normalized_licenses":["MIT"],"repository_url":"https://github.com/stackql/stackql-assert","keywords_array":[],"namespace":"stackql","versions_count":9,"first_release_published_at":"2023-02-19T13:32:28.000Z","latest_release_published_at":"2024-10-29T00:00:23.000Z","latest_release_number":"v2.2.3","last_synced_at":"2026-03-22T16:06:56.034Z","created_at":"2023-05-17T08:43:16.946Z","updated_at":"2026-03-22T16:06:56.034Z","registry_url":"https://github.com/stackql/stackql-assert","install_command":null,"documentation_url":null,"metadata":{"name":"stackql-assert","description":"Run StackQL query to test and audit your infrastructure.","author":"Yuncheng Yang, StackQL Studios","inputs":{"test_query":{"description":"StackQL query to execute (supply either test_query or test_query_file_path)","required":false},"test_query_file_path":{"description":"StackQL query file to execute (supply either test_query or test_query_file_path)","required":false},"data_file_path":{"description":"Path to data file to pass to the StackQL query preprocessor (JSON or Jsonnet file)","required":false},"vars":{"description":"Comma delimited list of variables to pass to the StackQL query preprocessor (supported with Jsonnet config blocks or Jsonnet data files only)","required":false},"expected_rows":{"description":"Expected number of rows from executing test query","required":false},"expected_results_str":{"description":"Expected result (as a JSON string) from executing test query, overrides expected_results_file_path","required":false},"expected_results_file_path":{"description":"JSON file with the expected result","required":false},"auth_obj_path":{"description":"Path of JSON file that stores StackQL AUTH string (only required when using non-standard environment variable names)","required":false},"auth_str":{"description":"StackQL AUTH string (only required when using non-standard environment variable names)","required":false}},"runs":{"using":"composite","steps":[{"name":"Setup StackQL","uses":"stackql/setup-stackql@v2.2.3","with":{"use_wrapper":true}},{"name":"Execute StackQL Command","id":"exec-query","uses":"stackql/stackql-exec@v2.2.3","with":{"query":"${{ inputs.test_query }}","query_file_path":"${{ inputs.test_query_file_path }}","data_file_path":"${{ inputs.data_file_path }}","vars":"${{ inputs.vars }}","auth_obj_path":"${{ inputs.auth_obj_path }}","auth_str":"${{ inputs.auth_str }}","dry_run":false}},{"name":"Check Results","uses":"actions/github-script@v7.0.1","with":{"script":"const path = require('path');\nconst assertPath = path.join(process.env.GITHUB_ACTION_PATH, 'lib', 'assert.js')\nconst {assertResult} = require(assertPath)\nassertResult(core)\n"},"env":{"RESULT":"${{ steps.exec-query.outputs.stackql-query-results }}","EXPECTED_RESULTS_STR":"${{ inputs.expected_results_str }}","EXPECTED_RESULTS_FILE_PATH":"${{ inputs.expected_results_file_path }}","EXPECTED_ROWS":"${{ inputs.expected_rows }}"}}]},"branding":{"icon":"terminal","color":"blue"},"default_branch":"main","path":null},"repo_metadata":{"id":94314560,"uuid":"598581015","full_name":"stackql/stackql-assert","owner":"stackql","description":"Runs a unit test with a command, comparing the expected output with the actual output.","archived":false,"fork":false,"pushed_at":"2024-10-28T21:32:13.000Z","size":152,"stargazers_count":6,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"main","last_synced_at":"2024-10-28T22:28:00.821Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/stackql.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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":"2023-02-07T12:05:42.000Z","updated_at":"2024-10-28T21:32:17.000Z","dependencies_parsed_at":null,"dependency_job_id":"11d1cd39-5ea9-49ad-8195-246250c8a7fa","html_url":"https://github.com/stackql/stackql-assert","commit_stats":null,"previous_names":[],"tags_count":9,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stackql%2Fstackql-assert","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stackql%2Fstackql-assert/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stackql%2Fstackql-assert/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stackql%2Fstackql-assert/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/stackql","download_url":"https://codeload.github.com/stackql/stackql-assert/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":225674897,"owners_count":17506272,"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","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"},"owner_record":{"login":"stackql","name":"StackQL Studios","uuid":"95105302","kind":"organization","description":"Cloud infrastructure, platform and software asset management and deployment automation software solutions.","email":"info@stackql.io","website":"https://stackql.io/","location":"Australia","twitter":"stackql","company":null,"icon_url":"https://avatars.githubusercontent.com/u/95105302?v=4","repositories_count":57,"last_synced_at":"2024-05-01T09:35:07.382Z","metadata":{"has_sponsors_listing":true},"html_url":"https://github.com/stackql","funding_links":["https://github.com/sponsors/stackql"],"total_stars":738,"followers":40,"following":0,"created_at":"2022-11-14T07:28:08.744Z","updated_at":"2024-05-01T09:35:33.868Z","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/stackql","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/stackql/repositories"},"tags":[{"name":"v2.2.3","sha":"72d1189c96b1c63553ca38ab0c554101fb7c96d4","kind":"commit","published_at":"2024-10-29T00:00:23.000Z","download_url":"https://codeload.github.com/stackql/stackql-assert/tar.gz/v2.2.3","html_url":"https://github.com/stackql/stackql-assert/releases/tag/v2.2.3","dependencies_parsed_at":"2024-10-30T04:36:38.503Z","dependency_job_id":null,"tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stackql%2Fstackql-assert/tags/v2.2.3","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stackql%2Fstackql-assert/tags/v2.2.3/manifests"},{"name":"v2.2.2","sha":"df54929819a6e8434cab94e9afa283dc5ea084d3","kind":"commit","published_at":"2024-10-28T21:30:21.000Z","download_url":"https://codeload.github.com/stackql/stackql-assert/tar.gz/v2.2.2","html_url":"https://github.com/stackql/stackql-assert/releases/tag/v2.2.2","dependencies_parsed_at":"2024-10-30T04:36:38.172Z","dependency_job_id":null,"tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stackql%2Fstackql-assert/tags/v2.2.2","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stackql%2Fstackql-assert/tags/v2.2.2/manifests"},{"name":"v2.2.1","sha":"817a6dbd1c073be8968f2ac93790bc8919d6894a","kind":"tag","published_at":"2024-04-28T22:38:43.000Z","download_url":"https://codeload.github.com/stackql/stackql-assert/tar.gz/v2.2.1","html_url":"https://github.com/stackql/stackql-assert/releases/tag/v2.2.1","dependencies_parsed_at":"2024-04-30T04:13:45.344Z","dependency_job_id":null,"tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stackql%2Fstackql-assert/tags/v2.2.1","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stackql%2Fstackql-assert/tags/v2.2.1/manifests"},{"name":"v1.3.2","sha":"457ac316225c23320b6fbf892fd586dd752aa1fa","kind":"commit","published_at":"2023-09-04T23:57:29.000Z","download_url":"https://codeload.github.com/stackql/stackql-assert/tar.gz/v1.3.2","html_url":"https://github.com/stackql/stackql-assert/releases/tag/v1.3.2","dependencies_parsed_at":"2023-09-07T05:09:55.503Z","dependency_job_id":null,"tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stackql%2Fstackql-assert/tags/v1.3.2","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stackql%2Fstackql-assert/tags/v1.3.2/manifests"},{"name":"v1.3.1","sha":"7fd727f70a974f087d222108b399615ab4708ecf","kind":"commit","published_at":"2023-09-04T03:40:32.000Z","download_url":"https://codeload.github.com/stackql/stackql-assert/tar.gz/v1.3.1","html_url":"https://github.com/stackql/stackql-assert/releases/tag/v1.3.1","dependencies_parsed_at":"2023-09-06T04:51:27.190Z","dependency_job_id":null,"tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stackql%2Fstackql-assert/tags/v1.3.1","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stackql%2Fstackql-assert/tags/v1.3.1/manifests"},{"name":"v1.3.0","sha":"5c4f30c4644d8fa6534766c688ae654f2398d251","kind":"commit","published_at":"2023-09-04T03:35:06.000Z","download_url":"https://codeload.github.com/stackql/stackql-assert/tar.gz/v1.3.0","html_url":"https://github.com/stackql/stackql-assert/releases/tag/v1.3.0","dependencies_parsed_at":"2023-09-06T04:51:46.461Z","dependency_job_id":null,"tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stackql%2Fstackql-assert/tags/v1.3.0","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stackql%2Fstackql-assert/tags/v1.3.0/manifests"},{"name":"v1.0.2","sha":"04a84c9444dcb679c6957a59e126e8972253aec3","kind":"commit","published_at":"2023-03-01T11:57:05.000Z","download_url":"https://codeload.github.com/stackql/stackql-assert/tar.gz/v1.0.2","html_url":"https://github.com/stackql/stackql-assert/releases/tag/v1.0.2","dependencies_parsed_at":"2023-06-02T00:56:24.869Z","dependency_job_id":null,"tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stackql%2Fstackql-assert/tags/v1.0.2","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stackql%2Fstackql-assert/tags/v1.0.2/manifests"},{"name":"v1.0.1","sha":"ee425f623536f398a14fbb9210cfc99510a8ed66","kind":"commit","published_at":"2023-02-26T10:14:13.000Z","download_url":"https://codeload.github.com/stackql/stackql-assert/tar.gz/v1.0.1","html_url":"https://github.com/stackql/stackql-assert/releases/tag/v1.0.1","dependencies_parsed_at":"2023-06-02T00:56:24.932Z","dependency_job_id":null,"tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stackql%2Fstackql-assert/tags/v1.0.1","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stackql%2Fstackql-assert/tags/v1.0.1/manifests"},{"name":"v1.0.0","sha":"b8e2324e018b105ae55a6f6564d73818844c1ca1","kind":"commit","published_at":"2023-02-19T13:32:28.000Z","download_url":"https://codeload.github.com/stackql/stackql-assert/tar.gz/v1.0.0","html_url":"https://github.com/stackql/stackql-assert/releases/tag/v1.0.0","dependencies_parsed_at":"2023-06-02T00:56:24.842Z","dependency_job_id":null,"tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stackql%2Fstackql-assert/tags/v1.0.0","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stackql%2Fstackql-assert/tags/v1.0.0/manifests"}]},"repo_metadata_updated_at":"2024-11-21T05:28:51.261Z","dependent_packages_count":0,"downloads":null,"downloads_period":null,"dependent_repos_count":1,"rankings":{"downloads":null,"dependent_repos_count":24.753604816986215,"dependent_packages_count":0.0,"stargazers_count":15.598161939470764,"forks_count":35.11012517826018,"docker_downloads_count":null,"average":18.86547298367929},"purl":"pkg:githubactions/stackql/stackql-assert","advisories":[],"docker_usage_url":"https://docker.ecosyste.ms/usage/actions/stackql/stackql-assert","docker_dependents_count":null,"docker_downloads_count":null,"usage_url":"https://repos.ecosyste.ms/usage/actions/stackql/stackql-assert","dependent_repositories_url":"https://repos.ecosyste.ms/api/v1/usage/actions/stackql/stackql-assert/dependencies","status":null,"funding_links":["https://github.com/sponsors/stackql"],"critical":null,"issue_metadata":{"last_synced_at":"2024-11-21T05:23:31.112Z","issues_count":12,"pull_requests_count":26,"avg_time_to_close_issue":5469706.916666667,"avg_time_to_close_pull_request":646599.1923076923,"issues_closed_count":12,"pull_requests_closed_count":26,"pull_request_authors_count":2,"issue_authors_count":2,"avg_comments_per_issue":0.5833333333333334,"avg_comments_per_pull_request":0.07692307692307693,"merged_pull_requests_count":23,"bot_issues_count":0,"bot_pull_requests_count":0,"past_year_issues_count":0,"past_year_pull_requests_count":5,"past_year_avg_time_to_close_issue":null,"past_year_avg_time_to_close_pull_request":3180097.6,"past_year_issues_closed_count":0,"past_year_pull_requests_closed_count":5,"past_year_pull_request_authors_count":1,"past_year_issue_authors_count":0,"past_year_avg_comments_per_issue":null,"past_year_avg_comments_per_pull_request":0.0,"past_year_bot_issues_count":0,"past_year_bot_pull_requests_count":0,"past_year_merged_pull_requests_count":5,"issues_url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/repositories/stackql%2Fstackql-assert/issues","maintainers":[{"login":"yunchengyang515","count":27,"url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/authors/yunchengyang515"},{"login":"jeffreyaven","count":11,"url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/authors/jeffreyaven"}],"active_maintainers":[{"login":"jeffreyaven","count":5,"url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/authors/jeffreyaven"}]},"versions_url":"https://packages.ecosyste.ms/api/v1/registries/github%20actions/packages/stackql%2Fstackql-assert/versions","version_numbers_url":"https://packages.ecosyste.ms/api/v1/registries/github%20actions/packages/stackql%2Fstackql-assert/version_numbers","dependent_packages_url":"https://packages.ecosyste.ms/api/v1/registries/github%20actions/packages/stackql%2Fstackql-assert/dependent_packages","related_packages_url":"https://packages.ecosyste.ms/api/v1/registries/github%20actions/packages/stackql%2Fstackql-assert/related_packages","codemeta_url":"https://packages.ecosyste.ms/api/v1/registries/github%20actions/packages/stackql%2Fstackql-assert/codemeta","maintainers":[]}