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
8 changes: 4 additions & 4 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,11 @@ jobs:
shell: nix develop --command bash {0}
steps:
- name: Checkout
uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1

- uses: DeterminateSystems/nix-installer-action@ef8a148080ab6020fd15196c2084a2eea5ff2d25 # v22
- uses: DeterminateSystems/magic-nix-cache-action@908b263ff629f4cc17666315b7fd3ec127c6244d # v14
- uses: DeterminateSystems/flake-checker-action@3164002371bc90729c68af0e24d5aacf20d7c9f6 # v12
- uses: DeterminateSystems/nix-installer-action@3138316df39ed29be04236d7ffc686fa525866aa # v23
- uses: DeterminateSystems/magic-nix-cache-action@84c0677f58dcedf3b91f8223ce36a9ea5b3c84b7 # v15
- uses: DeterminateSystems/flake-checker-action@786422608c7bded2bbc9741ad9f91356842bf520 # v14

- name: Install dependencies
run: yarn install --immutable
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with:
fetch-depth: 2 # We only need the current and the previous commit

Expand All @@ -34,12 +34,12 @@ jobs:
contents: write
steps:
- name: Checkout
uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with:
fetch-depth: 0
- uses: DeterminateSystems/nix-installer-action@ef8a148080ab6020fd15196c2084a2eea5ff2d25 # v22
- uses: DeterminateSystems/magic-nix-cache-action@908b263ff629f4cc17666315b7fd3ec127c6244d # v14
- uses: DeterminateSystems/flake-checker-action@3164002371bc90729c68af0e24d5aacf20d7c9f6 # v12
- uses: DeterminateSystems/nix-installer-action@3138316df39ed29be04236d7ffc686fa525866aa # v23
- uses: DeterminateSystems/magic-nix-cache-action@84c0677f58dcedf3b91f8223ce36a9ea5b3c84b7 # v15
- uses: DeterminateSystems/flake-checker-action@786422608c7bded2bbc9741ad9f91356842bf520 # v14
- name: Install dependencies
run: |
yarn install --immutable
Expand Down
2 changes: 1 addition & 1 deletion backstage.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{
"version": "1.51.1"
"version": "1.55.1"
}
14 changes: 8 additions & 6 deletions dev/proxy-server.js
Original file line number Diff line number Diff line change
Expand Up @@ -36,13 +36,15 @@ app.use('/api/proxy/sysdig', createProxyMiddleware({
"Accept": "application/json",
"X-Sysdig-Product": "SDS"
},
onProxyRes: (proxyRes, req, _res) => {
console.log(`[Proxy] ${req.method} ${req.path} -> ${target} [${proxyRes.statusCode}]`);
on: {
proxyRes: (proxyRes, req, _res) => {
console.log(`[Proxy] ${req.method} ${req.path} -> ${target} [${proxyRes.statusCode}]`);
},
error: (err, req, res) => {
console.error(`[Proxy Error] ${err.message}`);
res.status(500).send('Proxy Error');
},
},
onError: (err, req, res) => {
console.error(`[Proxy Error] ${err.message}`);
res.status(500).send('Proxy Error');
}
}));

app.listen(PORT, () => {
Expand Down
6 changes: 3 additions & 3 deletions flake.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

21 changes: 11 additions & 10 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@sysdig/backstage-plugin-sysdig",
"version": "1.5.0",
"version": "1.5.1",
"main": "dist/index.esm.js",
"types": "dist/index.d.ts",
"license": "Apache-2.0",
Expand Down Expand Up @@ -28,9 +28,9 @@
"@testing-library/react": "^16.0.0"
},
"dependencies": {
"@backstage/core-components": "^0.18.10",
"@backstage/core-plugin-api": "^1.12.6",
"@backstage/plugin-catalog-react": "^3.0.0",
"@backstage/core-components": "^0.18.14",
"@backstage/core-plugin-api": "^1.12.10",
"@backstage/plugin-catalog-react": "^3.2.3",
"@mui/icons-material": "^5.16.0",
"@mui/material": "^5.16.0",
"react-use": "^17.2.4"
Expand All @@ -40,11 +40,12 @@
"react-dom": "^16.13.1 || ^17.0.0 || ^18.0.0"
},
"devDependencies": {
"@backstage/cli": "^0.36.2",
"@backstage/config": "^1.3.8",
"@backstage/dev-utils": "^1.1.23",
"@backstage/eslint-plugin": "^0.3.0",
"@backstage/test-utils": "^1.7.18",
"@backstage/cli": "^0.36.6",
"@backstage/cli-defaults": "^0.1.6",
"@backstage/config": "^1.3.9",
"@backstage/dev-utils": "^1.1.27",
"@backstage/eslint-plugin": "^0.3.2",
"@backstage/test-utils": "^1.7.22",
"@emotion/react": "^11.14.0",
"@emotion/styled": "^11.14.1",
"@jest/environment-jsdom-abstract": "^30.0.0",
Expand All @@ -68,7 +69,7 @@
"eslint-plugin-react-hooks": "^4.0.0",
"eslint-plugin-unused-imports": "^2.0.0",
"express": "^5.2.1",
"http-proxy-middleware": "^3.0.5",
"http-proxy-middleware": "^3.0.7",
"jest": "^30.0.0",
"jsdom": "^27.1.0",
"msw": "^2.0.0",
Expand Down
2 changes: 1 addition & 1 deletion src/lib/ui.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ function getTitleWithBacklink(title: string, backlink: string) {
return (
<div style={{display:"flex"}}>
<a href={backlink} target="_blank" rel="noopener noreferrer">{title}</a>
<div style={{marginLeft:"10px;", "padding":"0 0 10px 5px"}}>
<div style={{marginLeft:"10px", "padding":"0 0 10px 5px"}}>
<Tooltip title="Open in Sysdig Secure">
<IconButton aria-label='Open in new tab' size='small' target="_blank" href={backlink}>
<OpenInNew fontSize="inherit" />
Expand Down
Loading
Loading