Skip to content

Commit ad7c306

Browse files
authored
Merge pull request #19 from IBM-Security/v23.04-assets
IAG v23.04 release updates
2 parents 871aee8 + 6972301 commit ad7c306

File tree

125 files changed

+256
-149
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

125 files changed

+256
-149
lines changed

config-ui/react.skeleton/src/content/landingPage/landingPage.js

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -15,14 +15,14 @@ import yaml from 'js-yaml';
1515

1616
const DOC_URL = "https://docs.verify.ibm.com/gateway/docs/";
1717

18-
const SAMPLE_EMPTY_YAML = "version: 22.07";
18+
const SAMPLE_EMPTY_YAML = "version: 23.04";
1919

2020
const SAMPLE_EMPTY = {
2121
"yaml": SAMPLE_EMPTY_YAML,
2222
"link": "#"
2323
}
2424

25-
const SAML_AUTHZ_YAML = "version: \"22.07\"\n" +
25+
const SAML_AUTHZ_YAML = "version: \"23.04\"\n" +
2626
"#\n" +
2727
"# Configure an IAG container to proxy a single Web application, and define \n" +
2828
"# an authorization policy for the Web application. This configuration will \n" +
@@ -132,7 +132,7 @@ const SAMPLE_AUTHZ = {
132132
"link": DOC_URL + "examples-authorization-yaml"
133133
}
134134

135-
const SAMPLE_BASIC_YAML = "version: \"22.07\"\n" +
135+
const SAMPLE_BASIC_YAML = "version: \"23.04\"\n" +
136136
"\n" +
137137
"#\n" +
138138
"# Configure an IAG container with a very basic configuration. This \n" +
@@ -191,7 +191,7 @@ const SAMPLE_BASIC = {
191191
"link": DOC_URL + "examples-oidc-verify-yaml"
192192
}
193193

194-
const SAMPLE_ISVA_YAML = "version: \"22.07\"\n" +
194+
const SAMPLE_ISVA_YAML = "version: \"23.04\"\n" +
195195
"\n" +
196196
"#\n" +
197197
"# Configure an IAG container with a very basic configuration. This \n" +
@@ -257,7 +257,7 @@ const SAMPLE_ISVA = {
257257
"link": DOC_URL + "examples-oidc-verify-access-yaml"
258258
}
259259

260-
const SAMPLE_CREDVIEWER_YAML = "version: \"22.07\"\n" +
260+
const SAMPLE_CREDVIEWER_YAML = "version: \"23.04\"\n" +
261261
"\n" +
262262
"#\n" +
263263
"# Configure an IAG container with a very basic configuration. This \n" +
@@ -330,7 +330,7 @@ const SAMPLE_CREDVIEWER = {
330330
"link": DOC_URL + "examples-cred-viewer-yaml"
331331
}
332332

333-
const SAMPLE_LWP_YAML = "version: \"22.07\"\n" +
333+
const SAMPLE_LWP_YAML = "version: \"23.04\"\n" +
334334
"\n" +
335335
"#\n" +
336336
"# Configure an IAG container with a very basic configuration. This \n" +
@@ -397,7 +397,7 @@ const SAMPLE_LWP = {
397397
"link": DOC_URL + "examples-local-webpages-yaml"
398398
}
399399

400-
const SAMPLE_RL_YAML = "version: \"22.07\"\n" +
400+
const SAMPLE_RL_YAML = "version: \"23.04\"\n" +
401401
"\n" +
402402
"#\n" +
403403
"# Configure an IAG container to proxy a single Web application. This \n" +
@@ -494,7 +494,7 @@ const SAMPLE_RL = {
494494
"link": DOC_URL + "examples-rate-limiting-yaml"
495495
};
496496

497-
const SAMPLE_STDAPP_YAML = "version: \"22.07\"\n" +
497+
const SAMPLE_STDAPP_YAML = "version: \"23.04\"\n" +
498498
"\n" +
499499
"#\n" +
500500
"# Configure an IAG container to proxy a single Web application. This \n" +
@@ -563,7 +563,7 @@ const SAMPLE_STDAPP = {
563563
"link": DOC_URL + "examples-standard-application-yaml"
564564
};
565565

566-
const SAMPLE_TRACING_YAML = "version: \"22.07\"\n" +
566+
const SAMPLE_TRACING_YAML = "version: \"23.04\"\n" +
567567
"\n" +
568568
"#\n" +
569569
"# Configure an IAG container to proxy a single Web application, and activate\n" +
@@ -647,7 +647,7 @@ const SAMPLE_TRACING = {
647647
"link": DOC_URL + "examples-tracing-yaml"
648648
};
649649

650-
const SAMPLE_UNAUTH_YAML = "version: \"22.07\"\n" +
650+
const SAMPLE_UNAUTH_YAML = "version: \"23.04\"\n" +
651651
"\n" +
652652
"#\n" +
653653
"# Configure an IAG container to proxy a single Web application. Due to the\n" +
@@ -671,7 +671,7 @@ const SAMPLE_UNAUTH = {
671671
"link": DOC_URL + "examples-unauth-application-yaml"
672672
};
673673

674-
const SAMPLE_ISV_2FA_YAML = "version: \"22.07\"\n" +
674+
const SAMPLE_ISV_2FA_YAML = "version: \"23.04\"\n" +
675675
"\n" +
676676
"#\n" +
677677
"# Configure an IAG container to proxy a single Web application, and define\n" +
@@ -756,7 +756,7 @@ const SAMPLE_ISV_2FA = {
756756
"link": DOC_URL + "examples-2fa-verify-yaml"
757757
};
758758

759-
const SAMPLE_VH_YAML = "version: \"22.07\"\n" +
759+
const SAMPLE_VH_YAML = "version: \"23.04\"\n" +
760760
"\n" +
761761
"#\n" +
762762
"# Configure an IAG container to proxy a single virtual host Web application. \n" +
@@ -825,7 +825,7 @@ const SAMPLE_VH = {
825825
"link": DOC_URL + "examples-virtualhost-application-yaml"
826826
};
827827

828-
const SAMPLE_HTTPTRAN_YAML = "version: \"22.07\"\n" +
828+
const SAMPLE_HTTPTRAN_YAML = "version: \"23.04\"\n" +
829829
"\n" +
830830
"#\n" +
831831
"# Configure an IAG container to proxy a single Web application. This \n" +
@@ -925,7 +925,7 @@ const SAMPLE_HTTPTRAN = {
925925
"link": DOC_URL + "examples-transformation-yaml"
926926
};
927927

928-
const SAMPLE_OAUTH_ISVA_YAML = "version: \"22.07\"\n" +
928+
const SAMPLE_OAUTH_ISVA_YAML = "version: \"23.04\"\n" +
929929
"\n" +
930930
"#\n" +
931931
"# Configure an IAG container with a very basic configuration. This \n" +
@@ -981,7 +981,7 @@ const SAMPLE_OAUTH_ISVA = {
981981
"link": DOC_URL + "examples-oauth-verify-access-yaml"
982982
};
983983

984-
const SAMPLE_OAUTH_ISV_YAML = "version: \"22.07\"\n" +
984+
const SAMPLE_OAUTH_ISV_YAML = "version: \"23.04\"\n" +
985985
"\n" +
986986
"#\n" +
987987
"# Configure an IAG container with a very basic configuration. This \n" +

openapi/openapi.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# Copyright contributors to the Application Gateway project
22
openapi: '3.0'
33
info:
4-
version: 22.07
4+
version: 23.04
55
title: IBM Application Gateway Configuration Specification (OpenAPI)
66
components:
77
schemas:
@@ -20,6 +20,7 @@ components:
2020
- 21.09
2121
- 21.12
2222
- 22.07
23+
- 23.04
2324
secrets:
2425
$ref: "secrets.yaml#/secrets"
2526
server:

openapi/resource_server.yaml

Lines changed: 26 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -26,18 +26,26 @@ resource_server:
2626

2727
virtual_host:
2828
description: >
29-
The virtual host, as defined by the host header in the request, at
30-
which the resource server will be made available. Port information may
31-
also be specified if the virtual host is on a non-default port for the
32-
intended protocol. This entry is required if the `path` entry has not
33-
been specified. It is not valid to have both `path` and `virtual_host`
34-
entries specified.
29+
The virtual host, as defined by the host header in the request, at
30+
which the resource server will be made available. This will be the
31+
hostname and port number specified in the web browser when it makes
32+
the request. The port number should always be specified, whether the
33+
default port is being used (443 for SSL), or if the virtual host is
34+
using a non-default port for the intended protocol. If your docker
35+
or container host is mapping an incoming port number such as 443 to
36+
some other port inside the container (i.e. 8443), then specify here
37+
the incoming port number (i.e. 443).
38+
39+
This entry is required if the `path` entry has not been specified.
40+
41+
It is not valid to have both `path` and `virtual_host` entries
42+
specified.
3543
3644
3745
Example:
3846
3947
resource_servers:
40-
- virtual_host: "application.ibm.com:9443"
48+
- virtual_host: "application.ibm.com:443"
4149
# ...
4250
type: string
4351
x-uuid: true
@@ -814,6 +822,7 @@ resource_server:
814822
form_action: /login.jsp
815823
service: testCredentialService
816824
resource_name: jspApp
825+
form_response_pattern: "*login_prompt*"
817826
fields:
818827
- name: username
819828
source: service
@@ -871,6 +880,16 @@ resource_server:
871880
matching is performed based on the `action` attribute of
872881
the HTML `<form>` node.
873882
type: string
883+
form_response_pattern:
884+
description: >
885+
This optional entry specifies a pattern which is used to
886+
determine if the page contains the login form or not. If
887+
the page content does not include this pattern, it will be
888+
returned to the client. By default, the gateway will only
889+
examine the first 32,768 bytes of the response for the
890+
pattern. Because the pattern is checked against the entire
891+
cached response it will usually start and end with a '*'.
892+
type: string
874893
service:
875894
description: >
876895
The name of the credential service which is used to store

openapi/server.yaml

Lines changed: 19 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1290,16 +1290,24 @@ server:
12901290
type: string
12911291

12921292
rate_limiting:
1293-
description: >
1294-
Specifies the global configuration related to rate limiting. Rate
1295-
limiting policies are defined using the policies/rate_limiting[] entry.
1293+
description: |
1294+
Specifies the global configuration related to rate limiting. Rate limiting policies are defined using the policies/rate_limiting[] entry.
1295+
1296+
Additional rate limiting headers can also be enabled. The rate limiting response headers include:
1297+
1298+
header | value
1299+
-------|-------
1300+
X-Rate-Limit-Policy | The name of the rate limiting policy which is closest to being hit.
1301+
X-Rate-Limit-Remaining | The number of requests left for the rate limiting policy in the current rate limit window.
1302+
X-Rate-Limit-Reset | The time (UTC Epoch time) at which the rate limiting policy resets.
12961303
12971304
12981305
Example:
12991306
13001307
server:
13011308
rate_limiting:
13021309
cache_size: 16384
1310+
response_headers: false
13031311
redis:
13041312
collection_name: test-collection
13051313
sync_window: 10
@@ -1342,6 +1350,14 @@ server:
13421350
maximum: unlimited
13431351
default: 5
13441352

1353+
response_headers:
1354+
description: >
1355+
Specifies whether or not the gateway will insert the rate limiting headers into responses.
1356+
1357+
By default, the rate limiting response headers are disabled.
1358+
type: boolean
1359+
default: false
1360+
13451361
content_security_policy:
13461362
description: |
13471363
Specifies whether or not the gateway will use the default content security policy.

openshift/build-sample/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# Copyright contributors to the Application Gateway project
22

33
# The container is based on the IAG container.
4-
FROM ibmcom/ibm-application-gateway:22.07
4+
FROM ibmcom/ibm-application-gateway:23.04
55

66
# Copy the configuration files from the config directory
77
# to the docker image.

openshift/build-sample/config/identity.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# Copyright contributors to the Application Gateway project
22

33
---
4-
version: 22.07
4+
version: 23.04
55

66
identity:
77
oidc:

pages/error_pages.zip

0 Bytes
Binary file not shown.

pages/local_pages.zip

0 Bytes
Binary file not shown.

pages/management_pages.zip

0 Bytes
Binary file not shown.

python/doc/ResourceServer.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ The definition for a single resource server which provides content for the gatew
1010
Name | Type | Description | Notes
1111
------------ | ------------- | ------------- | -------------
1212
**path** | **str** | The path at which the resource server will be made available. This entry is required if the &#x60;virtual\_host&#x60; entry has not been specified. It is not valid to have both &#x60;path&#x60; and &#x60;virtual\_host&#x60; entries specified. | [optional]
13-
**virtual\_host** | **str** | The virtual host, as defined by the host header in the request, at which the resource server will be made available. Port information may also be specified if the virtual host is on a non-default port for the intended protocol. This entry is required if the &#x60;path&#x60; entry has not been specified. It is not valid to have both &#x60;path&#x60; and &#x60;virtual\_host&#x60; entries specified. | [optional]
13+
**virtual\_host** | **str** | The virtual host, as defined by the host header in the request, at which the resource server will be made available. This will be the hostname and port number specified in the web browser when it makes the request. The port number should always be specified, whether the default port is being used (443 for SSL), or if the virtual host is using a non-default port for the intended protocol. If your docker or container host is mapping an incoming port number such as 443 to some other port inside the container (i.e. 8443), then specify here the incoming port number (i.e. 443). This entry is required if the &#x60;path&#x60; entry has not been specified. It is not valid to have both &#x60;path&#x60; and &#x60;virtual\_host&#x60; entries specified. | [optional]
1414
**connection\_type** | **str** | The connection type the reverse proxy will make for this resource server. | [optional] [default to 'tcp']
1515
**transparent\_path** | **bool** | A boolean flag indicating whether or not this resource server uses a transparent path. For path type resource servers, setting this entry to true will result in the passing of the entire URL as observed by the reverse proxy to the resource server, including the value given in \"path\". If set to false the reverse proxy will filter the path from the URL and pass only the remainder of the URL to the resource server. | [optional] [default to False]
1616
**stateful** | **bool** | A boolean flag indicating whether or not user requests, for the lifetime of a session, are always processed by the same resource server. | [optional] [default to False]

0 commit comments

Comments
 (0)