Support security config updates on the REST API using permission (#3264) #55
release-drafter.yml
on: push
update_release_draft
50s
Annotations
2 errors
update_release_draft
Resource not accessible by integration
{
name: 'HttpError',
id: '6411037363',
status: 403,
response: {
url: 'https://api.github.com/repos/willyborankin/security/releases',
status: 403,
headers: {
'access-control-allow-origin': '*',
'access-control-expose-headers': 'ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Used, X-RateLimit-Resource, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type, X-GitHub-SSO, X-GitHub-Request-Id, Deprecation, Sunset',
connection: 'close',
'content-encoding': 'gzip',
'content-security-policy': "default-src 'none'",
'content-type': 'application/json; charset=utf-8',
date: 'Wed, 04 Oct 2023 20:17:24 GMT',
'referrer-policy': 'origin-when-cross-origin, strict-origin-when-cross-origin',
server: 'GitHub.com',
'strict-transport-security': 'max-age=31536000; includeSubdomains; preload',
'transfer-encoding': 'chunked',
vary: 'Accept-Encoding, Accept, X-Requested-With',
'x-accepted-github-permissions': 'contents=write',
'x-content-type-options': 'nosniff',
'x-frame-options': 'deny',
'x-github-api-version-selected': '2022-11-28',
'x-github-media-type': 'github.v3; format=json',
'x-github-request-id': '4C80:5889:60EA:63FB:651DC854',
'x-ratelimit-limit': '1000',
'x-ratelimit-remaining': '995',
'x-ratelimit-reset': '1696454199',
'x-ratelimit-resource': 'core',
'x-ratelimit-used': '5',
'x-xss-protection': '0'
},
data: {
message: 'Resource not accessible by integration',
documentation_url: 'https://docs.github.com/rest/releases/releases#create-a-release'
}
},
request: {
method: 'POST',
url: 'https://api.github.com/repos/willyborankin/security/releases',
headers: {
accept: 'application/vnd.github.v3+json',
'user-agent': 'probot/12.2.5 octokit-core.js/3.5.1 Node.js/16.20.1 (linux; x64)',
authorization: 'token [REDACTED]',
'content-type': 'application/json; charset=utf-8'
},
body: '{"target_commitish":"refs/heads/main","name":"Version (set version here)","tag_name":"","body":"Compatible with OpenSearch (set version here).\\n* No changes\\n","draft":true,"prerelease":false}',
request: {}
},
event: {
id: '6411037363',
name: 'push',
payload: {
after: 'e4a1b77e9259c019a8ef4728495260468954d6af',
base_ref: null,
before: '7924da13a57ecbf3352d84e6d020012723b81fa1',
commits: [
{
author: {
email: 'ples@aiven.io',
name: 'Andrey Pleskach',
username: 'willyborankin'
},
committer: {
email: 'noreply@github.com',
name: 'GitHub',
username: 'web-flow'
},
distinct: true,
id: 'e4a1b77e9259c019a8ef4728495260468954d6af',
message: 'Support security config updates on the REST API using permission (#3264)\n' +
'\n' +
'Instead of setting\r\n' +
'`SECURITY_UNSUPPORTED_RESTAPI_ALLOW_SECURITYCONFIG_MODIFICATION`\r\n' +
'settings to update security configuration using `PATCH` or `PUT` a new\r\n' +
'permission was added: `restapi:admin/config/update`.\r\n' +
'\r\n' +
'So far I decided to keep this flag as it is due to a backward\r\n' +
'compatibility and log a deprecation message that these settings will be\r\n' +
'removed in the future. Maybe it is better to remove it completely.\r\n' +
'\r\n' +
'Besides, added the missed test for `SecurityConfigApiAction`\r\n' +
'\r\n' +
'Signed-off-by: Andrey Pleskach <ples@aiven.io>',
timestamp: '2023-10-04T14:55:01-05:00',
tree_id: '377e2307fd620d1ab643aafa12dd0cd4710cc6c3',
url: 'https://github.com/willyborankin/security/commit/e4a1b77e9259c019a8ef4728495260468954d6af'
}
],
compar
|
update_release_draft
HttpError: Resource not accessible by integration
at /home/runner/work/_actions/release-drafter/release-drafter/v5/dist/index.js:8462:21
at processTicksAndRejections (node:internal/process/task_queues:96:5)
at async Job.doExecute (/home/runner/work/_actions/release-drafter/release-drafter/v5/dist/index.js:30793:18)
{
name: 'AggregateError',
event: {
id: '6411037363',
name: 'push',
payload: {
after: 'e4a1b77e9259c019a8ef4728495260468954d6af',
base_ref: null,
before: '7924da13a57ecbf3352d84e6d020012723b81fa1',
commits: [
{
author: {
email: 'ples@aiven.io',
name: 'Andrey Pleskach',
username: 'willyborankin'
},
committer: {
email: 'noreply@github.com',
name: 'GitHub',
username: 'web-flow'
},
distinct: true,
id: 'e4a1b77e9259c019a8ef4728495260468954d6af',
message: 'Support security config updates on the REST API using permission (#3264)\n' +
'\n' +
'Instead of setting\r\n' +
'`SECURITY_UNSUPPORTED_RESTAPI_ALLOW_SECURITYCONFIG_MODIFICATION`\r\n' +
'settings to update security configuration using `PATCH` or `PUT` a new\r\n' +
'permission was added: `restapi:admin/config/update`.\r\n' +
'\r\n' +
'So far I decided to keep this flag as it is due to a backward\r\n' +
'compatibility and log a deprecation message that these settings will be\r\n' +
'removed in the future. Maybe it is better to remove it completely.\r\n' +
'\r\n' +
'Besides, added the missed test for `SecurityConfigApiAction`\r\n' +
'\r\n' +
'Signed-off-by: Andrey Pleskach <ples@aiven.io>',
timestamp: '2023-10-04T14:55:01-05:00',
tree_id: '377e2307fd620d1ab643aafa12dd0cd4710cc6c3',
url: 'https://github.com/willyborankin/security/commit/e4a1b77e9259c019a8ef4728495260468954d6af'
}
],
compare: 'https://github.com/willyborankin/security/compare/7924da13a57e...e4a1b77e9259',
created: false,
deleted: false,
forced: false,
head_commit: {
author: {
email: 'ples@aiven.io',
name: 'Andrey Pleskach',
username: 'willyborankin'
},
committer: {
email: 'noreply@github.com',
name: 'GitHub',
username: 'web-flow'
},
distinct: true,
id: 'e4a1b77e9259c019a8ef4728495260468954d6af',
message: 'Support security config updates on the REST API using permission (#3264)\n' +
'\n' +
'Instead of setting\r\n' +
'`SECURITY_UNSUPPORTED_RESTAPI_ALLOW_SECURITYCONFIG_MODIFICATION`\r\n' +
'settings to update security configuration using `PATCH` or `PUT` a new\r\n' +
'permission was added: `restapi:admin/config/update`.\r\n' +
'\r\n' +
'So far I decided to keep this flag as it is due to a backward\r\n' +
'compatibility and log a deprecation message that these settings will be\r\n' +
'removed in the future. Maybe it is better to remove it completely.\r\n' +
'\r\n' +
'Besides, added the missed test for `SecurityConfigApiAction`\r\n' +
'\r\n' +
'Signed-off-by: Andrey Pleskach <ples@aiven.io>',
timestamp: '2023-10-04T14:55:01-05:00',
tree_id: '377e2307fd620d1ab643aafa12dd0cd4710cc6c3',
url: 'https://github.com/willyborankin/security/commit/e4a1b77e9259c019a8ef4728495260468954d6af'
},
pusher: { email: 'ples@aiven.io', name: 'willyborankin' },
ref: 'refs/heads/main',
repository: {
allow_forking: true,
archive_url: 'https://api.github.com/repos/willyborankin/security/{archive_format}{/ref}',
archived: false,
assignees_url: 'https://api.github.com/repos/willyborankin/security/assignees{/user}',
blobs_url: 'https://api.github.com/repos/willyborankin/sec
|