Skip to content

Commit

Permalink
Merge pull request #2298 from opengovern/fix_update_github_cofigs
Browse files Browse the repository at this point in the history
feat: updated configs
  • Loading branch information
mohamadch91 authored Dec 21, 2024
2 parents ddac930 + 00ad4a6 commit 6133ab5
Showing 1 changed file with 67 additions and 71 deletions.
Original file line number Diff line number Diff line change
@@ -1,77 +1,73 @@
package configs

var TablesToResourceTypes = map[string]string{
"Github/Actions/Artifact": "github_actions_artifact",
"Github/Actions/Runner": "github_actions_runner",
"Github/Actions/Secret": "github_actions_secret",
"Github/Actions/WorkflowRun": "github_actions_workflow_run",
"Github/Blob": "github_blob",
"Github/Branch": "github_branch",
"Github/Branch/Protection": "github_branch_protection",
"Github/Commit": "github_commit",
"Github/Issue": "github_issue",
"Github/License": "github_license",
"Github/Organization": "github_organization",
"Github/Organization/Collaborator": "github_organization_collaborator",
"Github/Organization/Dependabot/Alert": "github_organization_dependabot_alert",
"Github/Organization/External/Identity": "github_organization_external_identity",
"Github/Organization/Member": "github_organization_member",
"Github/PullRequest": "github_pull_request",
"Github/Release": "github_release",
"Github/Repository": "github_repository",
"Github/Repository/Collaborator": "github_repository_collaborator",
"Github/Repository/DependabotAlert": "github_repository_dependabot_alert",
"Github/Repository/Deployment": "github_repository_deployment",
"Github/Repository/Environment": "github_repository_environment",
"Github/Repository/Ruleset": "github_repository_ruleset",
"Github/Repository/SBOM": "github_repository_sbom",
"Github/Repository/VulnerabilityAlert": "github_repository_vulnerability_alert",
"Github/Tag": "github_tag",
"Github/Team/Member": "github_team_member",
"Github/Tree": "github_tree",
"Github/User": "github_user",
"Github/Workflow": "github_workflow",
"Github/Container/Package": "github_container_package",
"Github/Package/Maven": "github_maven_package",
"Github/NPM/Package": "github_npm_package",
"Github/Nuget/Package": "github_nuget_package",
"Github/Artifact/DockerFile": "github_artifact_dockerfile",
"github_actions_artifact": "Github/Actions/Artifact",
"github_actions_runner": "Github/Actions/Runner",
"github_actions_secret": "Github/Actions/Secret",
"github_actions_workflow_run": "Github/Actions/WorkflowRun",
"github_branch": "Github/Branch",
"github_branch_protection": "Github/Branch/Protection",
"github_commit": "Github/Commit",
"github_issue": "Github/Issue",
"github_license": "Github/License",
"github_organization": "Github/Organization",
"github_organization_collaborator": "Github/Organization/Collaborator",
"github_organization_dependabot_alert": "Github/Organization/Dependabot/Alert",
"github_organization_member": "Github/Organization/Member",
"github_organization_team": "Github/Organization/Team",
"github_pull_request": "Github/PullRequest",
"github_release": "Github/Release",
"github_repository": "Github/Repository",
"github_repository_collaborator": "Github/Repository/Collaborator",
"github_repository_dependabot_alert": "Github/Repository/DependabotAlert",
"github_repository_deployment": "Github/Repository/Deployment",
"github_repository_environment": "Github/Repository/Environment",
"github_repository_ruleset": "Github/Repository/Ruleset",
"github_repository_sbom": "Github/Repository/SBOM",
"github_repository_vulnerability_alert": "Github/Repository/VulnerabilityAlert",
"github_tag": "Github/Tag",
"github_team_member": "Github/Team/Member",
"github_user": "Github/User",
"github_workflow": "Github/Workflow",
"github_container_package": "Github/Container/Package",
"github_maven_package": "Github/Package/Maven",
"github_npm_package": "Github/NPM/Package",
"github_nuget_package": "Github/Nuget/Package",
"github_artifact_dockerfile": "Github/Artifact/DockerFile",
}

var ResourceTypesList = []string{
"Github/Actions/Artifact",
"Github/Actions/Runner",
"Github/Actions/Secret",
"Github/Actions/WorkflowRun",
"Github/Blob",
"Github/Branch",
"Github/Branch/Protection",
"Github/Commit",
"Github/Issue",
"Github/License",
"Github/Organization",
"Github/Organization/Collaborator",
"Github/Organization/Dependabot/Alert",
"Github/Organization/External/Identity",
"Github/Organization/Member",
"Github/PullRequest",
"Github/Release",
"Github/Repository",
"Github/Repository/Collaborator",
"Github/Repository/DependabotAlert",
"Github/Repository/Deployment",
"Github/Repository/Environment",
"Github/Repository/Ruleset",
"Github/Repository/SBOM",
"Github/Repository/VulnerabilityAlert",
"Github/Tag",
"Github/Team/Member",
"Github/Tree",
"Github/User",
"Github/Workflow",
"Github/Container/Package",
"Github/Package/Maven",
"Github/NPM/Package",
"Github/Nuget/Package",
"Github/Artifact/DockerFile",
}
"Github/Actions/Artifact",
"Github/Actions/Runner",
"Github/Actions/Secret",
"Github/Actions/WorkflowRun",
"Github/Branch",
"Github/Branch/Protection",
"Github/Commit",
"Github/Issue",
"Github/License",
"Github/Organization",
"Github/Organization/Collaborator",
"Github/Organization/Dependabot/Alert",
"Github/Organization/Member",
"Github/Organization/Team",
"Github/PullRequest",
"Github/Release",
"Github/Repository",
"Github/Repository/Collaborator",
"Github/Repository/DependabotAlert",
"Github/Repository/Deployment",
"Github/Repository/Environment",
"Github/Repository/Ruleset",
"Github/Repository/SBOM",
"Github/Repository/VulnerabilityAlert",
"Github/Tag",
"Github/Team/Member",
"Github/User",
"Github/Workflow",
"Github/Container/Package",
"Github/Package/Maven",
"Github/NPM/Package",
"Github/Nuget/Package",
"Github/Artifact/DockerFile",
}

0 comments on commit 6133ab5

Please sign in to comment.