Commit Graph

90 Commits

Author SHA1 Message Date
John Howard ac48b0fe18
merge OSS master (#2669) 2023-02-06 14:29:15 -08:00
Istio Automation f26e759dd3
Automator: update common-files@master in istio/api@master (#2523) 2022-10-21 08:24:46 -07:00
Eric Van Norman a51f8f8389
Run `make gen` with the new build-tools to generate new html (#2509) 2022-10-17 06:58:09 -07:00
Faseela K d1ffe5e901
Running make gen (#2446)
Running make gen for some other change resulted in many additional
changes showing up in my local repo. So pushing a separate review for the same.

Signed-off-by: Faseela K <faseela.k@est.tech>
2022-08-04 07:28:26 -07:00
Istio Automation fbb909b586
Automator: update common-files@master in istio/api@master (#2443) 2022-08-03 06:08:58 -07:00
John Howard 72aa7f8e98
Validate and fix all samples (#2413)
* Fix broken samples

* run make gen
2022-07-12 19:08:17 -07:00
Eric Van Norman 5294aace93
Run `make gen` with current tooling (#2409) 2022-07-06 07:17:29 -07:00
John Howard 9d336787a4
Migrate from gogo/protobuf to golang/protobuf (#2293)
* Migrate gogo/protobuf to golang/protobuf

* generated changes

* Fixes to deepcopy
2022-03-23 08:11:37 -07:00
Yangmin Zhu a6aeb68ad2
clarify multiple tokens case for request authentication API (#2220)
* clarify multiple tokens case for request authentication API

* address comments
2022-02-06 19:04:16 -08:00
Yangmin Zhu 4af825ec1a
update authz and JWT documentation (#2152) 2021-12-07 11:02:10 -08:00
Yangmin Zhu a1902f2405
update jwt based routing (#2134)
* update jwt based routing

* update

* update

* update comment

* update comment

* add quote

* address comments

* update comment
2021-11-08 13:38:41 -08:00
Yangmin Zhu 5eaecec55c
support x-jwt-claim in request authentication (#2105)
* support x-jwt-claim in virtual service

* update

* update to request authN

* revert vs

* Apply suggestions from code review

Co-authored-by: Sven Mawson <sven@google.com>

* update

Co-authored-by: Sven Mawson <sven@google.com>
2021-10-04 09:49:41 -07:00
Dhi Aurrahman f167acc88a
docs: Use fromHeaders instead of jwtHeaders field in JWTRule example (#2102)
This patch fixes the use of jwtHeaders as a field in the example (there
is no jwtHeaders field). This is tipped by issue a comment here:
https://github.com/envoyproxy/envoy/issues/11672#issuecomment-653404950.

Signed-off-by: Dhi Aurrahman <dio@rockybars.com>
2021-09-17 07:45:48 -07:00
Jianfei Hu 7f52510f94
Clarify request authentication root namespace scope. (#2086)
* Clarify request authentication root namespace scope.

* typo fix.

* make gen.

* make gen.

* clarified all workloads instead.

* update with authz example.

* Update security/v1beta1/request_authentication.proto

Co-authored-by: Sven Mawson <sven@google.com>

* Update security/v1beta1/request_authentication.proto

Co-authored-by: Sven Mawson <sven@google.com>

* update the doc gen.

Co-authored-by: Lin Sun <lin.sun@solo.io>
Co-authored-by: Sven Mawson <sven@google.com>
2021-09-14 11:39:02 -07:00
Shamsher Ansari c26b0c624c
Fix jwt rule note (#2025)
* Fix jwt rule note

* use jwksUri for docs
2021-06-29 23:20:52 -07:00
Istio Automation aadf1ba23c
Automator: update common-files@master in istio/api@master (#2007) 2021-05-25 17:10:56 -07:00
Tom T 2af152115f
Change snake_case to camelCase for yaml documentation (#1964)
* Change snake_case to camelCase for yaml documentation

* Run make gen
2021-05-03 10:10:55 -07:00
Yangmin Zhu a9c5294cac
change ext-authz feature to experimental (#1936) 2021-04-05 19:43:26 -07:00
Yangmin Zhu 8d2a4ee53a
update the ext-authz extension provider and promote to alpha (#1926)
* ext-authz: promote to alpha

* address comments

* update comment

* address comments

* update

* address comments

* update comment
2021-04-01 21:22:07 -07:00
Kenshin Chen a83ee6cc20
Fix AuthorizationPolicy Doc (#1895)
* Fix AuthorizationPolicy Doc

* Fix AuthorizationPolicy Doc
2021-04-01 20:58:42 -07:00
Ryota 1a327717c7
Add info about `portLevelMtls` requirement of workload selector with PeerAuthentication (#1928)
* Clarify portLevelMtls requirement

* Run make gen

* Update security/v1beta1/peer_authentication.proto

Co-authored-by: Sven Mawson <sven@google.com>

* Rerun make gen

Co-authored-by: Sven Mawson <sven@google.com>
2021-03-29 11:43:44 -07:00
Shamsher Ansari ec7ef4cd6e
Fix broken link for auth location (#1919) 2021-03-22 07:50:30 -07:00
Shamsher Ansari 4fccb61ace
Fix broken link for AuthorizationPolicy (#1907) 2021-03-16 06:34:15 -07:00
Peter Jausovec d9395bd405
Fix typo in peer authentication docs (#1889)
* Fix typo in peer authenticaion docs

* Updates after make gen
2021-02-18 16:53:48 -08:00
John Howard 6e9e4699ed
Validate api docs, and fix issues (#1885)
* Fix invalid examples and alpha/beta discrepencies

* gen

* license

* lint

* missing space

* gen
2021-02-17 09:30:48 -08:00
Yangmin Zhu 4da173f697
ext-authz: unhide the CUSTOM action for 1.9 (#1864) 2021-02-01 17:39:20 -08:00
John Howard 2bcca53775
Move protobuf generation/configuration to buf (#1833)
https://docs.buf.build/

Buf is the successor to https://github.com/uber/prototool which we
already use for linting.

This dramatically simplifies our Makefiles, which are both extremely
complicated and have led to numerous bugs historically, such as
https://github.com/istio/api/issues/1678.

This will make changes to the generation much simpler as well. For
example, to migrate to gogo protobuf, we will just need to change `gogo`
-> `go` in one location, rather than trying to wrangle 500 lines of
Makefiles. Additionally, its quite a bit faster - the whole proto stuff
is done in <1s now.
2021-01-28 17:47:43 -08:00
Yangmin Zhu ccade247d8
fix request authentication comment (#1786) 2021-01-20 15:40:33 -08:00
jacob-delgado 328c3a3713
Generate protos (#1822)
* Run make clean gen

* Run make proto-commit
2021-01-13 16:39:59 -08:00
Yangmin Zhu d474186cff
update ext-authz comment (#1759)
* update ext-authz comment

* hide the provider field

* fix comment
2020-12-14 17:30:01 -08:00
Yangmin Zhu 8c3489c742
fix workload selector link in security API (#1705) 2020-11-05 12:26:40 -08:00
Yangmin Zhu 801bb1f7f7
update CUSTOM action in AuthorizationPolicy (#1698)
* update external action API

* more generic in MeshConfig

* address comments

* more comments

* use ExternalProvider and many more updates

* use provider

* require fully qualified name in service

* add fail_open and share common settings for HTTP and GRPC

* update for extension_providers and EXTENDED action

* address comments

* make port required

* change to CUSTOM action

* fix
2020-10-27 11:32:11 -07:00
John Howard da9790aad1
Add MODE column to PeerAuthentication (#1695)
Result:
```
$ ki get pa
NAME      MODE      AGE
default   DISABLE   14h
```
2020-10-21 11:46:28 -07:00
Jason Wang 8440b3958d
Fix kubectl explain (#1699) 2020-10-19 11:57:08 -07:00
Jean-Rémy Bancel 544a95fb3c
Add missing quote in AuthenticationPolicy example. (#1672)
* Fix typo.

* Generated files.
2020-10-14 18:59:28 -07:00
Kyle Evans d35a65ac7f
create remote_ip_blocks in Source (#1687)
* create remote_ip_blocks in Source

By adding remote_ip_blocks and not_remote_ip_blocks in Source,
an AuthorizationPolicy can trigger actions based on the original
client IP address gleaned from the X-Forwarded-For header or the
proxy protocol.

* update comment to show that ip_blocks match on IP packet source address

* make reference to numTrustedProxies in remote_ip docs

* fix URL for gateway network topology
2020-10-14 18:24:20 -07:00
Yangmin Zhu ae1b3ec96a
add external action to authorization policy (#1674)
* add external action to authorization policy

* remove config for now and update comments

* use custom config that is mostly based on Envoy ext_authz with minimal changes

* fix comments
2020-10-08 15:56:29 -07:00
John Howard 174a9fd5f2
Regenerate json code (#1677)
* Regenerate json code

I am not sure why this wasn't done automatically, might be a bug in our
auto update logic

* resync
2020-10-07 12:35:42 -07:00
John Howard 19bfd18ca7
Rename Authorization Policy proto for consistency (#1671)
Every other API is named `<kind in snake case>.proto`, but authz. It is
named authorization.policy. This impacts the generated code. For
consistency, renaming it to match all of our other APIs
2020-10-04 15:55:36 -07:00
Linggg 206ab80879
Fix typo in request authn v1beta1 (#1657)
* fix typo in  request authn v1beta1

* fix typo in  request authn v1beta1
2020-09-28 09:22:15 -07:00
Eric Van Norman 482a96e7a9
Fix section end (#1645) 2020-09-22 07:00:55 -07:00
Eric Van Norman d3db41cca5
Fix error: Ensure content only uses standard quotation marks and not “ (#1617) 2020-09-03 06:35:17 -07:00
Eric Van Norman 06220a8230
Remove Telemetry v2 on Stackdriver (#1618) 2020-09-02 11:08:18 -07:00
John Howard 9a994ae513
Import new DeepCopy changes (#1613)
* deepcopy

* Better reuse implementation

* Update common

* update others
2020-09-01 13:35:38 -07:00
Khoa Hoàng 03c846170f
Add metadata field into Istio CertificateSigningService (#1576)
* add metadata field to certificate signing api

* make proto-commit
2020-08-10 11:51:29 -07:00
David Raskin 50557a0cbf
Extend authorization policy action with 'Audit' action (#1552)
* Modified rbac proto

* change module name

* change module again

* change go.mod again

* Changed back go.mod, go.sum, proto.lock

* Updated proto.lock

* Updated Audit documentation

* Documentation update

* Updated documentation
2020-07-30 15:39:38 -07:00
Shamsher Ansari af0b0b3fd6
Fix broken link for WorkloadSelector (#1550) 2020-07-23 08:33:36 -07:00
Shamsher Ansari d32519b265
Fix invalid link for WorkloadSelector (#1540) 2020-07-21 10:36:07 -07:00
Oliver Liu dc7bc4c3a5
Remove the CA proto files from v1beta1. (#1543)
This is to remove the wrongly generated files in
https://github.com/istio/api/pull/1520.
2020-07-21 10:25:22 -07:00
Oliver Liu ada27df91b
Make cert signing API public in istio/api. (#1520)
* Make cert signing API public in istio/api.

* Update the API.

* Update the API.

* Small fix.
2020-07-14 16:44:59 -07:00