Thanks to visit codestin.com
Credit goes to github.com

Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: SocketDev/socket-sdk-python
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v3.0.4
Choose a base ref
...
head repository: SocketDev/socket-sdk-python
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: main
Choose a head ref
  • 2 commits
  • 16 files changed
  • 1 contributor

Commits on Sep 9, 2025

  1. fix: Align SDK endpoints and tests with OpenAPI spec (#47)

    - Fix deduplication logic to group by inputPurl instead of batchIndex
    - Update API endpoints to match OpenAPI specifications:
      - fullscans: Support both listing and individual scan retrieval
      - report: Fix file handling and accept 200/201 status codes
      - diffscans: Correct path structure for create_from_repo
      - apitokens: Add list method and flexible update routing
      - auditlog: Fix query parameter handling
      - Multiple endpoints: Correct HTTP methods and response formats
    - Add base_path parameter support for cleaner file organization
    - Update all unit tests to match actual API behavior
    - Remove batchIndex from deduped results while maintaining backward compatibility
    - Comprehensive test coverage for 40+ endpoints with proper mocking
    dacoburn authored Sep 9, 2025
    Configuration menu
    Copy the full SHA
    cf621a4 View commit details
    Browse the repository at this point in the history

Commits on Sep 12, 2025

  1. feat: Add support for base_paths parameter in fullscans and diffscans (

    …#48)
    
    - Add base_paths parameter to Utils.load_files_for_sending_lazy() to support multiple base paths for file key stripping
    - Update FullScans.post() method to accept base_paths parameter with lazy loading support
    - Update DiffScans.create_from_repo() method to accept base_paths parameter
    - Maintain backward compatibility with existing base_path parameter
    - Fix test issues: correct fullscans.get() usage in comprehensive integration test
    - Update test expectations to match correct API path handling (path segments vs query params)
    
    The base_paths parameter takes precedence over base_path when both are provided,
    allowing users to specify multiple directory paths to strip from uploaded file keys
    for cleaner file organization in Socket scans.
    dacoburn authored Sep 12, 2025
    Configuration menu
    Copy the full SHA
    fab2f79 View commit details
    Browse the repository at this point in the history
Loading