cloudsmith-api 0.52.92 → 0.53.79
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +3 -5
- data/README.md +18 -16
- data/build.json +1 -1
- data/docs/AlpinePackageUpload.md +2 -1
- data/docs/BadgesApi.md +1 -6
- data/docs/ConanPackageUpload.md +2 -1
- data/docs/DistrosApi.md +2 -12
- data/docs/EntitlementUsageMetric.md +8 -0
- data/docs/EntitlementsApi.md +10 -60
- data/docs/EntitlementsCreate.md +4 -0
- data/docs/EntitlementsPartialUpdate.md +4 -0
- data/docs/EntitlementsRefresh.md +4 -0
- data/docs/FilesApi.md +5 -30
- data/docs/FormatsApi.md +2 -12
- data/docs/MavenPackageUpload.md +2 -1
- data/docs/MetricsApi.md +4 -14
- data/docs/NamespacesApi.md +2 -12
- data/docs/OrgsApi.md +2 -12
- data/docs/Package.md +2 -1
- data/docs/PackageCopy.md +2 -1
- data/docs/PackageMove.md +2 -1
- data/docs/PackagesApi.md +50 -300
- data/docs/Quota.md +8 -0
- data/docs/QuotaApi.md +228 -0
- data/docs/QuotaHistory.md +8 -0
- data/docs/QuotaHistoryHistory.md +13 -0
- data/docs/RatesApi.md +1 -6
- data/docs/RawPackageUpload.md +2 -1
- data/docs/ReposApi.md +6 -36
- data/docs/RepositoryToken.md +9 -0
- data/docs/RepositoryTokenRefresh.md +9 -0
- data/docs/RepositoryTokenSyncTokens.md +9 -0
- data/docs/StorageregionsApi.md +2 -12
- data/docs/UserApi.md +2 -12
- data/docs/UsersApi.md +1 -6
- data/docs/VagrantPackageUpload.md +2 -1
- data/docs/VulnerabilitiesApi.md +264 -0
- data/docs/VulnerabilityScanResults.md +15 -0
- data/docs/VulnerabilityScanResultsList.md +14 -0
- data/docs/WebhooksApi.md +5 -30
- data/lib/cloudsmith-api.rb +8 -1
- data/lib/cloudsmith-api/api/badges_api.rb +1 -1
- data/lib/cloudsmith-api/api/distros_api.rb +2 -2
- data/lib/cloudsmith-api/api/entitlements_api.rb +10 -10
- data/lib/cloudsmith-api/api/files_api.rb +5 -5
- data/lib/cloudsmith-api/api/formats_api.rb +2 -2
- data/lib/cloudsmith-api/api/metrics_api.rb +5 -5
- data/lib/cloudsmith-api/api/namespaces_api.rb +2 -2
- data/lib/cloudsmith-api/api/orgs_api.rb +2 -2
- data/lib/cloudsmith-api/api/packages_api.rb +50 -50
- data/lib/cloudsmith-api/api/quota_api.rb +227 -0
- data/lib/cloudsmith-api/api/rates_api.rb +1 -1
- data/lib/cloudsmith-api/api/repos_api.rb +6 -6
- data/lib/cloudsmith-api/api/storageregions_api.rb +2 -2
- data/lib/cloudsmith-api/api/user_api.rb +2 -2
- data/lib/cloudsmith-api/api/users_api.rb +1 -1
- data/lib/cloudsmith-api/api/vulnerabilities_api.rb +281 -0
- data/lib/cloudsmith-api/api/webhooks_api.rb +5 -5
- data/lib/cloudsmith-api/configuration.rb +0 -7
- data/lib/cloudsmith-api/models/alpine_package_upload.rb +15 -5
- data/lib/cloudsmith-api/models/conan_package_upload.rb +15 -5
- data/lib/cloudsmith-api/models/{entitlement_token_metric.rb → entitlement_usage_metric.rb} +11 -26
- data/lib/cloudsmith-api/models/entitlements_create.rb +41 -1
- data/lib/cloudsmith-api/models/entitlements_partial_update.rb +41 -1
- data/lib/cloudsmith-api/models/entitlements_refresh.rb +41 -1
- data/lib/cloudsmith-api/models/maven_package_upload.rb +15 -5
- data/lib/cloudsmith-api/models/package.rb +15 -5
- data/lib/cloudsmith-api/models/package_copy.rb +15 -5
- data/lib/cloudsmith-api/models/package_move.rb +15 -5
- data/lib/cloudsmith-api/models/quota.rb +194 -0
- data/lib/cloudsmith-api/models/quota_history.rb +196 -0
- data/lib/cloudsmith-api/models/quota_history_history.rb +239 -0
- data/lib/cloudsmith-api/models/raw_package_upload.rb +15 -5
- data/lib/cloudsmith-api/models/repository_token.rb +91 -1
- data/lib/cloudsmith-api/models/repository_token_refresh.rb +91 -1
- data/lib/cloudsmith-api/models/repository_token_sync_tokens.rb +91 -1
- data/lib/cloudsmith-api/models/vagrant_package_upload.rb +15 -5
- data/lib/cloudsmith-api/models/vulnerability_scan_results.rb +279 -0
- data/lib/cloudsmith-api/models/vulnerability_scan_results_list.rb +264 -0
- data/lib/cloudsmith-api/version.rb +1 -1
- data/spec/api/metrics_api_spec.rb +1 -1
- data/spec/api/quota_api_spec.rb +83 -0
- data/spec/api/vulnerabilities_api_spec.rb +95 -0
- data/spec/models/alpine_package_upload_spec.rb +6 -0
- data/spec/models/conan_package_upload_spec.rb +6 -0
- data/spec/models/{entitlement_token_metric_spec.rb → entitlement_usage_metric_spec.rb} +7 -13
- data/spec/models/entitlements_create_spec.rb +24 -0
- data/spec/models/entitlements_partial_update_spec.rb +24 -0
- data/spec/models/entitlements_refresh_spec.rb +24 -0
- data/spec/models/maven_package_upload_spec.rb +6 -0
- data/spec/models/package_copy_spec.rb +6 -0
- data/spec/models/package_move_spec.rb +6 -0
- data/spec/models/package_spec.rb +6 -0
- data/spec/models/quota_history_history_spec.rb +72 -0
- data/spec/models/quota_history_spec.rb +42 -0
- data/spec/models/quota_spec.rb +42 -0
- data/spec/models/raw_package_upload_spec.rb +6 -0
- data/spec/models/repository_token_refresh_spec.rb +54 -0
- data/spec/models/repository_token_spec.rb +54 -0
- data/spec/models/repository_token_sync_tokens_spec.rb +54 -0
- data/spec/models/vagrant_package_upload_spec.rb +6 -0
- data/spec/models/vulnerability_scan_results_list_spec.rb +78 -0
- data/spec/models/vulnerability_scan_results_spec.rb +84 -0
- data/vendor/bundle/ruby/2.6.0/cache/crack-0.4.4.gem +0 -0
- data/vendor/bundle/ruby/2.6.0/cache/rspec-core-3.9.3.gem +0 -0
- data/vendor/bundle/ruby/2.6.0/extensions/x86_64-linux/2.6.0/autotest-fsevent-0.2.17/gem_make.out +1 -1
- data/vendor/bundle/ruby/2.6.0/extensions/x86_64-linux/2.6.0/ffi-1.13.1/gem_make.out +2 -2
- data/vendor/bundle/ruby/2.6.0/extensions/x86_64-linux/2.6.0/json-2.3.1/gem_make.out +1 -1
- data/vendor/bundle/ruby/2.6.0/gems/{crack-0.4.3 → crack-0.4.4}/lib/crack.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{crack-0.4.3 → crack-0.4.4}/lib/crack/json.rb +5 -18
- data/vendor/bundle/ruby/2.6.0/gems/{crack-0.4.3 → crack-0.4.4}/lib/crack/util.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/crack-0.4.4/lib/crack/version.rb +3 -0
- data/vendor/bundle/ruby/2.6.0/gems/{crack-0.4.3 → crack-0.4.4}/lib/crack/xml.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/ffi-1.13.1/ext/ffi_c/Makefile +3 -3
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.9.2 → rspec-core-3.9.3}/.document +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.9.2 → rspec-core-3.9.3}/.yardopts +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.9.2 → rspec-core-3.9.3}/Changelog.md +17 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.9.2 → rspec-core-3.9.3}/LICENSE.md +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.9.2 → rspec-core-3.9.3}/README.md +3 -3
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.9.2 → rspec-core-3.9.3}/exe/rspec +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.9.2 → rspec-core-3.9.3}/lib/rspec/autorun.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.9.2 → rspec-core-3.9.3}/lib/rspec/core.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.9.2 → rspec-core-3.9.3}/lib/rspec/core/backtrace_formatter.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.9.2 → rspec-core-3.9.3}/lib/rspec/core/bisect/coordinator.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.9.2 → rspec-core-3.9.3}/lib/rspec/core/bisect/example_minimizer.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.9.2 → rspec-core-3.9.3}/lib/rspec/core/bisect/fork_runner.rb +6 -3
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.9.2 → rspec-core-3.9.3}/lib/rspec/core/bisect/server.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.9.2 → rspec-core-3.9.3}/lib/rspec/core/bisect/shell_command.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.9.2 → rspec-core-3.9.3}/lib/rspec/core/bisect/shell_runner.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.9.2 → rspec-core-3.9.3}/lib/rspec/core/bisect/utilities.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.9.2 → rspec-core-3.9.3}/lib/rspec/core/configuration.rb +10 -7
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.9.2 → rspec-core-3.9.3}/lib/rspec/core/configuration_options.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.9.2 → rspec-core-3.9.3}/lib/rspec/core/did_you_mean.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.9.2 → rspec-core-3.9.3}/lib/rspec/core/drb.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.9.2 → rspec-core-3.9.3}/lib/rspec/core/dsl.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.9.2 → rspec-core-3.9.3}/lib/rspec/core/example.rb +10 -3
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.9.2 → rspec-core-3.9.3}/lib/rspec/core/example_group.rb +2 -1
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.9.2 → rspec-core-3.9.3}/lib/rspec/core/example_status_persister.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.9.2 → rspec-core-3.9.3}/lib/rspec/core/filter_manager.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.9.2 → rspec-core-3.9.3}/lib/rspec/core/flat_map.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.9.2 → rspec-core-3.9.3}/lib/rspec/core/formatters.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.9.2 → rspec-core-3.9.3}/lib/rspec/core/formatters/base_bisect_formatter.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.9.2 → rspec-core-3.9.3}/lib/rspec/core/formatters/base_formatter.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.9.2 → rspec-core-3.9.3}/lib/rspec/core/formatters/base_text_formatter.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.9.2 → rspec-core-3.9.3}/lib/rspec/core/formatters/bisect_drb_formatter.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.9.2 → rspec-core-3.9.3}/lib/rspec/core/formatters/bisect_progress_formatter.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.9.2 → rspec-core-3.9.3}/lib/rspec/core/formatters/console_codes.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.9.2 → rspec-core-3.9.3}/lib/rspec/core/formatters/deprecation_formatter.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.9.2 → rspec-core-3.9.3}/lib/rspec/core/formatters/documentation_formatter.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.9.2 → rspec-core-3.9.3}/lib/rspec/core/formatters/exception_presenter.rb +10 -2
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.9.2 → rspec-core-3.9.3}/lib/rspec/core/formatters/failure_list_formatter.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.9.2 → rspec-core-3.9.3}/lib/rspec/core/formatters/fallback_message_formatter.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.9.2 → rspec-core-3.9.3}/lib/rspec/core/formatters/helpers.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.9.2 → rspec-core-3.9.3}/lib/rspec/core/formatters/html_formatter.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.9.2 → rspec-core-3.9.3}/lib/rspec/core/formatters/html_printer.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.9.2 → rspec-core-3.9.3}/lib/rspec/core/formatters/html_snippet_extractor.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.9.2 → rspec-core-3.9.3}/lib/rspec/core/formatters/json_formatter.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.9.2 → rspec-core-3.9.3}/lib/rspec/core/formatters/profile_formatter.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.9.2 → rspec-core-3.9.3}/lib/rspec/core/formatters/progress_formatter.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.9.2 → rspec-core-3.9.3}/lib/rspec/core/formatters/protocol.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.9.2 → rspec-core-3.9.3}/lib/rspec/core/formatters/snippet_extractor.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.9.2 → rspec-core-3.9.3}/lib/rspec/core/formatters/syntax_highlighter.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.9.2 → rspec-core-3.9.3}/lib/rspec/core/hooks.rb +14 -9
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.9.2 → rspec-core-3.9.3}/lib/rspec/core/invocations.rb +1 -1
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.9.2 → rspec-core-3.9.3}/lib/rspec/core/memoized_helpers.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.9.2 → rspec-core-3.9.3}/lib/rspec/core/metadata.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.9.2 → rspec-core-3.9.3}/lib/rspec/core/metadata_filter.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.9.2 → rspec-core-3.9.3}/lib/rspec/core/minitest_assertions_adapter.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.9.2 → rspec-core-3.9.3}/lib/rspec/core/mocking_adapters/flexmock.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.9.2 → rspec-core-3.9.3}/lib/rspec/core/mocking_adapters/mocha.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.9.2 → rspec-core-3.9.3}/lib/rspec/core/mocking_adapters/null.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.9.2 → rspec-core-3.9.3}/lib/rspec/core/mocking_adapters/rr.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.9.2 → rspec-core-3.9.3}/lib/rspec/core/mocking_adapters/rspec.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.9.2 → rspec-core-3.9.3}/lib/rspec/core/notifications.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.9.2 → rspec-core-3.9.3}/lib/rspec/core/option_parser.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.9.2 → rspec-core-3.9.3}/lib/rspec/core/ordering.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.9.2 → rspec-core-3.9.3}/lib/rspec/core/output_wrapper.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.9.2 → rspec-core-3.9.3}/lib/rspec/core/pending.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.9.2 → rspec-core-3.9.3}/lib/rspec/core/profiler.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.9.2 → rspec-core-3.9.3}/lib/rspec/core/project_initializer.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.9.2 → rspec-core-3.9.3}/lib/rspec/core/project_initializer/.rspec +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.9.2 → rspec-core-3.9.3}/lib/rspec/core/project_initializer/spec/spec_helper.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.9.2 → rspec-core-3.9.3}/lib/rspec/core/rake_task.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.9.2 → rspec-core-3.9.3}/lib/rspec/core/reporter.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.9.2 → rspec-core-3.9.3}/lib/rspec/core/ruby_project.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.9.2 → rspec-core-3.9.3}/lib/rspec/core/runner.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.9.2 → rspec-core-3.9.3}/lib/rspec/core/sandbox.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.9.2 → rspec-core-3.9.3}/lib/rspec/core/set.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.9.2 → rspec-core-3.9.3}/lib/rspec/core/shared_context.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.9.2 → rspec-core-3.9.3}/lib/rspec/core/shared_example_group.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.9.2 → rspec-core-3.9.3}/lib/rspec/core/shell_escape.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.9.2 → rspec-core-3.9.3}/lib/rspec/core/test_unit_assertions_adapter.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.9.2 → rspec-core-3.9.3}/lib/rspec/core/version.rb +1 -1
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.9.2 → rspec-core-3.9.3}/lib/rspec/core/warnings.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.9.2 → rspec-core-3.9.3}/lib/rspec/core/world.rb +1 -0
- data/vendor/bundle/ruby/2.6.0/specifications/{crack-0.4.3.gemspec → crack-0.4.4.gemspec} +3 -15
- data/vendor/bundle/ruby/2.6.0/specifications/{rspec-core-3.9.2.gemspec → rspec-core-3.9.3.gemspec} +5 -5
- data/vendor/bundle/ruby/2.6.0/specifications/sys-uname-1.2.1.gemspec +1 -1
- metadata +213 -260
- data/docs/EntitlementTokenMetric.md +0 -9
- data/vendor/bundle/ruby/2.6.0/bin/safe_yaml +0 -27
- data/vendor/bundle/ruby/2.6.0/cache/crack-0.4.3.gem +0 -0
- data/vendor/bundle/ruby/2.6.0/cache/rspec-core-3.9.2.gem +0 -0
- data/vendor/bundle/ruby/2.6.0/cache/safe_yaml-1.0.5.gem +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/crack-0.4.3/.gitignore +0 -8
- data/vendor/bundle/ruby/2.6.0/gems/crack-0.4.3/.travis.yml +0 -14
- data/vendor/bundle/ruby/2.6.0/gems/crack-0.4.3/Gemfile +0 -5
- data/vendor/bundle/ruby/2.6.0/gems/crack-0.4.3/History +0 -25
- data/vendor/bundle/ruby/2.6.0/gems/crack-0.4.3/LICENSE +0 -20
- data/vendor/bundle/ruby/2.6.0/gems/crack-0.4.3/README.md +0 -46
- data/vendor/bundle/ruby/2.6.0/gems/crack-0.4.3/crack.gemspec +0 -20
- data/vendor/bundle/ruby/2.6.0/gems/crack-0.4.3/lib/crack/version.rb +0 -3
- data/vendor/bundle/ruby/2.6.0/gems/crack-0.4.3/script/bootstrap +0 -21
- data/vendor/bundle/ruby/2.6.0/gems/crack-0.4.3/script/release +0 -42
- data/vendor/bundle/ruby/2.6.0/gems/crack-0.4.3/script/test +0 -25
- data/vendor/bundle/ruby/2.6.0/gems/crack-0.4.3/test/data/large_dataset.json +0 -139988
- data/vendor/bundle/ruby/2.6.0/gems/crack-0.4.3/test/data/twittersearch-firefox.json +0 -1
- data/vendor/bundle/ruby/2.6.0/gems/crack-0.4.3/test/data/twittersearch-ie.json +0 -1
- data/vendor/bundle/ruby/2.6.0/gems/crack-0.4.3/test/hash_test.rb +0 -26
- data/vendor/bundle/ruby/2.6.0/gems/crack-0.4.3/test/json_test.rb +0 -91
- data/vendor/bundle/ruby/2.6.0/gems/crack-0.4.3/test/parser_test.rb +0 -27
- data/vendor/bundle/ruby/2.6.0/gems/crack-0.4.3/test/string_test.rb +0 -31
- data/vendor/bundle/ruby/2.6.0/gems/crack-0.4.3/test/test_helper.rb +0 -3
- data/vendor/bundle/ruby/2.6.0/gems/crack-0.4.3/test/xml_test.rb +0 -514
- data/vendor/bundle/ruby/2.6.0/gems/safe_yaml-1.0.5/.gitignore +0 -3
- data/vendor/bundle/ruby/2.6.0/gems/safe_yaml-1.0.5/.travis.yml +0 -48
- data/vendor/bundle/ruby/2.6.0/gems/safe_yaml-1.0.5/CHANGES.md +0 -154
- data/vendor/bundle/ruby/2.6.0/gems/safe_yaml-1.0.5/Gemfile +0 -11
- data/vendor/bundle/ruby/2.6.0/gems/safe_yaml-1.0.5/LICENSE.txt +0 -22
- data/vendor/bundle/ruby/2.6.0/gems/safe_yaml-1.0.5/README.md +0 -191
- data/vendor/bundle/ruby/2.6.0/gems/safe_yaml-1.0.5/Rakefile +0 -26
- data/vendor/bundle/ruby/2.6.0/gems/safe_yaml-1.0.5/bin/safe_yaml +0 -75
- data/vendor/bundle/ruby/2.6.0/gems/safe_yaml-1.0.5/bundle_install_all_ruby_versions.sh +0 -11
- data/vendor/bundle/ruby/2.6.0/gems/safe_yaml-1.0.5/lib/safe_yaml.rb +0 -94
- data/vendor/bundle/ruby/2.6.0/gems/safe_yaml-1.0.5/lib/safe_yaml/deep.rb +0 -34
- data/vendor/bundle/ruby/2.6.0/gems/safe_yaml-1.0.5/lib/safe_yaml/libyaml_checker.rb +0 -36
- data/vendor/bundle/ruby/2.6.0/gems/safe_yaml-1.0.5/lib/safe_yaml/load.rb +0 -181
- data/vendor/bundle/ruby/2.6.0/gems/safe_yaml-1.0.5/lib/safe_yaml/parse/date.rb +0 -37
- data/vendor/bundle/ruby/2.6.0/gems/safe_yaml-1.0.5/lib/safe_yaml/parse/hexadecimal.rb +0 -12
- data/vendor/bundle/ruby/2.6.0/gems/safe_yaml-1.0.5/lib/safe_yaml/parse/sexagesimal.rb +0 -26
- data/vendor/bundle/ruby/2.6.0/gems/safe_yaml-1.0.5/lib/safe_yaml/psych_handler.rb +0 -99
- data/vendor/bundle/ruby/2.6.0/gems/safe_yaml-1.0.5/lib/safe_yaml/psych_resolver.rb +0 -52
- data/vendor/bundle/ruby/2.6.0/gems/safe_yaml-1.0.5/lib/safe_yaml/resolver.rb +0 -94
- data/vendor/bundle/ruby/2.6.0/gems/safe_yaml-1.0.5/lib/safe_yaml/safe_to_ruby_visitor.rb +0 -29
- data/vendor/bundle/ruby/2.6.0/gems/safe_yaml-1.0.5/lib/safe_yaml/store.rb +0 -39
- data/vendor/bundle/ruby/2.6.0/gems/safe_yaml-1.0.5/lib/safe_yaml/syck_hack.rb +0 -36
- data/vendor/bundle/ruby/2.6.0/gems/safe_yaml-1.0.5/lib/safe_yaml/syck_node_monkeypatch.rb +0 -43
- data/vendor/bundle/ruby/2.6.0/gems/safe_yaml-1.0.5/lib/safe_yaml/syck_resolver.rb +0 -38
- data/vendor/bundle/ruby/2.6.0/gems/safe_yaml-1.0.5/lib/safe_yaml/transform.rb +0 -41
- data/vendor/bundle/ruby/2.6.0/gems/safe_yaml-1.0.5/lib/safe_yaml/transform/to_boolean.rb +0 -21
- data/vendor/bundle/ruby/2.6.0/gems/safe_yaml-1.0.5/lib/safe_yaml/transform/to_date.rb +0 -13
- data/vendor/bundle/ruby/2.6.0/gems/safe_yaml-1.0.5/lib/safe_yaml/transform/to_float.rb +0 -33
- data/vendor/bundle/ruby/2.6.0/gems/safe_yaml-1.0.5/lib/safe_yaml/transform/to_integer.rb +0 -26
- data/vendor/bundle/ruby/2.6.0/gems/safe_yaml-1.0.5/lib/safe_yaml/transform/to_nil.rb +0 -18
- data/vendor/bundle/ruby/2.6.0/gems/safe_yaml-1.0.5/lib/safe_yaml/transform/to_symbol.rb +0 -17
- data/vendor/bundle/ruby/2.6.0/gems/safe_yaml-1.0.5/lib/safe_yaml/transform/transformation_map.rb +0 -47
- data/vendor/bundle/ruby/2.6.0/gems/safe_yaml-1.0.5/lib/safe_yaml/version.rb +0 -3
- data/vendor/bundle/ruby/2.6.0/gems/safe_yaml-1.0.5/run_specs_all_ruby_versions.sh +0 -38
- data/vendor/bundle/ruby/2.6.0/gems/safe_yaml-1.0.5/safe_yaml.gemspec +0 -19
- data/vendor/bundle/ruby/2.6.0/gems/safe_yaml-1.0.5/spec/exploit.1.9.2.yaml +0 -2
- data/vendor/bundle/ruby/2.6.0/gems/safe_yaml-1.0.5/spec/exploit.1.9.3.yaml +0 -2
- data/vendor/bundle/ruby/2.6.0/gems/safe_yaml-1.0.5/spec/issue48.txt +0 -20
- data/vendor/bundle/ruby/2.6.0/gems/safe_yaml-1.0.5/spec/issue49.yml +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/safe_yaml-1.0.5/spec/libyaml_checker_spec.rb +0 -69
- data/vendor/bundle/ruby/2.6.0/gems/safe_yaml-1.0.5/spec/psych_resolver_spec.rb +0 -10
- data/vendor/bundle/ruby/2.6.0/gems/safe_yaml-1.0.5/spec/resolver_specs.rb +0 -278
- data/vendor/bundle/ruby/2.6.0/gems/safe_yaml-1.0.5/spec/safe_yaml_spec.rb +0 -731
- data/vendor/bundle/ruby/2.6.0/gems/safe_yaml-1.0.5/spec/spec_helper.rb +0 -42
- data/vendor/bundle/ruby/2.6.0/gems/safe_yaml-1.0.5/spec/store_spec.rb +0 -57
- data/vendor/bundle/ruby/2.6.0/gems/safe_yaml-1.0.5/spec/support/exploitable_back_door.rb +0 -29
- data/vendor/bundle/ruby/2.6.0/gems/safe_yaml-1.0.5/spec/syck_resolver_spec.rb +0 -10
- data/vendor/bundle/ruby/2.6.0/gems/safe_yaml-1.0.5/spec/transform/base64_spec.rb +0 -11
- data/vendor/bundle/ruby/2.6.0/gems/safe_yaml-1.0.5/spec/transform/to_date_spec.rb +0 -60
- data/vendor/bundle/ruby/2.6.0/gems/safe_yaml-1.0.5/spec/transform/to_float_spec.rb +0 -42
- data/vendor/bundle/ruby/2.6.0/gems/safe_yaml-1.0.5/spec/transform/to_integer_spec.rb +0 -64
- data/vendor/bundle/ruby/2.6.0/gems/safe_yaml-1.0.5/spec/transform/to_symbol_spec.rb +0 -51
- data/vendor/bundle/ruby/2.6.0/gems/safe_yaml-1.0.5/spec/yaml_spec.rb +0 -15
- data/vendor/bundle/ruby/2.6.0/specifications/safe_yaml-1.0.5.gemspec +0 -23
@@ -3,14 +3,20 @@
|
|
3
3
|
## Properties
|
4
4
|
Name | Type | Description | Notes
|
5
5
|
------------ | ------------- | ------------- | -------------
|
6
|
+
**clients** | **Integer** | | [optional]
|
6
7
|
**created_at** | **String** | The datetime the token was updated at. | [optional]
|
7
8
|
**created_by** | **String** | | [optional]
|
8
9
|
**created_by_url** | **String** | | [optional]
|
9
10
|
**default** | **BOOLEAN** | If selected this is the default token for this repository. | [optional]
|
11
|
+
**disable_url** | **String** | | [optional]
|
12
|
+
**downloads** | **Integer** | | [optional]
|
13
|
+
**enable_url** | **String** | | [optional]
|
10
14
|
**has_limits** | **BOOLEAN** | | [optional]
|
11
15
|
**identifier** | **Integer** | | [optional]
|
12
16
|
**is_active** | **BOOLEAN** | If enabled, the token will allow downloads based on configured restrictions (if any). | [optional]
|
13
17
|
**is_limited** | **BOOLEAN** | | [optional]
|
18
|
+
**limit_bandwidth** | **Integer** | The maximum download bandwidth allowed for the token. Values are expressed as the selected unit of bandwidth. Please note that since downloads are calculated asynchronously (after the download happens), the limit may not be imposed immediately but at a later point. | [optional]
|
19
|
+
**limit_bandwidth_unit** | **String** | | [optional]
|
14
20
|
**limit_date_range_from** | **String** | The starting date/time the token is allowed to be used from. | [optional]
|
15
21
|
**limit_date_range_to** | **String** | The ending date/time the token is allowed to be used until. | [optional]
|
16
22
|
**limit_num_clients** | **Integer** | The maximum number of unique clients allowed for the token. Please note that since clients are calculated asynchronously (after the download happens), the limit may not be imposed immediately but at a later point. | [optional]
|
@@ -20,6 +26,9 @@ Name | Type | Description | Notes
|
|
20
26
|
**metadata** | **Object** | | [optional]
|
21
27
|
**name** | **String** | | [optional]
|
22
28
|
**refresh_url** | **String** | | [optional]
|
29
|
+
**reset_url** | **String** | | [optional]
|
30
|
+
**scheduled_reset_at** | **String** | The time at which the scheduled reset period has elapsed and the token limits were automatically reset to zero. | [optional]
|
31
|
+
**scheduled_reset_period** | **String** | | [optional]
|
23
32
|
**self_url** | **String** | | [optional]
|
24
33
|
**slug_perm** | **String** | | [optional]
|
25
34
|
**token** | **String** | | [optional]
|
@@ -3,14 +3,20 @@
|
|
3
3
|
## Properties
|
4
4
|
Name | Type | Description | Notes
|
5
5
|
------------ | ------------- | ------------- | -------------
|
6
|
+
**clients** | **Integer** | | [optional]
|
6
7
|
**created_at** | **String** | The datetime the token was updated at. | [optional]
|
7
8
|
**created_by** | **String** | | [optional]
|
8
9
|
**created_by_url** | **String** | | [optional]
|
9
10
|
**default** | **BOOLEAN** | If selected this is the default token for this repository. | [optional]
|
11
|
+
**disable_url** | **String** | | [optional]
|
12
|
+
**downloads** | **Integer** | | [optional]
|
13
|
+
**enable_url** | **String** | | [optional]
|
10
14
|
**has_limits** | **BOOLEAN** | | [optional]
|
11
15
|
**identifier** | **Integer** | | [optional]
|
12
16
|
**is_active** | **BOOLEAN** | If enabled, the token will allow downloads based on configured restrictions (if any). | [optional]
|
13
17
|
**is_limited** | **BOOLEAN** | | [optional]
|
18
|
+
**limit_bandwidth** | **Integer** | The maximum download bandwidth allowed for the token. Values are expressed as the selected unit of bandwidth. Please note that since downloads are calculated asynchronously (after the download happens), the limit may not be imposed immediately but at a later point. | [optional]
|
19
|
+
**limit_bandwidth_unit** | **String** | | [optional]
|
14
20
|
**limit_date_range_from** | **String** | The starting date/time the token is allowed to be used from. | [optional]
|
15
21
|
**limit_date_range_to** | **String** | The ending date/time the token is allowed to be used until. | [optional]
|
16
22
|
**limit_num_clients** | **Integer** | The maximum number of unique clients allowed for the token. Please note that since clients are calculated asynchronously (after the download happens), the limit may not be imposed immediately but at a later point. | [optional]
|
@@ -20,6 +26,9 @@ Name | Type | Description | Notes
|
|
20
26
|
**metadata** | **String** | | [optional]
|
21
27
|
**name** | **String** | | [optional]
|
22
28
|
**refresh_url** | **String** | | [optional]
|
29
|
+
**reset_url** | **String** | | [optional]
|
30
|
+
**scheduled_reset_at** | **String** | The time at which the scheduled reset period has elapsed and the token limits were automatically reset to zero. | [optional]
|
31
|
+
**scheduled_reset_period** | **String** | | [optional]
|
23
32
|
**self_url** | **String** | | [optional]
|
24
33
|
**slug_perm** | **String** | | [optional]
|
25
34
|
**token** | **String** | | [optional]
|
data/docs/StorageregionsApi.md
CHANGED
@@ -25,11 +25,6 @@ CloudsmithApi.configure do |config|
|
|
25
25
|
config.api_key['X-Api-Key'] = 'YOUR API KEY'
|
26
26
|
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
27
27
|
#config.api_key_prefix['X-Api-Key'] = 'Bearer'
|
28
|
-
|
29
|
-
# Configure API key authorization: csrf_token
|
30
|
-
config.api_key['X-CSRFToken'] = 'YOUR API KEY'
|
31
|
-
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
32
|
-
#config.api_key_prefix['X-CSRFToken'] = 'Bearer'
|
33
28
|
end
|
34
29
|
|
35
30
|
api_instance = CloudsmithApi::StorageregionsApi.new
|
@@ -52,7 +47,7 @@ This endpoint does not need any parameter.
|
|
52
47
|
|
53
48
|
### Authorization
|
54
49
|
|
55
|
-
[apikey](../README.md#apikey)
|
50
|
+
[apikey](../README.md#apikey)
|
56
51
|
|
57
52
|
### HTTP request headers
|
58
53
|
|
@@ -78,11 +73,6 @@ CloudsmithApi.configure do |config|
|
|
78
73
|
config.api_key['X-Api-Key'] = 'YOUR API KEY'
|
79
74
|
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
80
75
|
#config.api_key_prefix['X-Api-Key'] = 'Bearer'
|
81
|
-
|
82
|
-
# Configure API key authorization: csrf_token
|
83
|
-
config.api_key['X-CSRFToken'] = 'YOUR API KEY'
|
84
|
-
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
85
|
-
#config.api_key_prefix['X-CSRFToken'] = 'Bearer'
|
86
76
|
end
|
87
77
|
|
88
78
|
api_instance = CloudsmithApi::StorageregionsApi.new
|
@@ -111,7 +101,7 @@ Name | Type | Description | Notes
|
|
111
101
|
|
112
102
|
### Authorization
|
113
103
|
|
114
|
-
[apikey](../README.md#apikey)
|
104
|
+
[apikey](../README.md#apikey)
|
115
105
|
|
116
106
|
### HTTP request headers
|
117
107
|
|
data/docs/UserApi.md
CHANGED
@@ -25,11 +25,6 @@ CloudsmithApi.configure do |config|
|
|
25
25
|
config.api_key['X-Api-Key'] = 'YOUR API KEY'
|
26
26
|
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
27
27
|
#config.api_key_prefix['X-Api-Key'] = 'Bearer'
|
28
|
-
|
29
|
-
# Configure API key authorization: csrf_token
|
30
|
-
config.api_key['X-CSRFToken'] = 'YOUR API KEY'
|
31
|
-
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
32
|
-
#config.api_key_prefix['X-CSRFToken'] = 'Bearer'
|
33
28
|
end
|
34
29
|
|
35
30
|
api_instance = CloudsmithApi::UserApi.new
|
@@ -52,7 +47,7 @@ This endpoint does not need any parameter.
|
|
52
47
|
|
53
48
|
### Authorization
|
54
49
|
|
55
|
-
[apikey](../README.md#apikey)
|
50
|
+
[apikey](../README.md#apikey)
|
56
51
|
|
57
52
|
### HTTP request headers
|
58
53
|
|
@@ -78,11 +73,6 @@ CloudsmithApi.configure do |config|
|
|
78
73
|
config.api_key['X-Api-Key'] = 'YOUR API KEY'
|
79
74
|
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
80
75
|
#config.api_key_prefix['X-Api-Key'] = 'Bearer'
|
81
|
-
|
82
|
-
# Configure API key authorization: csrf_token
|
83
|
-
config.api_key['X-CSRFToken'] = 'YOUR API KEY'
|
84
|
-
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
85
|
-
#config.api_key_prefix['X-CSRFToken'] = 'Bearer'
|
86
76
|
end
|
87
77
|
|
88
78
|
api_instance = CloudsmithApi::UserApi.new
|
@@ -112,7 +102,7 @@ Name | Type | Description | Notes
|
|
112
102
|
|
113
103
|
### Authorization
|
114
104
|
|
115
|
-
[apikey](../README.md#apikey)
|
105
|
+
[apikey](../README.md#apikey)
|
116
106
|
|
117
107
|
### HTTP request headers
|
118
108
|
|
data/docs/UsersApi.md
CHANGED
@@ -24,11 +24,6 @@ CloudsmithApi.configure do |config|
|
|
24
24
|
config.api_key['X-Api-Key'] = 'YOUR API KEY'
|
25
25
|
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
26
26
|
#config.api_key_prefix['X-Api-Key'] = 'Bearer'
|
27
|
-
|
28
|
-
# Configure API key authorization: csrf_token
|
29
|
-
config.api_key['X-CSRFToken'] = 'YOUR API KEY'
|
30
|
-
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
31
|
-
#config.api_key_prefix['X-CSRFToken'] = 'Bearer'
|
32
27
|
end
|
33
28
|
|
34
29
|
api_instance = CloudsmithApi::UsersApi.new
|
@@ -57,7 +52,7 @@ Name | Type | Description | Notes
|
|
57
52
|
|
58
53
|
### Authorization
|
59
54
|
|
60
|
-
[apikey](../README.md#apikey)
|
55
|
+
[apikey](../README.md#apikey)
|
61
56
|
|
62
57
|
### HTTP request headers
|
63
58
|
|
@@ -39,7 +39,7 @@ Name | Type | Description | Notes
|
|
39
39
|
**self_html_url** | **String** | | [optional]
|
40
40
|
**self_url** | **String** | | [optional]
|
41
41
|
**size** | **Integer** | The calculated size of the package. | [optional]
|
42
|
-
**slug** | **String** |
|
42
|
+
**slug** | **String** | The public unique identifier for the package. | [optional]
|
43
43
|
**slug_perm** | **String** | | [optional]
|
44
44
|
**stage** | **String** | The synchronisation (in progress) stage of the package. | [optional]
|
45
45
|
**stage_str** | **String** | | [optional]
|
@@ -60,5 +60,6 @@ Name | Type | Description | Notes
|
|
60
60
|
**uploader_url** | **String** | | [optional]
|
61
61
|
**version** | **String** | The raw version for this package. |
|
62
62
|
**version_orig** | **String** | | [optional]
|
63
|
+
**vulnerability_scan_results_url** | **String** | | [optional]
|
63
64
|
|
64
65
|
|
@@ -0,0 +1,264 @@
|
|
1
|
+
# CloudsmithApi::VulnerabilitiesApi
|
2
|
+
|
3
|
+
All URIs are relative to *https://api.cloudsmith.io*
|
4
|
+
|
5
|
+
Method | HTTP request | Description
|
6
|
+
------------- | ------------- | -------------
|
7
|
+
[**vulnerabilities_list**](VulnerabilitiesApi.md#vulnerabilities_list) | **GET** /vulnerabilities/{owner}/ | Read-only view to list vulnerabiltiy scan results within a Namespace.
|
8
|
+
[**vulnerabilities_list0**](VulnerabilitiesApi.md#vulnerabilities_list0) | **GET** /vulnerabilities/{owner}/{repo}/ | Read-only views to list vulnerabiltiy scan results within a Repository.
|
9
|
+
[**vulnerabilities_list1**](VulnerabilitiesApi.md#vulnerabilities_list1) | **GET** /vulnerabilities/{owner}/{repo}/{package}/ | Read-only views to list vulnerabiltiy scan results within a Repository
|
10
|
+
[**vulnerabilities_read**](VulnerabilitiesApi.md#vulnerabilities_read) | **GET** /vulnerabilities/{owner}/{repo}/{package}/{scan_id}/ | Read-only view to retrieve vulnerability scans results using a
|
11
|
+
|
12
|
+
|
13
|
+
# **vulnerabilities_list**
|
14
|
+
> Array<VulnerabilityScanResultsList> vulnerabilities_list(owner, opts)
|
15
|
+
|
16
|
+
Read-only view to list vulnerabiltiy scan results within a Namespace.
|
17
|
+
|
18
|
+
Read-only view to list vulnerabiltiy scan results within a Namespace.
|
19
|
+
|
20
|
+
### Example
|
21
|
+
```ruby
|
22
|
+
# load the gem
|
23
|
+
require 'cloudsmith-api'
|
24
|
+
# setup authorization
|
25
|
+
CloudsmithApi.configure do |config|
|
26
|
+
# Configure API key authorization: apikey
|
27
|
+
config.api_key['X-Api-Key'] = 'YOUR API KEY'
|
28
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
29
|
+
#config.api_key_prefix['X-Api-Key'] = 'Bearer'
|
30
|
+
end
|
31
|
+
|
32
|
+
api_instance = CloudsmithApi::VulnerabilitiesApi.new
|
33
|
+
|
34
|
+
owner = "owner_example" # String |
|
35
|
+
|
36
|
+
opts = {
|
37
|
+
page: 56, # Integer | A page number within the paginated result set.
|
38
|
+
page_size: 56 # Integer | Number of results to return per page.
|
39
|
+
}
|
40
|
+
|
41
|
+
begin
|
42
|
+
#Read-only view to list vulnerabiltiy scan results within a Namespace.
|
43
|
+
result = api_instance.vulnerabilities_list(owner, opts)
|
44
|
+
p result
|
45
|
+
rescue CloudsmithApi::ApiError => e
|
46
|
+
puts "Exception when calling VulnerabilitiesApi->vulnerabilities_list: #{e}"
|
47
|
+
end
|
48
|
+
```
|
49
|
+
|
50
|
+
### Parameters
|
51
|
+
|
52
|
+
Name | Type | Description | Notes
|
53
|
+
------------- | ------------- | ------------- | -------------
|
54
|
+
**owner** | **String**| |
|
55
|
+
**page** | **Integer**| A page number within the paginated result set. | [optional]
|
56
|
+
**page_size** | **Integer**| Number of results to return per page. | [optional]
|
57
|
+
|
58
|
+
### Return type
|
59
|
+
|
60
|
+
[**Array<VulnerabilityScanResultsList>**](VulnerabilityScanResultsList.md)
|
61
|
+
|
62
|
+
### Authorization
|
63
|
+
|
64
|
+
[apikey](../README.md#apikey)
|
65
|
+
|
66
|
+
### HTTP request headers
|
67
|
+
|
68
|
+
- **Content-Type**: Not defined
|
69
|
+
- **Accept**: Not defined
|
70
|
+
|
71
|
+
|
72
|
+
|
73
|
+
# **vulnerabilities_list0**
|
74
|
+
> Array<VulnerabilityScanResultsList> vulnerabilities_list0(owner, repo, opts)
|
75
|
+
|
76
|
+
Read-only views to list vulnerabiltiy scan results within a Repository.
|
77
|
+
|
78
|
+
Read-only views to list vulnerabiltiy scan results within a Repository.
|
79
|
+
|
80
|
+
### Example
|
81
|
+
```ruby
|
82
|
+
# load the gem
|
83
|
+
require 'cloudsmith-api'
|
84
|
+
# setup authorization
|
85
|
+
CloudsmithApi.configure do |config|
|
86
|
+
# Configure API key authorization: apikey
|
87
|
+
config.api_key['X-Api-Key'] = 'YOUR API KEY'
|
88
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
89
|
+
#config.api_key_prefix['X-Api-Key'] = 'Bearer'
|
90
|
+
end
|
91
|
+
|
92
|
+
api_instance = CloudsmithApi::VulnerabilitiesApi.new
|
93
|
+
|
94
|
+
owner = "owner_example" # String |
|
95
|
+
|
96
|
+
repo = "repo_example" # String |
|
97
|
+
|
98
|
+
opts = {
|
99
|
+
page: 56, # Integer | A page number within the paginated result set.
|
100
|
+
page_size: 56 # Integer | Number of results to return per page.
|
101
|
+
}
|
102
|
+
|
103
|
+
begin
|
104
|
+
#Read-only views to list vulnerabiltiy scan results within a Repository.
|
105
|
+
result = api_instance.vulnerabilities_list0(owner, repo, opts)
|
106
|
+
p result
|
107
|
+
rescue CloudsmithApi::ApiError => e
|
108
|
+
puts "Exception when calling VulnerabilitiesApi->vulnerabilities_list0: #{e}"
|
109
|
+
end
|
110
|
+
```
|
111
|
+
|
112
|
+
### Parameters
|
113
|
+
|
114
|
+
Name | Type | Description | Notes
|
115
|
+
------------- | ------------- | ------------- | -------------
|
116
|
+
**owner** | **String**| |
|
117
|
+
**repo** | **String**| |
|
118
|
+
**page** | **Integer**| A page number within the paginated result set. | [optional]
|
119
|
+
**page_size** | **Integer**| Number of results to return per page. | [optional]
|
120
|
+
|
121
|
+
### Return type
|
122
|
+
|
123
|
+
[**Array<VulnerabilityScanResultsList>**](VulnerabilityScanResultsList.md)
|
124
|
+
|
125
|
+
### Authorization
|
126
|
+
|
127
|
+
[apikey](../README.md#apikey)
|
128
|
+
|
129
|
+
### HTTP request headers
|
130
|
+
|
131
|
+
- **Content-Type**: Not defined
|
132
|
+
- **Accept**: Not defined
|
133
|
+
|
134
|
+
|
135
|
+
|
136
|
+
# **vulnerabilities_list1**
|
137
|
+
> Array<VulnerabilityScanResultsList> vulnerabilities_list1(owner, repo, package, opts)
|
138
|
+
|
139
|
+
Read-only views to list vulnerabiltiy scan results within a Repository
|
140
|
+
|
141
|
+
Read-only views to list vulnerabiltiy scan results within a Repository for a given Package identifier.
|
142
|
+
|
143
|
+
### Example
|
144
|
+
```ruby
|
145
|
+
# load the gem
|
146
|
+
require 'cloudsmith-api'
|
147
|
+
# setup authorization
|
148
|
+
CloudsmithApi.configure do |config|
|
149
|
+
# Configure API key authorization: apikey
|
150
|
+
config.api_key['X-Api-Key'] = 'YOUR API KEY'
|
151
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
152
|
+
#config.api_key_prefix['X-Api-Key'] = 'Bearer'
|
153
|
+
end
|
154
|
+
|
155
|
+
api_instance = CloudsmithApi::VulnerabilitiesApi.new
|
156
|
+
|
157
|
+
owner = "owner_example" # String |
|
158
|
+
|
159
|
+
repo = "repo_example" # String |
|
160
|
+
|
161
|
+
package = "package_example" # String | The package that the scan result relates to.
|
162
|
+
|
163
|
+
opts = {
|
164
|
+
page: 56, # Integer | A page number within the paginated result set.
|
165
|
+
page_size: 56 # Integer | Number of results to return per page.
|
166
|
+
}
|
167
|
+
|
168
|
+
begin
|
169
|
+
#Read-only views to list vulnerabiltiy scan results within a Repository
|
170
|
+
result = api_instance.vulnerabilities_list1(owner, repo, package, opts)
|
171
|
+
p result
|
172
|
+
rescue CloudsmithApi::ApiError => e
|
173
|
+
puts "Exception when calling VulnerabilitiesApi->vulnerabilities_list1: #{e}"
|
174
|
+
end
|
175
|
+
```
|
176
|
+
|
177
|
+
### Parameters
|
178
|
+
|
179
|
+
Name | Type | Description | Notes
|
180
|
+
------------- | ------------- | ------------- | -------------
|
181
|
+
**owner** | **String**| |
|
182
|
+
**repo** | **String**| |
|
183
|
+
**package** | **String**| The package that the scan result relates to. |
|
184
|
+
**page** | **Integer**| A page number within the paginated result set. | [optional]
|
185
|
+
**page_size** | **Integer**| Number of results to return per page. | [optional]
|
186
|
+
|
187
|
+
### Return type
|
188
|
+
|
189
|
+
[**Array<VulnerabilityScanResultsList>**](VulnerabilityScanResultsList.md)
|
190
|
+
|
191
|
+
### Authorization
|
192
|
+
|
193
|
+
[apikey](../README.md#apikey)
|
194
|
+
|
195
|
+
### HTTP request headers
|
196
|
+
|
197
|
+
- **Content-Type**: Not defined
|
198
|
+
- **Accept**: Not defined
|
199
|
+
|
200
|
+
|
201
|
+
|
202
|
+
# **vulnerabilities_read**
|
203
|
+
> VulnerabilityScanResults vulnerabilities_read(owner, repo, package, scan_id)
|
204
|
+
|
205
|
+
Read-only view to retrieve vulnerability scans results using a
|
206
|
+
|
207
|
+
Read-only view to retrieve vulnerability scans results using a vulnerabiltiy scan results identifier (slug_perm).
|
208
|
+
|
209
|
+
### Example
|
210
|
+
```ruby
|
211
|
+
# load the gem
|
212
|
+
require 'cloudsmith-api'
|
213
|
+
# setup authorization
|
214
|
+
CloudsmithApi.configure do |config|
|
215
|
+
# Configure API key authorization: apikey
|
216
|
+
config.api_key['X-Api-Key'] = 'YOUR API KEY'
|
217
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
218
|
+
#config.api_key_prefix['X-Api-Key'] = 'Bearer'
|
219
|
+
end
|
220
|
+
|
221
|
+
api_instance = CloudsmithApi::VulnerabilitiesApi.new
|
222
|
+
|
223
|
+
owner = "owner_example" # String |
|
224
|
+
|
225
|
+
repo = "repo_example" # String |
|
226
|
+
|
227
|
+
package = "package_example" # String | The package that the scan result relates to.
|
228
|
+
|
229
|
+
scan_id = "scan_id_example" # String | A sequential identifier that increments by one for each new scan result within a package. These are always unique and can be used to reference the scan results elsewhere (e.g. via the CLI.)
|
230
|
+
|
231
|
+
|
232
|
+
begin
|
233
|
+
#Read-only view to retrieve vulnerability scans results using a
|
234
|
+
result = api_instance.vulnerabilities_read(owner, repo, package, scan_id)
|
235
|
+
p result
|
236
|
+
rescue CloudsmithApi::ApiError => e
|
237
|
+
puts "Exception when calling VulnerabilitiesApi->vulnerabilities_read: #{e}"
|
238
|
+
end
|
239
|
+
```
|
240
|
+
|
241
|
+
### Parameters
|
242
|
+
|
243
|
+
Name | Type | Description | Notes
|
244
|
+
------------- | ------------- | ------------- | -------------
|
245
|
+
**owner** | **String**| |
|
246
|
+
**repo** | **String**| |
|
247
|
+
**package** | **String**| The package that the scan result relates to. |
|
248
|
+
**scan_id** | **String**| A sequential identifier that increments by one for each new scan result within a package. These are always unique and can be used to reference the scan results elsewhere (e.g. via the CLI.) |
|
249
|
+
|
250
|
+
### Return type
|
251
|
+
|
252
|
+
[**VulnerabilityScanResults**](VulnerabilityScanResults.md)
|
253
|
+
|
254
|
+
### Authorization
|
255
|
+
|
256
|
+
[apikey](../README.md#apikey)
|
257
|
+
|
258
|
+
### HTTP request headers
|
259
|
+
|
260
|
+
- **Content-Type**: Not defined
|
261
|
+
- **Accept**: Not defined
|
262
|
+
|
263
|
+
|
264
|
+
|
@@ -0,0 +1,15 @@
|
|
1
|
+
# CloudsmithApi::VulnerabilityScanResults
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
Name | Type | Description | Notes
|
5
|
+
------------ | ------------- | ------------- | -------------
|
6
|
+
**created_at** | **String** | The time this scan result was stored. | [optional]
|
7
|
+
**has_vulnerabilities** | **BOOLEAN** | Do the results contain any known vulnerabilities? | [optional]
|
8
|
+
**identifier** | **String** | |
|
9
|
+
**max_severity** | **String** | | [optional]
|
10
|
+
**num_vulnerabilities** | **Integer** | | [optional]
|
11
|
+
**package** | **Object** | |
|
12
|
+
**scan** | **Object** | |
|
13
|
+
**scan_id** | **Integer** | |
|
14
|
+
|
15
|
+
|