In this study, we propose the use of nondestructive,
depth-resolved,
element-specific characterization using grazing exit X-ray absorption
near-edge
structure spectroscopy (GE-XANES) to investigate the corrosion process
in compositionally complex alloys (CCAs). By combining grazing exit
X-ray fluorescence spectroscopy (GE-XRF) geometry and a pnCCD detector,
we provide a scanning-free, nondestructive, depth-resolved analysis
in a sub-micrometer depth range, which is especially relevant for
layered materials, such as corroded CCAs. Our setup allows for spatial
and energy-resolved measurements and directly extracts the desired
fluorescence line, free from scattering events and other overlapping
lines. We demonstrate the potential of our approach on a compositionally
complex CrCoNi alloy and a layered reference sample with known composition
and specific layer thickness. Our findings indicate that this new
GE-XANES approach has exciting opportunities for studying surface
catalysis and corrosion processes in real-world materials.