Security News
Input Validation Vulnerabilities Dominate MITRE's 2024 CWE Top 25 List
MITRE's 2024 CWE Top 25 highlights critical software vulnerabilities like XSS, SQL Injection, and CSRF, reflecting shifts due to a refined ranking methodology.
@xras/resource-catalog
Advanced tools
This app provides a user interface to browse available Resources and their features, with the ability to filter the list for easier browsing.
<div id="resource_catalog_app"></div>
<script type="module">
import { renderCatalog } from "https://esm.sh/@xras/resource-catalog@0.1.0";
renderCatalog({
api_url: "/path/to/catalog.json",
allowed_categories: [],
allowed_filters: [],
excluded_categories: [],
excluded_filters: [],
disable_bootstrap: false
});
</script>
Option | Values | Required |
---|---|---|
api_url | The URL for your Resource Catalog | True |
allowed_categories | A list of filter categories that you want displayed. Ex: ["Resource Type", "Specialized Hardware"] | False |
allowed_filters | A list of filters you want users to see. Ex: ["GPU Compute"] | False |
excluded_categories | A list of filter categories that you want hidden from users. Ex: ["Specialized Support", "Specialized Hardware"] | False |
excluded_filters | A list of filters that you want hidden from users. Ex: ["ACCESS Allocated", "ACCESS OnDemand"] | False |
disable_bootstrap | If your site uses Bootstrap and you don't want this app to overwrite your styles, add this parameter. | False |
allowed_features | If you only want to include Resources that have certain features, you can use this parameter. Ex: [{category: "Resource Category", features: ["Classroom Platform"]}] | False |
excluded_features | If you want to exclude Resources that have certain features, you can use this parameter. Ex: [{category: "Resource Category", features: ["Classroom Platform"]}] | False |
Note: Avoid combining allowed_categories
and excluded_categories
, or allowed_filters
and excluded_filters
. If an invalid combination is found, it will default to what is specified in the allowed_*
options
FAQs
A browser for available Resources
We found that @xras/resource-catalog demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
MITRE's 2024 CWE Top 25 highlights critical software vulnerabilities like XSS, SQL Injection, and CSRF, reflecting shifts due to a refined ranking methodology.
Security News
In this segment of the Risky Business podcast, Feross Aboukhadijeh and Patrick Gray discuss the challenges of tracking malware discovered in open source softare.
Research
Security News
A threat actor's playbook for exploiting the npm ecosystem was exposed on the dark web, detailing how to build a blockchain-powered botnet.