Commit Graph

222 Commits

Author SHA1 Message Date
Yangmin Zhu 81e896486b
update release note for external authz (#10527)
* update release note for external authz

* address comment

* Update content/en/news/releases/1.12.x/announcing-1.12/change-notes/index.md

Co-authored-by: Eric Van Norman <ericvn@us.ibm.com>

Co-authored-by: Eric Van Norman <ericvn@us.ibm.com>
2021-11-23 11:30:07 -08:00
Eric Van Norman 72de90d75b
Advance master to release-1.13 (#10516)
* build an archive of v1.11 in master

* update data/versions.yml and archive index page

* advance master to release-1.13

* ANother script update

* go get remaing istio repos to satisfy linter

* Temporarily fix link broken by istio/api #2148

* Temporarily disable istioctl analyze test.
2021-11-19 06:52:51 -08:00
Yangmin Zhu 90c77c5583
update jwt claim based routing and add tests (#10465)
* update jwt claim based routing and add tests

* fix test

* fix typo

* fix test
2021-11-09 09:11:52 -08:00
Eric Van Norman 4c16b9a65e
Prepare for v1.12 as Istio source is already branched (#10455)
* prepare for v1.12 as istio source is already branched

* Fixup script output

* Removing validatingwebhookconfiguration if it exists.
2021-11-01 12:27:58 -07:00
Yangmin Zhu 3053d41089
add task for JWT claim based routing (#10332)
* add task for JWT claim based routing

* move to security

* update

* update

* update
2021-10-12 19:08:05 -07:00
Istio Automation 07cf4f6b68
[master] Fix in attribute "name" on "metadata". (#10361)
* Fix in attribute "name" on "metadata".

Missing tab in attribute "name" at section "Define the external authorizer" in ServiceEntry example.

* command make gen

Co-authored-by: Igor Agueme <igoragueme@outlook.com>
2021-09-17 08:31:35 -07:00
Sungyun Hur 4b6489305b
docs: update broken OPA links (#10320)
* docs: update broken OPA links

* fix: typo
2021-09-09 21:40:51 -07:00
Jianfei Hu 00f76de374
Remove the destination rule in peer authn doc. (#10117)
* Remove the destination rule in peer authn doc.

* update with snip test.

* fix test.sh.

* update the test.sh

* test.sh again.

* test 3rd time.

* test.sh 5th

* test.sh 6th time.
2021-08-14 22:08:55 -07:00
Eric Van Norman 327bd45dbe
Advance master to 1.12 (#10176)
* build an archive of v1.10 in master

* update data/versions.yml and archive index page

* advance master to release-1.12

* Update istio test reference to pick up 1.12 in istioctl messages

* Fix lint and IMAGE_VERSION

* MOre changes for lint

* Use correct IMAGE_VERSION

* Skip virtual machines test - Release Blocker issue created
2021-08-13 08:58:35 -07:00
craigbox a27bd06486
Fix numbering due to errant spacing (#10135) 2021-08-01 18:12:51 -07:00
Steve Zhang 4bdea0495f
fixed docs errors when working on issues#33906 (#10076)
* fixed docs errors when working on issues#33906

* change the deploying Istio yaml after testing

* fix lint

* fixed issue according to comments
2021-07-30 05:35:49 -07:00
Eric Van Norman a3f2c5a0dd
Update for branch cut (#10082)
* prepare for v1.11 as istio source is already branched

* Update test ref to 1.11.0-beta.0

* Remove extraneous added files
2021-07-15 11:58:54 -07:00
Steve Zhang aa636228be
components section has been missed, need to add in (#10042)
* components section has been missed, need to add in

* one more doc error
2021-07-08 06:34:39 -07:00
Brian Avery 8f9f335365
Add table of contents test status (#10010) 2021-06-29 09:55:49 -07:00
ChristinaMak 9b02f2f215
Flag experimental pages with dagger (#9895)
* Flag experimental pages with dagger

* Use dagger symbol in title

* Dagger in navigation titles for experimental status

* Experimental asterisk note

* Asterisk with space

* Spacing between title and asterisk

* Flag experimental and alpha status
2021-06-23 04:46:20 -07:00
Shamsher Ansari 03d2ac377d
Fix typo in EXTERNAL_CA env (#9944) 2021-06-18 04:53:14 -07:00
Eric Van Norman 9308f25ab9
Restore external authorization tests (#9788)
* Restore external authorization tests

* Remove extra echo's
2021-05-19 08:44:15 -07:00
Eric Van Norman ae7939eabe
Update master after 1.10 release (#9779)
* build an archive of v1.9 in master

* update data/versions.yml and archive index page

* advance master to release-1.11

* Update the istio test reference to master

* Remove failing deny test

* Remove another test

* Remove a third test
2021-05-18 15:57:52 -07:00
craigbox 8554c3e941
Experimental tidy-ups (#9772)
* Experimental tidy-ups

* replace #8980

* add one that's Alpha; should possibly change word?
2021-05-18 06:46:43 -07:00
Yangmin Zhu d20bce3176
add dry-run task (#9564)
* add dry-run task

* update

* update

* update

* update
2021-04-28 10:41:00 -07:00
Eric Van Norman e575b768fa
prepare for v1.10 as istio source is already branched (#9469) 2021-04-07 12:04:45 -07:00
Yangmin Zhu 92cbff4247
fix the ext-authz test flaky (#9438)
* fix the ext-authz test flaky

* check deny first

* check more specifc response

* remove typo
2021-04-02 07:58:56 -07:00
mrshengzyzy f8c4793af6
zh-translation:content/zh/docs/tasks/security/authentication/authn-policy/index.md (#9432) 2021-04-01 12:23:32 -07:00
Yangmin Zhu 85f9c64f42
add test for the external authorization task (#9422)
* add test for the external authorization task

* check logs
2021-03-30 13:43:55 -07:00
Yangmin Zhu 85a6002789
update security doc with evaluation order, common patterns, shoter task names and some small updates (#9127)
* update security doc with evaluation order, common patterns, shoter task names and some small updates

* update

* update

* add link

* update

* update

* fix lint

* Apply suggestions from code review

Co-authored-by: Eric Van Norman <ericvn@us.ibm.com>

* update

* Apply suggestions from code review

Co-authored-by: John Howard <howardjohn@google.com>

Co-authored-by: Eric Van Norman <ericvn@us.ibm.com>
Co-authored-by: John Howard <howardjohn@google.com>
2021-03-24 09:16:41 -07:00
John Howard 4396197f50
Use consistent quoting in API examples (#9373)
This matches istio/api examples and all Kubernetes best practices. This
quoting sets a bad precedent that is copy and pasted around the web.
2021-03-23 09:33:57 -07:00
Eric Van Norman caf7b6df79
Fix examples for newer kubectl (#9045) 2021-02-23 15:36:56 -08:00
lei-tang 104e06a868
Fix the client IP addresses for the authz ingress task (#9002) 2021-02-19 06:33:03 -08:00
davidhauck 8140906812
Update master to 1.10 (#8931)
* build an archive of v1.8 in master

* update data/versions.yml and archive index page

* advance master to release-1.10

* run make gen
2021-02-09 12:46:44 -08:00
Oliver Liu 09e3f8e17e
Improve the plug-in cert task. (#8904)
* Improve the plug-in cert task.

* Small fix.

* Update content/en/docs/tasks/security/cert-management/plugin-ca-cert/index.md

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

* Describe the recommendation of using hierarchical CA.

* Small fix.

* Apply suggestions from code review

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

* Apply suggestions from code review

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

Co-authored-by: Sven Mawson <sven@google.com>
2021-02-04 16:06:15 -08:00
Yangmin Zhu 6dd91af7cb
fix jwt test (#8873)
* fix jwt test

* update
2021-02-02 12:09:42 -08:00
Eric Van Norman bea8d187e5
Silence curl command (#8773)
* Silence curl command

* Update more files with -sS (adding S to show errors)

* Over-agressive on the -S and causing some tests to fail.

* Remove more curl -S flags
2021-01-20 09:45:50 -08:00
jacob-delgado 9cf3366e97
Use experimental as feature stage (#8772)
* Use experimental as feature stage

Pre-alpha/Development are deprecated in favor of Experimental (see
https://github.com/istio/community/pull/495). Update docs to reference
this phase.

* Add DNS proxying to experimental phase

* Do not mix alpha and experimental

* DNS Proxying is Alpha in 1.9; add to feature status page

* Fix virtual machine install doc based on review

* Fix linting issue
2021-01-15 13:01:58 -08:00
davidhauck 394e58e271
prepare for v1.9 as istio source is already branched (#8777) 2021-01-14 12:06:22 -08:00
Yangmin Zhu ca8b101dfa
add external authorization task (#8751)
* add external authorization task

* Apply suggestions from code review

Co-authored-by: Frank Budinsky <frankb@ca.ibm.com>

* address comments

* Apply suggestions from code review

Co-authored-by: Frank Budinsky <frankb@ca.ibm.com>

* address comment

Co-authored-by: Frank Budinsky <frankb@ca.ibm.com>
2021-01-14 11:01:54 -08:00
Frank Budinsky a70e78f25e
Test cleanup (#8564)
* Framework inject set +e at start of cleanup test script

* tabs

* fix typo

* add nl

* fix doc
2020-11-24 16:26:19 -05:00
Yangmin Zhu 4c02c73112
update release notes and authz task for a critical bug (#8543) 2020-11-20 21:32:30 -08:00
davidhauck cf0add291f
Update master for 1.9 (#8528)
* build an archive of v1.7 in master

* update data/versions.yml and archive index page

* advance master to release-1.9

* run make gen
2020-11-19 10:42:01 -08:00
Kyle Evans 9c0549ad8a
Make proxy protocol EnvoyFilter consistent with Network Topology doc (#8472)
* update proxy protocol EnvoyFilter to be consistent

Make the proxy protocol EnvoyFilter identical to the one in
docs/ops/configuration/traffic-management/network-topologies/

* fix arch mistake
2020-11-11 06:24:58 -08:00
Eric Van Norman 456039c26a
Add in removed tests (had regression failure) to verify fix (#8482)
* Add in removed tests (had regression failure) to verify fix

* Update test to redeploy istiod
2020-11-11 06:16:05 -08:00
John Howard 356edf9d14
Update ICP to IOP (#8481) 2020-11-10 10:09:36 -08:00
Kyle Evans d237f976c3
update authz docs for remote.ip (#8390)
* update authz docs for remote.ip

remote.ip has been added as an Authorization Condition and the Ingress
Gateway Authorization task has been updated to include it.

* fix relative link to network topologies

* add more verification and use tabs

* remove mixer reference and put LB table below tabset

* move INGRESS_HOST info to top, add LB decision-making table

* clean up bash commands
2020-11-03 11:00:50 -08:00
Lin Sun 872c42ca80
remote not generated files to avoid confusion (#8407) 2020-11-02 11:52:44 -08:00
shankgan 4ccf0886e6
Adding support for experimental Custom CA integration using Kubernetes CSR API (#8341)
* * Adding security task for experimental custom ca integration feature for 1.8

* Co-authored-by: Frank Budinsky <frankb@ca.ibm.com>

Make-Gen Changes
2020-11-02 08:13:57 -08:00
Eric Van Norman 9f6a0aa9a2
Update test reference to 1.8.0-alpha.2 (#8399)
* Update test reference to 1.8.0-alpha.2

* Fix access-log test for new behavior

* Update to remove deprecated parameter

* More updates for deprecated (already removed) values

* Enable test, disable failing tests (#8405) open for fix.

* Review comment

* Remove extraneous old-td
2020-10-30 09:36:38 -07:00
Nathan Mittler 132c2375bc
Add wait for gateway to multicluster tests (#8346)
This required some other changes WRT verification:

- Change __cmp_like to allow for not accepting <pending> for an IP address.

- Change __verify_with_retry to use a timeout rathan than number of retries. This is a more intuitive interface and aligns with the way we do retries in istio/istio. I also got rid of exponential backoff and allow both the timeout and delay between retries to be configured.
2020-10-26 06:45:38 -07:00
Eric Van Norman da0a004694
prepare for v${VERSION} as istio source is already branched" (#8328) 2020-10-21 10:49:24 -07:00
imgbot[bot] 9459c7bc88
[ImgBot] Optimize images (#8179)
*Total -- 3,177.95kb -> 3,160.18kb (0.56%)

/content/en/docs/tasks/security/cert-management/plugin-ca-cert/ca-hierarchy.svg -- 14.87kb -> 9.67kb (34.99%)
/content/en/about/community/customers/hotels-com.svg -- 12.99kb -> 10.11kb (22.15%)
/page-test.png -- 20.22kb -> 17.97kb (11.12%)
/content/en/about/community/customers/nearpod.svg -- 11.77kb -> 11.44kb (2.8%)
/content/en/docs/ops/deployment/deployment-models/blue-green.svg -- 81.51kb -> 80.16kb (1.65%)
/content/en/docs/ops/deployment/deployment-models/endpoint-discovery.svg -- 82.72kb -> 81.92kb (0.97%)
/content/en/docs/setup/install/multicluster/primary-remote.svg -- 83.37kb -> 82.59kb (0.95%)
/content/en/docs/setup/install/multicluster/multi-primary.svg -- 91.08kb -> 90.26kb (0.89%)
/content/en/docs/setup/install/multicluster/primary-remote-multi-network.svg -- 96.83kb -> 96.01kb (0.85%)
/content/en/docs/setup/install/multicluster/multi-primary-multi-network.svg -- 110.31kb -> 109.45kb (0.78%)
/content/en/blog/2020/large-scale-security-policy-performance-tests/istio_setup.svg -- 25.85kb -> 25.68kb (0.65%)
/content/en/about/community/customers/avito.svg -- 1.77kb -> 1.76kb (0.22%)
/content/en/about/community/customers/cash-app.svg -- 4.78kb -> 4.78kb (0.12%)
/content/en/blog/2020/large-scale-security-policy-performance-tests/mtls_plaintext.svg -- 216.38kb -> 216.21kb (0.08%)
/content/en/blog/2020/large-scale-security-policy-performance-tests/AuthZ_var_paths.svg -- 273.61kb -> 273.44kb (0.06%)
/content/en/blog/2020/large-scale-security-policy-performance-tests/RequestAuthN_jwks.svg -- 275.79kb -> 275.63kb (0.06%)
/content/en/blog/2020/large-scale-security-policy-performance-tests/AuthZ_var_policies_paths.svg -- 279.11kb -> 278.94kb (0.06%)
/content/en/blog/2020/large-scale-security-policy-performance-tests/AuthZ_var_principals.svg -- 286.37kb -> 286.21kb (0.06%)
/content/en/blog/2020/large-scale-security-policy-performance-tests/AuthZ_var_policies_sourceIP.svg -- 296.11kb -> 295.95kb (0.06%)
/content/en/blog/2020/large-scale-security-policy-performance-tests/AuthZ_var_requestPrincipals.svg -- 297.02kb -> 296.85kb (0.06%)
/content/en/blog/2020/large-scale-security-policy-performance-tests/AuthZ_var_sourceIP.svg -- 298.21kb -> 298.04kb (0.06%)
/content/en/blog/2020/large-scale-security-policy-performance-tests/AuthZ_paths_vs_sourceIP.svg -- 317.29kb -> 317.12kb (0.05%)

Signed-off-by: ImgBotApp <ImgBotHelp@gmail.com>

Co-authored-by: ImgBotApp <ImgBotHelp@gmail.com>
2020-09-28 17:13:16 -04:00
Eric Van Norman 4b4e395c68
Increase retry count for test flakiness (#8206) 2020-09-24 13:51:56 -07:00
Nathan Mittler b06ce95f96
Update docs for pluggin in CA certs (#8099)
The new recommended approach is to generate the certs and to use intermediate certs for each cluster.
2020-09-16 17:39:21 -07:00
Eric Van Norman cc1a34f99c
Update test reference - master (#8103)
* Update test reference

* Test framework changes

* Another required change

* Update Tag to 1.8

* Pick istio/istio commit that actually exists

* Disable ISTIO_META_DNS_CAPTURE

* Add --skip-confirmation to istioctl installl commands

* Increase test timeout. First pass at fixes.

* Update to later istio/istio that fixes DNS and minor fixes

* test fixes

* Pick up go.mod `replace` changes from #8118

* Fix istioctl-analayze and mirror

* Fix mtls-migration test

* Update istio to include commit to fix egress

* Re-enable verify with fix

* Update istio/istio ref for egress fix

* Fix tasks/security/authorization/authz-td-migration - remove ns

* Shorten wait timeout so tests complete in under an hr

* Let tests continue after wait timeout

* Fix --skip-confirmation to -y and use yes | in tests

* revert yes | to echo y |

* Additional echo y fix

* Code review comments

* Change verify from same to contains as k8s 1.19 has extra warning lines.
2020-09-16 11:44:20 -07:00
Upo 8cfcfa5802
Add additional info about troubleshooting JWTs. (#8128)
* add note about istio protocol detection

* fix accidental replace

* fix extra dot in filename

* path fixes

* add note about how to field authz in effect

* fix typos and add a note on the claims

* undo file rename

* Update content/en/docs/ops/common-problems/security-issues/index.md

Co-authored-by: Frank Budinsky <frankb@ca.ibm.com>

* Update content/en/docs/ops/common-problems/security-issues/index.md

Co-authored-by: Frank Budinsky <frankb@ca.ibm.com>

* Apply suggestions from code review

Co-authored-by: Frank Budinsky <frankb@ca.ibm.com>

Co-authored-by: Frank Budinsky <frankb@ca.ibm.com>
2020-09-14 10:45:42 -07:00
Eric Van Norman 1020de7a56
Update master branch to release-1.8 after publishing 1.7 (#7997)
* build an archive of v1.6 in master

* update data/versions.yml and archive index page

* advance master to release-1.8

* Missing `make snips` in script
2020-08-21 20:23:38 -07:00
Eric Van Norman db796eab17
Branch cut changes for release-1.7 (#7767)
* Branch cut changes for release-1.7

* Missed make gen
2020-07-22 09:12:06 -07:00
Frank Budinsky e9a89c879f
Add owner attribute to docs (#7737)
* Add owner attribute to docs

* remove @
2020-07-15 15:19:40 -07:00
Eric Van Norman 78088360fe
Update istio/istio ref and reenable tests (#7669)
* Update istio/istio ref and reenable tests

* Update istio/istio reference

* Update istioctl build to have version for images

* Fix lint and pull a newer istio/istio

* Disable egress tests
2020-07-09 13:29:32 -07:00
Frank Budinsky 93458dd587
Temporarily disable broken tests (#7667)
* Temporarily disable broken tests

* use @setup

* use @setup

* another one
2020-07-06 16:56:19 -07:00
Frank Budinsky 412f03105c
Kubernetes Ingress Test + fixes (#7662)
* Kubernetes Ingress Test + fixes

* cleanup

* fix circuit-breaking test

* fix lint

* remove -it
2020-07-06 07:54:35 -07:00
Frank Budinsky eadc0629dc
Authz TD migration test (#7653)
* Authz TD migration tests

* cleanup

* remove samples source
2020-06-30 20:23:20 -07:00
Frank Budinsky 01c4cce951
Add proper wait for config calls to tests (#7620)
* Add wait for config calls to tests

* two more
2020-06-24 09:48:29 -07:00
Frank Budinsky 25c3be4772
Some random poor quality doc fixes (#7589)
* Some random poor quality doc fixes

* change profiles
2020-06-19 11:25:02 -07:00
Hongyi Zhang 5fbb14bedc
Convert all old tests to new tests (#7522)
* add an example task to test

* main test function: save progress

* a working example: routing request

* improve log info and error handling

* introduce makefile

* run each test as a subtest; remove common setup from test.sh

* add another test.sh: fault-injection

* improve error handling

* check test environment

* add two more test.sh files

* fix make command for istio setup

* update two test.sh files from upstream

* add comments and update README.md

* update test.sh files from upstream

* support multiple test names

* update README

* update README.md for new framework

* remove documentation of migration steps

* undo format changes

* change separation line to '# @cleanup'

* move go code and makefile from content/ to tests/

* change package name

* make for loop more readable

* change the set of auto-sourced scripts

* add docs for all functions

* approach to deal with folders with the same name

* minor fixes to ensure everything still runs

* fix make gen error

* add a TIMEOUT argument

* make sure util/debug.sh works with new framework

* make lint-go happy

* [BIG CHANGE] allow different istio setup configs

* make linters happy

* make linters happier

* changed wording and function orders

* make error return as the 2nd argument

* add TODOs

* Update content/en/docs/tasks/traffic-management/traffic-shifting/test.sh

Co-authored-by: Frank Budinsky <frankb@ca.ibm.com>

* Update tests/README.md

Co-authored-by: Frank Budinsky <frankb@ca.ibm.com>

* Update tests/README.md

Co-authored-by: Frank Budinsky <frankb@ca.ibm.com>

* Update tests/README.md

Co-authored-by: Frank Budinsky <frankb@ca.ibm.com>

* Update tests/README.md

Co-authored-by: Frank Budinsky <frankb@ca.ibm.com>

* Update tests/README.md

Co-authored-by: Frank Budinsky <frankb@ca.ibm.com>

* Update tests/README.md

Co-authored-by: Frank Budinsky <frankb@ca.ibm.com>

* only test english docs

* Update tests/README.md

Co-authored-by: Frank Budinsky <frankb@ca.ibm.com>

* allow test.sh as suffix

* move adding setup configs to tests/setup

* recommend full paths

* Update tests/README.md

Co-authored-by: Frank Budinsky <frankb@ca.ibm.com>

* require full test paths

* converting old tests to new tests: traffic-management and misc

* converting old tests to new tests: security

* remove old tests

* Update content/en/docs/tasks/security/cert-management/dns-cert/test.sh

Co-authored-by: Frank Budinsky <frankb@ca.ibm.com>

* simplify setup configs

* Update content/en/docs/tasks/security/authentication/authn-policy/test.sh

Co-authored-by: Frank Budinsky <frankb@ca.ibm.com>

* Update content/en/docs/tasks/security/authentication/mtls-migration/test.sh

Co-authored-by: Frank Budinsky <frankb@ca.ibm.com>

* Update content/en/docs/tasks/security/authorization/authz-http/test.sh

Co-authored-by: Frank Budinsky <frankb@ca.ibm.com>

* do not let istioctl prompt y/n

* Update content/en/docs/tasks/traffic-management/ingress/ingress-sni-passthrough/test.sh

Co-authored-by: Frank Budinsky <frankb@ca.ibm.com>

* Update content/en/docs/tasks/traffic-management/ingress/secure-ingress/test.sh

Co-authored-by: Frank Budinsky <frankb@ca.ibm.com>

* Update content/en/docs/tasks/security/cert-management/plugin-ca-cert/test.sh

Co-authored-by: Frank Budinsky <frankb@ca.ibm.com>

* simplify stuff

* rename dns-cert test.sh to test_broken.sh

* fix dns-cert doc and test

* remove egress=disabled

* fix test

* Update content/en/docs/tasks/observability/logs/access-log/test.sh

Co-authored-by: Frank Budinsky <frankb@ca.ibm.com>

* Update content/en/docs/tasks/security/authentication/authn-policy/test.sh

Co-authored-by: Frank Budinsky <frankb@ca.ibm.com>

Co-authored-by: Frank Budinsky <frankb@ca.ibm.com>
2020-06-11 11:15:48 -07:00
Navraj Singh Chhina e7616b2ac0
Disable ShellChecking for SC2164 (#7507)
* add missing cleanup for vs nginx

* disable SC2164 which checks safe cd

* make gen
2020-06-08 13:56:32 -07:00
Shamsher Ansari 9fe272272b
update doc to use istioctl install (#7396) 2020-06-01 11:02:27 -07:00
Justin Pettit 877b438829
Authn policy (#7433)
* authn-policy: Point users to Istio installation guide.

Have users install Istio through the installation guide instead of
explicitly instructing them to run "istioctl manifest apply" in the
task.  This will make it easier to automate the task later.

* authn-policy: Make steps and expected response clear for testing.

* Add authn-policy user guide test.
2020-05-29 12:11:47 -07:00
Frank Budinsky e11cf24f0d
Add test: attribute to all md files (#7413) 2020-05-27 09:11:26 -07:00
Justin Pettit 21e03db9d9
Add authz-ingress user guide test. (#7407) 2020-05-27 06:40:06 -07:00
Justin Pettit 46607a1c43
authz-td-migration: Don't error when deleting non-existent items. (#7361) 2020-05-19 18:20:20 -07:00
Justin Pettit 7782eb1d0a
Authz jwt (#7338)
* snip.py: Replace github file token with release-specific URL.

* verify.sh: Show the expected output as well as the actual output.

* snip.py: Update the githubfile regex to not include email addresses.

When generating snip scripts, pairs of "@" signs indicate a link to
GitHub repo content.  However, JWT attribute values contained pairs of
email addresses such as:

    `testing@secure.istio.io/testing@secure.istio.io`

which would be treated as an email address and mangled.  This commit
rewrites the regex to not match on email addresses.

* Add authz-jwt user guide test.
2020-05-17 13:51:45 -04:00
Justin Pettit 8cacec48de
Authz deny (#7315)
* Add authz-tcp user guide test.

* Add run and verify functions for user doc tests.
2020-05-14 16:10:20 -07:00
Justin Pettit e77f3e8e2d
Add authz-tcp user guide test. (#7176)
Force merge because of netlify flake
2020-05-11 10:25:00 -04:00
Frank Budinsky f45bc9e1a8
Remove obsolete '# ' uses from all tests (#7233) 2020-05-06 19:17:11 -04:00
Eric Van Norman 392a2bee14
Update test framework to use 1.6.0-beta.0 (#7214)
* Update test framework to use 1.6.0-beta.0

* Go back to copies from env var

* Add more test targets, fix mtls test (new PA added)

* Update to use Istio SHA from go.mod (convert to long SHA)

* Try and remove TAG from prow

* Debug TAG not being set

* Fix paralization issue

* Remove some extra output

* Review comments
2020-05-06 10:49:27 -07:00
Oliver Liu 1e73594260
Restructure the cert management tasks. (#7209)
* Restructure the cert management tasks.

* Small fix.

* Fix references.

* Fix links

* Small fix.

* Update content/en/docs/tasks/security/cert-management/plugin-ca-cert/index.md

Co-authored-by: Frank Budinsky <frankb@ca.ibm.com>

* Small fix.

* Change the weights.

Co-authored-by: Frank Budinsky <frankb@ca.ibm.com>
2020-05-04 14:57:29 -04:00
jacob-delgado 7cf02b617d
Update Authentication page (#7198)
Fixes https://github.com/istio/istio.io/issues/7194
2020-04-30 10:58:57 -07:00
Frank Budinsky 1fe7056ffa
Partial convert mirror test to new model (#7153)
Reverted the actual mirror test script, because mirror test seems to have some subtle failure when running with what seems to be the exact same commands via snips. Will investigate further in followup PR. Merging this one to get the generator changes.
2020-04-25 12:34:24 -04:00
Mitch Connors e1b4de48f0
Fix cleanup to delete authorization policy (#7142)
Fixes https://github.com/istio/istio/issues/23190
2020-04-23 11:18:12 -07:00
Frank Budinsky a7107678f5
Convert TCP traffic shifting test (#7131)
* Convert TCP traffic shifting test

* lint errors

* regen

* test disable spellcheck

* temporary disable gen-check

* disable inappropriate bash lint errors

* disable gen check

* one more regen

* reenable gen check

* remove -it options

* revert commands

* fix app health check outdated
2020-04-22 18:26:27 -07:00
Istio Automation 9071b1f385
Fix code in 'Authorization for TCP traffic' (#7117)
The pod of tcp-echo which is asked its podIP is in `foo` namespace, so  the `kubectl get` should specify the namespace as `foo`.

Co-authored-by: Koki Tomoshige <36136133+tomocy@users.noreply.github.com>
2020-04-21 16:00:16 -04:00
lei-tang f8fd68c04b
User guide tests for DNS certificate management (#7103)
* User guide tests for DNS certificate management

- Add user guide tests for DNS certificate management
- Remove user guide's dependency on jq

* Use _verify_contains function
2020-04-21 07:32:39 -07:00
lei-tang 96073364ea
User guide tests and remove manual steps for plugging in CA cert (#7085)
* User guide tests and remove manual steps for plugging in CA cert

- Add user guide tests for plugging in CA cert
- Remove the manual steps in the user guide of plugging in CA cert
to make it easier for an user to try the guide.

* Fix SC2046 lint error and the trafficmanagement test errors
2020-04-17 09:16:56 -07:00
Frank Budinsky f2cf780bfb
Update doc test README (#7080)
* Update doc test README

* add sh

* tweaks

* formatting

* format

* fix comment

* wording

* convert mtls migration task

* Update tests/README.md

Co-Authored-By: Eric Van Norman <ericvn@us.ibm.com>

* Update tests/README.md

Co-Authored-By: Eric Van Norman <ericvn@us.ibm.com>

Co-authored-by: Eric Van Norman <ericvn@us.ibm.com>
2020-04-15 08:44:18 -07:00
Frank Budinsky 3b59501872
Generate test snippets from md files POC (#7044)
* Generate test snippets from md POC

* fixes

* fix python lint

* fix snip source

* improvements

* update snip calls

* add copyright header

* lint errors

* lint error in md instructions

* better default snip_id

* run test without snippet gen

* gofmt

* fixes

* fix path

* fixes

* fix verify
2020-04-14 07:13:44 -07:00
Eric Van Norman 55accd83b4
Update base64 -d to --decode (#7039)
* Update base64 -d to --decode

* Fix additional -d to --decode change
2020-04-09 06:41:44 -07:00
Eric Van Norman 1290482b63
Fix privildeged (#6997) 2020-04-02 08:12:33 -07:00
Jianfei Hu 8dc367d9fd
Add a tcpdump verification FAQ entry for mutual TLS effect proof. (#6922)
* add a tcpdump verification for mtls

* add period

* move to the migration doc.

* lint fixing

* address cmt.

* Apply suggestions from code review

Co-Authored-By: Frank Budinsky <frankb@ca.ibm.com>

Co-authored-by: Frank Budinsky <frankb@ca.ibm.com>
2020-03-24 13:30:11 -04:00
John Pape 8ecc8fc10c
Add istiod to the glossary page (#6899)
* Add istiod to the glossary page

* Updated istio learning link.

* adding gloss links to first term usage in page

* Updated gloss links per review
2020-03-18 12:01:53 -04:00
Frank Budinsky 64d2c26267
Remove links to deleted istio_ca reference doc (#6895)
* Remove links to deleted istio_ca reference doc

* cacert->cacerts
2020-03-17 07:46:37 -07:00
lei-tang 2463045315
Update Istio DNS certificate document for Istio 1.5 (#6871)
* Update Istio DNS certificate document for Istio 1.5

* Revise overview based on review comments
2020-03-16 12:39:11 -07:00
tigran-a e8466022bd
Revert "cacerts secret to replace with istio-ca-secret (#6829)" (#6836)
This reverts commit d4eba6eb52.
2020-03-10 07:25:50 -07:00
tigran-a d4eba6eb52
cacerts secret to replace with istio-ca-secret (#6829)
Currently, 1.5.0 istiod is looking for istio-ca-secret, while in 1.4.x it was cacerts.
2020-03-09 13:21:37 -07:00
Istio Automation 0114e09f65
replace Citadel with Istio CA (#6825)
Since Citadel is now built in into istiod, the certificate authority should be called Istio CA

Co-authored-by: tigran-a <avanesovt@gmail.com>
2020-03-09 13:25:29 -04:00
Yangmin Zhu 686f3b7967
authz: update TCP task to use tcp-echo (#6754) 2020-03-06 11:33:38 -08:00
Diem Vu 055f5e480c
[Release-1.5] Delete auto-mTLS task (#6591)
* Delete auto-mTLS task

* Fix links

* Fix links

* Fix links on 1.5

* Fix links
2020-03-05 18:01:06 -08:00
Istio Automation 5f6d0712b8
Add a guide of plugging in CA cert to istiod and update CA documents (#6644)
Co-authored-by: lei-tang <lei-tang@users.noreply.github.com>
2020-03-05 10:42:54 -08:00
Istio Automation 2edbaeaf4b
Remove deep dive mtls taks. (#6706)
* remove deep dive

* update links

* lint fixing egs gw

* more removal

* link 1.0.3 lint
2020-03-04 13:15:26 -08:00
Istio Automation b5a4efb064
Another clean up for global.mtls.enable (#6611)
* Another clean up for global.mtl.enable

* Update text

* Lint

* Use --set values.grafana.enabled=true as overriding operator value example

* Revert change in content/en/docs/reference/commands/istioctl/index.html

* Change example istioctl command to override grafana settings

* Lint

* Change to --set addonComponents.grafana.enabled=true

* Remove global.mtls.enable in authn task

* Update content/en/docs/setup/install/istioctl/index.md

Co-Authored-By: Rigs Caballero <grca@google.com>

* Update content/en/docs/setup/install/multicluster/shared-vpn/index.md

Co-Authored-By: Rigs Caballero <grca@google.com>

* Update content/en/docs/tasks/security/authentication/authn-policy/index.md

Co-Authored-By: Rigs Caballero <grca@google.com>

* Update content/en/docs/tasks/security/citadel-config/plugin-ca-cert/index.md

Co-Authored-By: Rigs Caballero <grca@google.com>

* Update content/en/docs/setup/install/multicluster/shared-vpn/index.md

Co-Authored-By: Rigs Caballero <grca@google.com>

* Update content/en/docs/tasks/security/citadel-config/plugin-ca-cert/index.md

Co-Authored-By: Rigs Caballero <grca@google.com>

Co-authored-by: Rigs Caballero <grca@google.com>
2020-03-04 13:15:19 -08:00
Yangmin Zhu fa8a1f5da1
authz: update authz JWT task (#6693)
* authz: update authz JWT task

* address comments

* Update content/en/docs/tasks/security/authorization/authz-jwt/index.md

Co-Authored-By: Frank Budinsky <frankb@ca.ibm.com>

* Update content/en/docs/tasks/security/authorization/authz-jwt/index.md

Co-Authored-By: Frank Budinsky <frankb@ca.ibm.com>

Co-authored-by: Frank Budinsky <frankb@ca.ibm.com>
2020-03-03 17:42:11 -08:00
Yangmin Zhu cba7f0fdfc
authz: add task for IP allow list and black list on ingress gateway (#6692)
* authz: add task for IP whitelist/blacklist on ingress gateway

* allow list and deny list

* Small grammar adjustments

* address comments

* Update content/en/docs/tasks/security/authorization/authz-ingress/index.md

Co-Authored-By: Frank Budinsky <frankb@ca.ibm.com>

* Update content/en/docs/tasks/security/authorization/authz-ingress/index.md

Co-Authored-By: Frank Budinsky <frankb@ca.ibm.com>

* Update content/en/docs/tasks/security/authorization/authz-ingress/index.md

Co-Authored-By: Frank Budinsky <frankb@ca.ibm.com>

Co-authored-by: Adam Miller <1402860+adammil2000@users.noreply.github.com>
Co-authored-by: Frank Budinsky <frankb@ca.ibm.com>
2020-03-03 17:42:03 -08:00
Jimmy Chen ca72d2997d
Updated guide for Authorization Policy Trust Domain Migration (#6694)
Remove an outdated step from the guide.
2020-03-03 16:27:45 -08:00