Skip to content
Merged
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
4 changes: 4 additions & 0 deletions scanpipe/filters.py
Original file line number Diff line number Diff line change
Expand Up @@ -493,6 +493,10 @@ def filter(self, qs, value):
("dwarf_included_paths", "dwarf_included_paths"),
("dwarf_compiled_paths", "dwarf_compiled_paths"),
("go_file_paths", "go_file_paths"),
("elf_symbols", "Elf Symbols"),
("macho_symbols", "Mach0 Symbols"),
("winpe_symbols", "WinPE Symbols"),
("rust_symbols", "Rust Symbols"),
)


Expand Down
6 changes: 5 additions & 1 deletion scanpipe/pipes/d2d_config.py
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,11 @@ class EcosystemConfig:
ecosystem_option="Ruby",
matchable_package_extensions=[".gem"],
matchable_resource_extensions=[".rb"],
deployed_resource_path_exclusions=["*checksums.yaml.gz*", "*metadata.gz*"],
deployed_resource_path_exclusions=[
"*checksums.yaml.gz*",
"*metadata.gz*",
"*data.tar.gz.sig",
],
),
"Elf": EcosystemConfig(
ecosystem_option="Elf",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,13 @@
<span style="vertical-align: middle">
{{ paginator.count|intcomma }} relations
</span>
<a href="{% url 'project_resources' project.slug %}?tag=to&relation_map_type=none" target="_blank" class="button is-small is-info is-outlined">
<a href="{% url 'project_resources' project.slug %}?tag=to&relation_map_type=none&type=file" target="_blank" class="button is-small is-info is-outlined">
<span>Un-mapped <strong>to/</strong> resources</span>
<span class="icon">
<i class="fa-solid fa-external-link-alt"></i>
</span>
</a>
<a href="{% url 'project_resources' project.slug %}?tag=from&relation_map_type=none" target="_blank" class="button is-small is-info is-outlined">
<a href="{% url 'project_resources' project.slug %}?tag=from&relation_map_type=none&type=file" target="_blank" class="button is-small is-info is-outlined">
<span>Un-mapped <strong>from/</strong> resources</span>
<span class="icon">
<i class="fa-solid fa-external-link-alt"></i>
Expand Down
2 changes: 1 addition & 1 deletion scanpipe/tests/data/d2d/config/ecosystem_config.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"matchable_package_extensions": [".jar", ".war", ".gem", ".zip", ".tar.gz", ".tar.xz"],
"matchable_resource_extensions": [".map", ".js", ".mjs", ".ts", ".d.ts", ".jsx", ".tsx", ".css", ".scss", ".less", ".sass", ".soy",".class", ".rb"],
"doc_extensions": [".pdf", ".doc", ".docx", ".ppt", ".pptx", ".tex", ".odt", ".odp"],
"deployed_resource_path_exclusions": ["*checksums.yaml.gz*", "*metadata.gz*"],
"deployed_resource_path_exclusions": ["*checksums.yaml.gz*", "*metadata.gz*", "*data.tar.gz.sig"],
"devel_resource_path_exclusions": ["*/tests/*"],
"standard_symbols_to_exclude": [],
"source_symbol_extensions": []
Expand Down