forked from elastic/beats
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixes license check issue with invalid license UUID and check on 32 b…
…its system. (elastic#11649) - Relax validation of the X-Pack license UID value. - Fix a parsing error with the X-Pack license check on 32-bit system. Fixes: elastic#11640 Fixes: elastic#11650 (cherry picked from commit 4b7823b)
- Loading branch information
Showing
10 changed files
with
87 additions
and
29 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
43 changes: 43 additions & 0 deletions
43
x-pack/libbeat/licenser/testdata/xpack-with-relax-license-uuid.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
{ | ||
"build": { | ||
"hash": "053779d", | ||
"date": "2018-07-20T05:25:16.206115Z" | ||
}, | ||
"license": { | ||
"uid": "hello-license", | ||
"type": "platinum", | ||
"mode": "platinum", | ||
"status": "active", | ||
"expiry_date_in_millis": 1588291199999 | ||
}, | ||
"features": { | ||
"graph": { | ||
"available": false, | ||
"enabled": true | ||
}, | ||
"logstash": { | ||
"available": false, | ||
"enabled": true | ||
}, | ||
"ml": { | ||
"available": false, | ||
"enabled": true | ||
}, | ||
"monitoring": { | ||
"available": true, | ||
"enabled": true | ||
}, | ||
"rollup": { | ||
"available": true, | ||
"enabled": true | ||
}, | ||
"security": { | ||
"available": false, | ||
"enabled": true | ||
}, | ||
"watcher": { | ||
"available": false, | ||
"enabled": true | ||
} | ||
} | ||
} |