Commit 966030c
authored
Deprecate and remove protopollution module (#26)
This change removes the `protopollution` analysis module, adapter, and all associated configuration and task definitions, as its functionality has been subsumed by the `taint` analysis module.
Changes:
- Removed `internal/analysis/active/protopollution` directory.
- Removed `internal/worker/adapters/proto_adapter.go` and its test.
- Updated `internal/config/config.go` and `config.example.yaml` to remove `protopollution` settings.
- Updated `api/schemas/tasks.go` to remove `TaskAnalyzeWebPageProtoPP` task type.
- Updated `internal/agent/models.go` to remove `ActionAnalyzeProtoPollution`.
- Updated `internal/worker/worker.go` to remove adapter registration.
- Updated `internal/agent/analysis_executor.go` and `internal/discovery/engine.go` to remove dispatch logic.
- Updated relevant tests to reflect the removal.
Co-authored-by: google-labs-jules[bot] <161369871+google-labs-jules[bot]@users.noreply.github.com>1 parent 6ecad90 commit 966030c
15 files changed
Lines changed: 9 additions & 1246 deletions
File tree
- api/schemas
- internal
- agent
- analysis/active/protopollution/analyze
- config
- discovery
- worker
- adapters
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
11 | | - | |
12 | | - | |
13 | | - | |
14 | | - | |
15 | | - | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
16 | 15 | | |
17 | 16 | | |
18 | 17 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
88 | 88 | | |
89 | 89 | | |
90 | 90 | | |
91 | | - | |
92 | | - | |
93 | | - | |
94 | 91 | | |
95 | 92 | | |
96 | 93 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
185 | 185 | | |
186 | 186 | | |
187 | 187 | | |
188 | | - | |
189 | | - | |
190 | 188 | | |
191 | 189 | | |
192 | 190 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
264 | 264 | | |
265 | 265 | | |
266 | 266 | | |
267 | | - | |
268 | 267 | | |
269 | 268 | | |
270 | 269 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
81 | 81 | | |
82 | 82 | | |
83 | 83 | | |
84 | | - | |
85 | 84 | | |
86 | 85 | | |
87 | 86 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
53 | 53 | | |
54 | 54 | | |
55 | 55 | | |
56 | | - | |
57 | | - | |
58 | | - | |
| 56 | + | |
| 57 | + | |
59 | 58 | | |
60 | 59 | | |
61 | 60 | | |
| |||
Lines changed: 0 additions & 217 deletions
This file was deleted.
0 commit comments