Patrik Oldsberg
a096e4c4d7
changesets: add changeset for secure templating
...
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com >
2021-11-24 18:56:16 +01:00
Patrik Oldsberg
7e8d5d953d
scaffolder-backend: switch template action to use SecureTemplater
...
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com >
2021-11-24 18:56:16 +01:00
Patrik Oldsberg
07daffed47
scaffolder-backend: switch jsonify flag for cookiecutter compat render option
...
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com >
2021-11-24 18:56:16 +01:00
Patrik Oldsberg
7b5430fc82
scaffolder-backend: switch nunjucks runner to use secure templater
...
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com >
2021-11-24 18:56:16 +01:00
Patrik Oldsberg
0e016783b6
scaffolder-backend: make SecureTemplater render sync
...
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com >
2021-11-24 18:54:43 +01:00
Patrik Oldsberg
6facaab24c
scaffolder-backend: jsonify + repoUrl helpers for SecureTemplater + error wrapping
...
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com >
2021-11-24 18:54:42 +01:00
Patrik Oldsberg
0bb4be63d6
scaffolder-backend: added some basic tests for SecureTemplater
...
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com >
2021-11-24 18:54:42 +01:00
Patrik Oldsberg
21b54689c6
scaffolder-backend: add initial SecureTemplater implementation
...
Co-authored-by: Johan Haals <johan.haals@gmail.com >
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com >
2021-11-24 18:54:42 +01:00
Patrik Oldsberg
d6da7d706d
scaffolder-backend: generate nunjucks bundle
...
Co-authored-by: Johan Haals <johan.haals@gmail.com >
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com >
2021-11-24 18:54:42 +01:00
Patrik Oldsberg
547bf85a62
scaffolder-backend: add build script for bundling nunjucks
...
Co-authored-by: Johan Haals <johan.haals@gmail.com >
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com >
2021-11-24 18:54:41 +01:00
Mike Lewis
103ca7ec60
Merge pull request #8119 from backstage/permission-node
...
Add @backstage/plugin-permission-node
2021-11-24 17:19:35 +00:00
Mike Lewis
2bacc8be34
permission-backend: expand router test suite
...
Signed-off-by: Mike Lewis <mtlewis@users.noreply.github.com >
2021-11-24 16:46:19 +00:00
Andrew Tran
1731dad0db
update api reports and changeset
...
Signed-off-by: Andrew Tran <atran@brex.com >
2021-11-24 09:54:36 -06:00
Andrew Tran
c5d1baa1af
update changeset
...
Signed-off-by: Andrew Tran <atran@brex.com >
2021-11-24 09:41:43 -06:00
Ben Lambert
b358cbc3be
Merge pull request #8226 from backstage/blam/relax-log-lines
...
Fixing superfluous log lines by changing the check to see if it's a template string for Scaffolder v3 templates
2021-11-24 16:34:39 +01:00
Mike Lewis
fafb482d73
permission-backend: add request validation
...
Signed-off-by: Mike Lewis <mtlewis@users.noreply.github.com >
2021-11-24 15:27:42 +00:00
Andrew Tran
da9ecc18e4
prettier yaml
...
Signed-off-by: Andrew Tran <atran@brex.com >
2021-11-24 09:24:07 -06:00
Mike Lewis
12b0eebfb5
permission-backend: pass in identity client
...
Signed-off-by: Mike Lewis <mtlewis@users.noreply.github.com >
2021-11-24 15:18:50 +00:00
Mike Lewis
1ff5d10a62
permission-backend: update dependency on permission-node to 0.0.0 to match unreleased version
...
Signed-off-by: Mike Lewis <mtlewis@users.noreply.github.com >
2021-11-24 14:53:20 +00:00
Fredrik Adelöw
bce51e377b
Merge pull request #8213 from jodybro/v1-api-version-for-ingress
...
support v1 api for ingress object
2021-11-24 15:51:24 +01:00
Fredrik Adelöw
c007c371ed
Merge pull request #8203 from backstage/joonp/entity-filter-empty-values
...
Handle empty values array in EntityFilter
2021-11-24 15:49:10 +01:00
Mike Lewis
b5e43875d5
permission-backend: enumerate exports in service index
...
Signed-off-by: Mike Lewis <mtlewis@users.noreply.github.com >
2021-11-24 14:47:51 +00:00
Mike Lewis
8f83584706
permission-backend: remove standaloneServer, run.ts and AllowAllPermissionPolicy
...
The run.ts / standaloneServer.ts stuff is a hangover and expected to
be removed or heavily adjusted in the future, and since it's intended
to run from the command line, there's no neat way to pass in a
permission policy. As such it's not going to be useful in its current
form, so we're removing it for now.
Signed-off-by: Mike Lewis <mtlewis@users.noreply.github.com >
2021-11-24 14:35:14 +00:00
Mike Lewis
dfd3b25c34
permission-backend: set version to 0.0.0 before initial release
...
Signed-off-by: Mike Lewis <mtlewis@users.noreply.github.com >
2021-11-24 14:32:31 +00:00
Mike Lewis
f5c3211129
permission-backend: 500 when policy returns incorrect resourceType
...
Signed-off-by: Mike Lewis <mtlewis@users.noreply.github.com >
2021-11-24 14:31:43 +00:00
Mike Lewis
dbd89112a5
permission-backend: add permission-node integration tests
...
Signed-off-by: Mike Lewis <mtlewis@users.noreply.github.com >
2021-11-24 14:31:42 +00:00
Mike Lewis
2335e0a01f
permission-backend: update default port for standalone server
...
Signed-off-by: Mike Lewis <mtlewis@users.noreply.github.com >
2021-11-24 14:31:42 +00:00
Mike Lewis
7f4a77a884
permission-backend: add todo
...
Signed-off-by: Mike Lewis <mtlewis@users.noreply.github.com >
2021-11-24 14:31:42 +00:00
Mike Lewis
cd77cbd48f
permission-backend: clean up PermissionIntegrationClient applyConditions signature
...
Signed-off-by: Mike Lewis <mtlewis@users.noreply.github.com >
2021-11-24 14:31:42 +00:00
Mike Lewis
6de1e719d4
permission-backend: api docs
...
Signed-off-by: Mike Lewis <mtlewis@users.noreply.github.com >
2021-11-24 14:31:42 +00:00
Mike Lewis
0ce2bc4129
permission-backend: remove manual construction of service discovery
...
We shouldn't be constructing a service discovery implementation inside
the router, since it removes the ability to provide a different
discovery mechanism.
Signed-off-by: Mike Lewis <mtlewis@users.noreply.github.com >
2021-11-24 14:31:41 +00:00
Mike Lewis
e9b6b7bf89
permission-backend: extract client for calling other plugins to apply conditions
...
Also adds response validation
Signed-off-by: Mike Lewis <mtlewis@users.noreply.github.com >
2021-11-24 14:31:41 +00:00
Mike Lewis
671bf72ed6
permission-backend: fix initial test suite
...
Signed-off-by: Mike Lewis <mtlewis@users.noreply.github.com >
2021-11-24 14:31:41 +00:00
Mike Lewis
4ca6802b97
permission-backend: bump @backstage/cli
...
Signed-off-by: Mike Lewis <mtlewis@users.noreply.github.com >
2021-11-24 14:31:41 +00:00
Mike Lewis
be1f89d383
permission-backend: extract AllowAllPermissionPolicy from standaloneServer in permission-backend
...
Signed-off-by: Mike Lewis <mtlewis@users.noreply.github.com >
2021-11-24 14:31:40 +00:00
Mike Lewis
806778d58e
permission-backend: fixup api-report
...
Signed-off-by: Mike Lewis <mtlewis@users.noreply.github.com >
2021-11-24 14:31:40 +00:00
Tim Hansen
f028746410
Add permission-backend plugin
...
Signed-off-by: Tim Hansen <timbonicus@gmail.com >
2021-11-24 14:31:40 +00:00
Mike Lewis
370da15e7b
permission-node: separate doc comment summaries with @remarks tag
...
Signed-off-by: Mike Lewis <mtlewis@users.noreply.github.com >
2021-11-24 14:30:21 +00:00
Fredrik Adelöw
f7bf4eea21
Merge pull request #7812 from backstage/dependabot/npm_and_yarn/gitbeaker/node-34.4.1
...
build(deps): bump @gitbeaker/node from 30.3.0 to 34.4.1
2021-11-24 15:25:29 +01:00
Mike Lewis
44b46644d9
permission-node: add changeset for initial release
...
Signed-off-by: Mike Lewis <mtlewis@users.noreply.github.com >
2021-11-24 14:22:32 +00:00
Johan Haals
c1ae2b4dc1
Merge pull request #8230 from lorsatti/lorsatti/adopters
...
Add LogMeIn as an adopter
2021-11-24 15:21:40 +01:00
Mike Lewis
aded9bbc22
permission-node: set version to 0.0.0 before initial release
...
Signed-off-by: Mike Lewis <mtlewis@users.noreply.github.com >
2021-11-24 14:20:56 +00:00
Mike Lewis
f5a25ec804
permission-node: fix typo in doc comment
...
Co-authored-by: Fredrik Adelöw <freben@gmail.com >
Signed-off-by: Mike Lewis <mtlewis@users.noreply.github.com >
2021-11-24 14:19:59 +00:00
Mike Lewis
b08dbb1035
permission-node: destructure options inside function to simplify api-report
...
Signed-off-by: Mike Lewis <mtlewis@users.noreply.github.com >
2021-11-24 14:18:11 +00:00
Fredrik Adelöw
42ebbc18c0
get both gitbeaker packages bumped, and add changeset
...
Signed-off-by: Fredrik Adelöw <freben@gmail.com >
2021-11-24 14:21:45 +01:00
dependabot[bot]
e99db76f6a
build(deps): bump @gitbeaker/node from 30.3.0 to 34.4.1
...
Bumps [@gitbeaker/node](https://github.com/jdalrymple/gitbeaker ) from 30.3.0 to 34.4.1.
- [Release notes](https://github.com/jdalrymple/gitbeaker/releases )
- [Changelog](https://github.com/jdalrymple/gitbeaker/blob/master/CHANGELOG.md )
- [Commits](https://github.com/jdalrymple/gitbeaker/compare/30.3.0...34.4.1 )
---
updated-dependencies:
- dependency-name: "@gitbeaker/node"
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
2021-11-24 14:19:24 +01:00
blam
e634a47ce5
chore: added changeset
...
Signed-off-by: blam <ben@blam.sh >
2021-11-24 14:03:22 +01:00
Lorenzo Orsatti
4be343d2dd
add LogMeIn as an adopter
...
Signed-off-by: Lorenzo Orsatti <49567430+lorsatti@users.noreply.github.com >
2021-11-24 14:03:00 +01:00
blam
5fd0e077bc
chore: adding test for this bug
...
Signed-off-by: blam <ben@blam.sh >
2021-11-24 14:01:26 +01:00
blam
92405f32bb
bug: should check the children of the first parse, not the root.
...
Signed-off-by: blam <ben@blam.sh >
2021-11-24 13:55:28 +01:00