secret-scanning

Bulk create organization custom patterns

Changed on

Bulk creates secret scanning custom patterns for an organization.

Personal access tokens (classic) need the write:org scope to use this endpoint.

post/orgs/{org}/secret-scanning/custom-patterns

Request

  • Base URL: https://api.github.com
  • URL: https://api.github.com/orgs/{org}/secret-scanning/custom-patterns
  • Auth: none declared

Path parameters

orgstring required

The organization name. The name is not case sensitive.

Request body

Response

All patterns created successfully.

Changes

  • 2022-11-28f7ed91c7bc26Revision changes
    • warning

      added the new invalid enum value to the //// response property for the response status

    • warning

      added the new name enum value to the //// response property for the response status

    • warning

      added the new unprocessable enum value to the //// response property for the response status

    • info

      removed the compile_db enum value from the //// response property for the response status

    • info

      removed the config_load enum value from the //// response property for the response status

    • info

      removed the db_size enum value from the //// response property for the response status

    • info

      removed the db_size_calculation enum value from the //// response property for the response status

    • info

      removed the display_name enum value from the //// response property for the response status

    • info

      removed the none enum value from the //// response property for the response status

  • 2022-11-286747ea4ba561Revision changes
    • info

      endpoint added