From 4add9cf57b9a846f95b51af5112ce4daaba2bae3 Mon Sep 17 00:00:00 2001 From: Mohamad Choupan Date: Thu, 19 Dec 2024 04:44:13 +0330 Subject: [PATCH] feat: schema update --- schemas/github.json | 51 +------ schemas/github/github_community_profile.json | 46 ------ schemas/github/github_gitignore.json | 16 --- schemas/github/github_issue_comment.json | 136 ------------------ schemas/github/github_package_version.json | 41 ------ schemas/github/github_repository.json | 40 ------ schemas/github/github_repository_content.json | 81 ----------- schemas/github/github_ruby_gems_package.json | 36 ----- schemas/github/github_stargazer.json | 26 ---- schemas/github/github_traffic_view_daily.json | 26 ---- .../github/github_traffic_view_weekly.json | 26 ---- schemas/googleworkspace.json | 2 +- schemas/schema.json | 55 +------ 13 files changed, 9 insertions(+), 573 deletions(-) delete mode 100644 schemas/github/github_community_profile.json delete mode 100644 schemas/github/github_gitignore.json delete mode 100644 schemas/github/github_issue_comment.json delete mode 100644 schemas/github/github_package_version.json delete mode 100644 schemas/github/github_repository_content.json delete mode 100644 schemas/github/github_ruby_gems_package.json delete mode 100644 schemas/github/github_stargazer.json delete mode 100644 schemas/github/github_traffic_view_daily.json delete mode 100644 schemas/github/github_traffic_view_weekly.json diff --git a/schemas/github.json b/schemas/github.json index d0c7d09..cdb8410 100644 --- a/schemas/github.json +++ b/schemas/github.json @@ -1,6 +1,6 @@ { - "count_of_named_tables": 45, - "count_of_named_columns": 706, + "count_of_named_tables": 36, + "count_of_named_columns": 622, "tables": [ { "table_name": "github_actions_artifact", @@ -52,31 +52,16 @@ "description": "GitHub Commits bundle project files for download by users.", "count_of_columns": 26 }, - { - "table_name": "github_community_profile", - "description": "Community profile information for the given repository.", - "count_of_columns": 8 - }, { "table_name": "github_container_package", "description": "", "count_of_columns": 13 }, - { - "table_name": "github_gitignore", - "description": "GitHub defined .gitignore templates that you can associate with your repository.", - "count_of_columns": 2 - }, { "table_name": "github_issue", "description": "GitHub Issues are used to track ideas, enhancements, tasks, or bugs for work on GitHub.", "count_of_columns": 41 }, - { - "table_name": "github_issue_comment", - "description": "GitHub Issue Comments are the responses/comments on GitHub Issues.", - "count_of_columns": 26 - }, { "table_name": "github_license", "description": "GitHub Licenses are common software licenses that you can associate with your repository.", @@ -112,11 +97,6 @@ "description": "GitHub members for a given organization. GitHub Users are user accounts in GitHub.", "count_of_columns": 7 }, - { - "table_name": "github_package_version", - "description": "Details of package versions, including version, size, digest, and download count.", - "count_of_columns": 7 - }, { "table_name": "github_pull_request", "description": "GitHub Pull requests let you tell others about changes you've pushed to a branch in a repository on GitHub. Once a pull request is opened, you can discuss and review the potential changes with collaborators and add follow-up commits before your changes are merged into the base branch.", @@ -145,18 +125,13 @@ { "table_name": "github_repository", "description": "GitHub Repositories contain all of your project's files and each file's revision history.", - "count_of_columns": 78 + "count_of_columns": 70 }, { "table_name": "github_repository_collaborator", "description": "Collaborators are users that have contributed to the repository.", "count_of_columns": 4 }, - { - "table_name": "github_repository_content", - "description": "List the content in a repository (list directory, or get file content", - "count_of_columns": 15 - }, { "table_name": "github_repository_dependabot_alert", "description": "Dependabot alerts from a repository.", @@ -187,16 +162,6 @@ "description": "Vulnerability Alerts from a repository.", "count_of_columns": 19 }, - { - "table_name": "github_ruby_gems_package", - "description": "", - "count_of_columns": 6 - }, - { - "table_name": "github_stargazer", - "description": "Stargazers are users who have starred the repository.", - "count_of_columns": 4 - }, { "table_name": "github_tag", "description": "Tags for commits in the given repository.", @@ -207,16 +172,6 @@ "description": "GitHub Teams in a given organization. GitHub Teams are groups of organization members that reflect your company or group's structure with cascading access permissions and mentions.", "count_of_columns": 29 }, - { - "table_name": "github_traffic_view_daily", - "description": "Daily traffic view over the last 14 days for the given repository.", - "count_of_columns": 4 - }, - { - "table_name": "github_traffic_view_weekly", - "description": "Weekly traffic view over the last 14 days for the given repository.", - "count_of_columns": 4 - }, { "table_name": "github_tree", "description": "Lists directories and files in the given repository's git tree.", diff --git a/schemas/github/github_community_profile.json b/schemas/github/github_community_profile.json deleted file mode 100644 index 04c7ec4..0000000 --- a/schemas/github/github_community_profile.json +++ /dev/null @@ -1,46 +0,0 @@ -{ - "table_name": "github_community_profile", - "table_description": "Community profile information for the given repository.", - "columns": [ - { - "name": "repository_full_name", - "type": "text", - "description": "Full name of the repository that contains the tag." - }, - { - "name": "code_of_conduct", - "type": "json", - "description": "Code of conduct for the repository." - }, - { - "name": "contributing", - "type": "json", - "description": "Contributing guidelines for the repository." - }, - { - "name": "issue_templates", - "type": "json", - "description": "Issue template for the repository." - }, - { - "name": "pull_request_templates", - "type": "json", - "description": "Pull request template for the repository." - }, - { - "name": "license_info", - "type": "json", - "description": "License for the repository." - }, - { - "name": "readme", - "type": "json", - "description": "README for the repository." - }, - { - "name": "security", - "type": "json", - "description": "Security for the repository." - } - ] -} \ No newline at end of file diff --git a/schemas/github/github_gitignore.json b/schemas/github/github_gitignore.json deleted file mode 100644 index f096dd2..0000000 --- a/schemas/github/github_gitignore.json +++ /dev/null @@ -1,16 +0,0 @@ -{ - "table_name": "github_gitignore", - "table_description": "GitHub defined .gitignore templates that you can associate with your repository.", - "columns": [ - { - "name": "name", - "type": "text", - "description": "Name of the gitignore template." - }, - { - "name": "source", - "type": "text", - "description": "Source code of the gitignore template." - } - ] -} \ No newline at end of file diff --git a/schemas/github/github_issue_comment.json b/schemas/github/github_issue_comment.json deleted file mode 100644 index 7b57b13..0000000 --- a/schemas/github/github_issue_comment.json +++ /dev/null @@ -1,136 +0,0 @@ -{ - "table_name": "github_issue_comment", - "table_description": "GitHub Issue Comments are the responses/comments on GitHub Issues.", - "columns": [ - { - "name": "repository_full_name", - "type": "text", - "description": "The full name of the repository (login/repo-name)." - }, - { - "name": "number", - "type": "integer", - "description": "The issue/pr number." - }, - { - "name": "id", - "type": "integer", - "description": "The ID of the comment." - }, - { - "name": "node_id", - "type": "text", - "description": "The node ID of the comment." - }, - { - "name": "author", - "type": "json", - "description": "The actor who authored the comment." - }, - { - "name": "author_login", - "type": "text", - "description": "The login of the comment author." - }, - { - "name": "author_association", - "type": "text", - "description": "Author's association with the subject of the issue/pr the comment was raised on." - }, - { - "name": "body", - "type": "text", - "description": "The contents of the comment as markdown." - }, - { - "name": "body_text", - "type": "text", - "description": "The contents of the comment as text." - }, - { - "name": "created_at", - "type": "timestamp with time zone", - "description": "Timestamp when comment was created." - }, - { - "name": "created_via_email", - "type": "boolean", - "description": "If true, comment was created via email." - }, - { - "name": "editor", - "type": "json", - "description": "The actor who edited the comment." - }, - { - "name": "editor_login", - "type": "text", - "description": "The login of the comment editor." - }, - { - "name": "includes_created_edit", - "type": "boolean", - "description": "If true, comment was edited and includes an edit with the creation data." - }, - { - "name": "is_minimized", - "type": "boolean", - "description": "If true, comment has been minimized." - }, - { - "name": "minimized_reason", - "type": "text", - "description": "The reason for comment being minimized." - }, - { - "name": "last_edited_at", - "type": "timestamp with time zone", - "description": "Timestamp when comment was last edited." - }, - { - "name": "published_at", - "type": "timestamp with time zone", - "description": "Timestamp when comment was published." - }, - { - "name": "updated_at", - "type": "timestamp with time zone", - "description": "Timestamp when comment was last updated." - }, - { - "name": "url", - "type": "text", - "description": "URL for the comment." - }, - { - "name": "can_delete", - "type": "boolean", - "description": "If true, user can delete the comment." - }, - { - "name": "can_minimize", - "type": "boolean", - "description": "If true, user can minimize the comment." - }, - { - "name": "can_react", - "type": "boolean", - "description": "If true, user can react to the comment." - }, - { - "name": "can_update", - "type": "boolean", - "description": "If true, user can update the comment." - }, - { - "name": "cannot_update_reasons", - "type": "json", - "description": "A list of reasons why user cannot update the comment." - }, - { - "name": "did_author", - "type": "boolean", - "description": "If true, user authored the comment." - } - ] -} \ No newline at end of file diff --git a/schemas/github/github_package_version.json b/schemas/github/github_package_version.json deleted file mode 100644 index 7dbc45d..0000000 --- a/schemas/github/github_package_version.json +++ /dev/null @@ -1,41 +0,0 @@ -{ - "table_name": "github_package_version", - "table_description": "Details of package versions, including version, size, digest, and download count.", - "columns": [ - { - "name": "id", - "type": "integer", - "description": "Unique identifier for the package version." - }, - { - "name": "name", - "type": "integer", - "description": "name and version of the package" - }, - { - "name": "versionUri", - "type": "text", - "description": "version uri of the package." - }, - { - "name": "digest", - "type": "text", - "description": "Digest of the package version" - }, - { - "name": "packageName", - "type": "integer", - "description": "name of the package" - }, - { - "name": "createdAt", - "type": "timestamp with time zone", - "description": "Timestamp when the package version was created." - }, - { - "name": "updatedAt", - "type": "timestamp with time zone", - "description": "Timestamp when the package version was last updated." - } - ] -} \ No newline at end of file diff --git a/schemas/github/github_repository.json b/schemas/github/github_repository.json index 11e4bdd..13abd57 100644 --- a/schemas/github/github_repository.json +++ b/schemas/github/github_repository.json @@ -292,56 +292,16 @@ "type": "text", "description": "The URL of the repository." }, - { - "name": "uses_custom_open_graph_image", - "type": "boolean", - "description": "if true, this repository has a custom image to use with Open Graph as opposed to being represented by the owner's avatar." - }, - { - "name": "can_administer", - "type": "boolean", - "description": "If true, you can administer this repository." - }, - { - "name": "can_create_projects", - "type": "boolean", - "description": "If true, you can create projects in this repository." - }, - { - "name": "can_subscribe", - "type": "boolean", - "description": "If true, you can subscribe to this repository." - }, - { - "name": "can_update_topics", - "type": "boolean", - "description": "If true, you can update topics on this repository." - }, - { - "name": "has_starred", - "type": "boolean", - "description": "If true, you have starred this repository." - }, { "name": "possible_commit_emails", "type": "json", "description": "A list of emails you can commit to this repository with." }, - { - "name": "subscription", - "type": "text", - "description": "Identifies if the current user is watching, not watching, or ignoring the repository." - }, { "name": "visibility", "type": "text", "description": "Indicates the repository's visibility level." }, - { - "name": "your_permission", - "type": "text", - "description": "Your permission level on the repository. Will return null if authenticated as an GitHub App." - }, { "name": "web_commit_signoff_required", "type": "boolean", diff --git a/schemas/github/github_repository_content.json b/schemas/github/github_repository_content.json deleted file mode 100644 index 5d17dca..0000000 --- a/schemas/github/github_repository_content.json +++ /dev/null @@ -1,81 +0,0 @@ -{ - "table_name": "github_repository_content", - "table_description": "List the content in a repository (list directory, or get file content", - "columns": [ - { - "name": "repository_full_name", - "type": "text", - "description": "The full name of the repository (login/repo-name)." - }, - { - "name": "type", - "type": "text", - "description": "The file type (directory or file)." - }, - { - "name": "name", - "type": "text", - "description": "The file name." - }, - { - "name": "oid", - "type": "text", - "description": "The Git object ID." - }, - { - "name": "abbreviated_oid", - "type": "text", - "description": "An abbreviated version of the Git object ID." - }, - { - "name": "repository_content_path", - "type": "text", - "description": "The requested path in repository search." - }, - { - "name": "path", - "type": "text", - "description": "The path of the file." - }, - { - "name": "path_raw", - "type": "text", - "description": "A Base64-encoded representation of the file's path." - }, - { - "name": "mode", - "type": "integer", - "description": "The mode of the file." - }, - { - "name": "size", - "type": "integer", - "description": "The size of the file (in KB)." - }, - { - "name": "line_count", - "type": "integer", - "description": "The number of lines available in the file." - }, - { - "name": "content", - "type": "text", - "description": "The decoded file content (if the element is a file)." - }, - { - "name": "is_generated", - "type": "boolean", - "description": "Whether or not this tree entry is generated." - }, - { - "name": "is_binary", - "type": "boolean", - "description": "Indicates whether the Blob is binary or text." - }, - { - "name": "commit_url", - "type": "text", - "description": "Git URL (with SHA) of the file." - } - ] -} \ No newline at end of file diff --git a/schemas/github/github_ruby_gems_package.json b/schemas/github/github_ruby_gems_package.json deleted file mode 100644 index 70cbc2b..0000000 --- a/schemas/github/github_ruby_gems_package.json +++ /dev/null @@ -1,36 +0,0 @@ -{ - "table_name": "github_ruby_gems_package", - "table_description": "", - "columns": [ - { - "name": "id", - "type": "text", - "description": "Unique identifier for the package." - }, - { - "name": "registryId", - "type": "text", - "description": "Registry ID associated with the package." - }, - { - "name": "name", - "type": "text", - "description": "Name of the package." - }, - { - "name": "url", - "type": "text", - "description": "URL where the package can be accessed." - }, - { - "name": "createdAt", - "type": "timestamp with time zone", - "description": "Timestamp when the package was created." - }, - { - "name": "updatedAt", - "type": "timestamp with time zone", - "description": "Timestamp when the package was last updated." - } - ] -} \ No newline at end of file diff --git a/schemas/github/github_stargazer.json b/schemas/github/github_stargazer.json deleted file mode 100644 index 6f86c14..0000000 --- a/schemas/github/github_stargazer.json +++ /dev/null @@ -1,26 +0,0 @@ -{ - "table_name": "github_stargazer", - "table_description": "Stargazers are users who have starred the repository.", - "columns": [ - { - "name": "repository_full_name", - "type": "text", - "description": "Full name of the repository that contains the stargazer." - }, - { - "name": "starred_at", - "type": "timestamp with time zone", - "description": "Time when the stargazer was created." - }, - { - "name": "user_login", - "type": "text", - "description": "The login name of the user who starred the repository." - }, - { - "name": "user_detail", - "type": "json", - "description": "Details of the user who starred the repository." - } - ] -} \ No newline at end of file diff --git a/schemas/github/github_traffic_view_daily.json b/schemas/github/github_traffic_view_daily.json deleted file mode 100644 index e8ee68d..0000000 --- a/schemas/github/github_traffic_view_daily.json +++ /dev/null @@ -1,26 +0,0 @@ -{ - "table_name": "github_traffic_view_daily", - "table_description": "Daily traffic view over the last 14 days for the given repository.", - "columns": [ - { - "name": "repository_full_name", - "type": "text", - "description": "Full name of the repository that contains the branch." - }, - { - "name": "timestamp", - "type": "timestamp with time zone", - "description": "Date for the view data." - }, - { - "name": "count", - "type": "integer", - "description": "View count for the day." - }, - { - "name": "uniques", - "type": "integer", - "description": "Unique viewer count for the day." - } - ] -} \ No newline at end of file diff --git a/schemas/github/github_traffic_view_weekly.json b/schemas/github/github_traffic_view_weekly.json deleted file mode 100644 index bb70329..0000000 --- a/schemas/github/github_traffic_view_weekly.json +++ /dev/null @@ -1,26 +0,0 @@ -{ - "table_name": "github_traffic_view_weekly", - "table_description": "Weekly traffic view over the last 14 days for the given repository.", - "columns": [ - { - "name": "repository_full_name", - "type": "text", - "description": "Full name of the repository that contains the branch." - }, - { - "name": "timestamp", - "type": "timestamp with time zone", - "description": "Date for the view data." - }, - { - "name": "count", - "type": "integer", - "description": "View count for the day." - }, - { - "name": "uniques", - "type": "integer", - "description": "Unique viewer count for the day." - } - ] -} \ No newline at end of file diff --git a/schemas/googleworkspace.json b/schemas/googleworkspace.json index 3edc798..cdd9b96 100644 --- a/schemas/googleworkspace.json +++ b/schemas/googleworkspace.json @@ -98,5 +98,5 @@ "count_of_columns": 5 } ], - "description": "Get visibility into 500+ cloud assets." + "description": "Inventory and govern Identities, Users, Groups." } \ No newline at end of file diff --git a/schemas/schema.json b/schemas/schema.json index 2cff337..1ef1709 100644 --- a/schemas/schema.json +++ b/schemas/schema.json @@ -1,8 +1,8 @@ { "total": { "integration": 15, - "count_of_named_tables": 907, - "count_of_named_columns": 12578 + "count_of_named_tables": 898, + "count_of_named_columns": 12494 }, "summary": { "aws": { @@ -38,8 +38,8 @@ "count_of_named_columns": 401 }, "github": { - "count_of_named_tables": 45, - "count_of_named_columns": 706 + "count_of_named_tables": 36, + "count_of_named_columns": 622 }, "google": { "count_of_named_tables": 16, @@ -4094,31 +4094,16 @@ "description": "GitHub Commits bundle project files for download by users.", "count_of_columns": 26 }, - { - "table_name": "github_community_profile", - "description": "Community profile information for the given repository.", - "count_of_columns": 8 - }, { "table_name": "github_container_package", "description": "", "count_of_columns": 13 }, - { - "table_name": "github_gitignore", - "description": "GitHub defined .gitignore templates that you can associate with your repository.", - "count_of_columns": 2 - }, { "table_name": "github_issue", "description": "GitHub Issues are used to track ideas, enhancements, tasks, or bugs for work on GitHub.", "count_of_columns": 41 }, - { - "table_name": "github_issue_comment", - "description": "GitHub Issue Comments are the responses/comments on GitHub Issues.", - "count_of_columns": 26 - }, { "table_name": "github_license", "description": "GitHub Licenses are common software licenses that you can associate with your repository.", @@ -4154,11 +4139,6 @@ "description": "GitHub members for a given organization. GitHub Users are user accounts in GitHub.", "count_of_columns": 7 }, - { - "table_name": "github_package_version", - "description": "Details of package versions, including version, size, digest, and download count.", - "count_of_columns": 7 - }, { "table_name": "github_pull_request", "description": "GitHub Pull requests let you tell others about changes you've pushed to a branch in a repository on GitHub. Once a pull request is opened, you can discuss and review the potential changes with collaborators and add follow-up commits before your changes are merged into the base branch.", @@ -4187,18 +4167,13 @@ { "table_name": "github_repository", "description": "GitHub Repositories contain all of your project's files and each file's revision history.", - "count_of_columns": 78 + "count_of_columns": 70 }, { "table_name": "github_repository_collaborator", "description": "Collaborators are users that have contributed to the repository.", "count_of_columns": 4 }, - { - "table_name": "github_repository_content", - "description": "List the content in a repository (list directory, or get file content", - "count_of_columns": 15 - }, { "table_name": "github_repository_dependabot_alert", "description": "Dependabot alerts from a repository.", @@ -4229,16 +4204,6 @@ "description": "Vulnerability Alerts from a repository.", "count_of_columns": 19 }, - { - "table_name": "github_ruby_gems_package", - "description": "", - "count_of_columns": 6 - }, - { - "table_name": "github_stargazer", - "description": "Stargazers are users who have starred the repository.", - "count_of_columns": 4 - }, { "table_name": "github_tag", "description": "Tags for commits in the given repository.", @@ -4249,16 +4214,6 @@ "description": "GitHub Teams in a given organization. GitHub Teams are groups of organization members that reflect your company or group's structure with cascading access permissions and mentions.", "count_of_columns": 29 }, - { - "table_name": "github_traffic_view_daily", - "description": "Daily traffic view over the last 14 days for the given repository.", - "count_of_columns": 4 - }, - { - "table_name": "github_traffic_view_weekly", - "description": "Weekly traffic view over the last 14 days for the given repository.", - "count_of_columns": 4 - }, { "table_name": "github_tree", "description": "Lists directories and files in the given repository's git tree.",