컬렉션을 사용해 정리하기
내 환경설정을 기준으로 콘텐츠를 저장하고 분류하세요.
strings.base64_decode
strings.base64_decode(encodedString)
설명
인코딩된 문자열을 base64로 디코딩한 버전이 포함된 문자열을 반환합니다.
이 함수는 하나의 base64 인코딩 문자열을 인수로 사용합니다. encodedString
이 올바른 base64로 인코딩된 문자열이 아니면 함수에서 encodedString
을 변경하지 않고 반환합니다.
매개변수 데이터 유형
STRING
반환 유형
STRING
코드 샘플
예 1
"test" = strings.base64_decode($e.principal.domain.name)
달리 명시되지 않는 한 이 페이지의 콘텐츠에는 Creative Commons Attribution 4.0 라이선스에 따라 라이선스가 부여되며, 코드 샘플에는 Apache 2.0 라이선스에 따라 라이선스가 부여됩니다. 자세한 내용은 Google Developers 사이트 정책을 참조하세요. 자바는 Oracle 및/또는 Oracle 계열사의 등록 상표입니다.
최종 업데이트: 2025-07-29(UTC)
[[["이해하기 쉬움","easyToUnderstand","thumb-up"],["문제가 해결됨","solvedMyProblem","thumb-up"],["기타","otherUp","thumb-up"]],[["이해하기 어려움","hardToUnderstand","thumb-down"],["잘못된 정보 또는 샘플 코드","incorrectInformationOrSampleCode","thumb-down"],["필요한 정보/샘플이 없음","missingTheInformationSamplesINeed","thumb-down"],["번역 문제","translationIssue","thumb-down"],["기타","otherDown","thumb-down"]],["최종 업데이트: 2025-07-29(UTC)"],[[["\u003cp\u003eThe \u003ccode\u003estrings.base64_decode\u003c/code\u003e function decodes a base64 encoded string.\u003c/p\u003e\n"],["\u003cp\u003eIt is supported in Rules and Search within Chronicle.\u003c/p\u003e\n"],["\u003cp\u003eThe function accepts a single \u003ccode\u003eSTRING\u003c/code\u003e argument that represents the base64 encoded string.\u003c/p\u003e\n"],["\u003cp\u003eIf the provided string is not a valid base64 string, the function returns the original string.\u003c/p\u003e\n"],["\u003cp\u003eThe function returns a \u003ccode\u003eSTRING\u003c/code\u003e that is the decoded version of the argument provided.\u003c/p\u003e\n"]]],[],null,["### strings.base64_decode\n\nSupported in: \n[Rules](/chronicle/docs/detection/default-rules) [Search](/chronicle/docs/investigation/udm-search) \n\n strings.base64_decode(encodedString)\n\n#### Description\n\nReturns a string containing the base64 decoded version of the encoded string.\n\nThis function takes one base64 encoded string as an argument. If `encodedString`\nis not a valid base64 encoded string, the function returns `encodedString` unchanged.\n\n#### Param data types\n\n`STRING`\n\n#### Return type\n\n`STRING`\n\n#### Code samples\n\n##### Example 1\n\n \"test\" = strings.base64_decode($e.principal.domain.name)"]]