Skip to main content

Codecov API key

Description

General

  • Documentation: https://docs.codecov.io/reference
  • Summary: Codecov is an online service that tracks code coverage.
  • IPs allowlist: This feature is not available.
  • Scopes: When linking a GitHub account to Codecov, the service can be restricted to public repositories only, or be allowed to access private repositories as well.

Revoke the secret

The API key can be revoked from the account settings page, within the Access section.

Check for suspicious activity

The date at which the key was used for the last time can be found in the Access section of the account settings page.

Details for Codecov api key

  • Family: Api

  • Category: Code analysis

  • Company: Codecov

  • High recall: False

  • Validity check available: True

  • On-premise instances exist: True

  • Only valid secrets raise an alert: True

  • Minimum number of matches: 1

  • Occurrences found for one million commits: 0.02

  • Prefixed: False

  • PreValidators:

- type: FilenameBanlistPreValidator
banlist_extensions: []
banlist_filenames:
- \bsearchindex\.js$
check_binaries: false
include_default_banlist_extensions: true
ban_markup: false
- type: ContentWhitelistPreValidator
patterns:
- codecov([^e]|$)

Examples

- text: |
install:
- pip install codecov
- make install

script:
- export CODECOV_TOKEN="835a4597-5614-40f5-803c-093464aa2a74"
- cd test
- coverage run ./test.py

after_success:
- codecov

apikey: 835a4597-5614-40f5-803c-093464aa2a74
- text: |
{
"version": "3.0.0",
"scripts": {
"lint": "eslint ./src ./tests",
"report": "nyc report --reporter=lcov > coverage.lcov && codecov --token=835a4597561440f5803c093464aa2a74",
"start": "babel-node src/main",
"test": "tap tests/start.js --coverage --reporter=spec"
}
}
apikey: 835a4597561440f5803c093464aa2a74
- text: |
install:
- pip install codecov
- make install

script:
- export CODECOV_TOKEN="835a4597-5614-40f5-803c-093464aa2a74"
- cd test
- coverage run ./test.py

after_success:
- codecov

apikey: 835a4597-5614-40f5-803c-093464aa2a74

How can I help you ?