Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
30 changes: 24 additions & 6 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,6 +1,24 @@
.idea
node_modules
openapitools.json
package-lock.json
runzero-api
pdfgen/html
# Compiled Object files, Static and Dynamic libs (Shared Objects)
*.o
*.a
*.so

# Folders
_obj
_test

# Architecture specific extensions/prefixes
*.[568vq]
[568vq].out

*.cgo1.go
*.cgo2.c
_cgo_defun.c
_cgo_gotypes.go
_cgo_export.*

_testmain.go

*.exe
*.test
*.prof
15 changes: 8 additions & 7 deletions go.mod
Original file line number Diff line number Diff line change
@@ -1,15 +1,16 @@
module github.com/runZeroInc/runzero-api

go 1.18
go 1.25.0

require (
github.com/gofrs/uuid v3.3.0+incompatible
golang.org/x/oauth2 v0.0.0-20201208152858-08078c50e5b5
github.com/stretchr/testify v1.11.1
golang.org/x/oauth2 v0.36.0
gopkg.in/validator.v2 v2.0.1
)

require (
github.com/golang/protobuf v1.5.0 // indirect
golang.org/x/net v0.23.0 // indirect
google.golang.org/appengine v1.6.7 // indirect
google.golang.org/protobuf v1.33.0 // indirect
github.com/davecgh/go-spew v1.1.1 // indirect
github.com/gofrs/uuid v4.4.0+incompatible // indirect
github.com/pmezard/go-difflib v1.0.0 // indirect
gopkg.in/yaml.v3 v3.0.1 // indirect
)
385 changes: 18 additions & 367 deletions go.sum

Large diffs are not rendered by default.

252 changes: 252 additions & 0 deletions go/.openapi-generator/FILES
Original file line number Diff line number Diff line change
@@ -0,0 +1,252 @@
.gitignore
.openapi-generator-ignore
.travis.yml
README.md
api/openapi.yaml
api_account.go
api_cisco_sntc.go
api_export.go
api_import.go
api_organization.go
api_public.go
api_service_now.go
api_splunk.go
client.go
configuration.go
docs/APIClientCredentials.md
docs/APIKeyOptions.md
docs/AWSCredentialFields.md
docs/AccessToken.md
docs/AccountAPI.md
docs/Agent.md
docs/AgentPatchedSettings.md
docs/AgentPatchedSettingsSettings.md
docs/Asset.md
docs/AssetComments.md
docs/AssetCriticality.md
docs/AssetCriticalityWithSearch.md
docs/AssetExportResponse.md
docs/AssetIDs.md
docs/AssetMetric.md
docs/AssetOwnership.md
docs/AssetOwnershipType.md
docs/AssetOwnershipTypePost.md
docs/AssetOwnerships.md
docs/AssetOwnershipsWithSearch.md
docs/AssetOwnershipsWithSearchOwnershipsInner.md
docs/AssetPage.md
docs/AssetServiceNow.md
docs/AssetTags.md
docs/AssetTagsWithSearch.md
docs/AssetsWithCheckpoint.md
docs/AzureClientSecretCredentialFields.md
docs/AzureUsernamePasswordCredentialFields.md
docs/BaseCustomIntegration.md
docs/BaseResponse.md
docs/BulkAssetUpdateResult.md
docs/CensysCredentialFields.md
docs/Certificate.md
docs/CiscoSNTCAPI.md
docs/ComponentVersion.md
docs/Credential.md
docs/CredentialFields.md
docs/CredentialOptions.md
docs/CrowdstrikeCredentialFields.md
docs/CustomAttributesValue.md
docs/CustomIntegration.md
docs/CustomIntegrationCreate.md
docs/CustomIntegrationScriptCredentialFields.md
docs/DirectoryGroup.md
docs/DirectoryUser.md
docs/Event.md
docs/EventExportResponse.md
docs/EventPage.md
docs/ExportAPI.md
docs/ExportToken.md
docs/ExportTokenOptions.md
docs/Finding.md
docs/FindingLink.md
docs/FindingLinks.md
docs/GCPCredentialFields.md
docs/GoogleWorkspaceCredentialFields.md
docs/Group.md
docs/GroupMapping.md
docs/GroupPost.md
docs/GroupPut.md
docs/HealthCheckResponse.md
docs/HostedZone.md
docs/ImportAPI.md
docs/ImportAsset.md
docs/ImportTask.md
docs/InsightVMCredentialFields.md
docs/LDAPCredentialFields.md
docs/License.md
docs/MECMCredentialFields.md
docs/MiradoreCredentialFields.md
docs/MirakiCredentialFields.md
docs/NessusCredentialFields.md
docs/NetboxCredentialFields.md
docs/NetworkInterface.md
docs/OrgOptions.md
docs/Organization.md
docs/OrganizationAPI.md
docs/OrganizationAPIKey.md
docs/PaloAltoFirewallCredentialFields.md
docs/Problem.md
docs/PublicAPI.md
docs/QualysCredentialFields.md
docs/SNMPv2CommunitiesCredentialFields.md
docs/SNMPv3CredentialFields.md
docs/SampleOptions.md
docs/ScanOptions.md
docs/ScanTemplate.md
docs/ScanTemplateOptions.md
docs/SearchQuery.md
docs/SentinelOneCredentialFields.md
docs/Service.md
docs/ServiceExportResponse.md
docs/ServiceNowAPI.md
docs/ServicePage.md
docs/ShodanCredentialFields.md
docs/Site.md
docs/SiteOptions.md
docs/Software.md
docs/SoftwareExportResponse.md
docs/SoftwarePage.md
docs/SplunkAPI.md
docs/TaniumCredentialFields.md
docs/Task.md
docs/TaskBase.md
docs/TaskOptions.md
docs/TenableIoCredentialFields.md
docs/TenableScCredentialFields.md
docs/URL.md
docs/User.md
docs/UserInviteOptions.md
docs/UserOptions.md
docs/VMwareCredentialFields.md
docs/Vulnerability.md
docs/VulnerabilityExportResponse.md
docs/VulnerabilityPage.md
docs/Wireless.md
docs/WirelessExportResponse.md
docs/WirelessPage.md
docs/WizCredentialFields.md
docs/X509CredentialFields.md
git_push.sh
go.mod
go.sum
model_access_token.go
model_agent.go
model_agent_patched_settings.go
model_agent_patched_settings_settings.go
model_api_client_credentials.go
model_api_key_options.go
model_asset.go
model_asset_comments.go
model_asset_criticality.go
model_asset_criticality_with_search.go
model_asset_export_response.go
model_asset_ids.go
model_asset_metric.go
model_asset_ownership.go
model_asset_ownership_type.go
model_asset_ownership_type_post.go
model_asset_ownerships.go
model_asset_ownerships_with_search.go
model_asset_ownerships_with_search_ownerships_inner.go
model_asset_page.go
model_asset_service_now.go
model_asset_tags.go
model_asset_tags_with_search.go
model_assets_with_checkpoint.go
model_aws_credential_fields.go
model_azure_client_secret_credential_fields.go
model_azure_username_password_credential_fields.go
model_base_custom_integration.go
model_base_response.go
model_bulk_asset_update_result.go
model_censys_credential_fields.go
model_certificate.go
model_component_version.go
model_credential.go
model_credential_fields.go
model_credential_options.go
model_crowdstrike_credential_fields.go
model_custom_attributes_value.go
model_custom_integration.go
model_custom_integration_create.go
model_custom_integration_script_credential_fields.go
model_directory_group.go
model_directory_user.go
model_event.go
model_event_export_response.go
model_event_page.go
model_export_token.go
model_export_token_options.go
model_finding.go
model_finding_link.go
model_finding_links.go
model_gcp_credential_fields.go
model_google_workspace_credential_fields.go
model_group.go
model_group_mapping.go
model_group_post.go
model_group_put.go
model_health_check_response.go
model_hosted_zone.go
model_import_asset.go
model_import_task.go
model_insight_vm_credential_fields.go
model_ldap_credential_fields.go
model_license.go
model_mecm_credential_fields.go
model_miradore_credential_fields.go
model_miraki_credential_fields.go
model_nessus_credential_fields.go
model_netbox_credential_fields.go
model_network_interface.go
model_org_options.go
model_organization.go
model_organization_api_key.go
model_palo_alto_firewall_credential_fields.go
model_problem.go
model_qualys_credential_fields.go
model_sample_options.go
model_scan_options.go
model_scan_template.go
model_scan_template_options.go
model_search_query.go
model_sentinel_one_credential_fields.go
model_service.go
model_service_export_response.go
model_service_page.go
model_shodan_credential_fields.go
model_site.go
model_site_options.go
model_snmpv2_communities_credential_fields.go
model_snmpv3_credential_fields.go
model_software.go
model_software_export_response.go
model_software_page.go
model_tanium_credential_fields.go
model_task.go
model_task_base.go
model_task_options.go
model_tenable_io_credential_fields.go
model_tenable_sc_credential_fields.go
model_url.go
model_user.go
model_user_invite_options.go
model_user_options.go
model_v_mware_credential_fields.go
model_vulnerability.go
model_vulnerability_export_response.go
model_vulnerability_page.go
model_wireless.go
model_wireless_export_response.go
model_wireless_page.go
model_wiz_credential_fields.go
model_x509_credential_fields.go
response.go
utils.go
2 changes: 1 addition & 1 deletion go/.openapi-generator/VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
4.3.1
7.22.0
Loading
Loading