-
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(security):
ManageSecurityHandler
Signed-off-by: Lexus Drumgold <[email protected]>
- Loading branch information
1 parent
90fa1f8
commit 26a99e5
Showing
53 changed files
with
3,731 additions
and
743 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -30,6 +30,7 @@ const config: UserConfig = { | |
'octokit', | ||
'queries', | ||
'runner', | ||
'security', | ||
'teams', | ||
'users' | ||
]) | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,140 @@ | ||
[ | ||
{ | ||
"allow_forking": true, | ||
"archive_url": "https://api.github.com/repos/flex-development/repostructure-action/{archive_format}{/ref}", | ||
"archived": false, | ||
"assignees_url": "https://api.github.com/repos/flex-development/repostructure-action/assignees{/user}", | ||
"blobs_url": "https://api.github.com/repos/flex-development/repostructure-action/git/blobs{/sha}", | ||
"branches_url": "https://api.github.com/repos/flex-development/repostructure-action/branches{/branch}", | ||
"clone_url": "https://github.com/flex-development/repostructure-action.git", | ||
"collaborators_url": "https://api.github.com/repos/flex-development/repostructure-action/collaborators{/collaborator}", | ||
"comments_url": "https://api.github.com/repos/flex-development/repostructure-action/comments{/number}", | ||
"commits_url": "https://api.github.com/repos/flex-development/repostructure-action/commits{/sha}", | ||
"compare_url": "https://api.github.com/repos/flex-development/repostructure-action/compare/{base}...{head}", | ||
"contents_url": "https://api.github.com/repos/flex-development/repostructure-action/contents/{+path}", | ||
"contributors_url": "https://api.github.com/repos/flex-development/repostructure-action/contributors", | ||
"created_at": "2023-03-07T00:38:54Z", | ||
"default_branch": "main", | ||
"deployments_url": "https://api.github.com/repos/flex-development/repostructure-action/deployments", | ||
"description": "Repository infrastructure as code for GitHub Actions", | ||
"disabled": false, | ||
"downloads_url": "https://api.github.com/repos/flex-development/repostructure-action/downloads", | ||
"events_url": "https://api.github.com/repos/flex-development/repostructure-action/events", | ||
"fork": false, | ||
"forks": 0, | ||
"forks_count": 0, | ||
"forks_url": "https://api.github.com/repos/flex-development/repostructure-action/forks", | ||
"full_name": "flex-development/repostructure-action", | ||
"git_commits_url": "https://api.github.com/repos/flex-development/repostructure-action/git/commits{/sha}", | ||
"git_refs_url": "https://api.github.com/repos/flex-development/repostructure-action/git/refs{/sha}", | ||
"git_tags_url": "https://api.github.com/repos/flex-development/repostructure-action/git/tags{/sha}", | ||
"git_url": "git://github.com/flex-development/repostructure-action.git", | ||
"has_discussions": true, | ||
"has_downloads": true, | ||
"has_issues": true, | ||
"has_pages": false, | ||
"has_projects": true, | ||
"has_wiki": false, | ||
"homepage": "https://github.com/flex-development/rice-action", | ||
"hooks_url": "https://api.github.com/repos/flex-development/repostructure-action/hooks", | ||
"html_url": "https://github.com/flex-development/repostructure-action", | ||
"id": 610531283, | ||
"is_template": false, | ||
"issue_comment_url": "https://api.github.com/repos/flex-development/repostructure-action/issues/comments{/number}", | ||
"issue_events_url": "https://api.github.com/repos/flex-development/repostructure-action/issues/events{/number}", | ||
"issues_url": "https://api.github.com/repos/flex-development/repostructure-action/issues{/number}", | ||
"keys_url": "https://api.github.com/repos/flex-development/repostructure-action/keys{/key_id}", | ||
"labels_url": "https://api.github.com/repos/flex-development/repostructure-action/labels{/name}", | ||
"language": "TypeScript", | ||
"languages_url": "https://api.github.com/repos/flex-development/repostructure-action/languages", | ||
"license": { | ||
"key": "bsd-3-clause", | ||
"name": "BSD 3-Clause \"New\" or \"Revised\" License", | ||
"node_id": "MDc6TGljZW5zZTU=", | ||
"spdx_id": "BSD-3-Clause", | ||
"url": "https://api.github.com/licenses/bsd-3-clause" | ||
}, | ||
"merges_url": "https://api.github.com/repos/flex-development/repostructure-action/merges", | ||
"milestones_url": "https://api.github.com/repos/flex-development/repostructure-action/milestones{/number}", | ||
"mirror_url": null, | ||
"name": "repostructure-action", | ||
"network_count": 0, | ||
"node_id": "R_kgDOJGP30w", | ||
"notifications_url": "https://api.github.com/repos/flex-development/repostructure-action/notifications{?since,all,participating}", | ||
"open_issues": 9, | ||
"open_issues_count": 9, | ||
"organization": { | ||
"avatar_url": "https://avatars.githubusercontent.com/u/48739091?v=4", | ||
"events_url": "https://api.github.com/users/flex-development/events{/privacy}", | ||
"followers_url": "https://api.github.com/users/flex-development/followers", | ||
"following_url": "https://api.github.com/users/flex-development/following{/other_user}", | ||
"gists_url": "https://api.github.com/users/flex-development/gists{/gist_id}", | ||
"gravatar_id": "", | ||
"html_url": "https://github.com/flex-development", | ||
"id": 48739091, | ||
"login": "flex-development", | ||
"node_id": "MDEyOk9yZ2FuaXphdGlvbjQ4NzM5MDkx", | ||
"organizations_url": "https://api.github.com/users/flex-development/orgs", | ||
"received_events_url": "https://api.github.com/users/flex-development/received_events", | ||
"repos_url": "https://api.github.com/users/flex-development/repos", | ||
"site_admin": false, | ||
"starred_url": "https://api.github.com/users/flex-development/starred{/owner}{/repo}", | ||
"subscriptions_url": "https://api.github.com/users/flex-development/subscriptions", | ||
"type": "Organization", | ||
"url": "https://api.github.com/users/flex-development" | ||
}, | ||
"owner": { | ||
"avatar_url": "https://avatars.githubusercontent.com/u/48739091?v=4", | ||
"events_url": "https://api.github.com/users/flex-development/events{/privacy}", | ||
"followers_url": "https://api.github.com/users/flex-development/followers", | ||
"following_url": "https://api.github.com/users/flex-development/following{/other_user}", | ||
"gists_url": "https://api.github.com/users/flex-development/gists{/gist_id}", | ||
"gravatar_id": "", | ||
"html_url": "https://github.com/flex-development", | ||
"id": 48739091, | ||
"login": "flex-development", | ||
"node_id": "MDEyOk9yZ2FuaXphdGlvbjQ4NzM5MDkx", | ||
"organizations_url": "https://api.github.com/users/flex-development/orgs", | ||
"received_events_url": "https://api.github.com/users/flex-development/received_events", | ||
"repos_url": "https://api.github.com/users/flex-development/repos", | ||
"site_admin": false, | ||
"starred_url": "https://api.github.com/users/flex-development/starred{/owner}{/repo}", | ||
"subscriptions_url": "https://api.github.com/users/flex-development/subscriptions", | ||
"type": "Organization", | ||
"url": "https://api.github.com/users/flex-development" | ||
}, | ||
"private": false, | ||
"pulls_url": "https://api.github.com/repos/flex-development/repostructure-action/pulls{/number}", | ||
"pushed_at": "2023-11-20T12:06:10Z", | ||
"releases_url": "https://api.github.com/repos/flex-development/repostructure-action/releases{/id}", | ||
"size": 5953, | ||
"ssh_url": "[email protected]:flex-development/repostructure-action.git", | ||
"stargazers_count": 1, | ||
"stargazers_url": "https://api.github.com/repos/flex-development/repostructure-action/stargazers", | ||
"statuses_url": "https://api.github.com/repos/flex-development/repostructure-action/statuses/{sha}", | ||
"subscribers_count": 3, | ||
"subscribers_url": "https://api.github.com/repos/flex-development/repostructure-action/subscribers", | ||
"subscription_url": "https://api.github.com/repos/flex-development/repostructure-action/subscription", | ||
"svn_url": "https://github.com/flex-development/repostructure-action", | ||
"tags_url": "https://api.github.com/repos/flex-development/repostructure-action/tags", | ||
"teams_url": "https://api.github.com/repos/flex-development/repostructure-action/teams", | ||
"temp_clone_token": null, | ||
"topics": [ | ||
"gitops", | ||
"iac", | ||
"infrastructure", | ||
"infrastructure-as-code", | ||
"infrastructure-management", | ||
"repository-infrastructure", | ||
"repository-settings", | ||
"typescript" | ||
], | ||
"trees_url": "https://api.github.com/repos/flex-development/repostructure-action/git/trees{/sha}", | ||
"updated_at": "2023-11-08T04:41:06Z", | ||
"url": "https://api.github.com/repos/flex-development/repostructure-action", | ||
"visibility": "public", | ||
"watchers": 1, | ||
"watchers_count": 1, | ||
"web_commit_signoff_required": true | ||
} | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
/** | ||
* @file Test Types - OctokitBody | ||
* @module tests/types/OctokitBody | ||
*/ | ||
|
||
import type { Get, OrUppercase, Stringify } from '@flex-development/tutils' | ||
import type { paths } from '@octokit/openapi-types' | ||
|
||
/** | ||
* GitHub REST API body helper. | ||
* | ||
* @template R - REST API endpoint | ||
* @template M - REST API method | ||
*/ | ||
type OctokitBody< | ||
M extends OrUppercase<Stringify<keyof paths[R]>>, | ||
R extends keyof paths | ||
> = Get< | ||
Get<paths[R], Lowercase<Stringify<M>>>, | ||
'requestBody.content.application/json', | ||
never | ||
> | ||
|
||
export type { OctokitBody as default } |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.