{"id":42113668,"url":"https://github.com/cloudfoundry/app-autoscaler","last_synced_at":"2026-01-26T14:02:32.650Z","repository":{"id":6282015,"uuid":"55270767","full_name":"cloudfoundry/app-autoscaler","owner":"cloudfoundry","description":"Auto Scaling for CF Applications","archived":false,"fork":false,"pushed_at":"2026-01-22T19:00:10.000Z","size":48443,"stargazers_count":72,"open_issues_count":19,"forks_count":58,"subscribers_count":20,"default_branch":"main","last_synced_at":"2026-01-23T00:23:17.637Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Go","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/cloudfoundry.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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2016-04-02T00:47:11.000Z","updated_at":"2026-01-22T13:50:31.000Z","dependencies_parsed_at":"2022-08-06T19:15:28.252Z","dependency_job_id":null,"html_url":"https://github.com/cloudfoundry/app-autoscaler","commit_stats":null,"previous_names":["cloudfoundry-incubator/app-autoscaler"],"tags_count":7,"template":false,"template_full_name":null,"purl":"pkg:github/cloudfoundry/app-autoscaler","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cloudfoundry%2Fapp-autoscaler","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cloudfoundry%2Fapp-autoscaler/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cloudfoundry%2Fapp-autoscaler/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cloudfoundry%2Fapp-autoscaler/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cloudfoundry","download_url":"https://codeload.github.com/cloudfoundry/app-autoscaler/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cloudfoundry%2Fapp-autoscaler/sbom","scorecard":{"id":292658,"data":{"date":"2025-08-11","repo":{"name":"github.com/cloudfoundry/app-autoscaler","commit":"81a4f0cac637f64af449da2c1574a7fba4c57e45"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":4.5,"checks":[{"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":"Code-Review","score":10,"reason":"all changesets reviewed","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":"Dangerous-Workflow","score":10,"reason":"no dangerous workflow patterns detected","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":"Maintained","score":0,"reason":"project is archived","details":["Warn: Repository is archived."],"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"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":"Token-Permissions","score":0,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Warn: no topLevel permission defined: .github/workflows/generate.yaml:1","Warn: no topLevel permission defined: .github/workflows/golangci-lint.yaml:1","Warn: no topLevel permission defined: .github/workflows/java-ci-lint.yaml:1","Warn: no topLevel permission defined: .github/workflows/mysql.yaml:1","Warn: no topLevel permission defined: .github/workflows/postgres.yaml:1","Info: no jobLevel write permissions found"],"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":"Pinned-Dependencies","score":0,"reason":"dependency not pinned by hash detected -- score normalized to 0","details":["Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/generate.yaml:11: update your workflow using https://app.stepsecurity.io/secureworkflow/cloudfoundry/app-autoscaler/generate.yaml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/generate.yaml:14: update your workflow using https://app.stepsecurity.io/secureworkflow/cloudfoundry/app-autoscaler/generate.yaml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/generate.yaml:22: update your workflow using https://app.stepsecurity.io/secureworkflow/cloudfoundry/app-autoscaler/generate.yaml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/generate.yaml:32: update your workflow using https://app.stepsecurity.io/secureworkflow/cloudfoundry/app-autoscaler/generate.yaml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/generate.yaml:48: update your workflow using https://app.stepsecurity.io/secureworkflow/cloudfoundry/app-autoscaler/generate.yaml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/golangci-lint.yaml:11: update your workflow using https://app.stepsecurity.io/secureworkflow/cloudfoundry/app-autoscaler/golangci-lint.yaml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/golangci-lint.yaml:14: update your workflow using https://app.stepsecurity.io/secureworkflow/cloudfoundry/app-autoscaler/golangci-lint.yaml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/golangci-lint.yaml:22: update your workflow using https://app.stepsecurity.io/secureworkflow/cloudfoundry/app-autoscaler/golangci-lint.yaml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/golangci-lint.yaml:32: update your workflow using https://app.stepsecurity.io/secureworkflow/cloudfoundry/app-autoscaler/golangci-lint.yaml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/golangci-lint.yaml:37: update your workflow using https://app.stepsecurity.io/secureworkflow/cloudfoundry/app-autoscaler/golangci-lint.yaml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/java-ci-lint.yaml:10: update your workflow using https://app.stepsecurity.io/secureworkflow/cloudfoundry/app-autoscaler/java-ci-lint.yaml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/java-ci-lint.yaml:13: update your workflow using https://app.stepsecurity.io/secureworkflow/cloudfoundry/app-autoscaler/java-ci-lint.yaml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/java-ci-lint.yaml:21: update your workflow using https://app.stepsecurity.io/secureworkflow/cloudfoundry/app-autoscaler/java-ci-lint.yaml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/java-ci-lint.yaml:31: update your workflow using https://app.stepsecurity.io/secureworkflow/cloudfoundry/app-autoscaler/java-ci-lint.yaml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/java-ci-lint.yaml:37: update your workflow using https://app.stepsecurity.io/secureworkflow/cloudfoundry/app-autoscaler/java-ci-lint.yaml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/mysql.yaml:34: update your workflow using https://app.stepsecurity.io/secureworkflow/cloudfoundry/app-autoscaler/mysql.yaml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/mysql.yaml:37: update your workflow using https://app.stepsecurity.io/secureworkflow/cloudfoundry/app-autoscaler/mysql.yaml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/mysql.yaml:45: update your workflow using https://app.stepsecurity.io/secureworkflow/cloudfoundry/app-autoscaler/mysql.yaml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/mysql.yaml:55: update your workflow using https://app.stepsecurity.io/secureworkflow/cloudfoundry/app-autoscaler/mysql.yaml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/mysql.yaml:60: update your workflow using https://app.stepsecurity.io/secureworkflow/cloudfoundry/app-autoscaler/mysql.yaml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/postgres.yaml:40: update your workflow using https://app.stepsecurity.io/secureworkflow/cloudfoundry/app-autoscaler/postgres.yaml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/postgres.yaml:43: update your workflow using https://app.stepsecurity.io/secureworkflow/cloudfoundry/app-autoscaler/postgres.yaml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/postgres.yaml:51: update your workflow using https://app.stepsecurity.io/secureworkflow/cloudfoundry/app-autoscaler/postgres.yaml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/postgres.yaml:61: update your workflow using https://app.stepsecurity.io/secureworkflow/cloudfoundry/app-autoscaler/postgres.yaml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/postgres.yaml:66: update your workflow using https://app.stepsecurity.io/secureworkflow/cloudfoundry/app-autoscaler/postgres.yaml/main?enable=pin","Warn: goCommand not pinned by hash: scheduler/scripts/generate_unit_test_certs.sh:16","Warn: goCommand not pinned by hash: scripts/generate_test_certs.sh:16","Info:   0 out of  23 GitHub-owned GitHubAction dependencies pinned","Info:   0 out of   2 third-party GitHubAction dependencies pinned","Info:   0 out of   2 goCommand dependencies pinned"],"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":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"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":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: Apache License 2.0: LICENSE:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"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"}},{"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":"Security-Policy","score":10,"reason":"security policy file detected","details":["Info: security policy file detected: github.com/cloudfoundry/.github/SECURITY.md:1","Info: Found linked content: github.com/cloudfoundry/.github/SECURITY.md:1","Info: Found disclosure, vulnerability, and/or timelines in security policy: github.com/cloudfoundry/.github/SECURITY.md:1","Info: Found text in security policy: github.com/cloudfoundry/.github/SECURITY.md:1"],"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":"Branch-Protection","score":-1,"reason":"internal error: error during branchesHandler.setup: internal error: githubv4.Query: Resource not accessible by integration","details":null,"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":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 30 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}},{"name":"Vulnerabilities","score":0,"reason":"96 existing vulnerabilities detected","details":["Warn: Project is vulnerable to: GHSA-vmq6-5m68-f53m","Warn: Project is vulnerable to: GHSA-668q-qrv7-99fm","Warn: Project is vulnerable to: GHSA-6v67-2wr5-gvf4","Warn: Project is vulnerable to: GHSA-pr98-23f8-jwxv","Warn: Project is vulnerable to: GHSA-4gg5-vx3j-xwc7","Warn: Project is vulnerable to: GHSA-735f-pc8j-v9w8","Warn: Project is vulnerable to: GHSA-77rm-9x9h-xj3g","Warn: Project is vulnerable to: GHSA-g5ww-5jh7-63cx","Warn: Project is vulnerable to: GHSA-h4h5-3hr4-j3g2","Warn: Project is vulnerable to: GHSA-wrvw-hg22-4m67","Warn: Project is vulnerable to: GHSA-g76j-4cxx-23h9","Warn: Project is vulnerable to: GHSA-m6vm-37g8-gqvh","Warn: Project is vulnerable to: GHSA-w6f2-8wx4-47r5","Warn: Project is vulnerable to: GHSA-jvfv-hrrc-6q72","Warn: Project is vulnerable to: GHSA-24rp-q3w6-vc56","Warn: Project is vulnerable to: GHSA-562r-vg33-8x8h","Warn: Project is vulnerable to: GHSA-673j-qm5f-xpv8","Warn: Project is vulnerable to: GHSA-727h-hrw8-jg8q","Warn: Project is vulnerable to: GHSA-r38f-c4h4-hqq2","Warn: Project is vulnerable to: GHSA-v7wg-cpwc-24m4","Warn: Project is vulnerable to: GHSA-3mc7-4q67-w48m","Warn: Project is vulnerable to: GHSA-98wm-3w3q-mw94","Warn: Project is vulnerable to: GHSA-9w3m-gqgf-c4p9","Warn: Project is vulnerable to: GHSA-c4r9-r8fh-9vj2","Warn: Project is vulnerable to: GHSA-hhhw-99gj-p3c3","Warn: Project is vulnerable to: GHSA-mjmj-j48q-9wg2","Warn: Project is vulnerable to: GHSA-w37g-rhq8-7m4j","Warn: Project is vulnerable to: GHSA-h46c-h94j-95f3","Warn: Project is vulnerable to: GHSA-wf8f-6423-gfxg","Warn: Project is vulnerable to: GHSA-3x8x-79m2-3w2w","Warn: Project is vulnerable to: GHSA-57j2-w4cx-62h2","Warn: Project is vulnerable to: GHSA-jjjh-jjxp-wpff","Warn: Project is vulnerable to: GHSA-rgv9-q543-rqg4","Warn: Project is vulnerable to: GHSA-v2xm-76pq-phcf","Warn: Project is vulnerable to: GHSA-7rjr-3q55-vv33","Warn: Project is vulnerable to: GHSA-8489-44mv-ggj8","Warn: Project is vulnerable to: GHSA-jfh8-c2jp-5v3q","Warn: Project is vulnerable to: GHSA-p6xc-xr62-6r2g","Warn: Project is vulnerable to: GHSA-27hp-xhwr-wr2m","Warn: Project is vulnerable to: GHSA-5j33-cvvr-w245","Warn: Project is vulnerable to: GHSA-7w75-32cg-r6g2","Warn: Project is vulnerable to: GHSA-83qj-6fr2-vhqg","Warn: Project is vulnerable to: GHSA-fccv-jmmp-qg76","Warn: Project is vulnerable to: GHSA-g8pj-r55q-5c2v","Warn: Project is vulnerable to: GHSA-h2fw-rfh5-95r3","Warn: Project is vulnerable to: GHSA-h3gc-qfqq-6h8f","Warn: Project is vulnerable to: GHSA-hfrx-6qgj-fp6c","Warn: Project is vulnerable to: GHSA-p22x-g9px-3945","Warn: Project is vulnerable to: GHSA-q3mw-pvr8-9ggc","Warn: Project is vulnerable to: GO-2023-2153 / GHSA-m425-mq94-257g / GHSA-qppj-fm5r-hxr3","Warn: Project is vulnerable to: GHSA-r6j3-px5g-cq3x","Warn: Project is vulnerable to: GHSA-rq2w-37h9-vg94","Warn: Project is vulnerable to: GHSA-wc4r-xq3c-5cf3","Warn: Project is vulnerable to: GHSA-wm9w-rjj3-j356","Warn: Project is vulnerable to: GHSA-v682-8vv8-vpwr","Warn: Project is vulnerable to: GHSA-rc42-6c7j-7h5r","Warn: Project is vulnerable to: GHSA-jjfh-589g-3hjx","Warn: Project is vulnerable to: GHSA-g5h3-w546-pj7f","Warn: Project is vulnerable to: GHSA-xf96-w227-r7c4","Warn: Project is vulnerable to: GHSA-36p3-wjmg-h94x","Warn: Project is vulnerable to: GHSA-hh26-6xwr-ggv7","Warn: Project is vulnerable to: GHSA-4gc7-5j7h-4qph","Warn: Project is vulnerable to: GHSA-4wp7-92pw-q264","Warn: Project is vulnerable to: GHSA-g5mm-vmx4-3rg7","Warn: Project is vulnerable to: GHSA-6gf2-pvqw-37ph","Warn: Project is vulnerable to: GHSA-558x-2xjg-6232","Warn: Project is vulnerable to: GHSA-564r-hj7v-mcr5","Warn: Project is vulnerable to: GHSA-9cmq-m9j5-mvww","Warn: Project is vulnerable to: GHSA-wxqc-pxw9-g2p8","Warn: Project is vulnerable to: GHSA-2rmj-mq67-h97g","Warn: Project is vulnerable to: GHSA-2wrp-6fg6-hmc5","Warn: Project is vulnerable to: GHSA-4wrc-f8pq-fpqp","Warn: Project is vulnerable to: GHSA-ccgv-vj62-xf9h","Warn: Project is vulnerable to: GHSA-hgjh-9rj2-g67j","Warn: Project is vulnerable to: GHSA-cx7f-g6mp-7hqm","Warn: Project is vulnerable to: GHSA-g5vr-rgqm-vf78","Warn: Project is vulnerable to: GHSA-w3c8-7r8f-9jp8","Warn: Project is vulnerable to: GO-2022-0322 / GHSA-cg3q-j54f-5p7p","Warn: Project is vulnerable to: GO-2022-0968 / GHSA-gwc9-m7rh-j2ww","Warn: Project is vulnerable to: GO-2021-0356 / GHSA-8c26-wmh5-6g9v","Warn: Project is vulnerable to: GO-2024-2961","Warn: Project is vulnerable to: GO-2023-2402 / GHSA-45x7-px36-x8w8","Warn: Project is vulnerable to: GO-2024-3321 / GHSA-v778-237x-gjrc","Warn: Project is vulnerable to: GO-2025-3487 / GHSA-hcg3-q754-cr77","Warn: Project is vulnerable to: GO-2022-0288","Warn: Project is vulnerable to: GO-2022-0969 / GHSA-69cg-p879-7622","Warn: Project is vulnerable to: GO-2022-1144 / GHSA-xrjj-mj9h-534m","Warn: Project is vulnerable to: GO-2023-1571 / GHSA-vvpx-j8f3-3w6h","Warn: Project is vulnerable to: GO-2023-1988 / GHSA-2wrh-6pvc-2jm9","Warn: Project is vulnerable to: GO-2023-2102 / GHSA-4374-p667-p6c8","Warn: Project is vulnerable to: GO-2024-2687 / GHSA-4v7x-pqxf-cx7m","Warn: Project is vulnerable to: GO-2024-3333","Warn: Project is vulnerable to: GO-2025-3503 / GHSA-qxp5-gwg8-xv66","Warn: Project is vulnerable to: GO-2025-3595 / GHSA-vvgc-356p-c3xw","Warn: Project is vulnerable to: GO-2025-3488 / GHSA-6v2p-p543-phr9","Warn: Project is vulnerable to: GO-2022-0493 / GHSA-p782-xgp4-8hr8"],"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}}]},"last_synced_at":"2025-08-17T18:40:50.399Z","repository_id":6282015,"created_at":"2025-08-17T18:40:50.399Z","updated_at":"2025-08-17T18:40:50.399Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28780032,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-26T13:55:28.044Z","status":"ssl_error","status_checked_at":"2026-01-26T13:55:26.068Z","response_time":59,"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":[],"created_at":"2026-01-26T14:02:22.612Z","updated_at":"2026-01-26T14:02:32.645Z","avatar_url":"https://github.com/cloudfoundry.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Application Autoscaler\n\nThe Application Autoscaler provides the capability to adjust the computation resources for Cloud Foundry applications through:\n\n* Dynamic scaling based on application performance metrics\n* Dynamic scaling based on custom metrics\n* Scheduled scaling based on time\n\nThis repository contains the core Application Autoscaler source code, extracted and refactored from [app-autoscaler-release](https://github.com/cloudfoundry/app-autoscaler-release).\n\n## Architecture\n\nThe Application Autoscaler consists of several microservices and are deployed as CF Applications\n\n| Component         | Description                                                                 |\n|-------------------|-----------------------------------------------------------------------------|\n| `api`             | Public-facing API server for policy management and scaling history          |\n| `servicebroker`   | Cloud Foundry service broker implementation                                 |\n| `scheduler`       | Manages scheduled scaling policies and triggers scaling actions             |\n| `eventgenerator`  | Evaluates scaling rules and generates scaling events based on metrics       |\n| `scalingengine`   | Executes scaling decisions by adjusting application instances               |\n| `metricsforwarder`| Forwards custom application metrics to the autoscaler                       |\n| `operator`        | Manages autoscaler operations and instance synchronization                  |\n\n## API Specifications\n\nOpenAPI specifications are available in the [`openapi/`](./openapi/) directory:\n\n* `application-metric-api.openapi.yaml` - Application metrics API\n* `custom-metrics-api.openapi.yaml` - Custom metrics submission API\n* `policy-api.openapi.yaml` - Scaling policy management API\n* `scaling-history-api.openapi.yaml` - Scaling history query API\n* `internal-scaling-history-api.openapi.yaml` - Internal scaling history API\n\n## Local Development\n\n### Prerequisites\n\n* [Go](https://golang.org/) 1.24.3 or later\n* [Docker](https://www.docker.com/products/docker-desktop/) to spin up required databases\n* [devbox](https://github.com/jetify-com/devbox) (optional but recommended) - starts a shell with all required tools\n* [Maven](https://maven.apache.org/) for building the Java-based scheduler component\n* [direnv](https://direnv.net/) (optional) to automatically configure the development environment\n\n### Make Targets\n\n| Target                                                                | Description                                                                |\n|-----------------------------------------------------------------------|----------------------------------------------------------------------------|\n| `make generate-fakes`                                                 | Generate test mocks/fakes                                                  |\n| `make test`                                                           | Run unit tests against PostgreSQL                                          |\n| `make integration`                                                    | Run integration tests against PostgreSQL                                   |\n| `make acceptance-tests`                                               | Run acceptance tests (see [acceptance/README.md](acceptance/README.md))    |\n| `make lint`                                                           | Check code style                                                           |\n| `OPTS=--fix make lint`                                                | Check code style and apply auto-fixes                                      |\n| `make fmt`                                                            | Format Go code                                                             |\n| `make clean`                                                          | Remove build artifacts and generated code                                  |\n| `make mta-build`                                                      | Build MTA archive for deployment                                           |\n| `make mta-deploy`                                                     | Deploy to Cloud Foundry using MTA                                          |\n\n\n## Use Application Autoscaler Service\n\nRefer to [`user guide`](./docs/user_guide.md) for the details of how to use the Auto-Scaler service, including policy definition, supported metrics, public API specification and command line tool.\n\n## Monitor Microservices\n\nThe app-autoscaler provides a number of health endpoints that are available externally that can be used to check the\nstate of each component. Each health endpoint is protected with basic auth (apart from the api server), the usernames\nare listed in the table below, but the passwords are available in credhub.\n\n| Component        | Health URL                                                   | Username         | Password Key                                 |\n|------------------|--------------------------------------------------------------|------------------|----------------------------------------------|\n| eventgenerator   | https://autoscaler-eventgenerator.((system_domain))/health   | eventgenerator   | /autoscaler_eventgenerator_health_password   |\n| metricsforwarder | https://autoscaler-metricsforwarder.((system_domain))/health | metricsforwarder | /autoscaler_metricsforwarder_health_password |\n| scalingengine    | https://autoscaler-scalingengine.((system_domain))/health    | scalingengine    | /autoscaler_scalingengine_health_password    |\n| operator         | https://autoscaler-operator.((system_domain))/health         | operator         | /autoscaler_operator_health_password         |\n| scheduler        | https://autoscaler-scheduler.((system_domain))/health        | scheduler        | /autoscaler_scheduler_health_password        |\n\n### Running Tests\n\n```bash\n# Run all unit tests\nmake test\n\n# Run integration tests\nmake integration\n\n# Run acceptance tests (requires deployed autoscaler)\nmake acceptance-tests\n```\n\nNote: Running tests will automatically spin up the PostgreSQL database via Docker.\n\n### Database Setup\n\nThe autoscaler supports PostgreSQL.\n\nTo manually start a local database for development:\n\n```bash\nmake start-db                    # Start PostgreSQL\n```\n\nTo stop the database:\n\n```bash\nmake stop-db                     # Stop PostgreSQL\n```\n\n## Documentation\n\n* [Acceptance Tests](acceptance/README.md) - Guide for running acceptance tests\n* [Scheduler Component](scheduler/README.md) - Scheduler-specific documentation\n* [OpenAPI Specifications](openapi/) - API documentation and schemas\n\n## Related Repositories\n\n* [app-autoscaler-release](https://github.com/cloudfoundry/app-autoscaler-release) - BOSH release for deploying the Application Autoscaler\n\n## License\n\nThis project is released under version 2.0 of the [Apache License](LICENSE).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcloudfoundry%2Fapp-autoscaler","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcloudfoundry%2Fapp-autoscaler","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcloudfoundry%2Fapp-autoscaler/lists"}