Skip to content
This repository has been archived by the owner on Nov 2, 2023. It is now read-only.

Send the list of dependencies #91

Merged
merged 1 commit into from Jan 23, 2020

Conversation

Julio-Guerra
Copy link
Collaborator

Go programs compiled using the new Go modules support now have their list of dependencies and versions available at run time. Send them to Sqreen so that we can perform our dependency analysis.

@Julio-Guerra Julio-Guerra added the enhancement New feature or request label Jan 23, 2020
@Julio-Guerra Julio-Guerra added this to the v0.1.0-beta.10 milestone Jan 23, 2020
@Julio-Guerra Julio-Guerra self-assigned this Jan 23, 2020
Go programs compiled using the new Go modules support now have their list of
dependencies and versions available at run time. Send them to Sqreen so that we
can perform our dependency analysis.
@Julio-Guerra Julio-Guerra changed the base branch from master to dev January 23, 2020 18:54
@Julio-Guerra Julio-Guerra merged commit 22c6781 into dev Jan 23, 2020
@Julio-Guerra Julio-Guerra deleted the feature/send-app-dependency-bundle branch January 23, 2020 18:55
@Julio-Guerra Julio-Guerra mentioned this pull request Jan 24, 2020
Julio-Guerra added a commit that referenced this pull request Jan 24, 2020
Breaking Change

- (#89) Go instrumentation: Sqreen's dynamic configuration of the protection
  your Go programs is made possible at run time thanks to Go instrumentation.
  It is a building block of the upcoming run time self-protection (aka RASP) and
  it is safely performed at compilation time by an instrumentation tool that
  seamlessly integrates with the Go toolchain. To begin, only a specific set of
  Go packages are instrumented: the agent and `database/sql` (to prepare the
  upcoming SQL injection protection).

  Please, find out how to install and use the tool on the new agent installation
  documentation available at https://docs.sqreen.com/go/installation/.

New Features

- (#90) The SDK now imports the agent package to no longer have to import it in the
  `main` package. The SDK is indeed mandatory when setting up Sqreen for Go,
  making it the best place to import the agent.

- (#91) The program dependencies are now sent to Sqreen to perform dependency
  analysis (outdated, vulnerable, etc.). They are only available when the Go
  program you compile is a Go module. Sqreen's dashboard Dependency page will be
  made available soon.

Fix

- (#92) Vendoring using `go mod vendor` could lead to compilation errors due to
  missing files.
Julio-Guerra added a commit that referenced this pull request Jan 24, 2020
Breaking Change

- (#89) Go instrumentation: Sqreen's dynamic configuration of the protection
  your Go programs is made possible at run time thanks to Go instrumentation.
  It is a building block of the upcoming run time self-protection (aka RASP) and
  it is safely performed at compilation time by an instrumentation tool that
  seamlessly integrates with the Go toolchain. To begin, only a specific set of
  Go packages are instrumented: the agent and `database/sql` (to prepare the
  upcoming SQL injection protection).

  Please, find out how to install and use the tool on the new agent installation
  documentation available at https://docs.sqreen.com/go/installation/.

New Features

- (#90) The SDK now imports the agent package to no longer have to import it in the
  `main` package. The SDK is indeed mandatory when setting up Sqreen for Go,
  making it the best place to import the agent.

- (#91) The program dependencies are now sent to Sqreen to perform dependency
  analysis (outdated, vulnerable, etc.). They are only available when the Go
  program you compile is a Go module. Sqreen's dashboard Dependency page will be
  made available soon.

Fix

- (#92) Vendoring using `go mod vendor` could lead to compilation errors due to
  missing files.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant